Build #195

Build: #195 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
#110 (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
--2021-03-06 18:33:06--  (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.
--2021-03-06 18:33:36--  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
--2021-03-06 18:33:37--  (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.
--2021-03-06 18:34:07--  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
--2021-03-06 18:34:08--  (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.
--2021-03-06 18:34:38--  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
--2021-03-06 18:34:39--  (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.
--2021-03-06 18:35:09--  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
--2021-03-06 18:35:10--  (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.
--2021-03-06 18:35:40--  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
--2021-03-06 18:35:41--  (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.
--2021-03-06 18:36:11--  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
--2021-03-06 18:36:12--  (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-OPM3-TOMAR-195-ScriptBuildTask-6590930357270606382.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_web_1 ... done

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