#5464 tests(CI): Disable F39 RPM because of pytest+xdist bug. Pass REPO and BRANCH env vars as build-args to podman build.
Merged by wombelix. Opened by wombelix.
wombelix/pagure tests_pass_repo_and_branch_env_var_as_podman_build_args  into  master

Download 5464.patch

To proceed with https://pagure.io/pagure/pull-request/5463 I need to disable F39 RPM test runs and pass the REPO and BRANCH env var to podman build. Without the env vars, pagure.io/pagure.git:master will always be used. Changes to files like dev/containers/tox_py3.sh, dev/containers/runtests_py3.sh or files/pagure.spec are never taken into account during a PR CI run.

F39 pip isn't affected, but on rpm the tests stuck
till the OOM Killer triggers. There are multiple
similar reports upstream but no fix. To unblock
the unit tests, F39 RPM will be skipped for now.
F39 pip covers py39, py310, py311 and py312.
CI jobs that run into the issue:
https://jenkins-pagure.apps.ocp.cloud.ci.centos.org/job/pull-requests/276/
https://jenkins-pagure.apps.ocp.cloud.ci.centos.org/job/pull-requests/277/
GitHub issues that report similar issues:
https://github.com/pytest-dev/pytest-xdist/issues/110
https://github.com/pytest-dev/pytest-xdist/issues/661
https://github.com/pytest-dev/pytest-xdist/issues/872
https://github.com/pytest-dev/pytest-xdist/issues/1005

Metadata Update from @wombelix:
- Request assigned

Metadata Update from @wombelix:
- Request assigned

Pull-Request has been merged by wombelix

Metadata