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

Add tests for special characters in beakerlib phase names #3346

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

seberm
Copy link
Collaborator

@seberm seberm commented Nov 6, 2024

Do not merge this PR until the beakerlib changes are released.

This PR adds tests for special characters in beakerlib phase names. It checks the special characters are correctly handled by beakerlib & tmt and propagated into the internal structures (esp. results.yaml, tmt-report-results.yaml).

Related to:

Pull Request Checklist

  • extend the test coverage

@seberm seberm added this to the 1.40 milestone Nov 6, 2024
@seberm seberm linked an issue Nov 6, 2024 that may be closed by this pull request
@seberm seberm added area | results Related to how tmt stores and shares results ci | full test Pull request is ready for the full test execution labels Nov 6, 2024
@seberm seberm force-pushed the feature/test-phases-special-names branch 2 times, most recently from e343054 to d5eff51 Compare November 6, 2024 17:19
@seberm seberm marked this pull request as ready for review November 6, 2024 17:20
@seberm seberm force-pushed the feature/test-phases-special-names branch 2 times, most recently from 3ecb421 to 21d8a49 Compare November 8, 2024 09:02
@seberm
Copy link
Collaborator Author

seberm commented Nov 8, 2024

/packit test

/sbin/ldconfig \
/usr/sbin/ldconfig \

# Cover other special characters in the phase name
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I've added more special characters to the tests. Would you like to cover something more?

@The-Mule @psss @vkadlcik

@seberm
Copy link
Collaborator Author

seberm commented Nov 11, 2024

/packit test

@seberm seberm force-pushed the feature/test-phases-special-names branch from 17940c9 to 0403036 Compare November 13, 2024 13:18
@seberm
Copy link
Collaborator Author

seberm commented Nov 14, 2024

Hello @psss, this one should be ready for review. I've modified the tests to always check the values of the concrete subresult extracted using the yq.

The problems in the CI (in Fedora-{41,rawhide}) seems unrelated to my changes.

@seberm
Copy link
Collaborator Author

seberm commented Nov 15, 2024

/packit test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area | results Related to how tmt stores and shares results ci | full test Pull request is ready for the full test execution
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Special characters in beakerlib phase name breaks results
1 participant