Project

General

Profile

Actions

action #62312

closed

auto-update failed on osd arm1

Added by okurz almost 5 years ago. Updated almost 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
2020-01-18
Due date:
% Done:

0%

Estimated time:

Description

Observation

service "auto-update" failed on arm1 on 2020-01-16 with:

Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: Retrieving repository 'devel_openQA' metadata [............
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: Signature verification failed for file 'repomd.xml' from repository 'devel_openQA'.
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]:     Note: Signing data enables the recipient to verify that no modifications occurred after the data
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]:     were signed. Accepting data with no, wrong or unknown signature can lead to a corrupted system
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]:     and in extreme cases even to a system compromise.
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]:     Note: File 'repomd.xml' is the repositories master index file. It ensures the integrity of the
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]:     whole repo.
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]:     Warning: This file was modified after it has been signed. This may have been a malicious change,
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]:     so it might not be trustworthy anymore! You should not continue unless you know it's safe.
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: Signature verification failed for file 'repomd.xml' from repository 'devel_openQA'. Continue? [yes/no] (no): no
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: error]
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: Repository 'devel_openQA' is invalid.
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: [devel_openQA|http://download.opensuse.org/repositories/devel:/openQA/openSUSE_Leap_15.1/] Valid metadata not found at s>
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: Please check if the URIs defined for this repository are pointing to a valid repository.
Jan 16 03:01:03 openqaworker-arm-1 zypper[11422]: Warning: Skipping repository 'devel_openQA' because of the above error.
Jan 16 03:01:57 openqaworker-arm-1 zypper[11422]: Retrieving repository 'openSUSE-Leap-15.1-Update' metadata [...........................done]
Jan 16 03:02:14 openqaworker-arm-1 zypper[11422]: Building repository 'openSUSE-Leap-15.1-Update' cache [....done]
Jan 16 03:02:31 openqaworker-arm-1 zypper[11422]: Some of the repositories have not been refreshed because of an error.

manually restarting the service helped. Probably devel:openQA was not yet fully published in the last state

Suggestion

Same as on o3 we could look for a stable state in the result="$(curl -s "https://api.opensuse.org/public/build/devel:openQA/_result?repository=openSUSE_Leap_15.1&arch=$(uname -i)")" && echo -e "$result" | grep -q 'project.*state="published"' && echo "$result" | grep 'status package' | (! grep -v '(disabled|succeeded|excluded)') && zypper -n dup --replacefiles --auto-agree-with-licenses --force-resolution --download-in-advance

and potentially rebooting. Probably we can tweak auto-update with some retry.


Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure - action #62201: auto-update failed on osd arm1Resolvedokurz2020-01-16

Actions
Actions #1

Updated by okurz almost 5 years ago

  • Copied from action #62201: auto-update failed on osd arm1 added
Actions #2

Updated by okurz almost 5 years ago

  • Status changed from New to Feedback
  • Target version set to Current Sprint
Actions #3

Updated by okurz almost 5 years ago

  • Status changed from Feedback to Resolved
  • Target version changed from Current Sprint to Done

was merged and did not cause any problems yet.

Actions

Also available in: Atom PDF