-
Notifications
You must be signed in to change notification settings - Fork 125
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
1.33 regression: dist-git-source
behaves differently in different provisions
#2936
Comments
Could be related to RPM 4.20 🤔 |
Ok, so in Output$ tmt --root . -c arch=x86_64 -c distro=fedora-rawhide -c trigger=commit run --until provision --verbose -e @tmt-environment-plans-examples.yaml provision --how virtual --image Fedora-Rawhide plan --name ^/plans/examples$
/var/tmp/tmt/run-019
Found 1 plan.
/plans/examples
summary: Documentation examples
discover
how: fmf
directory: docs
warn: Sources will not be extracted, prepare step is not enabled.
Tests will be discovered after dist-git patching in prepare.
summary: 0 tests selected
provision
queued provision.provision task #1: default-0
$ tmt --root . run --last --since prepare
/var/tmp/tmt/run-019
/plans/examples
prepare
queued push task #1: push to default-0
push task #1: push to default-0
queued prepare task #1: requires on default-0
prepare task #1: requires on default-0
how: install
summary: Install required packages
name: requires
where: default-0
package: /usr/bin/flock
queued pull task #1: pull from default-0
pull task #1: pull from default-0
summary: 1 preparation applied
execute @happz @lukaszachy Any ideas what caused this regression? Afaict #2641 caused this workflow to break. Seems like the prepare steps are not saved when running the discover step (or rather when running every phase) |
Discover prints this There is no way to extract sources now without running the provision & prepare steps. With your rfe #2994 it might be possible, I'm not sure if the 'prepare.distgit' isn't enabled only in runtime. How big problem is this for you? |
Only affects One patch could be to instead of splitting the $ tmt run prepare --insert --how shell --script "./guest-setup-0.sh" It seems to work on my side, but not sure about what
The issue is rather that the prepare step is not saved, e.g. in |
AFAIK the 'install' step injection (require, recommend) happens as 'runtime' only. |
The issue occurs in https://src.fedoraproject.org/rpms/python-scikit-build-core/pull-request/59
There I am using:
In
1.32
(2 weeks ago) the tests were still ok, but now I am getting issues that the tmt tree is not found:output
What is confusing is that when I try it locally with
provision.how = container
and the tmt-reproducer, this seems to go through:provision container
I would try the full reproducer but I am getting another issue which might be unrelated (ssh timeout): #2937. After managing to make it work on F39/F40, I am indeed reproducing the issue with
provision.how: virtual
Update:
Seems like F40 PR works, something weird is going on. Sort of works. It worked on Zuul, but failed on Fedora-CI.Might be having a flaky response.This seems to be very flaky when it works or not 😟The text was updated successfully, but these errors were encountered: