Build #184

Build: #184 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
yue.openmrs.org
Failing since
#116 (Code changes detected – )
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
HTTP request sent, awaiting response... 500 Internal Server Error
--2020-10-28 20:08:42--  (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-10-28 20:09:12--  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-10-28 20:09:13--  (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-10-28 20:09:43--  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-10-28 20:09:44--  (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-10-28 20:10:14--  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-10-28 20:10:15--  (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-10-28 20:10:45--  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-10-28 20:10:46--  (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-10-28 20:11:16--  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-10-28 20:11:17--  (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-10-28 20:11:47--  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-10-28 20:11: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!!!

+ ((  30 == 30  ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/home/bamboo-agent/bamboo-agent/temp/OP-OPM2-TOM-184-ScriptBuildTask-6620604210887518779.sh: line 12: cd: target/distro/: No such file or directory
Stopping docker-compose_web_1 ...
Stopping docker-compose_db_1  ...

Stopping docker-compose_web_1 ... done

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