action #95374
closed
All pull request openQA CI checks fail now in "webui-docker-compose": "Container is unhealthy" size:M
Added by okurz over 3 years ago.
Updated over 3 years ago.
Category:
Regressions/Crashes
Description
Observation¶
All pull request openQA CI checks fail now in "webui-docker-compose", e.g. see
https://github.com/os-autoinst/openQA/pull/4032/checks?check_run_id=3044565112#step:3:2083
ERROR: for webui Container "3dc2c3dbe671" is unhealthy.
Encountered errors while bringing up the project.
Error executing a job
Steps to reproduce¶
DONE: TBC if this works locally -> reproducible, confirmed by ilausuch
make test-containers-compose
or find failed examples in any open openQA pull requests
Expected result¶
Problem¶
The "last good" PR seems to be https://github.com/os-autoinst/openQA/pull/3987 . Maybe that introduced a problem that after merge our package in devel:openQA was built and only then all subsequent tests were impacted in a harmful way
Suggestions¶
- DONE: Try to reproduce locally -> ilausuch confirmed that it is
- If not, then reproduce in CI
- Try out if reverting https://github.com/os-autoinst/openQA/pull/3987 helps. If it does not, then try to use an older version of packages as baseline in the docker compose test if this is applicable at all
Impact¶
All PR checks fail hence blocking clean merges of new changes.
- Related to action #92092: containers: openQA test eventually fails because of timeouts added
- Status changed from New to In Progress
- Assignee set to ilausuch
- Subject changed from All pull request openQA CI checks fail now in "webui-docker-compose": "Container is unhealthy" to All pull request openQA CI checks fail now in "webui-docker-compose": "Container is unhealthy" size:M
- Description updated (diff)
Reason of the failure
webui_db_init_1 | /root/run_openqa.sh: line 6: This: command not found
Following the investigation. The line that is failing in the run_openqa.sh is
webui_db_init_1 | ++ su geekotest -c 'PGPASSWORD=openqa psql -h db -U openqa --list | grep -qe openqa'
webui_db_init_1 | + This account is currently not available.
webui_db_init_1 | /root/run_openqa.sh: line 7: This: command not found
webui_db_init_1 | + sleep .1
- Related to action #95296: openQA-in-openQA container tests fail with "/root/run_openqa.sh: line 6: This: command not found" added
The problem is related with the gekotest user
I removed the execution of psql using the gekotest and it workded, but fails in the next execution using this user
webui_db_init_1 | + su geekotest -c /usr/share/openqa/script/openqa-webui-daemon
webui_db_init_1 | This account is currently not available.
We cannot execute su on a non login user
webui_db_init_1 | geekotest:x:479:479:openQA user:/dev/null:/sbin/nologin
- Priority changed from Urgent to Normal
multiple PRs were now merged after I retriggered some failed jobs supporting my hypothesis.
@ilausuch I consider the ticket done as we defined it originally. You can still have it and try to find improvements but we can definitely reduce prio now.
- Due date set to 2021-07-27
Setting due date based on mean cycle time of SUSE QE Tools
- Copied to action #95437: The "webui-docker-compose" CI check should fail if the package is impacted by the PR itself in a harmful way added
- Status changed from In Progress to Resolved
okurz wrote:
multiple PRs were now merged after I retriggered some failed jobs supporting my hypothesis.
@ilausuch I consider the ticket done as we defined it originally. You can still have it and try to find improvements but we can definitely reduce prio now.
Yes, let's close this ticket. Maybe in the future we'll have other situations but because of other reasons.
Also available in: Atom
PDF