Build: #1343 failed Changes by herman <hermanmuhereza22@gmail.com>

Stages & jobs

  1. Build and push

  2. Validate

  3. Update versions

  4. Release

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

  6. Release 3rd stage

Build result summary

Details

Completed
Queue duration
7 seconds
Duration
54 minutes
Labels
None
Revisions
OpenMRS Platform
7b3b3556434af2ca45903e7d61033c29e4e25f3e 7b3b3556434af2ca45903e7d61033c29e4e25f3e
Release scripts
39269cb8f38c786e7c5c4df804871bc2073177ad 39269cb8f38c786e7c5c4df804871bc2073177ad
openmrs-module-webservices.rest
b4be58a7effd647cb009da2bc25c56f65af156e8 b4be58a7effd647cb009da2bc25c56f65af156e8
Standalone Platform Pre 2.4
c900cf54e912db0b64dbdabeb5159d55a4423075 c900cf54e912db0b64dbdabeb5159d55a4423075
Standalone
885ad10c3e56ae11105727bb801f2f04042a18d9 885ad10c3e56ae11105727bb801f2f04042a18d9
Failing since
#1340 (Child of TRUNK-MASTER-3007)
Fixed in
#1344 (Child of TRUNK-MASTER-3010)
No failed test found. A possible compilation error occurred.

Responsible

This build has been failing since #1340
No one has taken responsibility

Code commits

openmrs-module-webservices.rest
Author Commit Message Commit date
herman <hermanmuhereza22@gmail.com> herman <hermanmuhereza22@gmail.com> b4be58a7effd647cb009da2bc25c56f65af156e8 b4be58a7effd647cb009da2bc25c56f65af156e8 Restws 895: Ensure fetching Allergies for a newly created patient returns HTTP 204-No Content Response Status code (#561)
* Fetching allergies for a newly registered patient throws an exception

* adding the required tests

* Improve exception class description

Co-authored-by: dkayiwa <dkayiwa@openmrs.org>

Error summary for Test on MySQL

The job generated some errors, drill down into the full build log for more details.

+ [[ ehuB != ehuxB ]]
+ echo 'Start of Lmod init/bash script to define the module command'
+ LMOD_PKG=/usr/share/lmod/lmod
+ LMOD_DIR=/usr/share/lmod/lmod/libexec
+ LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
+ MODULESHOME=/usr/share/lmod/lmod
+ export LMOD_PKG
+ export LMOD_CMD
+ export LMOD_DIR
+ export MODULESHOME
+ LMOD_VERSION=6.6
+ export LMOD_VERSION
+ '[' : '!=' : ']'
+ unalias ml
+ true
++ echo YES
++ /usr/bin/tr '[:upper:]' '[:lower:]'
+ export_module=yes
+ '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
+ export -f module
+ export -f ml
+ unset export_module
+ '[' -n '' ']'
+ '[' 5 -ge 3 ']'
+ '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
+ '[' -n '' ']'
+ [[ ehuB != ehuxB ]]
+ echo 'End of Lmod init/bash script to define the module command'
+ docker pull openmrs/openmrs-platform@sha256:b8bbcd9db9d6472f3db94faa2fe59f203774903a9f001b6a6d370e89828f8c72
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml down -v
The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
Removing network op-opm-tom_default
Network op-opm-tom_default not found.
Removing volume op-opm-tom_db-data
Volume op-opm-tom_db-data not found.
Removing volume op-opm-tom_openmrs-data
Volume op-opm-tom_openmrs-data not found.
+ docker-compose -f docker-compose.yml -f docker-compose.mysql.yml up --build -d
The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
Creating network "op-opm-tom_default" with the default driver
Creating volume "op-opm-tom_db-data" with default driver
Creating volume "op-opm-tom_openmrs-data" with default driver
Pulling db (mysql:5.6)...
Building openmrs-platform
Creating op-opm-tom_db_1 ...
Creating op-opm-tom_db_1 ... done
Creating op-opm-tom_openmrs-platform_1 ...
Creating op-opm-tom_openmrs-platform_1 ... done
+ sleep 500
+ docker ps
+ docker-compose logs
HTTP request sent, awaiting response... 500
--2022-09-20 14:28:52--  (try: 2)  http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!

+ ((  24 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=25
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-20 14:29:22--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2022-09-20 14:29:23--  (try: 2)  http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!

+ ((  25 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=26
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-20 14:29:53--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2022-09-20 14:29:54--  (try: 2)  http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!

+ ((  26 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=27
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-20 14:30:24--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2022-09-20 14:30:25--  (try: 2)  http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!

+ ((  27 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=28
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-20 14:30:55--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2022-09-20 14:30:56--  (try: 2)  http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!

+ ((  28 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=29
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-20 14:31:26--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2022-09-20 14:31:27--  (try: 2)  http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!

+ ((  29 == 30  ))
+ echo 'Sleeping 30 seconds'
+ sleep 30
+ count=30
+ wget --spider http://localhost:8080/openmrs/
Spider mode enabled. Check if remote file exists.
--2022-09-20 14:31:57--  http://localhost:8080/openmrs/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
--2022-09-20 14:31:58--  (try: 2)  http://localhost:8080/openmrs/
Connecting to localhost (localhost)|127.0.0.1|:8080... connected.
HTTP request sent, awaiting response... 500
Remote file does not exist -- broken link!!!

+ ((  30 == 30  ))
+ echo 'Server didn'\''t start'
+ cd target/distro/
/home/bamboo-agent/bamboo-agent/temp/OP-OPM-TOM-1343-ScriptBuildTask-908131283026116655.sh: line 8: cd: target/distro/: No such file or directory
The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
Stopping op-opm-tom_openmrs-platform_1 ...
Stopping op-opm-tom_db_1               ...
Stopping op-opm-tom_openmrs-platform_1 ... done
Stopping op-opm-tom_db_1               ... done
Removing op-opm-tom_openmrs-platform_1 ...
Removing op-opm-tom_db_1               ...
Removing op-opm-tom_db_1               ... done
Removing op-opm-tom_openmrs-platform_1 ... done
Removing network op-opm-tom_default
Removing volume op-opm-tom_db-data
Removing volume op-opm-tom_openmrs-data