Project

General

Profile

action #98496

Updated by livdywan over 2 years ago

## Observation 

 https://app.circleci.com/pipelines/github/os-autoinst/openQA/7659/workflows/cc8ba326-aa47-40a4-b43c-fec12d1704b1/jobs/72308 shows 

 ``` 
 #!/bin/bash -eo pipefail 
 set -x 
 if [ -z "$CIRCLE_WORKFLOW_ID" ]; then 
   bash .circleci/build_cache.sh 
 else 
   sudo rpm -i -f $(find /var/cache/zypp/packages/ | grep '.rpm$') 
 fi 

 + '[' -z cc8ba326-aa47-40a4-b43c-fec12d1704b1 ']' 
 ++ find /var/cache/zypp/packages/ 
 ++ grep '.rpm$' 
 + sudo rpm -i -f 
 rpm: no packages given for install 

 Exited with code exit status 1 

 CircleCI received exit code 1 
 ``` 

 in a previous step "Restoring cache" there is: 

 ``` 
 No cache is found for key: v1-R3CxihB_CRf9AaxlDij+JU8Ke6fsRQrgKsZfJNeqcCs=-0ctxsgSE3h8sZFrULdZqhQKTjwrMfWf9GrviDcdOQG8= 
 ``` 

 ## Acceptance criteria 
 - **AC1**: CI should fail w/ a clear error message be able to install necessary packages regardless if the cache is empty filled or not

Back