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

[6.11.z] Log end of test phases and broker host setup and teardown #12495

Merged

Conversation

Satellite-QE
Copy link
Collaborator

Cherrypick of PR: #12472

Problem statement

  • There is no way to distinguish between the start and end of individual test phases (setup, call, teardown) in our logs
  • There is no feasible way to tell which test failed if the test suite is still running
  • There is no contextual message informing the log reader about broker host setup and teardown being executed

Solution

RoI

This functionality increases context awareness for those who read logs.

Notes

* Log broker host setup and teardown

* Log result of each pytest node phase at its end

(cherry picked from commit 209f651)
@Satellite-QE Satellite-QE added 6.11.z Introduced in or relating directly to Satellite 6.11 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches labels Sep 5, 2023
@Satellite-QE
Copy link
Collaborator Author

trigger: test-robottelo
pytest: tests/foreman/cli/test_remoteexecution.py::TestRemoteExecution::test_positive_run_job_effective_user_by_ip[rhel9] tests/foreman/cli/test_remoteexecution.py::TestAnsibleREX::test_positive_run_effective_user_job[rhel9] tests/foreman/cli/test_host.py::test_positive_erratum_applicability[rhel9] tests/foreman/destructive/test_packages.py::test_positive_all_packages_update

@Gauravtalreja1
Copy link
Collaborator

trigger: test-robottelo
pytest: tests/foreman/cli/test_remoteexecution.py::TestRemoteExecution::test_positive_run_job_effective_user_by_ip[rhel9]

@jyejare jyejare merged commit 2102bd7 into 6.11.z Sep 7, 2023
17 checks passed
@jyejare jyejare deleted the cherry-pick-6.11.z-209f6511f8a56ac6937af608c07aa5febcba4a18 branch September 7, 2023 09:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
6.11.z Introduced in or relating directly to Satellite 6.11 Auto_Cherry_Picked Automatically cherrypicked PR using GHA No-CherryPick PR doesnt need CherryPick to previous branches
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants