hack: run the tooling self-tests in validate-source - #29288
Conversation
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
2 similar comments
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
|
[NON-BLOCKING] Packit jobs failed. @containers/packit-build please check. Everyone else, feel free to ignore. |
|
/packit build |
Luap99
left a comment
There was a problem hiding this comment.
Historically I think we never bother to test these as part of the CI.
It was more of help for whoever was writing the code, I don't think it is important to have them actually part of the validate though I guess it does not hurt as long as the tests itself are fast enough
|
@lsm5 I went through the failing job and It got killed mid ginkgo run on one of the new cncf-ubuntu-24-96-x86 runners. a rerun would probably just do the same. |
| # Not included here: | ||
| # hack/xref-helpmsgs-manpages.t needs a built podman and docs, so it belongs | ||
| # with validate-binaries instead | ||
| # hack/ci/logformatter.t currently failing, see #28828 |
There was a problem hiding this comment.
I fixed that tests case in my logformatter PR so I think you can add that as well.
There was a problem hiding this comment.
@Luap99 added it, logformatter.t passes now.
|
also no point in adding an extra commit for adding more tests, just keep them all as part of one commit |
51595b3 to
3558741
Compare
|
@vtushar06 in case it helps with the "one commit" ask ... to squash your two commits into one |
3558741 to
765aef9
Compare
|
rebased, the two red ones were flakes not this. |
Signed-off-by: Tushar Verma <tusharmyself06@gmail.com>
765aef9 to
893059a
Compare
Luap99
left a comment
There was a problem hiding this comment.
LGTM
@podman-container-tools/podman-maintainers PTAL
We have a few self-tests sitting next to the scripts they cover, but nothing actually runs them, so they just rot. hack/ci/logformatter.t is broken right now and nobody noticed.
This wires up the three that pass today and only need python3, bash and perl. I ran the target in a clean container to check.
Left out: xref-helpmsgs-manpages.t needs a built podman and docs so it fits validate-binaries better, pr-should-include-tests.t says in its own header that it does not work with the shallow checkout CI uses, and logformatter.t is currently failing.
pr-removes-fixed-skips already runs in validate-source but its test needs Test::Differences, so I added that to the deps.
Does this PR introduce a user-facing change?