Build: #1585 failed
Job: Test on MySQL failed
Job result summary
- Completed
- Duration
- 25 minutes
- Agent
- yu.openmrs.org (2)
- Revision
-
c94bc382dc09eb19fabc66101048bfaf422b7bae
- Failing since
- #1566 (Code changes detected – )
Error summary
The build generated some errors. See the full build log for more details.
Progress (1): 108/155 kB
Progress (1): 109/155 kB
Progress (1): 111/155 kB
Progress (1): 112/155 kB
Progress (1): 114/155 kB
Progress (1): 115/155 kB
Progress (1): 116/155 kB
Progress (1): 118/155 kB
Progress (1): 119/155 kB
Progress (1): 120/155 kB
Progress (1): 122/155 kB
Progress (1): 123/155 kB
Progress (1): 125/155 kB
Progress (1): 126/155 kB
Progress (1): 127/155 kB
Progress (1): 129/155 kB
Progress (1): 130/155 kB
Progress (1): 132/155 kB
Progress (1): 133/155 kB
Progress (1): 134/155 kB
Progress (1): 136/155 kB
Progress (1): 137/155 kB
Progress (1): 139/155 kB
Progress (1): 140/155 kB
Progress (1): 141/155 kB
Progress (1): 143/155 kB
Progress (1): 144/155 kB
Progress (1): 146/155 kB
Progress (1): 147/155 kB
Progress (1): 148/155 kB
Progress (1): 150/155 kB
Progress (1): 151/155 kB
Progress (1): 153/155 kB
Progress (1): 154/155 kB
Progress (1): 155 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/shared/maven-shared-utils/3.0.0/maven-shared-utils-3.0.0.jar (155 kB at 249 kB/s)
#12 59.62 [INFO]
#12 59.62 [INFO] --- install:3.1.2:install (default-install) @ platform ---
#12 59.66 [INFO] Installing /openmrs_distro/pom.xml to /usr/share/maven/ref/repository/org/openmrs/distro/platform/3.0.0-SNAPSHOT/platform-3.0.0-SNAPSHOT.pom
#12 59.66 [INFO] Installing /openmrs_distro/target/platform-3.0.0-SNAPSHOT.jar to /usr/share/maven/ref/repository/org/openmrs/distro/platform/3.0.0-SNAPSHOT/platform-3.0.0-SNAPSHOT.jar
#12 59.67 [INFO] Installing /openmrs_distro/target/bundled-distro/web/openmrs.war to /usr/share/maven/ref/repository/org/openmrs/distro/platform/3.0.0-SNAPSHOT/platform-3.0.0-SNAPSHOT.war
#12 60.10 [INFO] ------------------------------------------------------------------------
#12 60.10 [INFO] BUILD SUCCESS
#12 60.10 [INFO] ------------------------------------------------------------------------
#12 60.10 [INFO] Total time: 57.348 s
#12 60.10 [INFO] Finished at: 2025-09-24T21:19:06Z
#12 60.10 [INFO] ------------------------------------------------------------------------
#12 DONE 60.4s
#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 DONE 0.7s
#14 [dev 6/6] RUN mvn clean -s /usr/share/maven/ref/settings-docker.xml
#14 1.705 [INFO] Scanning for projects...
#14 1.829 [INFO]
#14 1.829 [INFO] --------------------< org.openmrs.distro:platform >---------------------
#14 1.830 [INFO] Building OpenMRS Platform 3.0.0-SNAPSHOT
#14 1.834 [INFO] from pom.xml
#14 1.834 [INFO] --------------------------------[ jar ]---------------------------------
#14 1.937 [INFO]
#14 1.938 [INFO] --- clean:3.2.0:clean (default-clean) @ platform ---
#14 2.054 [INFO] Deleting /openmrs_distro/target
#14 2.059 [INFO] ------------------------------------------------------------------------
#14 2.059 [INFO] BUILD SUCCESS
#14 2.059 [INFO] ------------------------------------------------------------------------
#14 2.061 [INFO] Total time: 0.390 s
#14 2.061 [INFO] Finished at: 2025-09-24T21:19:10Z
#14 2.061 [INFO] ------------------------------------------------------------------------
#14 DONE 2.1s
#15 [stage-1 2/5] COPY --from=dev /openmrs/distribution/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
#15 DONE 0.3s
#16 [stage-1 3/5] COPY --from=dev /openmrs/distribution/openmrs-distro.properties /openmrs/distribution/
#16 DONE 0.1s
#17 [stage-1 4/5] COPY --from=dev /openmrs/distribution/openmrs_modules /openmrs/distribution/openmrs_modules
#17 DONE 0.2s
#18 [stage-1 5/5] COPY --from=dev /openmrs/distribution/openmrs_owas /openmrs/distribution/openmrs_owas
#18 DONE 0.1s
#19 exporting to image
#19 exporting layers
#19 exporting layers 0.3s done
#19 writing image sha256:590606e7f0133e20d9916dc1a7285a480b48ac7bb26afdcc23e0ebadff4519e9
#19 writing image sha256:590606e7f0133e20d9916dc1a7285a480b48ac7bb26afdcc23e0ebadff4519e9 done
#19 naming to docker.io/openmrs/openmrs-platform:nightly done
#19 DONE 0.4s
[33m1 warning found (use docker --debug to expand):
[0m - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
Creating op-opm-tom_db_1 ...
Creating op-opm-tom_db_1 ... done
Creating op-opm-tom_api_1 ...
Creating op-opm-tom_api_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500
--2025-09-24 21:39:59-- (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-24 21:40:29-- 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-24 21:40:30-- (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-24 21:41:00-- 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-24 21:41:01-- (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-24 21:41:31-- 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-24 21:41:32-- (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-24 21:42:02-- 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-24 21:42:03-- (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-24 21:42:33-- 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-24 21:42:34-- (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-24 21:43:04-- 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-24 21:43:05-- (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-OPM-TOM-1585-ScriptBuildTask-14443890071009482158.sh: line 8: cd: target/distro/: No such file or directory
Stopping op-opm-tom_api_1 ...
Stopping op-opm-tom_db_1 ...
Stopping op-opm-tom_api_1 ... done
Stopping op-opm-tom_db_1 ... done
Removing op-opm-tom_api_1 ...
Removing op-opm-tom_db_1 ...
Removing op-opm-tom_db_1 ... done
Removing op-opm-tom_api_1 ... done
Removing network op-opm-tom_default
Removing volume op-opm-tom_db-data
Removing volume op-opm-tom_openmrs-data
Progress (1): 109/155 kB
Progress (1): 111/155 kB
Progress (1): 112/155 kB
Progress (1): 114/155 kB
Progress (1): 115/155 kB
Progress (1): 116/155 kB
Progress (1): 118/155 kB
Progress (1): 119/155 kB
Progress (1): 120/155 kB
Progress (1): 122/155 kB
Progress (1): 123/155 kB
Progress (1): 125/155 kB
Progress (1): 126/155 kB
Progress (1): 127/155 kB
Progress (1): 129/155 kB
Progress (1): 130/155 kB
Progress (1): 132/155 kB
Progress (1): 133/155 kB
Progress (1): 134/155 kB
Progress (1): 136/155 kB
Progress (1): 137/155 kB
Progress (1): 139/155 kB
Progress (1): 140/155 kB
Progress (1): 141/155 kB
Progress (1): 143/155 kB
Progress (1): 144/155 kB
Progress (1): 146/155 kB
Progress (1): 147/155 kB
Progress (1): 148/155 kB
Progress (1): 150/155 kB
Progress (1): 151/155 kB
Progress (1): 153/155 kB
Progress (1): 154/155 kB
Progress (1): 155 kB
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/org/apache/maven/shared/maven-shared-utils/3.0.0/maven-shared-utils-3.0.0.jar (155 kB at 249 kB/s)
#12 59.62 [INFO]
#12 59.62 [INFO] --- install:3.1.2:install (default-install) @ platform ---
#12 59.66 [INFO] Installing /openmrs_distro/pom.xml to /usr/share/maven/ref/repository/org/openmrs/distro/platform/3.0.0-SNAPSHOT/platform-3.0.0-SNAPSHOT.pom
#12 59.66 [INFO] Installing /openmrs_distro/target/platform-3.0.0-SNAPSHOT.jar to /usr/share/maven/ref/repository/org/openmrs/distro/platform/3.0.0-SNAPSHOT/platform-3.0.0-SNAPSHOT.jar
#12 59.67 [INFO] Installing /openmrs_distro/target/bundled-distro/web/openmrs.war to /usr/share/maven/ref/repository/org/openmrs/distro/platform/3.0.0-SNAPSHOT/platform-3.0.0-SNAPSHOT.war
#12 60.10 [INFO] ------------------------------------------------------------------------
#12 60.10 [INFO] BUILD SUCCESS
#12 60.10 [INFO] ------------------------------------------------------------------------
#12 60.10 [INFO] Total time: 57.348 s
#12 60.10 [INFO] Finished at: 2025-09-24T21:19:06Z
#12 60.10 [INFO] ------------------------------------------------------------------------
#12 DONE 60.4s
#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 DONE 0.7s
#14 [dev 6/6] RUN mvn clean -s /usr/share/maven/ref/settings-docker.xml
#14 1.705 [INFO] Scanning for projects...
#14 1.829 [INFO]
#14 1.829 [INFO] --------------------< org.openmrs.distro:platform >---------------------
#14 1.830 [INFO] Building OpenMRS Platform 3.0.0-SNAPSHOT
#14 1.834 [INFO] from pom.xml
#14 1.834 [INFO] --------------------------------[ jar ]---------------------------------
#14 1.937 [INFO]
#14 1.938 [INFO] --- clean:3.2.0:clean (default-clean) @ platform ---
#14 2.054 [INFO] Deleting /openmrs_distro/target
#14 2.059 [INFO] ------------------------------------------------------------------------
#14 2.059 [INFO] BUILD SUCCESS
#14 2.059 [INFO] ------------------------------------------------------------------------
#14 2.061 [INFO] Total time: 0.390 s
#14 2.061 [INFO] Finished at: 2025-09-24T21:19:10Z
#14 2.061 [INFO] ------------------------------------------------------------------------
#14 DONE 2.1s
#15 [stage-1 2/5] COPY --from=dev /openmrs/distribution/openmrs_core/openmrs.war /openmrs/distribution/openmrs_core/
#15 DONE 0.3s
#16 [stage-1 3/5] COPY --from=dev /openmrs/distribution/openmrs-distro.properties /openmrs/distribution/
#16 DONE 0.1s
#17 [stage-1 4/5] COPY --from=dev /openmrs/distribution/openmrs_modules /openmrs/distribution/openmrs_modules
#17 DONE 0.2s
#18 [stage-1 5/5] COPY --from=dev /openmrs/distribution/openmrs_owas /openmrs/distribution/openmrs_owas
#18 DONE 0.1s
#19 exporting to image
#19 exporting layers
#19 exporting layers 0.3s done
#19 writing image sha256:590606e7f0133e20d9916dc1a7285a480b48ac7bb26afdcc23e0ebadff4519e9
#19 writing image sha256:590606e7f0133e20d9916dc1a7285a480b48ac7bb26afdcc23e0ebadff4519e9 done
#19 naming to docker.io/openmrs/openmrs-platform:nightly done
#19 DONE 0.4s
[33m1 warning found (use docker --debug to expand):
[0m - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 4)
Creating op-opm-tom_db_1 ...
Creating op-opm-tom_db_1 ... done
Creating op-opm-tom_api_1 ...
Creating op-opm-tom_api_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500
--2025-09-24 21:39:59-- (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-24 21:40:29-- 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-24 21:40:30-- (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-24 21:41:00-- 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-24 21:41:01-- (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-24 21:41:31-- 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-24 21:41:32-- (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-24 21:42:02-- 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-24 21:42:03-- (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-24 21:42:33-- 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-24 21:42:34-- (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-24 21:43:04-- 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-24 21:43:05-- (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-OPM-TOM-1585-ScriptBuildTask-14443890071009482158.sh: line 8: cd: target/distro/: No such file or directory
Stopping op-opm-tom_api_1 ...
Stopping op-opm-tom_db_1 ...
Stopping op-opm-tom_api_1 ... done
Stopping op-opm-tom_db_1 ... done
Removing op-opm-tom_api_1 ...
Removing op-opm-tom_db_1 ...
Removing op-opm-tom_db_1 ... done
Removing op-opm-tom_api_1 ... done
Removing network op-opm-tom_default
Removing volume op-opm-tom_db-data
Removing volume op-opm-tom_openmrs-data