FHIR terminology service for OCL

Build: #164 failed

Job: Build oclfhir failed

Stages & jobs

  1. Default Stage

  2. Deploy QA

    Requires a user to start manually
  3. Release

    Requires a user to start manually

Build log

The build generated 160 lines of output. Download or view full build log.

06-Sep-2023 09:43:27 Build Open Concept Lab - OCL FHIR - Build oclfhir #164 (OCL-OF-JOB1-164) started building on agent yu.openmrs.org (3), bamboo version: 8.2.4
06-Sep-2023 09:43:27 Remote agent on host yu.openmrs.org
06-Sep-2023 09:43:27 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OF-JOB1
06-Sep-2023 09:43:27 Executing build Open Concept Lab - OCL FHIR - Build oclfhir #164 (OCL-OF-JOB1-164)
06-Sep-2023 09:43:27 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
06-Sep-2023 09:43:27 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OF-JOB1
06-Sep-2023 09:43:27 Updating source code to revision: 7aaf924ff1986ebbccab60a05c1d95d4a527f7f2
06-Sep-2023 09:43:27 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/4fc2fb2088af28a9d3e8f92cd5ed4328242a99bc/.git'.
06-Sep-2023 09:43:27 hint: Using 'master' as the name for the initial branch. This default branch name
06-Sep-2023 09:43:27 hint: is subject to change. To configure the initial branch name to use in all
06-Sep-2023 09:43:27 hint: of your new repositories, which will suppress this warning, call:
06-Sep-2023 09:43:27 hint:
06-Sep-2023 09:43:27 hint:         git config --global init.defaultBranch <name>
06-Sep-2023 09:43:27 hint:
06-Sep-2023 09:43:27 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
06-Sep-2023 09:43:27 hint: 'development'. The just-created branch can be renamed via this command:
06-Sep-2023 09:43:27 hint:
06-Sep-2023 09:43:27 hint:         git branch -m <name>
06-Sep-2023 09:43:27 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/_git-repositories-cache/4fc2fb2088af28a9d3e8f92cd5ed4328242a99bc/.git/
06-Sep-2023 09:43:28 Fetching 'refs/heads/master' from 'https://github.com/OpenConceptLab/oclfhir.git'.
06-Sep-2023 09:43:28 From https://github.com/OpenConceptLab/oclfhir
06-Sep-2023 09:43:28 * [new branch]      master     -> master
06-Sep-2023 09:43:28 Checking out revision 7aaf924ff1986ebbccab60a05c1d95d4a527f7f2.
06-Sep-2023 09:43:28 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OF-JOB1/.git'.
06-Sep-2023 09:43:28 Cloning into '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OF-JOB1'...
06-Sep-2023 09:43:28 done.
06-Sep-2023 09:43:28 Already on 'master'
06-Sep-2023 09:43:28 Your branch is up to date with 'origin/master'.
06-Sep-2023 09:43:28 Updated source code to revision: 7aaf924ff1986ebbccab60a05c1d95d4a527f7f2
06-Sep-2023 09:43:28 Finished task 'Checkout Default Repository' with result: Success
06-Sep-2023 09:43:28 Running pre-build action: Build Log Labeller Pre Build Action
06-Sep-2023 09:43:28 Running pre-build action: VCS Version Collector
06-Sep-2023 09:43:28 Running pre-build action: Run Predator
06-Sep-2023 09:43:28 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
06-Sep-2023 09:43:28 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
06-Sep-2023 09:43:28 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 11642 java        1477 bamboo-age 2948Mb  411Mb 00:00:32 /usr/lib/jvm/java-8-ope
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1477 wrapper        1 bamboo-age   16Mb    3Mb 00:01:27 /home/bamboo-agent/bamb
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:00:09 /sbin/init             
06-Sep-2023 09:43:31 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Initial free space: 5.300579 GB
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/CSM-CSM-JOB1
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Deleting 17 snapshot folders from /home/bamboo-agent/.m2/repository
06-Sep-2023 09:43:31 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
06-Sep-2023 09:43:32 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
06-Sep-2023 09:43:32 [PredatorPreBuildAction] Maven stable disk freed: 0.57537323 GB, deleted 52 files
06-Sep-2023 09:43:32 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
06-Sep-2023 09:43:32 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist.
06-Sep-2023 09:43:32 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
06-Sep-2023 09:43:32 [PredatorPreBuildAction] Final free space: 5.356476 GB
06-Sep-2023 09:43:32 [PredatorPreBuildAction] Done
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.planRepository.revision} with 7aaf924ff1986ebbccab60a05c1d95d4a527f7f2
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.docker.image.name} with openconceptlab/oclfhir
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.docker.image.tag} with nightly
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
06-Sep-2023 09:43:32
Substituting password variable: ${bamboo.dockerhub.password}
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.docker.image.name} with openconceptlab/oclfhir
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.docker.image.tag} with nightly
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.docker.image.name} with openconceptlab/oclfhir
06-Sep-2023 09:43:32
Substituting variable: ${bamboo.docker.image.tag} with nightly
06-Sep-2023 09:43:32 Starting task 'Build and push to DockerHub' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
06-Sep-2023 09:43:32
Beginning to execute external process for build 'Open Concept Lab - OCL FHIR - Build oclfhir #164 (OCL-OF-JOB1-164)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/OCL-OF-JOB1-164-ScriptBuildTask-8708494928862135998.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/OCL-OF-JOB1
06-Sep-2023 09:43:32 + [[ ehuB != ehuxB ]]
06-Sep-2023 09:43:32 + echo 'Start of Lmod init/bash script to define the module command'
06-Sep-2023 09:43:32 + LMOD_PKG=/usr/share/lmod/lmod
06-Sep-2023 09:43:32 Start of Lmod init/bash script to define the module command
06-Sep-2023 09:43:32 + LMOD_DIR=/usr/share/lmod/lmod/libexec
06-Sep-2023 09:43:32 + LMOD_CMD=/usr/share/lmod/lmod/libexec/lmod
06-Sep-2023 09:43:32 + MODULESHOME=/usr/share/lmod/lmod
06-Sep-2023 09:43:32 + export LMOD_PKG
06-Sep-2023 09:43:32 + export LMOD_CMD
06-Sep-2023 09:43:32 + export LMOD_DIR
06-Sep-2023 09:43:32 + export MODULESHOME
06-Sep-2023 09:43:32 + LMOD_VERSION=6.6
06-Sep-2023 09:43:32 + export LMOD_VERSION
06-Sep-2023 09:43:32 + '[' : '!=' : ']'
06-Sep-2023 09:43:32 + unalias ml
06-Sep-2023 09:43:32 + true
06-Sep-2023 09:43:32 ++ /usr/bin/tr '[:upper:]' '[:lower:]'
06-Sep-2023 09:43:32 ++ echo YES
06-Sep-2023 09:43:32 + export_module=yes
06-Sep-2023 09:43:32 + '[' -n '5.1.16(1)-release' -a yes '!=' no ']'
06-Sep-2023 09:43:32 + export -f module
06-Sep-2023 09:43:32 + export -f ml
06-Sep-2023 09:43:32 + unset export_module
06-Sep-2023 09:43:32 + '[' -n '' ']'
06-Sep-2023 09:43:32 End of Lmod init/bash script to define the module command
06-Sep-2023 09:43:32 + '[' 5 -ge 3 ']'
06-Sep-2023 09:43:32 + '[' -r /usr/share/lmod/lmod/init/lmod_bash_completions ']'
06-Sep-2023 09:43:32 + '[' -n '' ']'
06-Sep-2023 09:43:32 + [[ ehuB != ehuxB ]]
06-Sep-2023 09:43:32 + echo 'End of Lmod init/bash script to define the module command'
06-Sep-2023 09:43:32 + set +x
06-Sep-2023 09:43:32 Sending build context to Docker daemon  5.509MB
06-Sep-2023 09:43:32
06-Sep-2023 09:43:32 Step 1/23 : FROM openjdk:14 as build
06-Sep-2023 09:43:33 14: Pulling from library/openjdk
06-Sep-2023 09:43:33 fd3d5e431db6: Pulling fs layer
06-Sep-2023 09:43:33 1004722dc5e0: Pulling fs layer
06-Sep-2023 09:43:33 274e305bc330: Pulling fs layer
06-Sep-2023 09:43:33 1004722dc5e0: Verifying Checksum
06-Sep-2023 09:43:33 1004722dc5e0: Download complete
06-Sep-2023 09:43:34 fd3d5e431db6: Verifying Checksum
06-Sep-2023 09:43:34 fd3d5e431db6: Download complete
06-Sep-2023 09:43:35 274e305bc330: Verifying Checksum
06-Sep-2023 09:43:35 274e305bc330: Download complete
06-Sep-2023 09:43:36 fd3d5e431db6: Pull complete
06-Sep-2023 09:43:37 1004722dc5e0: Pull complete
06-Sep-2023 09:43:41 274e305bc330: Pull complete
06-Sep-2023 09:43:41 Digest: sha256:285998e4fbab7907f11212c3ee2e70827b92481a5afb333bd31585dc0962df31
06-Sep-2023 09:43:41 Status: Downloaded newer image for openjdk:14
06-Sep-2023 09:43:41 ---> 77606ea825b1
06-Sep-2023 09:43:41 Step 2/23 : ARG SOURCE_COMMIT
06-Sep-2023 09:43:41 ---> Running in d6831f87da02
06-Sep-2023 09:43:41 Removing intermediate container d6831f87da02
06-Sep-2023 09:43:41 ---> 481bbe7467aa
06-Sep-2023 09:43:41 Step 3/23 : ARG MAVEN_VERSION=3.6.3
06-Sep-2023 09:43:41 ---> Running in 843db98ee646
06-Sep-2023 09:43:41 Removing intermediate container 843db98ee646
06-Sep-2023 09:43:41 ---> f40237fcee07
06-Sep-2023 09:43:41 Step 4/23 : ARG USER_HOME_DIR="/code"
06-Sep-2023 09:43:41 ---> Running in 0ddcaf1b11e9
06-Sep-2023 09:43:42 Removing intermediate container 0ddcaf1b11e9
06-Sep-2023 09:43:42 ---> 53a7d38c78ac
06-Sep-2023 09:43:42 Step 5/23 : ARG SHA=c35a1803a6e70a126e80b2b3ae33eed961f83ed74d18fcd16909b2d44d7dada3203f1ffe726c17ef8dcca2dcaa9fca676987befeadc9b9f759967a8cb77181c0
06-Sep-2023 09:43:42 ---> Running in 3cb352f426e1
06-Sep-2023 09:43:42 Removing intermediate container 3cb352f426e1
06-Sep-2023 09:43:42 ---> bb7750465e0b
06-Sep-2023 09:43:42 Step 6/23 : ARG BASE_URL=https://apache.osuosl.org/maven/maven-3/${MAVEN_VERSION}/binaries
06-Sep-2023 09:43:42 ---> Running in ad34df3baa3e
06-Sep-2023 09:43:42 Removing intermediate container ad34df3baa3e
06-Sep-2023 09:43:42 ---> b5e24b59a8eb
06-Sep-2023 09:43:42 Step 7/23 : RUN mkdir -p /usr/share/maven /usr/share/maven/ref   && echo "Downloading maven"   && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz     && echo "Checking download file hash"   && echo "${SHA}  /tmp/apache-maven.tar.gz" | sha512sum -c -     && echo "Unziping maven"   && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1     && echo "Cleaning and setting links"   && rm -f /tmp/apache-maven.tar.gz   && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn
06-Sep-2023 09:43:42 ---> Running in d601b307e9c8
06-Sep-2023 09:43:42 Downloading maven
06-Sep-2023 09:43:43 curl: (22) The requested URL returned error: 404 Not Found
06-Sep-2023 09:43:43 The command '/bin/sh -c mkdir -p /usr/share/maven /usr/share/maven/ref   && echo "Downloading maven"   && curl -fsSL -o /tmp/apache-maven.tar.gz ${BASE_URL}/apache-maven-${MAVEN_VERSION}-bin.tar.gz     && echo "Checking download file hash"   && echo "${SHA}  /tmp/apache-maven.tar.gz" | sha512sum -c -     && echo "Unziping maven"   && tar -xzf /tmp/apache-maven.tar.gz -C /usr/share/maven --strip-components=1     && echo "Cleaning and setting links"   && rm -f /tmp/apache-maven.tar.gz   && ln -s /usr/share/maven/bin/mvn /usr/bin/mvn' returned a non-zero code: 22
06-Sep-2023 09:43:43
06-Sep-2023 09:43:43 Failing task since return code of [/home/bamboo-agent/bamboo-agent/temp/OCL-OF-JOB1-164-ScriptBuildTask-8708494928862135998.sh] was 22 while expected 0
06-Sep-2023 09:43:43 Finished task 'Build and push to DockerHub' with result: Failed
06-Sep-2023 09:43:43 Running post build plugin 'Docker Container Cleanup'
06-Sep-2023 09:43:43 Running post build plugin 'NCover Results Collector'
06-Sep-2023 09:43:43 Running post build plugin 'Build Results Label Collector'
06-Sep-2023 09:43:43 Running post build plugin 'Clover Results Collector'
06-Sep-2023 09:43:43 Running post build plugin 'npm Cache Cleanup'
06-Sep-2023 09:43:43 Running post build plugin 'Artifact Copier'
06-Sep-2023 09:43:43 Finalising the build...
06-Sep-2023 09:43:43 Stopping timer.
06-Sep-2023 09:43:43 Build OCL-OF-JOB1-164 completed.
06-Sep-2023 09:43:43 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Sep-2023 09:43:43 Running on server: post build plugin 'NCover Results Collector'
06-Sep-2023 09:43:43 Running on server: post build plugin 'Build Labeller'
06-Sep-2023 09:43:43 Running on server: post build plugin 'Clover Delta Calculator'
06-Sep-2023 09:43:43 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Sep-2023 09:43:43 All post build plugins have finished
06-Sep-2023 09:43:43 Generating build results summary...
06-Sep-2023 09:43:43 Saving build results to disk...
06-Sep-2023 09:43:43 Store variable context...
06-Sep-2023 09:43:43 Finished building OCL-OF-JOB1-164.