Project

General

Profile

action #91097

Updated by ilausuch about 3 years ago

## Motivation 

 Eventually the image build fails on the zipper command chain. 
 On an initial observation it is not possible to determine witch one causes the problem 

 ~~~ text 
 Building worker ...  
 The command '/bin/sh -c zypper ar -p 95 -f http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.2 devel_openQA &&       zypper ar -p 90 -f http://download.opensuse.org/repositories/devel:openQA:Leap:15.2/openSUSE_Leap_15.2 devel_openQA_Leap &&       zypper --gpg-auto-import-keys ref &&       zypper in -y ca-certificates-mozilla curl gzip &&       zypper in -y openQA-worker qemu-arm qemu-ppc qemu-x86 qemu-tools &&       zypper in -y kmod &&       (zypper in -y qemu-ovmf-x86_64 ||:) &&       (zypper in -y qemu-uefi-aarch64 ||:) &&       zypper clean' returned a non-zero code: 8 

 ERROR: for worker    (<Service: worker>, '') 
 Service 'worker' failed to build 
 ~~~ 

 ## Acceptance Criteria 

 * **AC 1**: The image is built without errors on Determine the worker service cause of the failure 
 * **AC 2**: Fix the problem 

 ## suggestions 

 We don't have too much information in the logs, therefore the cause is not clear. Increase the log information could be a good first step to determine the problem. 

 ## Other examples 

 ~~~ text 
 Building nginx           ...  
 The command '/bin/sh -c zypper ar -p 95 -f http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.2 devel_openQA &&       zypper ar -p 90 -f http://download.opensuse.org/repositories/devel:openQA:Leap:15.2/openSUSE_Leap_15.2 devel_openQA_Leap &&       zypper --gpg-auto-import-keys ref &&       zypper in -y --force-resolution openQA nginx &&       zypper clean' returned a non-zero code: 8 
 The command '/bin/sh -c zypper ar -p 95 -f http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.2 devel_openQA &&       zypper ar -p 90 -f http://download.opensuse.org/repositories/devel:openQA:Leap:15.2/openSUSE_Leap_15.2 devel_openQA_Leap &&       zypper --gpg-auto-import-keys ref &&       zypper in -y ca-certificates-mozilla curl &&       zypper in -y --force-resolution openQA-local-db apache2 hostname which w3m &&       zypper clean' returned a non-zero code: 8 
 The command '/bin/sh -c zypper ar -p 95 -f http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.2 devel_openQA &&       zypper ar -p 90 -f http://download.opensuse.org/repositories/devel:openQA:Leap:15.2/openSUSE_Leap_15.2 devel_openQA_Leap &&       zypper --gpg-auto-import-keys ref &&       zypper in -y ca-certificates-mozilla curl &&       zypper in -y --force-resolution openQA-local-db apache2 hostname which w3m &&       zypper clean' returned a non-zero code: 8 
 The command '/bin/sh -c zypper ar -p 95 -f http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.2 devel_openQA &&       zypper ar -p 90 -f http://download.opensuse.org/repositories/devel:openQA:Leap:15.2/openSUSE_Leap_15.2 devel_openQA_Leap &&       zypper --gpg-auto-import-keys ref &&       zypper in -y ca-certificates-mozilla curl &&       zypper in -y --force-resolution openQA-local-db apache2 hostname which w3m &&       zypper clean' returned a non-zero code: 8 
 The command '/bin/sh -c zypper ar -p 95 -f http://download.opensuse.org/repositories/devel:openQA/openSUSE_Leap_15.2 devel_openQA &&       zypper ar -p 90 -f http://download.opensuse.org/repositories/devel:openQA:Leap:15.2/openSUSE_Leap_15.2 devel_openQA_Leap &&       zypper --gpg-auto-import-keys ref &&       zypper in -y ca-certificates-mozilla curl &&       zypper in -y --force-resolution openQA-local-db apache2 hostname which w3m &&       zypper clean' returned a non-zero code: 8 
 ~~~ 

Back