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

Upgrade Testing to a future release #228

Closed
ajeddeloh opened this issue Jul 25, 2019 · 9 comments
Closed

Upgrade Testing to a future release #228

ajeddeloh opened this issue Jul 25, 2019 · 9 comments
Assignees

Comments

@ajeddeloh
Copy link
Contributor

The first FCOS preview release is not able to upgrade automatically due to a bug. We should add testing to ensure that FCOS can update out of the the version under test.

Couple of things to consider:

  • Do we test zincati as well as the rpmostree process?
  • What do we test upgrading to? A couple proposed options are:
  • The latest nightly testing-devel
  • A special static ostree ref that just reports "the upgrade works"
@lucab
Copy link
Contributor

lucab commented Jul 26, 2019

In an out-of-band chat, @jlebon and @arithx came up with an interesting suggestion: we can mimic an update out of the the version under test by using the previous release in the channel as a target.
This is equivalent to a downgrade and not supported in general (due to software in general not being able to handle downgrades of state from newer versions), but for the sake of testing the update process it should work without major issues.

@jlebon
Copy link
Member

jlebon commented Jul 26, 2019

Right, yeah. I also really want us to exercise upgrade testing on testing-devel. To do this we can:

  1. store testing-devel commits in a separate OSTree repo (which is actually called for in the stream tooling doc, though I think that decision predated Move OSTree commit into build directory coreos-assembler#515)
  2. have a dumber Cincinnati (or the real Cincinnati) that just always returns an edge from the test node's version to the latest version.

@lucab
Copy link
Contributor

lucab commented Aug 19, 2019

I set up item 2 above in Fedora Communishift. It can be used with:

# cat /etc/zincati/config.d/99-updates-latest.toml
updates.enabled = true
cincinnati.base_url= "https://fcos-updates-latest.apps.os.fedorainfracloud.org"

As the OSTree repo is not yet up, Zincati currently fails with No such branch 'fedora/x86_64/coreos/testing-devel' in repository summary.

@jlebon
Copy link
Member

jlebon commented Sep 5, 2019

I opened an issue for tracking the OSTree repo annex work: #266

@jlebon
Copy link
Member

jlebon commented Dec 5, 2019

At least for release builds, we'll probably want to make sure we test updates from older releases too. Not sure how comprehensive we want to be, and it will take longer and longer as we add more update barriers (though those shouldn't be too frequent). But at least testing from the initial release would be nice. Each release carries state forward that might be incompatible with latest releases. See #322.

@jlebon jlebon added the jira for syncing to jira label Dec 6, 2019
@jlebon jlebon self-assigned this Jan 15, 2020
@jlebon
Copy link
Member

jlebon commented Jan 16, 2020

@jlebon
Copy link
Member

jlebon commented Jan 22, 2020

coreos/mantle#1168

@dustymabe
Copy link
Member

@jlebon I've seen upgrade testing in the pipeline. Is this done already?

@jlebon
Copy link
Member

jlebon commented Mar 26, 2020

I think we can mark this as closed by coreos/mantle#1168 and have a separate tickets for upgrade tests that will leverage the compose repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants