Build: #1340 failed
Job: Test on MySQL failed
Job result summary
- Completed
- Duration
- 25 minutes
- Revision
-
7b3b3556434af2ca45903e7d61033c29e4e25f3e
7b3b3556434af2ca45903e7d61033c29e4e25f3e - Fixed in
- #1341 (Child of TRUNK-MASTER-3008)
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
++ /usr/bin/tr '[:upper:]' '[:lower:]'
++ echo YES
+ 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:ec35252f4bb9226bf938a49e34201cc4349369cf39cb7c1a9a576a38357e7b8d
+ 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-19 19:58:06-- (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-19 19:58:36-- 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-19 19:58:37-- (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-19 19:59:07-- 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-19 19:59:08-- (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-19 19:59:38-- 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-19 19:59:39-- (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-19 20:00:09-- 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-19 20:00:10-- (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-19 20:00:40-- 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-19 20:00:41-- (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-19 20:01:11-- 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-19 20:01:12-- (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-1340-ScriptBuildTask-6852148138050086829.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
+ 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
++ /usr/bin/tr '[:upper:]' '[:lower:]'
++ echo YES
+ 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:ec35252f4bb9226bf938a49e34201cc4349369cf39cb7c1a9a576a38357e7b8d
+ 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-19 19:58:06-- (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-19 19:58:36-- 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-19 19:58:37-- (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-19 19:59:07-- 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-19 19:59:08-- (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-19 19:59:38-- 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-19 19:59:39-- (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-19 20:00:09-- 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-19 20:00:10-- (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-19 20:00:40-- 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-19 20:00:41-- (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-19 20:01:11-- 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-19 20:01:12-- (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-1340-ScriptBuildTask-6852148138050086829.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