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
rpm-ostree rebase fedora/x86_64/coreos/stable
from FCOS 40 images does not work, works fine from FCOS 39 images
#1672
Comments
Hmm. When is the last time this succeeded? I would think this is related to the fact that we are now using |
I included that. "Clean install from any FCOS 40 image since Fedora-CoreOS-40.20231121.91.0 , which was the first time this failure occurred" |
I see. the intent of the test is to check that rebasing and then reverting works. The rebase target just needs to be something that we can rely on to work if the rebasing mechanism itself works; logically, I guess, it should be the kind of rebase operation a user would be likely to do in the real world. So I would say whether we want to rebase to an OCI or ostree remote depends on what the 'default' is for the release we're rebasing to. If ostree was still the 'default' for whatever release 'stable' currently represents, rebasing to ostree is appropriate, I guess. If I did want to rebase to a container remote, what would the command be? What's the equivalent of the |
https://coreos.github.io/rpm-ostree/container/#url-format-for-ostree-native-containers FCOS is still ostree by default for Fedora 40 / for now. |
So probably:
|
No. We switched rawhide over on Nov 14, 2023: coreos/fedora-coreos-config#2711 |
Your test as it is isn't super great IMO. Here you are rebasing Aside from that, for the rebase issue for now I would just modify the test to use |
The test has limited options, we have to make the best of what's available to us. We have to rebase to something that we know will be available, and it has to work in various circumstances. I've flipped the targets around in the past when we've run into issues, but in fact it generally works okay. |
@AdamWill did you get this resolved? |
no, because it was the weekend. :D I can change the test to use |
OK, I've updated the test now and re-scheduled the tests for the most recent CoreOS build, will see if that works. edit: yes it did! |
Describe the bug
One of openQA's tests of FCOS is to deploy from the image being tested, rebase to something else, then roll back. Currently, on FCOS 40 images (including recent ones which are confused about whether they're really 40 or 41), the rebase step -
rpm-ostree rebase fedora/x86_64/coreos/stable
- fails, saying "error: Refspec 'fedora/x86_64/coreos/stable' not found". But the output ofostree remote refs fedora
(which we run immediately beforehand) clearly shows afedora:fedora/x86_64/coreos/stable
entry, and we've never needed to include the leadingfedora:
in the refspec before. This same command works just fine from FCOS 39 images.Reproduction steps
rpm-ostree rebase fedora/x86_64/coreos/stable
Expected behavior
An error "error: Refspec 'fedora/x86_64/coreos/stable' not found"
Actual behavior
A successful rebase
System details
See description. Clean install from any FCOS 40 image since Fedora-CoreOS-40.20231121.91.0 , which was the first time this failure occurred (sorry I didn't get around to reporting it sooner).
Butane or Ignition config
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: