-
Notifications
You must be signed in to change notification settings - Fork 804
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] Packit/TMT: Run gating tests #1960
base: main
Are you sure you want to change the base?
Conversation
A friendly reminder that this PR had no activity for 30 days. |
A friendly reminder that this PR had no activity for 30 days. |
A friendly reminder that this PR had no activity for 30 days. |
@lsm5 are you still working on this? (If so, this is not urgent from my POV, no need to push it to the front of your queue — I’d just like to close the PR if there is absolutely no chance this work will continue.) |
@mtrmac I do plan to work on this. But may take a while. I have bookmarked it for myself so I don't lose track. So please feel free to close it. |
Thanks, if it is still relevant, let’s keep it open. It might help, or inspire, other contributors. |
A friendly reminder that this PR had no activity for 30 days. |
A friendly reminder that this PR had no activity for 30 days. |
7bfbd1c
to
2e9afc9
Compare
@mtrmac @vrothberg @cevich RE: system tests in CI, is it critical to run them in a container or would we be ok with running |
@edsantiago is authoritative for system tests (question above). |
Forgive me please, I don't understand the question. It's been a while since I've looked at skopeo gating tests, but my recollection is that they run on a plain system, via |
IIRC the system tests run a registry server (container). So… running I’m not immediately sure how much custom tooling exists in the CI container, and would need to be reproduced; https://github.com/containers/automation_images/blob/main/skopeo_cidev/setup.sh is relevant to that, but IIRC almost all of that exists for integration, not system, tests. |
/packit test |
So, unfortunately, the issue we are hitting is a bug in Packit: It was not considered a bug before, as people were not hitting it and we did not know it had this consequence. |
Thanks @thrix . I'll disable the rhel tests for now. |
ack, the |
2e9afc9
to
49952d4
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 |
1 similar comment
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 |
ff43fea
to
85e8158
Compare
Tests failed. @containers/packit-build please check. |
b90c04c
to
cf73631
Compare
5fc00d7
to
b0b9d2b
Compare
@mtrmac RE: your earlier questions:
Plan is to eventually get rid of cirrus and depend only on TMT assuming we'll have all functionality sooner or later via TMT. Update: I have pretty much redone the whole PR with scope limited to only triggering You'll see a bunch of new jobs in CI. The ones with suffix
In this PR, I'm no longer changing the I'll work on the integration / lint and ostree tests in followup PRs. I'll keep your other comments here in mind while I work on those later. |
Another advantage of TMT is convenient reverse dependency testing. See this c/common PR. That will run the tests maintained in skopeo on every PR in c/common. |
/packit test |
The default gobuild macro on CentOS Stream now accounts for `BUILDTAGS`, so we don't need to redefine the macro in rpm spec. The `libtrust_openssl` has been set in the spec for RHEL environments. Signed-off-by: Lokesh Mandvekar <[email protected]>
We're not running any tests in the check section. Signed-off-by: Lokesh Mandvekar <[email protected]>
This will be useful in the followup commit that enables TMT test jobs on PRs. PRs on `main` branch should be tested with bleeding-edge dependencies from the podman-next COPR while PRs on `release` branches should be tested only with the official distro packages. Packit will run/skip the relevant set of tests based on this label. Signed-off-by: Lokesh Mandvekar <[email protected]>
This commit enables TMT jobs triggered by Packit to run system tests. 2 set of jobs `dev` and `release` have been added. `dev` jobs are meant to run on main PRs with additional package updates fetched from podman-next copr while `release` jobs are meant to run on release- branch PRs using only the dependencies present in the official distro. Packit checks PR labels (see previous commit) to filter out the jobs that get run. Signed-off-by: Lokesh Mandvekar <[email protected]>
b0b9d2b
to
16655f4
Compare
Commit 1
PR Labels: apply release label to release- branch PRs
This will be useful in the followup commit that enables TMT test jobs on PRs.
PRs on
main
branch should be tested with bleeding-edge dependencies from the podman-next COPR while PRs onrelease
branches should be tested only with the official distro packages. Packit will run/skip the relevant set of tests based on this label.Commit 2
Packit/TMT: Run system tests
This commit enables TMT jobs triggered by Packit to run system tests.
2 set of jobs
dev
andrelease
have been added.dev
jobs are meant to run on main PRs with additional package updates fetched from podman-next copr whilerelease
jobs are meant to run on release- branch PRs using only the dependencies present in the official distro.Packit checks PR labels (see previous commit) to filter out the jobs that get run.