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

Packit: Fixes for RHEL, CentOS Stream and COPR, TMT: more generic testing prep steps to minimize distro conditionals #1467

Closed
wants to merge 6 commits into from

Conversation

lsm5
Copy link
Member

@lsm5 lsm5 commented May 9, 2024

Commit 1: Because of the wrong copr_project macro, recent crun builds on copr
didn't actually include the Epoch. We should use either
copr_username, copr_projectname or both. Those 2 macros are only defined
on copr environments.

Commit 2: CentOS Stream builds don't have epel repos configured by default because
of which they can't directly fetch the wasmedge build dependency.

Commit 3: Use packages: [crun-fedora] for copr jobs on podman-next after commit to main to avoid duplicate build jobs.

Commit 4: Separate rhel and centos-stream jobs to allow centos stream jobs to run for all PR authors, regardless of access levels.

Commit 5: Differences across distros and versions in components like dnf as well as variable package availability for bats makes idiomatic TMT hard to maintain if we're to install all dependencies using rpm packages. Fetching bats from upstream and simply deleting problematic yum repos instead of resorting to tricky dnf commands makes the TMT logic a lot easier to maintain.

Commit 6: COPR/RPM: Disable wasmedge on RHEL10 until EPEL10 is available as wasmedge is only available in epel.

@lsm5
Copy link
Member Author

lsm5 commented May 9, 2024

Please hold off on reviews until I verify the copr build Epoch.

Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@lsm5
Copy link
Member Author

lsm5 commented May 9, 2024

rpm epoch:version-release shows 102:1.15-1.20240509181421960865.pr1467.12.gbfd094c, so we should be good to go.

Looks like testing-farm is having issues with packit, so we can ignore all the testing-farm-* failures

@lsm5 lsm5 marked this pull request as ready for review May 9, 2024 18:36
@lsm5 lsm5 marked this pull request as draft May 9, 2024 18:43
@lsm5
Copy link
Member Author

lsm5 commented May 9, 2024

looks like there are other issues for centos-stream builds. Hold off on reviews.

lsm5 added 2 commits May 13, 2024 11:54
Because of the wrong `copr_project` macro, recent crun builds on copr
didn't actually include the Epoch. We should use either
copr_username, copr_projectname or both. Those 2 macros are only defined
on copr environments.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
CentOS Stream builds don't have epel repos configured by default because
of which they can't directly fetch the wasmedge build dependency.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
@lsm5 lsm5 force-pushed the rpm-fix-copr-conditional branch from bfd094c to 5820831 Compare May 13, 2024 15:56
lsm5 added 2 commits May 13, 2024 13:28
Without this change, duplicate copr builds jobs are triggered on the
podman-next copr for `[crun-fedora]`, `[crun-centos]`.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
This allows centos jobs to be triggered on all PRs regardless of
author's level of access to the repo. RHEL jobs would still need to be
triggered by repo maintainers.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
@lsm5 lsm5 changed the title RPM: fix Copr conditional Packit: Fixes for RHEL, CentOS Stream and COPR May 13, 2024
@lsm5
Copy link
Member Author

lsm5 commented May 13, 2024

dnf config-manager behaviour seems to have changed on rawhide causing rawhide test failures. ELN failures can be ignored. CentOS Stream rpm builds are weirdly failing on network issues AFAICT.

Copy link

podman system tests failed. @containers/packit-build please check.

Copy link

Ephemeral COPR build failed. @containers/packit-build please check.

@lsm5 lsm5 force-pushed the rpm-fix-copr-conditional branch from f64b5da to 67b87ea Compare May 14, 2024 19:01
lsm5 added 2 commits May 16, 2024 15:24
Differences across distros and versions in components like dnf as well
as variable package availability for bats makes idiomatic TMT hard to
maintain if we're to install all dependencies using rpm packages.

Fetching `bats` from upstream and simply deleting problematic yum repos
instead of resorting to tricky dnf commands makes the TMT logic a lot
easier to maintain.

Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
Signed-off-by: Lokesh Mandvekar <lsm5@redhat.com>
@lsm5 lsm5 force-pushed the rpm-fix-copr-conditional branch from 67b87ea to e676aaf Compare May 16, 2024 19:26
@lsm5 lsm5 changed the title Packit: Fixes for RHEL, CentOS Stream and COPR Packit: Fixes for RHEL, CentOS Stream and COPR, TMT: more generic testing prep steps to minimize distro conditionals May 16, 2024
@lsm5
Copy link
Member Author

lsm5 commented May 16, 2024

closing in favor of #1470

@lsm5 lsm5 closed this May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant