action #73309
openevery time a direct dependency is updated in Factory our CI jobs fail until the package is updated
0%
Description
Observation¶
https://github.com/os-autoinst/openQA/pull/3463 is a very simple change. The CI jobs fail immediately on circleCI in the "cache" step with:
+ sudo zypper -n install --download-only aspell-0.60.6.1…ShellCheck-0.6.0
Loading repository data...
Reading installed packages...
Package 'perl-Mojolicious-8.61' not found.
because the package perl-Mojolicious-8.61 does not exist anymore in this version in devel:openQA, devel:openQA:Leap:15.1 and openSUSE:Factory as it is already at 8.62 so the old files vanished. Retriggering the PR as well as rebasing the PR would not help because only any next nightly job would update the version specific dependency list.
Problem¶
The problem was introduced when we moved to circleCI together with a "new" approach to hardcode versions of packages so that pull requests would not suddenly fail if any updated dependency would by coincidence appear the first time. However it feels like now we have more or less the same problem, less subtle failures maybe but even more likely than what we wanted to avoid.
Acceptance criteria¶
- AC1: Pull requests do not fail tests just because suddenly a package has a new version
Suggestions¶
- Research how other projects cope with this
- Try to find an approach to make our dependencies we test consistent but available. How about having all dependencies pre-installed in a container and test based on that?