Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[No Merge] Empty to run prt for Airgun changes only #16814

Closed
wants to merge 1 commit into from

Conversation

damoore044
Copy link
Contributor

@damoore044 damoore044 commented Oct 29, 2024

Problem Statement

Run tests as-is with minor change in Airgun#1612
Wait for the Packages tab to appear before entering/selecting

New Host UI > Installed Packages tab > read table :

tests/foreman/ui/test_errata.py:: test_positive_apply_for_all_hosts (upgrade)
tests/foreman/ui/test_host.py:: test_positive_update_delete_package (rhel8 only) Fails in setup

Related Issue (seen occasionally in 6.15, 6.16 el8/9)

Error Message
selenium.common.exceptions.NoSuchElementException: Message: Could not find an element Locator(by='xpath', locator='.//div[contains(@class, "pf-c-tabs")]/ul/li[button[normalize-space(.)="Content"]]'); 

Stacktrace
tests/foreman/ui/test_errata.py:947: in test_positive_apply_for_all_hosts
    updated_pkg = session.host_new.get_packages(
../../lib64/python3.12/site-packages/airgun/entities/host_new.py:334: in get_packages
    view.content.packages.select()
../../lib64/python3.12/site-packages/widgetastic/widget/base.py:146: in __get__
    obj.child_widget_accessed(widget)
   
    ...
E   selenium.common.exceptions.NoSuchElementException: Message: Could not find an element Locator(by='xpath', locator='.//div[contains(@class, "pf-c-tabs")]/ul/li[button[normalize-space(.)="Content"]]');

PRT Case

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts
airgun: 1612

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py:: test_positive_update_delete_package

@damoore044 damoore044 self-assigned this Oct 29, 2024
@damoore044
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts
airgun: 1612

@damoore044
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts --count=10
airgun: 1612

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9179
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts --external-logging
Test Result : ================= 1 passed, 40 warnings in 1538.11s (0:25:38) ==================

@Satellite-QE Satellite-QE added the PRT-Passed Indicates that latest PRT run is passed for the PR label Oct 29, 2024
@damoore044
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts --collect-only

@damoore044
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts
airgun: 1612

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9182
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts --external-logging
Test Result : ================= 1 passed, 49 warnings in 1537.87s (0:25:37) ==================

@damoore044
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts
airgun: 1612

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9189
Build Status: UNSTABLE
PRT Comment: pytest tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts --external-logging
Test Result : ================== 1 failed, 23 warnings in 832.53s (0:13:52) ==================

@Satellite-QE Satellite-QE added PRT-Failed Indicates that latest PRT run is failed for the PR and removed PRT-Passed Indicates that latest PRT run is passed for the PR labels Oct 30, 2024
@damoore044
Copy link
Contributor Author

trigger: test-robottelo
pytest: tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts
airgun: 1612

@Satellite-QE
Copy link
Collaborator

PRT Result

Build Number: 9190
Build Status: SUCCESS
PRT Comment: pytest tests/foreman/ui/test_errata.py::test_positive_apply_for_all_hosts --external-logging
Test Result : ================= 1 passed, 40 warnings in 1504.30s (0:25:04) ==================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Do Not Merge PRT-Passed Indicates that latest PRT run is passed for the PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants