Release plan for OpenMRS Platform 2.7.x
Build: #81 failed
Job: Test on MySQL failed
Job result summary
- Completed
- Duration
- 24 minutes
- Agent
- xiao.openmrs.org (2)
- Revision
-
c94bc382dc09eb19fabc66101048bfaf422b7bae
- Failing since
- #62 (Code changes detected – )
Error summary
The build generated some errors. See the full build log for more details.
+ docker pull openmrs/openmrs-platform@sha256:08b0de9bd880c480ab811b5216309d74b7fa73e44d30c2ead2fe88becbd60f4a
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml down -v
Removing network op-op27-tom_default
Network op-op27-tom_default not found.
Removing volume op-op27-tom_db-data
Volume op-op27-tom_db-data not found.
Removing volume op-op27-tom_openmrs-data
Volume op-op27-tom_openmrs-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml up --build -d
Creating network "op-op27-tom_default" with the default driver
Creating volume "op-op27-tom_db-data" with default driver
Creating volume "op-op27-tom_openmrs-data" with default driver
Pulling db (mysql:5.6)...
Building api
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.39kB done
#1 DONE 0.1s
#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 0.3s
#3 docker-image://docker.io/docker/dockerfile:1@sha256:dabfc0969b935b2080555ace70ee69a5261af8a8f1b4df97b9e7fbcf6722eddf
#3 CACHED
#4 [internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#4 ...
#5 [internal] load metadata for docker.io/openmrs/openmrs-core:dev
#5 DONE 0.2s
#4 [internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#4 DONE 0.2s
#6 [internal] load .dockerignore
#6 transferring context: 2B done
#6 DONE 0.1s
#7 [dev 1/6] FROM docker.io/openmrs/openmrs-core:dev@sha256:457809b34c91dcb06b79917c239811b72edd50c3cb409ff6b830fd3088bb69d9
#7 DONE 0.0s
#8 [stage-1 1/5] FROM docker.io/openmrs/openmrs-core:nightly@sha256:1848464a918e3c0eeaf263d42cf256488f565d110b61ad94adcd0e55f45502a0
#8 DONE 0.0s
#9 [internal] load build context
#9 transferring context: 8.53kB done
#9 DONE 0.1s
#10 [stage-1 2/5] COPY --from=dev /openmrs/distribution/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
#10 CACHED
#11 [dev 2/6] WORKDIR /openmrs_distro
#11 CACHED
#12 [dev 3/6] COPY pom.xml openmrs-distro.properties readme.txt ./
#12 CACHED
#13 [dev 5/6] RUN cp /openmrs_distro/target/distro/web/openmrs.war /openmrs/distribution/openmrs_core/ && cp /openmrs_distro/target/distro/web/openmrs-distro.properties /openmrs/distribution/ && cp -R /openmrs_distro/target/distro/web/modules /openmrs/distribution/openmrs_modules && cp -R /openmrs_distro/target/distro/web/owa /openmrs/distribution/openmrs_owas
#13 CACHED
#14 [dev 4/6] RUN mvn install -s /usr/share/maven/ref/settings-docker.xml
#14 CACHED
#15 [dev 6/6] RUN mvn clean -s /usr/share/maven/ref/settings-docker.xml
#15 CACHED
#16 [stage-1 4/5] COPY --from=dev /openmrs/distribution/openmrs_modules /openmrs/distribution/openmrs_modules
#16 CACHED
#17 [stage-1 3/5] COPY --from=dev /openmrs/distribution/openmrs-distro.properties /openmrs/distribution/
#17 CACHED
#18 [stage-1 5/5] COPY --from=dev /openmrs/distribution/openmrs_owas /openmrs/distribution/openmrs_owas
#18 CACHED
#19 exporting to image
#19 exporting layers done
#19 writing image sha256:c1467958889ec7a6d3c2ac63110bfc2552e9d9e487ae716fe833e56bd9ca04b3 done
#19 naming to docker.io/openmrs/openmrs-platform:nightly done
#19 DONE 0.0s
[33m1 warning found (use docker --debug to expand):
[0m - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
Creating op-op27-tom_db_1 ...
Creating op-op27-tom_db_1 ... done
Creating op-op27-tom_api_1 ...
Creating op-op27-tom_api_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500
--2025-09-22 21:33:54-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 24 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=25
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:34:24-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:34:25-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 25 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=26
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:34:55-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:34:56-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 26 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=27
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:35:26-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:35:27-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 27 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=28
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:35:57-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:35:58-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 28 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=29
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:36:28-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:36:29-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 29 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=30
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:36:59-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:37:00-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 30 == 30 ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/data/bamboo-agent/temp/OP-OP27-TOM-81-ScriptBuildTask-14887488713261793113.sh: line 8: cd: target/distro/: No such file or directory
Stopping op-op27-tom_api_1 ...
Stopping op-op27-tom_db_1 ...
Stopping op-op27-tom_api_1 ... done
Stopping op-op27-tom_db_1 ... done
Removing op-op27-tom_api_1 ...
Removing op-op27-tom_db_1 ...
Removing op-op27-tom_db_1 ... done
Removing op-op27-tom_api_1 ... done
Removing network op-op27-tom_default
Removing volume op-op27-tom_db-data
Removing volume op-op27-tom_openmrs-data
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml down -v
Removing network op-op27-tom_default
Network op-op27-tom_default not found.
Removing volume op-op27-tom_db-data
Volume op-op27-tom_db-data not found.
Removing volume op-op27-tom_openmrs-data
Volume op-op27-tom_openmrs-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml up --build -d
Creating network "op-op27-tom_default" with the default driver
Creating volume "op-op27-tom_db-data" with default driver
Creating volume "op-op27-tom_openmrs-data" with default driver
Pulling db (mysql:5.6)...
Building api
#0 building with "default" instance using docker driver
#1 [internal] load build definition from Dockerfile
#1 transferring dockerfile: 1.39kB done
#1 DONE 0.1s
#2 resolve image config for docker-image://docker.io/docker/dockerfile:1
#2 DONE 0.3s
#3 docker-image://docker.io/docker/dockerfile:1@sha256:dabfc0969b935b2080555ace70ee69a5261af8a8f1b4df97b9e7fbcf6722eddf
#3 CACHED
#4 [internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#4 ...
#5 [internal] load metadata for docker.io/openmrs/openmrs-core:dev
#5 DONE 0.2s
#4 [internal] load metadata for docker.io/openmrs/openmrs-core:nightly
#4 DONE 0.2s
#6 [internal] load .dockerignore
#6 transferring context: 2B done
#6 DONE 0.1s
#7 [dev 1/6] FROM docker.io/openmrs/openmrs-core:dev@sha256:457809b34c91dcb06b79917c239811b72edd50c3cb409ff6b830fd3088bb69d9
#7 DONE 0.0s
#8 [stage-1 1/5] FROM docker.io/openmrs/openmrs-core:nightly@sha256:1848464a918e3c0eeaf263d42cf256488f565d110b61ad94adcd0e55f45502a0
#8 DONE 0.0s
#9 [internal] load build context
#9 transferring context: 8.53kB done
#9 DONE 0.1s
#10 [stage-1 2/5] COPY --from=dev /openmrs/distribution/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
#10 CACHED
#11 [dev 2/6] WORKDIR /openmrs_distro
#11 CACHED
#12 [dev 3/6] COPY pom.xml openmrs-distro.properties readme.txt ./
#12 CACHED
#13 [dev 5/6] RUN cp /openmrs_distro/target/distro/web/openmrs.war /openmrs/distribution/openmrs_core/ && cp /openmrs_distro/target/distro/web/openmrs-distro.properties /openmrs/distribution/ && cp -R /openmrs_distro/target/distro/web/modules /openmrs/distribution/openmrs_modules && cp -R /openmrs_distro/target/distro/web/owa /openmrs/distribution/openmrs_owas
#13 CACHED
#14 [dev 4/6] RUN mvn install -s /usr/share/maven/ref/settings-docker.xml
#14 CACHED
#15 [dev 6/6] RUN mvn clean -s /usr/share/maven/ref/settings-docker.xml
#15 CACHED
#16 [stage-1 4/5] COPY --from=dev /openmrs/distribution/openmrs_modules /openmrs/distribution/openmrs_modules
#16 CACHED
#17 [stage-1 3/5] COPY --from=dev /openmrs/distribution/openmrs-distro.properties /openmrs/distribution/
#17 CACHED
#18 [stage-1 5/5] COPY --from=dev /openmrs/distribution/openmrs_owas /openmrs/distribution/openmrs_owas
#18 CACHED
#19 exporting to image
#19 exporting layers done
#19 writing image sha256:c1467958889ec7a6d3c2ac63110bfc2552e9d9e487ae716fe833e56bd9ca04b3 done
#19 naming to docker.io/openmrs/openmrs-platform:nightly done
#19 DONE 0.0s
[33m1 warning found (use docker --debug to expand):
[0m - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
Creating op-op27-tom_db_1 ...
Creating op-op27-tom_db_1 ... done
Creating op-op27-tom_api_1 ...
Creating op-op27-tom_api_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500
--2025-09-22 21:33:54-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 24 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=25
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:34:24-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:34:25-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 25 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=26
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:34:55-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:34:56-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 26 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=27
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:35:26-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:35:27-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 27 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=28
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:35:57-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:35:58-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 28 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=29
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:36:28-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:36:29-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 29 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=30
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-09-22 21:36:59-- http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2025-09-22 21:37:00-- (try: 2) http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!
+ (( 30 == 30 ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/data/bamboo-agent/temp/OP-OP27-TOM-81-ScriptBuildTask-14887488713261793113.sh: line 8: cd: target/distro/: No such file or directory
Stopping op-op27-tom_api_1 ...
Stopping op-op27-tom_db_1 ...
Stopping op-op27-tom_api_1 ... done
Stopping op-op27-tom_db_1 ... done
Removing op-op27-tom_api_1 ...
Removing op-op27-tom_db_1 ...
Removing op-op27-tom_db_1 ... done
Removing op-op27-tom_api_1 ... done
Removing network op-op27-tom_default
Removing volume op-op27-tom_db-data
Removing volume op-op27-tom_openmrs-data