Project

General

Profile

action #91046

Updated by ilausuch almost 2 years ago

## Motivation

In #89731 we introduced a initial webui container in charge of initializing the database. We have a test where the health check failed
https://github.com/os-autoinst/openQA/pull/3838/checks?check_run_id=2329551052

The problem is that the docker-compose exit with an error because the health check of the webuid_db_init container failed
~~~ text
Name Command State Ports
------------------------------------------------------------------------------------------------------------------------------------------------
webui_db_1 docker-entrypoint.sh postgres Up (healthy) 5432/tcp
webui_webui_db_init_1 sh -c chmod -R a+rwX /data ... Up (unhealthy) 443/tcp, 80/tcp, 0.0.0.0:49153->9526/tcp, 9527/tcp, 9528/tcp, 9529/tcp
make: *** [Makefile:306: test-containers-compose] Error 1
~~~

The healthcheck is this one
https://github.com/os-autoinst/openQA/blob/abd9a2297430377cd9876c3cbcec8b2cb4302722/container/webui/docker-compose.yaml#L116

## Acceptance criteria
* **AC 1**: Determine the cause of the failure
* **AC 2**: Fix the problem

Back