Build: #126 was successful
Job: Test on MariaDB was successful
Job result summary
- Completed
- Duration
- 8 minutes
- Agent
- xiao.openmrs.org
- Successful since
- #61 ()
Error summary
The build generated some errors. See the full build log for more details.
+ docker-compose -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.mariadb.yml down -v
Removing network docker-compose_default
Network docker-compose_default not found.
Removing volume docker-compose_db-data
Volume docker-compose_db-data not found.
Removing volume docker-compose_web-data
Volume docker-compose_web-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.mariadb.yml up --build -d
Creating network "docker-compose_default" with the default driver
Creating volume "docker-compose_db-data" with default driver
Creating volume "docker-compose_web-data" with default driver
Pulling db (mariadb:10)...
Building web
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 751B done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/tomcat:7-jre8
#2 DONE 0.3s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 100.91MB 0.6s done
#5 DONE 0.6s
#6 [ 3/10] COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
#6 CACHED
#7 [ 4/10] COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
#7 CACHED
#8 [ 6/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
#8 CACHED
#9 [ 2/10] COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war
#9 CACHED
#10 [ 5/10] COPY startup.sh /usr/local/tomcat/startup.sh
#10 CACHED
#11 [ 7/10] RUN chmod +x /usr/local/tomcat/wait-for-it.sh
#11 CACHED
#12 [ 8/10] RUN chmod +x /usr/local/tomcat/startup.sh
#12 CACHED
#13 [ 9/10] COPY openmrs-distro.properties /root/openmrs-distro.properties
#13 CACHED
#14 [10/10] COPY Dockerfile /root/Dockerfile
#14 CACHED
#15 exporting to image
#15 exporting layers done
#15 writing image sha256:f1bcb63c94581f6d02c0f6fb79aa8b5e99962722dafdd707488966dfa6ea4ede done
#15 naming to docker.io/library/platform:2.2.2-snapshot 0.0s done
#15 DONE 0.0s
Creating docker-compose_db_1 ...
Creating docker-compose_db_1 ... done
Creating docker-compose_web_1 ...
Creating docker-compose_web_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
+ count=0
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-03-26 18:52:57-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /openmrs/owa/addonmanager/index.html [following]
Spider mode enabled. Check if remote file exists.
--2025-03-26 18:52:57-- http://localhost/openmrs/owa/addonmanager/index.html
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1008 [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
+ echo 'Server up!'
Stopping docker-compose_web_1 ...
Stopping docker-compose_db_1 ...
Stopping docker-compose_web_1 ... done
Stopping docker-compose_db_1 ... done
Removing docker-compose_web_1 ...
Removing docker-compose_db_1 ...
Removing docker-compose_db_1 ... done
Removing docker-compose_web_1 ... done
Removing network docker-compose_default
Removing volume docker-compose_db-data
Removing volume docker-compose_web-data
Removing network docker-compose_default
Network docker-compose_default not found.
Removing volume docker-compose_db-data
Volume docker-compose_db-data not found.
Removing volume docker-compose_web-data
Volume docker-compose_web-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.prod.yml -f docker-compose.mariadb.yml up --build -d
Creating network "docker-compose_default" with the default driver
Creating volume "docker-compose_db-data" with default driver
Creating volume "docker-compose_web-data" with default driver
Pulling db (mariadb:10)...
Building web
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 751B done
#1 DONE 0.0s
#2 [internal] load metadata for docker.io/library/tomcat:7-jre8
#2 DONE 0.3s
#3 [internal] load .dockerignore
#3 transferring context: 2B done
#3 DONE 0.0s
#4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
#4 DONE 0.0s
#5 [internal] load build context
#5 transferring context: 100.91MB 0.6s done
#5 DONE 0.6s
#6 [ 3/10] COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
#6 CACHED
#7 [ 4/10] COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
#7 CACHED
#8 [ 6/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
#8 CACHED
#9 [ 2/10] COPY openmrs.war /usr/local/tomcat/webapps/openmrs.war
#9 CACHED
#10 [ 5/10] COPY startup.sh /usr/local/tomcat/startup.sh
#10 CACHED
#11 [ 7/10] RUN chmod +x /usr/local/tomcat/wait-for-it.sh
#11 CACHED
#12 [ 8/10] RUN chmod +x /usr/local/tomcat/startup.sh
#12 CACHED
#13 [ 9/10] COPY openmrs-distro.properties /root/openmrs-distro.properties
#13 CACHED
#14 [10/10] COPY Dockerfile /root/Dockerfile
#14 CACHED
#15 exporting to image
#15 exporting layers done
#15 writing image sha256:f1bcb63c94581f6d02c0f6fb79aa8b5e99962722dafdd707488966dfa6ea4ede done
#15 naming to docker.io/library/platform:2.2.2-snapshot 0.0s done
#15 DONE 0.0s
Creating docker-compose_db_1 ...
Creating docker-compose_db_1 ... done
Creating docker-compose_web_1 ...
Creating docker-compose_web_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
+ count=0
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-03-26 18:52:57-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: /openmrs/owa/addonmanager/index.html [following]
Spider mode enabled. Check if remote file exists.
--2025-03-26 18:52:57-- http://localhost/openmrs/owa/addonmanager/index.html
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1008 [text/html]
Remote file exists and could contain further links,
but recursion is disabled -- not retrieving.
+ echo 'Server up!'
Stopping docker-compose_web_1 ...
Stopping docker-compose_db_1 ...
Stopping docker-compose_web_1 ... done
Stopping docker-compose_db_1 ... done
Removing docker-compose_web_1 ...
Removing docker-compose_db_1 ...
Removing docker-compose_db_1 ... done
Removing docker-compose_web_1 ... done
Removing network docker-compose_default
Removing volume docker-compose_db-data
Removing volume docker-compose_web-data