simple 21-Feb-2023 19:21:28 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13496 (REFAPP-OMODDISTRO-DTMTS-13496) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4 simple 21-Feb-2023 19:21:28 Remote agent on host xiao.openmrs.org simple 21-Feb-2023 19:21:28 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS simple 21-Feb-2023 19:21:28 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13496 (REFAPP-OMODDISTRO-DTMTS-13496) simple 21-Feb-2023 19:21:28 Running pre-build action: Build Log Labeller Pre Build Action simple 21-Feb-2023 19:21:28 Running pre-build action: VCS Version Collector simple 21-Feb-2023 19:21:28 Running pre-build action: Run Predator simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 2034 java 1481 bamboo-age 2985Mb 589Mb 00:19:36 /usr/lib/jvm/java-8-ope simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1481 wrapper 1 bamboo-age 16Mb 1Mb 00:04:51 /home/bamboo-agent/bamb simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:46 /sbin/init simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Initial free space: 1.9988594 GB simple 21-Feb-2023 19:21:28 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] Final free space: 2.0305138 GB simple 21-Feb-2023 19:21:29 [PredatorPreBuildAction] Done command 21-Feb-2023 19:21:29 Substituting variable: ${bamboo.dockerhub.username} with openmrsci command 21-Feb-2023 19:21:29 Substituting password variable: ${bamboo.dockerhub.password} command 21-Feb-2023 19:21:29 Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f command 21-Feb-2023 19:21:29 Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f command 21-Feb-2023 19:21:29 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application command 21-Feb-2023 19:21:29 Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application simple 21-Feb-2023 19:21:29 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 21-Feb-2023 19:21:29 Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13496 (REFAPP-OMODDISTRO-DTMTS-13496)'\n ... running command line: \n/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13496-ScriptBuildTask-304422158621679465.sh\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS\n error 21-Feb-2023 19:21:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. error 21-Feb-2023 19:21:29 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json. error 21-Feb-2023 19:21:29 Configure a credential helper to remove this warning. See error 21-Feb-2023 19:21:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store build 21-Feb-2023 19:21:29 Login Succeeded error 21-Feb-2023 19:21:29 error 21-Feb-2023 19:21:29 + docker pull openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f build 21-Feb-2023 19:21:29 docker.io/openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f: Pulling from openmrs/openmrs-reference-application build 21-Feb-2023 19:21:29 Digest: sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f build 21-Feb-2023 19:21:29 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f build 21-Feb-2023 19:21:29 docker.io/openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f error 21-Feb-2023 19:21:29 + docker tag openmrs/openmrs-reference-application@sha256:b30d00738d4608c8ae19c34536f9cd50e2b93cb400420770320b452d49fbda5f openmrs/openmrs-reference-application:qa error 21-Feb-2023 19:21:29 + docker push openmrs/openmrs-reference-application:qa build 21-Feb-2023 19:21:29 The push refers to repository [docker.io/openmrs/openmrs-reference-application] build 21-Feb-2023 19:21:29 8bdf50aba5c8: Preparing build 21-Feb-2023 19:21:29 5ec2df53d8d5: Preparing build 21-Feb-2023 19:21:29 8b61707dafa8: Preparing build 21-Feb-2023 19:21:29 f7409e01a374: Preparing build 21-Feb-2023 19:21:29 e4a92042edbd: Preparing build 21-Feb-2023 19:21:29 60de0bbda0ed: Preparing build 21-Feb-2023 19:21:29 5f70bf18a086: Preparing build 21-Feb-2023 19:21:29 b34b6277c81b: Preparing build 21-Feb-2023 19:21:29 d0a6a0df9123: Preparing build 21-Feb-2023 19:21:29 63bbdb3574ed: Preparing build 21-Feb-2023 19:21:29 118873527352: Preparing build 21-Feb-2023 19:21:29 3353ee3d6876: Preparing build 21-Feb-2023 19:21:29 ab5b3452b7ed: Preparing build 21-Feb-2023 19:21:29 34f73756f7aa: Preparing build 21-Feb-2023 19:21:29 93d6620f79bb: Preparing build 21-Feb-2023 19:21:29 be417e78cadd: Preparing build 21-Feb-2023 19:21:29 647dc4000019: Preparing build 21-Feb-2023 19:21:29 8c5ff259ef50: Preparing build 21-Feb-2023 19:21:29 60de0bbda0ed: Waiting build 21-Feb-2023 19:21:29 5f70bf18a086: Waiting build 21-Feb-2023 19:21:29 b34b6277c81b: Waiting build 21-Feb-2023 19:21:29 d0a6a0df9123: Waiting build 21-Feb-2023 19:21:29 63bbdb3574ed: Waiting build 21-Feb-2023 19:21:29 118873527352: Waiting build 21-Feb-2023 19:21:29 3353ee3d6876: Waiting build 21-Feb-2023 19:21:29 ab5b3452b7ed: Waiting build 21-Feb-2023 19:21:29 34f73756f7aa: Waiting build 21-Feb-2023 19:21:29 93d6620f79bb: Waiting build 21-Feb-2023 19:21:29 be417e78cadd: Waiting build 21-Feb-2023 19:21:29 647dc4000019: Waiting build 21-Feb-2023 19:21:29 8c5ff259ef50: Waiting build 21-Feb-2023 19:21:30 e4a92042edbd: Layer already exists build 21-Feb-2023 19:21:30 8bdf50aba5c8: Layer already exists build 21-Feb-2023 19:21:30 5ec2df53d8d5: Layer already exists build 21-Feb-2023 19:21:30 8b61707dafa8: Layer already exists build 21-Feb-2023 19:21:30 f7409e01a374: Layer already exists build 21-Feb-2023 19:21:30 60de0bbda0ed: Layer already exists build 21-Feb-2023 19:21:30 5f70bf18a086: Layer already exists build 21-Feb-2023 19:21:30 63bbdb3574ed: Layer already exists build 21-Feb-2023 19:21:30 d0a6a0df9123: Layer already exists build 21-Feb-2023 19:21:30 b34b6277c81b: Layer already exists build 21-Feb-2023 19:21:30 118873527352: Layer already exists build 21-Feb-2023 19:21:30 3353ee3d6876: Layer already exists build 21-Feb-2023 19:21:30 ab5b3452b7ed: Layer already exists build 21-Feb-2023 19:21:30 34f73756f7aa: Layer already exists build 21-Feb-2023 19:21:30 93d6620f79bb: Layer already exists build 21-Feb-2023 19:21:30 be417e78cadd: Layer already exists build 21-Feb-2023 19:21:30 647dc4000019: Layer already exists build 21-Feb-2023 19:21:30 8c5ff259ef50: Layer already exists build 21-Feb-2023 19:21:30 qa: digest: sha256:6f38d09ff7843c4dd1c6b4e367bcc0088589c93568ef5121c4bfd9e27f46907f size: 4088 error 21-Feb-2023 19:21:30 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp error 21-Feb-2023 19:21:30 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts. build 21-Feb-2023 19:21:31 Removing unused images if any error 21-Feb-2023 19:21:32 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string. error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d... error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m... error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication-mysql ... done error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... pulling from openmrs/openmrs-refe... error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:32 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... already exists error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... pulling fs layer error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... pulling fs layer error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... pulling fs layer error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... pulling fs layer error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... waiting error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (100.0%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... verifying checksum error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... download complete error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (0.7%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (0.5%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (1.1%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (18.5%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (12.7%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... verifying checksum error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... download complete error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (32.1%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (25.9%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (52.6%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (39.7%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (73.0%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (52.9%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (90.1%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (66.1%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... verifying checksum error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... download complete error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (79.3%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... extracting (0.7%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... downloading (92.5%) error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... verifying checksum error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... download complete error 21-Feb-2023 19:21:33 Pulling openmrs-referenceapplication ... extracting (23.3%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (45.8%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (67.0%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (87.5%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (100.0%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... pull complete error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (100.0%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (100.0%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... pull complete error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (0.5%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (17.7%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (36.0%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (54.7%) error 21-Feb-2023 19:21:34 Pulling openmrs-referenceapplication ... extracting (72.4%) error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... extracting (88.6%) error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... extracting (100.0%) error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... pull complete error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... extracting (3.0%) error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... extracting (100.0%) error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... pull complete error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... digest: sha256:6f38d09ff7843c4dd1... error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... status: downloaded newer image fo... error 21-Feb-2023 19:21:35 Pulling openmrs-referenceapplication ... done build 21-Feb-2023 19:21:35 Recreating all images and volumes error 21-Feb-2023 19:21:35 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string. error 21-Feb-2023 19:21:35 Stopping qa-refapp_openmrs-referenceapplication_1 ... error 21-Feb-2023 19:21:35 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... error 21-Feb-2023 19:21:36 Stopping qa-refapp_openmrs-referenceapplication_1 ... done error 21-Feb-2023 19:21:38 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done error 21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication_1 ... error 21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... error 21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done error 21-Feb-2023 19:21:38 Removing qa-refapp_openmrs-referenceapplication_1 ... done error 21-Feb-2023 19:21:38 Removing network qa-refapp_default error 21-Feb-2023 19:21:39 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data error 21-Feb-2023 19:21:39 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string. error 21-Feb-2023 19:21:39 Creating network "qa-refapp_default" with the default driver error 21-Feb-2023 19:21:39 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver error 21-Feb-2023 19:21:39 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... error 21-Feb-2023 19:21:40 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done error 21-Feb-2023 19:21:40 Creating qa-refapp_openmrs-referenceapplication_1 ... error 21-Feb-2023 19:21:40 Creating qa-refapp_openmrs-referenceapplication_1 ... done build 21-Feb-2023 19:21:41 Verifying if docker containers 92573ea6cdc8b57bcdaf573f6f53b2e02253d2d248adaf1805d94eaa0dc3f845 build 21-Feb-2023 19:21:41 c92ae1c334398b3364a1e3f3365fdde1bbbd7593c7ba6aa8cad27ed62c838918 are healthy build 21-Feb-2023 19:21:41 Status found: "starting" build 21-Feb-2023 19:21:41 Waiting 15s build 21-Feb-2023 19:21:56 Verifying if docker containers 92573ea6cdc8b57bcdaf573f6f53b2e02253d2d248adaf1805d94eaa0dc3f845 build 21-Feb-2023 19:21:56 c92ae1c334398b3364a1e3f3365fdde1bbbd7593c7ba6aa8cad27ed62c838918 are healthy build 21-Feb-2023 19:21:56 Status found: "starting" build 21-Feb-2023 19:21:56 Waiting 15s build 21-Feb-2023 19:22:11 Verifying if docker containers 92573ea6cdc8b57bcdaf573f6f53b2e02253d2d248adaf1805d94eaa0dc3f845 build 21-Feb-2023 19:22:11 c92ae1c334398b3364a1e3f3365fdde1bbbd7593c7ba6aa8cad27ed62c838918 are healthy build 21-Feb-2023 19:22:11 Status found: "healthy" simple 21-Feb-2023 19:22:11 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success simple 21-Feb-2023 19:22:11 Running post build plugin 'Docker Container Cleanup' simple 21-Feb-2023 19:22:11 Running post build plugin 'NCover Results Collector' simple 21-Feb-2023 19:22:11 Running post build plugin 'Build Results Label Collector' simple 21-Feb-2023 19:22:11 Running post build plugin 'Clover Results Collector' simple 21-Feb-2023 19:22:11 Running post build plugin 'npm Cache Cleanup' simple 21-Feb-2023 19:22:11 Running post build plugin 'Artifact Copier' simple 21-Feb-2023 19:22:11 Finalising the build... simple 21-Feb-2023 19:22:11 Stopping timer. simple 21-Feb-2023 19:22:11 Build REFAPP-OMODDISTRO-DTMTS-13496 completed. simple 21-Feb-2023 19:22:11 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 21-Feb-2023 19:22:11 Running on server: post build plugin 'NCover Results Collector' simple 21-Feb-2023 19:22:11 Running on server: post build plugin 'Build Labeller' simple 21-Feb-2023 19:22:11 Running on server: post build plugin 'Clover Delta Calculator' simple 21-Feb-2023 19:22:11 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 21-Feb-2023 19:22:11 All post build plugins have finished simple 21-Feb-2023 19:22:11 Generating build results summary... simple 21-Feb-2023 19:22:11 Saving build results to disk... simple 21-Feb-2023 19:22:11 Store variable context... simple 21-Feb-2023 19:22:11 Finished building REFAPP-OMODDISTRO-DTMTS-13496.