Deploys Reference Application SNAPSHOT to maven

Build: #13455 was successful

Job: Deploy to qa-refapp was successful

Stages & jobs

  1. Build and push

  2. Deploy to qa-refapp

  3. Validate

  4. Release

    Requires a user to start manually
  5. Set variables

  6. Release others

Build log

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

08-Feb-2023 20:54:45 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13455 (REFAPP-OMODDISTRO-DTMTS-13455) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
08-Feb-2023 20:54:45 Remote agent on host yu.openmrs.org
08-Feb-2023 20:54:45 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
08-Feb-2023 20:54:45 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13455 (REFAPP-OMODDISTRO-DTMTS-13455)
08-Feb-2023 20:54:45 Running pre-build action: Build Log Labeller Pre Build Action
08-Feb-2023 20:54:45 Running pre-build action: VCS Version Collector
08-Feb-2023 20:54:45 Running pre-build action: Run Predator
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 14138 java        1476 bamboo-age 2976Mb  483Mb 00:15:14 /usr/lib/jvm/java-8-ope
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:11:55 /home/bamboo-agent/bamb
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:03:59 /sbin/init             
08-Feb-2023 20:54:45 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Initial free space: 2.9999352 GB
08-Feb-2023 20:54:45 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
08-Feb-2023 20:54:46 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
08-Feb-2023 20:54:46 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
08-Feb-2023 20:54:46 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
08-Feb-2023 20:54:46 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
08-Feb-2023 20:54:46 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
08-Feb-2023 20:54:46 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
08-Feb-2023 20:54:46 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
08-Feb-2023 20:54:46 [PredatorPreBuildAction] Final free space: 3.0315704 GB
08-Feb-2023 20:54:46 [PredatorPreBuildAction] Done
08-Feb-2023 20:54:46
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
08-Feb-2023 20:54:46
Substituting password variable: ${bamboo.dockerhub.password}
08-Feb-2023 20:54:46
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8
08-Feb-2023 20:54:46
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8
08-Feb-2023 20:54:46
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
08-Feb-2023 20:54:46
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
08-Feb-2023 20:54:46 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
08-Feb-2023 20:54:46
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13455 (REFAPP-OMODDISTRO-DTMTS-13455)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13455-ScriptBuildTask-6341268555477244603.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
08-Feb-2023 20:54:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
08-Feb-2023 20:54:46 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
08-Feb-2023 20:54:46 Configure a credential helper to remove this warning. See
08-Feb-2023 20:54:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
08-Feb-2023 20:54:46
08-Feb-2023 20:54:46 Login Succeeded
08-Feb-2023 20:54:46 + docker pull openmrs/openmrs-reference-application@sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8
08-Feb-2023 20:54:46 docker.io/openmrs/openmrs-reference-application@sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8: Pulling from openmrs/openmrs-reference-application
08-Feb-2023 20:54:46 Digest: sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8
08-Feb-2023 20:54:46 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8
08-Feb-2023 20:54:46 docker.io/openmrs/openmrs-reference-application@sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8
08-Feb-2023 20:54:46 + docker tag openmrs/openmrs-reference-application@sha256:e5127576b36cff2256d6a7d7b4e8d8b17b2c9c9e1c519b5f3070c4283500c0a8 openmrs/openmrs-reference-application:qa
08-Feb-2023 20:54:47 + docker push openmrs/openmrs-reference-application:qa
08-Feb-2023 20:54:47 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
08-Feb-2023 20:54:47 c76329c170c6: Preparing
08-Feb-2023 20:54:47 232f2e697bf4: Preparing
08-Feb-2023 20:54:47 c77f3e59cd6e: Preparing
08-Feb-2023 20:54:47 f145934e6775: Preparing
08-Feb-2023 20:54:47 af3c86eda487: Preparing
08-Feb-2023 20:54:47 60de0bbda0ed: Preparing
08-Feb-2023 20:54:47 5f70bf18a086: Preparing
08-Feb-2023 20:54:47 b34b6277c81b: Preparing
08-Feb-2023 20:54:47 d0a6a0df9123: Preparing
08-Feb-2023 20:54:47 63bbdb3574ed: Preparing
08-Feb-2023 20:54:47 118873527352: Preparing
08-Feb-2023 20:54:47 3353ee3d6876: Preparing
08-Feb-2023 20:54:47 ab5b3452b7ed: Preparing
08-Feb-2023 20:54:47 34f73756f7aa: Preparing
08-Feb-2023 20:54:47 93d6620f79bb: Preparing
08-Feb-2023 20:54:47 be417e78cadd: Preparing
08-Feb-2023 20:54:47 647dc4000019: Preparing
08-Feb-2023 20:54:47 8c5ff259ef50: Preparing
08-Feb-2023 20:54:47 63bbdb3574ed: Waiting
08-Feb-2023 20:54:47 118873527352: Waiting
08-Feb-2023 20:54:47 3353ee3d6876: Waiting
08-Feb-2023 20:54:47 ab5b3452b7ed: Waiting
08-Feb-2023 20:54:47 34f73756f7aa: Waiting
08-Feb-2023 20:54:47 93d6620f79bb: Waiting
08-Feb-2023 20:54:47 be417e78cadd: Waiting
08-Feb-2023 20:54:47 647dc4000019: Waiting
08-Feb-2023 20:54:47 8c5ff259ef50: Waiting
08-Feb-2023 20:54:47 60de0bbda0ed: Waiting
08-Feb-2023 20:54:47 5f70bf18a086: Waiting
08-Feb-2023 20:54:47 b34b6277c81b: Waiting
08-Feb-2023 20:54:47 d0a6a0df9123: Waiting
08-Feb-2023 20:54:47 af3c86eda487: Layer already exists
08-Feb-2023 20:54:47 232f2e697bf4: Layer already exists
08-Feb-2023 20:54:47 f145934e6775: Layer already exists
08-Feb-2023 20:54:47 c76329c170c6: Layer already exists
08-Feb-2023 20:54:47 c77f3e59cd6e: Layer already exists
08-Feb-2023 20:54:47 60de0bbda0ed: Layer already exists
08-Feb-2023 20:54:47 5f70bf18a086: Layer already exists
08-Feb-2023 20:54:47 b34b6277c81b: Layer already exists
08-Feb-2023 20:54:47 d0a6a0df9123: Layer already exists
08-Feb-2023 20:54:47 63bbdb3574ed: Layer already exists
08-Feb-2023 20:54:47 118873527352: Layer already exists
08-Feb-2023 20:54:47 ab5b3452b7ed: Layer already exists
08-Feb-2023 20:54:47 3353ee3d6876: Layer already exists
08-Feb-2023 20:54:47 34f73756f7aa: Layer already exists
08-Feb-2023 20:54:47 93d6620f79bb: Layer already exists
08-Feb-2023 20:54:47 be417e78cadd: Layer already exists
08-Feb-2023 20:54:47 647dc4000019: Layer already exists
08-Feb-2023 20:54:47 8c5ff259ef50: Layer already exists
08-Feb-2023 20:54:48 qa: digest: sha256:dc9510fa04018f10150f5e560e1fc4ec4dc51c1654c9303cf8812eaaf1f90e19 size: 4088
08-Feb-2023 20:54:48 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
08-Feb-2023 20:54:48 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
08-Feb-2023 20:54:49 Removing unused images if any
08-Feb-2023 20:54:49 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
08-Feb-2023 20:54:49 Pulling openmrs-referenceapplication-mysql ...
08-Feb-2023 20:54:49 Pulling openmrs-referenceapplication       ...
08-Feb-2023 20:54:49 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
08-Feb-2023 20:54:49 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
08-Feb-2023 20:54:49 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
08-Feb-2023 20:54:49 Pulling openmrs-referenceapplication-mysql ... done
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... already exists
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... pulling fs layer
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... waiting
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (100.0%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (0.5%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (0.7%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (12.8%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (1.1%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (16.8%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (23.6%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (30.9%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (35.8%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (46.4%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (47.1%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (63.8%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (59.8%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (79.2%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (73.1%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (95.9%)
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 20:54:50 Pulling openmrs-referenceapplication       ... downloading (85.3%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (0.7%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... downloading (97.1%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... verifying checksum
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... download complete
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (19.4%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (37.5%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (54.8%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (71.5%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (89.5%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (0.5%)
08-Feb-2023 20:54:51 Pulling openmrs-referenceapplication       ... extracting (15.2%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (31.4%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (44.6%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (60.3%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (75.0%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (87.6%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (3.0%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... extracting (100.0%)
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... pull complete
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... digest: sha256:dc9510fa04018f1015...
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
08-Feb-2023 20:54:52 Pulling openmrs-referenceapplication       ... done
08-Feb-2023 20:54:52 Recreating all images and volumes
08-Feb-2023 20:54:52 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
08-Feb-2023 20:54:52 Stopping qa-refapp_openmrs-referenceapplication_1       ...
08-Feb-2023 20:54:52 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
08-Feb-2023 20:54:53 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
08-Feb-2023 20:54:55 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
08-Feb-2023 20:54:55 Removing qa-refapp_openmrs-referenceapplication_1       ...
08-Feb-2023 20:54:55 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
08-Feb-2023 20:54:55 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
08-Feb-2023 20:54:57 Removing qa-refapp_openmrs-referenceapplication_1       ... done
08-Feb-2023 20:54:57 Removing network qa-refapp_default
08-Feb-2023 20:54:57 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
08-Feb-2023 20:54:57 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
08-Feb-2023 20:54:57 Creating network "qa-refapp_default" with the default driver
08-Feb-2023 20:54:57 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
08-Feb-2023 20:54:57 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
08-Feb-2023 20:54:58 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
08-Feb-2023 20:54:58 Creating qa-refapp_openmrs-referenceapplication_1       ...
08-Feb-2023 20:54:58 Creating qa-refapp_openmrs-referenceapplication_1       ... done
08-Feb-2023 20:54:59 Verifying if docker containers 1915e87802472392fb4d83180490839f8ae09f8f02393a3f699dd91b3fa8c292
08-Feb-2023 20:54:59 e1944f883c2c019b5612e2f97b0abc393bfb4121317ff824848b97ac8e2bd86d are healthy
08-Feb-2023 20:54:59 Status found: "starting"
08-Feb-2023 20:54:59 Waiting 15s
08-Feb-2023 20:55:14 Verifying if docker containers 1915e87802472392fb4d83180490839f8ae09f8f02393a3f699dd91b3fa8c292
08-Feb-2023 20:55:14 e1944f883c2c019b5612e2f97b0abc393bfb4121317ff824848b97ac8e2bd86d are healthy
08-Feb-2023 20:55:14 Status found: "starting"
08-Feb-2023 20:55:14 Waiting 15s
08-Feb-2023 20:55:29 Verifying if docker containers 1915e87802472392fb4d83180490839f8ae09f8f02393a3f699dd91b3fa8c292
08-Feb-2023 20:55:29 e1944f883c2c019b5612e2f97b0abc393bfb4121317ff824848b97ac8e2bd86d are healthy
08-Feb-2023 20:55:29 Status found: "healthy"
08-Feb-2023 20:55:29 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
08-Feb-2023 20:55:29 Running post build plugin 'Docker Container Cleanup'
08-Feb-2023 20:55:29 Running post build plugin 'NCover Results Collector'
08-Feb-2023 20:55:29 Running post build plugin 'Build Results Label Collector'
08-Feb-2023 20:55:29 Running post build plugin 'Clover Results Collector'
08-Feb-2023 20:55:29 Running post build plugin 'npm Cache Cleanup'
08-Feb-2023 20:55:29 Running post build plugin 'Artifact Copier'
08-Feb-2023 20:55:29 Finalising the build...
08-Feb-2023 20:55:29 Stopping timer.
08-Feb-2023 20:55:29 Build REFAPP-OMODDISTRO-DTMTS-13455 completed.
08-Feb-2023 20:55:29 Running on server: post build plugin 'Build Hanging Detection Configuration'
08-Feb-2023 20:55:29 Running on server: post build plugin 'NCover Results Collector'
08-Feb-2023 20:55:29 Running on server: post build plugin 'Build Labeller'
08-Feb-2023 20:55:29 Running on server: post build plugin 'Clover Delta Calculator'
08-Feb-2023 20:55:29 Running on server: post build plugin 'Maven Dependencies Postprocessor'
08-Feb-2023 20:55:29 All post build plugins have finished
08-Feb-2023 20:55:29 Generating build results summary...
08-Feb-2023 20:55:29 Saving build results to disk...
08-Feb-2023 20:55:29 Store variable context...
08-Feb-2023 20:55:29 Finished building REFAPP-OMODDISTRO-DTMTS-13455.