Build #184

Build: #184 failed

Job: Test on MariaDB 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
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 -f docker-compose.mariadb.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 -f docker-compose.mariadb.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 (mariadb:10)...
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:12:20--  (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:12:50--  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:12:51--  (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:13:21--  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:13: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!!!

+ ((  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:13: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-10-28 20:13: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!!!

+ ((  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:14: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-10-28 20:14: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!!!

+ ((  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:14: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-10-28 20:14: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!!!

+ ((  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:15:26--  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:15:27--  (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-TOMAR-184-ScriptBuildTask-5513673892871668103.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