Build: #123 was successful

Job: Test on MySQL was successful

Stages & jobs

  1. Update versions

  2. Build

  3. Push docker image

  4. Validate

  5. Release

    Requires a user to start manually
  6. Release 2nd stage

  7. Release 3rd stage

Job result summary

Completed
Duration
8 minutes
Agent
yu.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 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 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 (mysql:5.6)...
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.9s done
#5 DONE 1.0s

#6 [ 7/10] RUN chmod +x /usr/local/tomcat/wait-for-it.sh
#6 CACHED

#7 [ 9/10] COPY openmrs-distro.properties /root/openmrs-distro.properties
#7 CACHED

#8 [ 5/10] COPY startup.sh /usr/local/tomcat/startup.sh
#8 CACHED

#9 [ 4/10] COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
#9 CACHED

#10 [ 6/10] RUN sed -i '/Connector port="8080"/a URIEncoding="UTF-8" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^\`"<>"' /usr/local/tomcat/conf/server.xml
#10 CACHED

#11 [ 8/10] RUN chmod +x /usr/local/tomcat/startup.sh
#11 CACHED

#12 [ 2/10] COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
#12 CACHED

#13 [ 3/10] COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
#13 CACHED

#14 [10/10] COPY Dockerfile /root/Dockerfile
#14 CACHED

#15 exporting to image
#15 exporting layers done
#15 writing image sha256:847be77fb974ecdd4daf25a029d2ac79720a7413f2f53f2e39a7db0f19a22793 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-23 20:41:20--  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-23 20:41:20--  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