simple 15-Mar-2023 03:23:31 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13563 (REFAPP-OMODDISTRO-DTMTS-13563) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4 simple 15-Mar-2023 03:23:31 Remote agent on host xindi.openmrs.org simple 15-Mar-2023 03:23:31 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS simple 15-Mar-2023 03:23:31 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13563 (REFAPP-OMODDISTRO-DTMTS-13563) simple 15-Mar-2023 03:23:31 Running pre-build action: Build Log Labeller Pre Build Action simple 15-Mar-2023 03:23:31 Running pre-build action: VCS Version Collector simple 15-Mar-2023 03:23:31 Running pre-build action: Run Predator simple 15-Mar-2023 03:23:31 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 15-Mar-2023 03:23:31 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 15-Mar-2023 03:23:31 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 15-Mar-2023 03:23:32 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 15-Mar-2023 03:23:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 19752 java 1455 bamboo-age 2976Mb 508Mb 00:10:59 /usr/lib/jvm/java-8-ope simple 15-Mar-2023 03:23:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1455 wrapper 1 bamboo-age 16Mb 3Mb 00:04:33 /home/bamboo-agent/bamb simple 15-Mar-2023 03:23:32 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 12Mb 00:00:43 /lib/systemd/systemd -- simple 15-Mar-2023 03:23:32 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 15-Mar-2023 03:23:32 [PredatorPreBuildAction] Initial free space: 1.0385933 GB simple 15-Mar-2023 03:23:32 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI simple 15-Mar-2023 03:23:36 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository simple 15-Mar-2023 03:23:36 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 15-Mar-2023 03:23:36 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 15-Mar-2023 03:23:37 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 15-Mar-2023 03:23:37 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 15-Mar-2023 03:23:37 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 15-Mar-2023 03:23:37 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 15-Mar-2023 03:23:37 [PredatorPreBuildAction] Final free space: 1.0702629 GB simple 15-Mar-2023 03:23:37 [PredatorPreBuildAction] Done command 15-Mar-2023 03:23:37 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 15-Mar-2023 03:23:37 Substituting password variable: ${bamboo.dockerhub.password} command 15-Mar-2023 03:23:37 Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-distro-referenceapplication@sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be command 15-Mar-2023 03:23:37 Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-distro-referenceapplication@sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be command 15-Mar-2023 03:23:37 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-referenceapplication command 15-Mar-2023 03:23:37 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-distro-referenceapplication simple 15-Mar-2023 03:23:37 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 15-Mar-2023 03:23:37 Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13563 (REFAPP-OMODDISTRO-DTMTS-13563)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13563-ScriptBuildTask-2185712421836288431.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS\n error 15-Mar-2023 03:23:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 15-Mar-2023 03:23:37 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 15-Mar-2023 03:23:37 Configure a credential helper to remove this warning. See error 15-Mar-2023 03:23:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store error 15-Mar-2023 03:23:37 build 15-Mar-2023 03:23:37 Login Succeeded error 15-Mar-2023 03:23:37 + docker pull openmrs/openmrs-distro-referenceapplication@sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be build 15-Mar-2023 03:23:37 docker.io/openmrs/openmrs-distro-referenceapplication@sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be: Pulling from openmrs/openmrs-distro-referenceapplication build 15-Mar-2023 03:23:37 Digest: sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be build 15-Mar-2023 03:23:37 Status: Image is up to date for openmrs/openmrs-distro-referenceapplication@sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be build 15-Mar-2023 03:23:37 docker.io/openmrs/openmrs-distro-referenceapplication@sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be error 15-Mar-2023 03:23:37 + docker tag openmrs/openmrs-distro-referenceapplication@sha256:071ece765e790505d0d7883778c05ce4a50609c13bf4b50d95d7846b045050be openmrs/openmrs-distro-referenceapplication:qa error 15-Mar-2023 03:23:37 + docker push openmrs/openmrs-distro-referenceapplication:qa build 15-Mar-2023 03:23:37 The push refers to repository [docker.io/openmrs/openmrs-distro-referenceapplication] build 15-Mar-2023 03:23:37 627d7e890ca9: Preparing build 15-Mar-2023 03:23:37 2aa66697ac7d: Preparing build 15-Mar-2023 03:23:37 14add3ecf1ce: Preparing build 15-Mar-2023 03:23:37 93042ccf78e0: Preparing build 15-Mar-2023 03:23:37 47aafd03b905: Preparing build 15-Mar-2023 03:23:37 6fd15462a46d: Preparing build 15-Mar-2023 03:23:37 5f70bf18a086: Preparing build 15-Mar-2023 03:23:37 d84d07f5a820: Preparing build 15-Mar-2023 03:23:37 89c4fa1b73c2: Preparing build 15-Mar-2023 03:23:37 c0ae4bf30eab: Preparing build 15-Mar-2023 03:23:37 d9c335c5a6ca: Preparing build 15-Mar-2023 03:23:37 a5c5c833adb7: Preparing build 15-Mar-2023 03:23:37 461f6b43bfa1: Preparing build 15-Mar-2023 03:23:37 466e6e62788c: Preparing build 15-Mar-2023 03:23:37 11b589a31b2c: Preparing build 15-Mar-2023 03:23:37 1f6de20e9ca5: Preparing build 15-Mar-2023 03:23:37 d4674ed27541: Preparing build 15-Mar-2023 03:23:37 62f81b4e38d1: Preparing build 15-Mar-2023 03:23:37 6fd15462a46d: Waiting build 15-Mar-2023 03:23:37 5f70bf18a086: Waiting build 15-Mar-2023 03:23:37 d84d07f5a820: Waiting build 15-Mar-2023 03:23:37 a5c5c833adb7: Waiting build 15-Mar-2023 03:23:37 89c4fa1b73c2: Waiting build 15-Mar-2023 03:23:37 c0ae4bf30eab: Waiting build 15-Mar-2023 03:23:37 d9c335c5a6ca: Waiting build 15-Mar-2023 03:23:37 461f6b43bfa1: Waiting build 15-Mar-2023 03:23:37 466e6e62788c: Waiting build 15-Mar-2023 03:23:37 11b589a31b2c: Waiting build 15-Mar-2023 03:23:37 1f6de20e9ca5: Waiting build 15-Mar-2023 03:23:37 62f81b4e38d1: Waiting build 15-Mar-2023 03:23:37 d4674ed27541: Waiting build 15-Mar-2023 03:23:37 627d7e890ca9: Layer already exists build 15-Mar-2023 03:23:37 14add3ecf1ce: Layer already exists build 15-Mar-2023 03:23:37 47aafd03b905: Layer already exists build 15-Mar-2023 03:23:37 93042ccf78e0: Layer already exists build 15-Mar-2023 03:23:37 2aa66697ac7d: Layer already exists build 15-Mar-2023 03:23:37 6fd15462a46d: Layer already exists build 15-Mar-2023 03:23:37 5f70bf18a086: Layer already exists build 15-Mar-2023 03:23:38 c0ae4bf30eab: Layer already exists build 15-Mar-2023 03:23:38 89c4fa1b73c2: Layer already exists build 15-Mar-2023 03:23:38 d84d07f5a820: Layer already exists build 15-Mar-2023 03:23:38 d9c335c5a6ca: Layer already exists build 15-Mar-2023 03:23:38 a5c5c833adb7: Layer already exists build 15-Mar-2023 03:23:38 461f6b43bfa1: Layer already exists build 15-Mar-2023 03:23:38 466e6e62788c: Layer already exists build 15-Mar-2023 03:23:38 11b589a31b2c: Layer already exists build 15-Mar-2023 03:23:38 1f6de20e9ca5: Layer already exists build 15-Mar-2023 03:23:38 d4674ed27541: Layer already exists build 15-Mar-2023 03:23:38 62f81b4e38d1: Layer already exists build 15-Mar-2023 03:23:38 qa: digest: sha256:bc7955ff7f96e02d4008a0febf113bb08739fbcab740c4cb6cab8c04557bd68a size: 4090 error 15-Mar-2023 03:23:38 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp error 15-Mar-2023 03:23:38 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts. build 15-Mar-2023 03:23:39 Removing unused images if any error 15-Mar-2023 03:23:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string. error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication-mysql ... error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication ... error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d... error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m... error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication-mysql ... done error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication ... pulling from openmrs/openmrs-refe... error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication ... digest: sha256:7097968f8002059d17... error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication ... status: image is up to date for o... error 15-Mar-2023 03:23:40 Pulling openmrs-referenceapplication ... done build 15-Mar-2023 03:23:40 Recreating all images and volumes error 15-Mar-2023 03:23:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string. error 15-Mar-2023 03:23:40 Stopping qa-refapp_openmrs-referenceapplication_1 ... error 15-Mar-2023 03:23:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... error 15-Mar-2023 03:23:41 Stopping qa-refapp_openmrs-referenceapplication_1 ... done error 15-Mar-2023 03:23:43 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done error 15-Mar-2023 03:23:43 Removing qa-refapp_openmrs-referenceapplication_1 ... error 15-Mar-2023 03:23:43 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... error 15-Mar-2023 03:23:43 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done error 15-Mar-2023 03:23:43 Removing qa-refapp_openmrs-referenceapplication_1 ... done error 15-Mar-2023 03:23:43 Removing network qa-refapp_default error 15-Mar-2023 03:23:43 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data error 15-Mar-2023 03:23:44 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string. error 15-Mar-2023 03:23:44 Creating network "qa-refapp_default" with the default driver error 15-Mar-2023 03:23:44 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver error 15-Mar-2023 03:23:44 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... error 15-Mar-2023 03:23:44 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done error 15-Mar-2023 03:23:44 Creating qa-refapp_openmrs-referenceapplication_1 ... error 15-Mar-2023 03:23:45 Creating qa-refapp_openmrs-referenceapplication_1 ... done build 15-Mar-2023 03:23:45 Verifying if docker containers 8c10c06926d71db145534d2d1999a3f4736825bee5757435252fc96c55dc94f6 build 15-Mar-2023 03:23:45 63323805611c14040b406208424383d70b6b3d0fdffcc82767cb49d02a544e75 are healthy build 15-Mar-2023 03:23:45 Status found: "starting" build 15-Mar-2023 03:23:45 Waiting 15s build 15-Mar-2023 03:24:00 Verifying if docker containers 8c10c06926d71db145534d2d1999a3f4736825bee5757435252fc96c55dc94f6 build 15-Mar-2023 03:24:00 63323805611c14040b406208424383d70b6b3d0fdffcc82767cb49d02a544e75 are healthy build 15-Mar-2023 03:24:00 Status found: "starting" build 15-Mar-2023 03:24:00 Waiting 15s build 15-Mar-2023 03:24:15 Verifying if docker containers 8c10c06926d71db145534d2d1999a3f4736825bee5757435252fc96c55dc94f6 build 15-Mar-2023 03:24:15 63323805611c14040b406208424383d70b6b3d0fdffcc82767cb49d02a544e75 are healthy build 15-Mar-2023 03:24:15 Status found: "healthy" simple 15-Mar-2023 03:24:16 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success simple 15-Mar-2023 03:24:16 Running post build plugin 'Docker Container Cleanup' simple 15-Mar-2023 03:24:16 Running post build plugin 'NCover Results Collector' simple 15-Mar-2023 03:24:16 Running post build plugin 'Build Results Label Collector' simple 15-Mar-2023 03:24:16 Running post build plugin 'Clover Results Collector' simple 15-Mar-2023 03:24:16 Running post build plugin 'npm Cache Cleanup' simple 15-Mar-2023 03:24:16 Running post build plugin 'Artifact Copier' simple 15-Mar-2023 03:24:16 Finalising the build... simple 15-Mar-2023 03:24:16 Stopping timer. simple 15-Mar-2023 03:24:16 Build REFAPP-OMODDISTRO-DTMTS-13563 completed. simple 15-Mar-2023 03:24:16 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 15-Mar-2023 03:24:16 Running on server: post build plugin 'NCover Results Collector' simple 15-Mar-2023 03:24:16 Running on server: post build plugin 'Build Labeller' simple 15-Mar-2023 03:24:16 Running on server: post build plugin 'Clover Delta Calculator' simple 15-Mar-2023 03:24:16 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 15-Mar-2023 03:24:16 All post build plugins have finished simple 15-Mar-2023 03:24:16 Generating build results summary... simple 15-Mar-2023 03:24:16 Saving build results to disk... simple 15-Mar-2023 03:24:16 Store variable context... simple 15-Mar-2023 03:24:16 Finished building REFAPP-OMODDISTRO-DTMTS-13563.