Build: #1578 failed

Job: Test on MySQL failed

Stages & jobs

  1. Build and push

  2. Validate

  3. Update versions

  4. Release

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

  6. Release 3rd stage

Job result summary

Completed
Duration
25 minutes
Agent
yu.openmrs.org (2)
Revision
c94bc382dc09eb19fabc66101048bfaf422b7bae
Failing since
#1566 (Code changes detected – )
No failed test found. A possible compilation error occurred.

Error summary

The build generated some errors. See the full build log for more details.

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 371 kB/s)
#12 42.02 Progress (1): 0.5/32 kB
Progress (1): 1.9/32 kB
Progress (1): 3.3/32 kB
Progress (1): 4.7/32 kB
Progress (1): 6.1/32 kB
Progress (1): 7.5/32 kB
Progress (1): 8.9/32 kB
Progress (1): 10/32 kB
Progress (1): 12/32 kB
Progress (1): 13/32 kB
Progress (1): 14/32 kB
Progress (1): 16/32 kB
Progress (1): 16/32 kB
Progress (1): 17/32 kB
Progress (1): 19/32 kB
Progress (1): 20/32 kB
Progress (1): 22/32 kB
Progress (1): 23/32 kB
Progress (1): 24/32 kB
Progress (1): 26/32 kB
Progress (1): 27/32 kB
Progress (1): 29/32 kB
Progress (1): 30/32 kB
Progress (1): 31/32 kB
Progress (1): 32 kB   
                   
Downloaded from openmrs-repo: https://mavenrepo.openmrs.org/nexus/content/repositories/public/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar (32 kB at 76 kB/s)
#12 42.10 [INFO]
#12 42.10 [INFO] --- install:3.1.2:install (default-install) @ platform ---
#12 42.15 [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 42.15 [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 42.15 [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 42.59 [INFO] ------------------------------------------------------------------------
#12 42.59 [INFO] BUILD SUCCESS
#12 42.59 [INFO] ------------------------------------------------------------------------
#12 42.60 [INFO] Total time:  40.116 s
#12 42.60 [INFO] Finished at: 2025-08-24T10:22:47Z
#12 42.60 [INFO] ------------------------------------------------------------------------
#12 DONE 42.8s

#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.8s

#14 [dev 6/6] RUN mvn clean -s /usr/share/maven/ref/settings-docker.xml
#14 2.879 [INFO] Scanning for projects...
#14 2.985 [INFO]
#14 2.985 [INFO] --------------------< org.openmrs.distro:platform >---------------------
#14 2.986 [INFO] Building OpenMRS Platform 3.0.0-SNAPSHOT
#14 2.990 [INFO]   from pom.xml
#14 2.991 [INFO] --------------------------------[ jar ]---------------------------------
#14 3.117 [INFO]
#14 3.124 [INFO] --- clean:3.2.0:clean (default-clean) @ platform ---
#14 3.329 [INFO] Deleting /openmrs_distro/target
#14 3.344 [INFO] ------------------------------------------------------------------------
#14 3.344 [INFO] BUILD SUCCESS
#14 3.344 [INFO] ------------------------------------------------------------------------
#14 3.345 [INFO] Total time:  0.512 s
#14 3.345 [INFO] Finished at: 2025-08-24T10:22:51Z
#14 3.346 [INFO] ------------------------------------------------------------------------
#14 DONE 3.4s

#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.2s

#19 exporting to image
#19 exporting layers
#19 exporting layers 0.5s done
#19 writing image sha256:e58dbe481d47e2f0052d8e2b99429fe27b30b0b8eb9c34f33be6319dbdac5b13
#19 writing image sha256:e58dbe481d47e2f0052d8e2b99429fe27b30b0b8eb9c34f33be6319dbdac5b13 done
#19 naming to docker.io/openmrs/openmrs-platform:nightly done
#19 DONE 0.5s

1 warning found (use docker --debug to expand):
 - 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
+ ((  22 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=23
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-08-24 10:42:45--  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... 404
Remote file does not exist -- broken link!!!

+ ((  23 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=24
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2025-08-24 10:43:15--  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... 404
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-08-24 10:43:45--  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... 404
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-08-24 10:44:15--  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... 404
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-08-24 10:44:45--  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... 404
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-08-24 10:45:15--  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... 404
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-08-24 10:45:45--  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... 404
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-08-24 10:46:15--  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... 404
Remote file does not exist -- broken link!!!

+ ((  30 == 30  ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/data/bamboo-agent/temp/OP-OPM-TOM-1578-ScriptBuildTask-9878230672019070630.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