Project

General

Profile

Actions

action #73309

open

every time a direct dependency is updated in Factory our CI jobs fail until the package is updated

Added by okurz over 3 years ago. Updated over 3 years ago.

Status:
Workable
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-10-13
Due date:
% Done:

0%

Estimated time:

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?

Related issues 6 (2 open4 closed)

Related to openQA Project - action #57050: Turn off travisResolvedokurz2019-09-30

Actions
Related to openQA Project - action #55478: Evaluate circleci for openQAResolvedandriinikitin2019-08-14

Actions
Related to openQA Project - action #56522: Create cron job which will create pull requests with list of current openQA-devel dependencies with versionResolvedandriinikitin2019-08-14

Actions
Related to openQA Project - action #40580: Run openQA travis tests against upgraded CPAN dependenciesResolvedandriinikitin2018-09-04

Actions
Related to openQA Project - action #53546: Easier dependencies handling for packages, e.g. reduce duplication of build requirements in spec, documentation, DockerfileNew2019-06-27

Actions
Related to openQA Project - action #88837: Separate out style checks into a dedicated environmentNew2021-02-19

Actions
Actions

Also available in: Atom PDF