action #96636
Updated by livdywan over 3 years ago
## 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 hadolint (if that's what's failing, otherwise whatever the error via `tools/static_check_containers` which calls `$cre run --rm -i $img < "$i"` on each `Dockerfile` real failing thing is)