Build: #116 failed
Job: Test on MySQL failed
Job result summary
- Completed
- Duration
- 24 minutes
Error summary
The build generated some errors. See the full build log for more details.
+ docker-compose -f docker-compose.yml -f docker-compose.prod.yml down -v
Removing network docker-compose_default
Network docker-compose_default not found.
Removing volume docker-compose_db-data
Volume docker-compose_db-data not found.
Removing volume docker-compose_web-data
Volume docker-compose_web-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build -d
Creating network "docker-compose_default" with the default driver
Creating volume "docker-compose_db-data" with default driver
Creating volume "docker-compose_web-data" with default driver
Pulling db (mysql:5.6)...
Building web
Creating docker-compose_db_1 ...
[1A[2K
Creating docker-compose_db_1 ... [32mdone[0m
[1BCreating docker-compose_web_1 ...
[1A[2K
Creating docker-compose_web_1 ... [32mdone[0m
[1B+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:25:48-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 24 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=25
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:26:18-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:26:19-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 25 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=26
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:26:49-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:26:50-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 26 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=27
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:27:20-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:27:22-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 27 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=28
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:27:52-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:27:53-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 28 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=29
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:28:23-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:28:24-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 29 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=30
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:28:54-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:28:55-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 30 == 30 ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/home/bamboo-agent/bamboo-agent/temp/OP-OPM2-TOM-116-ScriptBuildTask-5186947469248654828.sh: line 12: cd: target/distro/: No such file or directory
Stopping docker-compose_web_1 ...
Stopping docker-compose_db_1 ...
[2A[2K
Stopping docker-compose_web_1 ... [32mdone[0m
[2B[1A[2K
Stopping docker-compose_db_1 ... [32mdone[0m
[1BRemoving docker-compose_web_1 ...
Removing docker-compose_db_1 ...
[1A[2K
Removing docker-compose_db_1 ... [32mdone[0m
[1B[2A[2K
Removing docker-compose_web_1 ... [32mdone[0m
[2BRemoving network docker-compose_default
Removing volume docker-compose_db-data
Removing volume docker-compose_web-data
Removing network docker-compose_default
Network docker-compose_default not found.
Removing volume docker-compose_db-data
Volume docker-compose_db-data not found.
Removing volume docker-compose_web-data
Volume docker-compose_web-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.prod.yml up --build -d
Creating network "docker-compose_default" with the default driver
Creating volume "docker-compose_db-data" with default driver
Creating volume "docker-compose_web-data" with default driver
Pulling db (mysql:5.6)...
Building web
Creating docker-compose_db_1 ...
[1A[2K
Creating docker-compose_db_1 ... [32mdone[0m
[1BCreating docker-compose_web_1 ...
[1A[2K
Creating docker-compose_web_1 ... [32mdone[0m
[1B+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:25:48-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 24 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=25
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:26:18-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:26:19-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 25 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=26
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:26:49-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:26:50-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 26 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=27
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:27:20-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:27:22-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 27 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=28
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:27:52-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:27:53-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 28 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=29
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:28:23-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:28:24-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 29 == 30 ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=30
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-02-07 01:28:54-- http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-02-07 01:28:55-- (try: 2) http://localhost/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:80... connected.
HTTP request sent, awaiting response... 500 Internal Server Error
Remote file does not exist -- broken link!!!
+ (( 30 == 30 ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/home/bamboo-agent/bamboo-agent/temp/OP-OPM2-TOM-116-ScriptBuildTask-5186947469248654828.sh: line 12: cd: target/distro/: No such file or directory
Stopping docker-compose_web_1 ...
Stopping docker-compose_db_1 ...
[2A[2K
Stopping docker-compose_web_1 ... [32mdone[0m
[2B[1A[2K
Stopping docker-compose_db_1 ... [32mdone[0m
[1BRemoving docker-compose_web_1 ...
Removing docker-compose_db_1 ...
[1A[2K
Removing docker-compose_db_1 ... [32mdone[0m
[1B[2A[2K
Removing docker-compose_web_1 ... [32mdone[0m
[2BRemoving network docker-compose_default
Removing volume docker-compose_db-data
Removing volume docker-compose_web-data