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

Make test shell wrapper filename even more unique #2998

Merged
merged 1 commit into from
Jun 10, 2024

Conversation

happz
Copy link
Collaborator

@happz happz commented Jun 7, 2024

To prevent accidental reuse of the wrapper, reported in #2997, and improve investigation by saving all wrappers, make the test shell wrapper filename even more unique that it already was. Besides the phase and guest names, include also test name and its serial number. That should make the filename unlike any other filename created for other tests.

See #2997

Pull Request Checklist

  • implement the feature
  • write the documentation

@lukaszachy lukaszachy added this to the 1.34 milestone Jun 7, 2024
@lukaszachy lukaszachy linked an issue Jun 7, 2024 that may be closed by this pull request
@lukaszachy lukaszachy added the priority | must high priority, must be included in the next release label Jun 7, 2024
@happz happz added the ci | full test Pull request is ready for the full test execution label Jun 7, 2024
@happz
Copy link
Collaborator Author

happz commented Jun 7, 2024

/packit test

@lukaszachy
Copy link
Collaborator

Bunch of centos-stream-8 VM fails on missing repos.

@happz happz force-pushed the test-wrapper-more-unique branch from 48f3c5e to 687a196 Compare June 7, 2024 19:29
Copy link
Collaborator

@psss psss left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was also able to reproduce with the connect provision. The fix looks good and works as expected. Thanks for quickly addressing this!

To prevent accidental reuse of the wrapper, reported in #2997, and
improve investigation by saving all wrappers, make the test shell
wrapper filename even more unique that it already was. Besides the phase
and guest names, include also test name and its serial number. That
should make the filename unlike any other filename created for other
tests.

See #2997
@psss psss force-pushed the test-wrapper-more-unique branch from 687a196 to bf7e5bb Compare June 10, 2024 16:57
@psss psss added the step | execute Stuff related to the execute step label Jun 10, 2024
@happz happz added the status | ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish. label Jun 10, 2024
@happz
Copy link
Collaborator Author

happz commented Jun 10, 2024

Unrelated test failures, enough approvals, merging.

@happz happz merged commit 12ffece into main Jun 10, 2024
16 of 19 checks passed
@happz happz deleted the test-wrapper-more-unique branch June 10, 2024 19:06
@psss psss linked an issue Jun 11, 2024 that may be closed by this pull request
falconizmi pushed a commit that referenced this pull request Jun 17, 2024
To prevent accidental reuse of the wrapper, reported in #2997, and
improve investigation by saving all wrappers, make the test shell
wrapper filename even more unique that it already was. Besides the phase
and guest names, include also test name and its serial number. That
should make the filename unlike any other filename created for other
tests.

See #2997
The-Mule pushed a commit to The-Mule/tmt that referenced this pull request Oct 14, 2024
To prevent accidental reuse of the wrapper, reported in teemtee#2997, and
improve investigation by saving all wrappers, make the test shell
wrapper filename even more unique that it already was. Besides the phase
and guest names, include also test name and its serial number. That
should make the filename unlike any other filename created for other
tests.

See teemtee#2997
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci | full test Pull request is ready for the full test execution priority | must high priority, must be included in the next release status | ready for merge The only missing piece is to do the rebase the current 'main' and let the CI finish. step | execute Stuff related to the execute step
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Test executed twice instead of executing the next test Aborted test is sometimes reported as a passed test
3 participants