Project

General

Profile

Actions

action #112595

closed

continous deployment installed old version of openQA due to timeout accessing a repo size:M

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

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2022-06-16
Due date:
2022-07-09
% Done:

0%

Estimated time:

Description

Observation

On o3 from journalctl --since=2022-06-16 -u openqa-continuous-update

Jun 16 18:34:01 ariel systemd[1]: Started Continuously deploys openQA, see https://progress.opensuse.org/issues/105379.
Jun 16 18:34:02 ariel openqa-continuous-update[27868]: devel:openQA looks good for Leap 15.3 (x86_64)
Jun 16 18:35:02 ariel openqa-continuous-update[27880]: Problem retrieving files from 'devel:openQA:Leap'.
Jun 16 18:35:02 ariel openqa-continuous-update[27880]: Timeout exceeded when accessing 'http://download.opensuse.org/repositories/devel:/openQA:/Leap:/15.3/openSUSE_Leap_15.3/repodata/repomd.xml'.
Jun 16 18:35:02 ariel openqa-continuous-update[27880]: Please see the above error message for a hint.
Jun 16 18:35:02 ariel openqa-continuous-update[27880]: Warning: Skipping repository 'devel:openQA:Leap' because of the above error.
Jun 16 18:35:09 ariel openqa-continuous-update[27880]: Some of the repositories have not been refreshed because of an error.
Jun 16 18:35:09 ariel openqa-continuous-update[27880]: Loading repository data...
Jun 16 18:35:11 ariel openqa-continuous-update[27880]: Reading installed packages...
Jun 16 18:35:16 ariel openqa-continuous-update[27880]: Warning: You are about to do a distribution upgrade with all enabled repositories. Make sure these repositories are compatible before you continue. See 'man zypper' for more information about this command.
Jun 16 18:35:16 ariel openqa-continuous-update[27880]: Computing distribution upgrade...
Jun 16 18:35:17 ariel openqa-continuous-update[27880]: The following 18 packages are going to be downgraded:
Jun 16 18:35:17 ariel openqa-continuous-update[27880]:   openQA openQA-client openQA-common perl-Carp-Always perl-Compress-Raw-Lzma perl-Cpanel-JSON-XS perl-DBD-Pg perl-DBI perl-DBIx-Class-DeploymentHandler perl-Minion perl-Mojolicious perl-Mojolicious-Plugin-Asset>
Jun 16 18:35:17 ariel openqa-continuous-update[27880]: The following 18 packages are going to change vendor:
Jun 16 18:35:17 ariel openqa-continuous-update[27880]: openQA
Jun 16 18:35:17 ariel openqa-continuous-update[27880]:   obs://build.opensuse.org/devel:openQA -> openSUSE

so an old version of openQA was installed. Fixed by running zypper dup shortly after.

Acceptance criteria

  • AC1: Failures to refresh one repo lead to aborting the upgrade attempt

Suggestions


Related issues 1 (0 open1 closed)

Related to QA (public) - action #112232: [tools] Multiple recurring failures due to zypper failing to download packages temporarilyResolvedokurz2022-06-09

Actions
Actions #1

Updated by okurz over 2 years ago

Network issues should always be expected by zypper guys state that they won't retry on 404 or similar which is also understandable :) I expect that ref && dup -no-refresh would have behaved correctly here. Because here it seems it was the implicit refresh in the zypper dup call that failed on one repo and zypper dup continued regardless. So the consequence would be to always only use zypper ref && zypper --no-refresh <any_other_operation> but that means that the default functionality of zypper would be wrong and broken?

Actions #2

Updated by okurz over 2 years ago

  • Related to action #112232: [tools] Multiple recurring failures due to zypper failing to download packages temporarily added
Actions #3

Updated by okurz over 2 years ago

  • Priority changed from Normal to High
Actions #4

Updated by livdywan over 2 years ago

  • Subject changed from continous deployment installed old version of openQA due to timeout accessing a repo to continous deployment installed old version of openQA due to timeout accessing a repo size:M
  • Description updated (diff)
  • Status changed from New to Workable
Actions #5

Updated by mkittler over 2 years ago

  • Assignee set to mkittler
Actions #6

Updated by mkittler over 2 years ago

  • Status changed from Workable to In Progress
Actions #7

Updated by mkittler over 2 years ago

I've also created an upstream issue: https://github.com/openSUSE/zypper/issues/446

Actions #8

Updated by openqa_review over 2 years ago

  • Due date set to 2022-07-09

Setting due date based on mean cycle time of SUSE QE Tools

Actions #9

Updated by mkittler over 2 years ago

  • Status changed from In Progress to Feedback

The PR https://github.com/os-autoinst/openQA/pull/4722 has been deployed on o3. I'll close this issue in a few days unless there are any regressions. I wouldn't wait for the upstream issue to be resolved, though.

Actions #10

Updated by okurz over 2 years ago

agreed

Actions #11

Updated by mkittler over 2 years ago

  • Status changed from Feedback to Resolved

o3 survived last week and is up to date. Logs of openqa-continuous-update also look as usual.

Actions

Also available in: Atom PDF