Build: #1342 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
24 minutes
Revision
7b3b3556434af2ca45903e7d61033c29e4e25f3e 7b3b3556434af2ca45903e7d61033c29e4e25f3e
Fixed in
#1344 (Child of TRUNK-MASTER-3010)
No failed test found. A possible compilation error occurred.

Error summary

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

+ [[ ehuB != ehuxB ]]
+ echo 'Start of Lmod init/bash script to define the module command'
+ LMOD_PKG=/usr/share/lmod/lmod
+ LMOD_DIR=/usr/share/lmod/lmod/libexec
+ LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
+ MODULESHOME=/usr/share/lmod/lmod
+ export LMOD_PKG
+ export LMOD_CMD
+ export LMOD_DIR
+ export MODULESHOME
+ LMOD_VERSION=6.6
+ export LMOD_VERSION
+ '[' : '!=' : ']'
+ unalias ml
+ true
++ echo YES
++ /usr/bin/tr '[:upper:]' '[:lower:]'
+ export_module=yes
+ '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
+ export -f module
+ export -f ml
+ unset export_module
+ '[' -n '' ']'
+ '[' 5 -ge 3 ']'
+ '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
+ '[' -n '' ']'
+ [[ ehuB != ehuxB ]]
+ echo 'End of Lmod init/bash script to define the module command'
+ docker pull openmrs/openmrs-platform@sha256:aaed92fdd07a97f87eed7441803190de2989da28f7b1e6dc7c8c34a097165960
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml down -v
The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
Removing network op-opm-tom_default
Network op-opm-tom_default not found.
Removing volume op-opm-tom_db-data
Volume op-opm-tom_db-data not found.
Removing volume op-opm-tom_openmrs-data
Volume op-opm-tom_openmrs-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml up --build -d
The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
Creating network "op-opm-tom_default" with the default driver
Creating volume "op-opm-tom_db-data" with default driver
Creating volume "op-opm-tom_openmrs-data" with default driver
Pulling db (mysql:5.6)...
Building openmrs-platform
Creating op-opm-tom_db_1 ...
Creating op-opm-tom_db_1 ... done
Creating op-opm-tom_openmrs-platform_1 ...
Creating op-opm-tom_openmrs-platform_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500
--2022-09-20 11:04:52--  (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.
--2022-09-20 11:05:22--  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
--2022-09-20 11:05:23--  (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.
--2022-09-20 11:05:53--  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
--2022-09-20 11:05: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!!!

+ ((  26 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=27
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-20 11:06:25--  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
--2022-09-20 11:06:26--  (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.
--2022-09-20 11:06:56--  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
--2022-09-20 11:06:57--  (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.
--2022-09-20 11:07:27--  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
--2022-09-20 11:07:28--  (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.
--2022-09-20 11:07:58--  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
--2022-09-20 11:07: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!!!

+ ((  30 == 30  ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/home/bamboo-agent/bamboo-agent/temp/OP-OPM-TOM-1342-ScriptBuildTask-7202121411241792529.sh: line 8: cd: target/distro/: No such file or directory
The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
Stopping op-opm-tom_openmrs-platform_1 ...
Stopping op-opm-tom_db_1               ...
Stopping op-opm-tom_openmrs-platform_1 ... done
Stopping op-opm-tom_db_1               ... done
Removing op-opm-tom_openmrs-platform_1 ...
Removing op-opm-tom_db_1               ...
Removing op-opm-tom_db_1               ... done
Removing op-opm-tom_openmrs-platform_1 ... done
Removing network op-opm-tom_default
Removing volume op-opm-tom_db-data
Removing volume op-opm-tom_openmrs-data