Build: #2 failed

Job: Test on MySQL failed

Stages & jobs

  1. Update versions

  2. Build

  3. Push docker image

  4. Validate

  5. Release

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

  7. Release 3rd stage

Job result summary

Completed
Duration
24 minutes
Agent
yokobue.openmrs.org
Fixed in
#7 (Rebuilt by Juliet Wamalwa)
No failed test found. A possible compilation error occurred.

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 ...

Creating docker-compose_db_1 ... done
Creating docker-compose_web_1 ...

Creating docker-compose_web_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
+ count=20
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-09-17 21:06:26--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  20 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=21
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-09-17 21:06:56--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  21 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=22
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-09-17 21:07:26--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  22 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=23
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-09-17 21:07:56--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  23 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=24
+ wget --spider http://localhost:80/openmrs/
Spider mode enabled. Check if remote file exists.
--2020-09-17 21:08:27--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  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-09-17 21:08:57--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  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-09-17 21:09:28--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  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-09-17 21:09:58--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  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-09-17 21:10:29--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  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-09-17 21:10:59--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  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-09-17 21:11:29--  http://localhost/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:80... failed: Connection refused.
+ ((  30 == 30  ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/home/bamboo-agent/bamboo-agent/temp/OP-OP3-TOM-2-ScriptBuildTask-5568520163079068890.sh: line 12: cd: target/distro/: No such file or directory
Stopping docker-compose_db_1 ...

Stopping docker-compose_db_1 ... done
Removing docker-compose_web_1 ...
Removing docker-compose_db_1  ...

Removing docker-compose_db_1  ... done

Removing docker-compose_web_1 ... done
Removing network docker-compose_default
Removing volume docker-compose_db-data
Removing volume docker-compose_web-data