Hi, Am Mittwoch, 6. Mai 2020, 10:30:20 CEST schrieb Ludwig Nussel:
Am Mittwoch, 6. Mai 2020, 10:13:36 CEST schrieb Ludwig Nussel:
Looking at the test fail of transactional-update for MicroOS 15.2: https://openqa.opensuse.org/tests/1256193#step/transactional_update/11
So the test has a tarball with ready made rpms that it wants to install. Now this fails on MicroOS 15.2. Turns out that maintenance bumped¹ the version of the update test packages to 5.1 so that's what I have in 15.2. Wheres that tarball was built with Factory packages that have version 5. The version doesn't really matter for the Tumbleweed tests as the update-test packages are not installed by default there. Stable distros do have them by default though during beta test. So calling zypper in on a package with lower version will not do anything.
I fell into that trap as well when I first looked at the t-u test module in openQA. It's actually meant to work like this:
1. Install the manually created update-test-security rpm using t-u
2. Run t-u up to update the update-test-security package to the version in the update repo
For this, the packages in the repo have to be newer than the ones in the tarball. In this case, the failure is simply because the update-test-* packages are already installed, which is not the case on TW MicroOS. So the way to fix it is to simply not install the update-test-*
Am 06.05.20 um 10:23 schrieb Fabian Vogt: ptf, reboot packages on
MicroOS 15.2 before the t-u test module.
Ok that would work but is inconsistent with how the main distro works. The whole point of those update-test packages is that they are there and the update stack triggers on them due to availability updates for them.
AFAICS the test could just do that actually. The step 1) you outlined only needs to be applied when BETA=1 is not set. If the call is changed to install from the oss repo, step 2) would still work as is.
To avoid having two different code paths for pre-release and post-release testing, I would just do a minimal fix to allow installation of the rpm despite the lower version. Not sure whether t-u ptf allows downgrades though. Cheers, Fabian
cu Ludwig
-- To unsubscribe, e-mail: opensuse-releaseteam+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-releaseteam+owner@opensuse.org