Problems Experienced During Docker Deployment of CIBugLog
Hello, I've been trying to deploy CI Bug Log via Docker (through the provided documentation at https://gitlab.freedesktop.org/gfx-ci/cibuglog). The container successfully launches and can be accessed. However, I am experiencing various issues with the CI Bug Log web-service after the container has been spawned that makes the application difficult to use.
Issues I am Facing:
- Performance is very slow. It takes roughly ~3-5 minutes to query for a result at: http://{REDACTED_HOST_NAME}/results/all. I don't think that this is the normal performance.
- In the web-console I see a variety of errors after my query has finally finished loading (ie. Jquery, "$ is not defined" errors). I have attached an image of these errors.
- When my query has finally finished loading, the various graphs (ie. pie charts) are missing in the UI (probably has something to do with the Jquery errors?)
The Steps That I Followed:
- Installed PostgreSQL (spawned a Docker container and created the cibuglog database in it)
sudo docker run --name postgres -e POSTGRES_PASSWORD=<MY_PASS> -d -p 5432:5432 postgres:alpine
sudo docker exec -it postgres bash
psql -U postgres
create database cibuglog;
\q
- Set
/etc/cibuglog.env
and/usr/bin/cibuglog-docker-run
. Also, replaced the CIBUGLOG_HOST, CIBUGLOG_DB_HOST/NAME/USER/PASSWORD values in/etc/cibuglog.env
. Namely, I altered these fields:
CIBUGLOG_HOST={REDACTED_HOST_NAME}
CIBUGLOG_DB_HOST={REDACTED}
CIBUGLOG_DB_NAME=cibuglog
CIBUGLOG_DB_USER=postgres
CIBUGLOG_DB_PASSWORD={PASSWORD_I_CREATED_FOR_POSTGRES_INSTANCE}
- Spawned the cibuglog container via:
docker run -d --rm --env-file /etc/cibuglog.env -p 80:8000 -v /home/MY_USER/testdata:/app/testdata --name cibuglog registry.freedesktop.org/gfx-ci/cibuglog:latest
- Tried to access the CI Bug Log results portal through: http://{REDACTED_HOST_NAME}/results/all, and queried for the data that I wanted.
If anyone could please help me resolve these issues, that would be greatly appreciated.
Edited by Nicholas Choi