Project

General

Profile

Actions

action #98496

closed

nightly circle CI job fails in "Install cached packages" with "rpm: no packages given for install" size:M

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

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Organisational
Target version:
Start date:
2021-09-13
Due date:
% Done:

0%

Estimated time:

Description

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 if the cache is empty
Actions

Also available in: Atom PDF