-
Notifications
You must be signed in to change notification settings - Fork 35
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
[skip-ci] RPM/TMT: use tests subpackage #557
base: main
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lsm5 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
f29b9d0
to
f5388be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall seems fine, I cannot really comment on the tmt/gating specifics but having a test subpackage to run them in gating seems good.
rpm/aardvark-dns.spec
Outdated
# Only intended to be used for gating tests | ||
# End user usecases not supported |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be part of the description? So end user have actually a chance to read it.
rpm/aardvark-dns.spec
Outdated
Requires: jq | ||
Requires: make | ||
Requires: netavark | ||
Requires: nftables |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't nftables already required by netavark?
rpm/aardvark-dns.spec
Outdated
Requires: bind-utils | ||
Requires: iptables | ||
Requires: jq | ||
Requires: make |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make doesn't seem to be needed to run as your script just calls bats test/
Signed-off-by: Lokesh Mandvekar <[email protected]>
This makes fetching and running of gating tests similar to podman, buildah and skopeo. Signed-off-by: Lokesh Mandvekar <[email protected]>
f5388be
to
fed0226
Compare
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command |
2 similar comments
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command |
Failed to load packit config file:
For more info, please check out the documentation or contact the Packit team. You can also use our CLI command |
c98aabf
to
54f5bc3
Compare
Tests failed. @containers/packit-build please check. |
11ade41
to
5fd0f63
Compare
Unit and validate tests don't need to depend on the built rpm and it's sufficient to run them on only 1 target. So, it's more convenient to re-org the test plans based on rpm dependency. Signed-off-by: Lokesh Mandvekar <[email protected]>
5fd0f63
to
3396382
Compare
@Luap99 cs9 and f40 tests are failing on not finding nft. Are the tests there expected to fail without nftables? IIUC, the default_fw is nftables only on f41+ and cs10. |
This makes fetching and running of gating tests similar to podman, buildah and skopeo.