Build: #1360 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
23 minutes
Revision
7b3b3556434af2ca45903e7d61033c29e4e25f3e 7b3b3556434af2ca45903e7d61033c29e4e25f3e
Fixed in
#1368 (Child of TRUNK-MASTER-3050)
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:1af69df90cdb85182cc3e7b946916acb7b1b32734a844a228d432fb1be107365
+ 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
+ count=20
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-28 16:55:12--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  20 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=21
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-28 16:55:42--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  21 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=22
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-28 16:56:12--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  22 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=23
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-28 16:56:42--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  23 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=24
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-28 16:57:12--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  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-28 16:57:42--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  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-28 16:58:12--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  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-28 16:58:42--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  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-28 16:59:12--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  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-28 16:59:42--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  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-28 17:00:12--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... failed: Connection refused.
+ ((  30 == 30  ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/home/bamboo-agent/bamboo-agent/temp/OP-OPM-TOM-1360-ScriptBuildTask-6791040281260200783.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_db_1 ...
Stopping op-opm-tom_db_1 ... done
Removing op-opm-tom_openmrs-platform_1 ...
Removing op-opm-tom_db_1               ...
Removing op-opm-tom_openmrs-platform_1 ... done
Removing op-opm-tom_db_1               ... done
Removing network op-opm-tom_default
Removing volume op-opm-tom_db-data
Removing volume op-opm-tom_openmrs-data