Build: #120 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
xindi.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

#4 [ 1/10] FROM docker.io/library/tomcat:7-jre8@sha256:3d6475354578a0b083f2e91700dcb8a1275dc5f574435276ce0ec69be588d6a3
#4 CACHED

#6 [ 2/10] COPY openmrs.war  /usr/local/tomcat/webapps/openmrs.war
#6 DONE 0.6s

#7 [ 3/10] COPY setenv.sh /usr/local/tomcat/bin/setenv.sh
#7 DONE 0.1s

#8 [ 4/10] COPY wait-for-it.sh /usr/local/tomcat/wait-for-it.sh
#8 DONE 0.1s

#9 [ 5/10] COPY startup.sh /usr/local/tomcat/startup.sh
#9 DONE 0.1s

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

#11 [ 7/10] RUN chmod +x /usr/local/tomcat/wait-for-it.sh
#11 DONE 0.4s

#12 [ 8/10] RUN chmod +x /usr/local/tomcat/startup.sh
#12 DONE 0.4s

#13 [ 9/10] COPY openmrs-distro.properties /root/openmrs-distro.properties
#13 DONE 0.1s

#14 [10/10] COPY Dockerfile /root/Dockerfile
#14 DONE 0.1s

#15 exporting to image
#15 exporting layers
#15 exporting layers 0.5s done
#15 writing image sha256:a6303ad8fec15155066866fd89d1a4534a9d72b6391f23f8224be36cfee0dd0c done
#15 naming to docker.io/library/platform:2.2.2-snapshot done
#15 DONE 0.5s
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-02-04 23:32:43--  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-02-04 23:32:43--  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