Project

General

Profile

Actions

action #96636

closed

static-check-containers is flaky on GHA size:M

Added by livdywan almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2021-08-06
Due date:
2021-08-24
% Done:

0%

Estimated time:

Description

Observation

I've seen it fail twice now on unrelated PRs neither of which was touching container definitions.

Run make test-check-containers
tools/static_check_containers
# Static check of container/ci/Dockerfile
Unable to find image 'hadolint/hadolint:latest' locally
latest: Pulling from hadolint/hadolint
c0b7b9aa8e26: Pulling fs layer
c0b7b9aa8e26: Verifying Checksum
c0b7b9aa8e26: Download complete
c0b7b9aa8e26: Pull complete
Digest: sha256:a0e201515e9946d4b5bb04a44e4d498b6c5aefac99f1ad106e139a6ff63f6476
Status: Downloaded newer image for hadolint/hadolint:latest
# Static check of container/openqa/Dockerfile
# Static check of container/openqa_data/Dockerfile
# Static check of container/webui/Dockerfile
# Static check of container/webui/Dockerfile-lb
# Static check of container/worker/Dockerfile
make: *** [Makefile:291: test-check-containers] Error 127
Error: Process completed with exit code 2.

e.g. https://github.com/os-autoinst/openQA/runs/3262841890?check_suite_focus=true

Suggestion

  • Increase verbosity of docker e.g. -D
  • Reproduce the error via tools/static_check_containers which calls $cre run --rm -i $img < "$i" on each Dockerfile
Actions

Also available in: Atom PDF