action #112595
Updated by livdywan over 2 years ago
## 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 - Likely the problem happens due to an implicit refresh in https://github.com/os-autoinst/openQA/blob/master/script/openqa-continuous-update#L33 of other repos to fail which surprisingly did not seem to abort the `zypper dup` process. Try to replicate this error condition and either (report a bug to) fix the zypper behaviour or work around it. - Report an upstream issue or comment on an existing one