Deploys Reference Application SNAPSHOT to maven

Build: #13559 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 231 lines of output. Download or view full build log.

13-Mar-2023 21:29:00 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13559 (REFAPP-OMODDISTRO-DTMTS-13559) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
13-Mar-2023 21:29:00 Remote agent on host xiao.openmrs.org
13-Mar-2023 21:29:00 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Mar-2023 21:29:00 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13559 (REFAPP-OMODDISTRO-DTMTS-13559)
13-Mar-2023 21:29:00 Running pre-build action: Build Log Labeller Pre Build Action
13-Mar-2023 21:29:00 Running pre-build action: VCS Version Collector
13-Mar-2023 21:29:00 Running pre-build action: Run Predator
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 20482 java        1479 bamboo-age 2975Mb  511Mb 00:08:40 /usr/lib/jvm/java-8-ope
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1479 wrapper        1 bamboo-age   16Mb    3Mb 00:03:56 /home/bamboo-agent/bamb
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        100Mb   11Mb 00:00:38 /lib/systemd/systemd --
13-Mar-2023 21:29:00 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Initial free space: 2.5605125 GB
13-Mar-2023 21:29:00 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
13-Mar-2023 21:29:02 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
13-Mar-2023 21:29:02 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
13-Mar-2023 21:29:02 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
13-Mar-2023 21:29:03 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
13-Mar-2023 21:29:03 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
13-Mar-2023 21:29:03 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
13-Mar-2023 21:29:03 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
13-Mar-2023 21:29:03 [PredatorPreBuildAction] Final free space: 2.5922203 GB
13-Mar-2023 21:29:03 [PredatorPreBuildAction] Done
13-Mar-2023 21:29:03
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
13-Mar-2023 21:29:03
Substituting password variable: ${bamboo.dockerhub.password}
13-Mar-2023 21:29:03
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5
13-Mar-2023 21:29:03
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5
13-Mar-2023 21:29:03
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Mar-2023 21:29:03
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Mar-2023 21:29:03 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
13-Mar-2023 21:29:03
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13559 (REFAPP-OMODDISTRO-DTMTS-13559)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13559-ScriptBuildTask-3377079203971446094.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Mar-2023 21:29:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
13-Mar-2023 21:29:03 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
13-Mar-2023 21:29:03 Configure a credential helper to remove this warning. See
13-Mar-2023 21:29:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
13-Mar-2023 21:29:03
13-Mar-2023 21:29:03 Login Succeeded
13-Mar-2023 21:29:03 + docker pull openmrs/openmrs-reference-application@sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5
13-Mar-2023 21:29:03 docker.io/openmrs/openmrs-reference-application@sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5: Pulling from openmrs/openmrs-reference-application
13-Mar-2023 21:29:03 Digest: sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5
13-Mar-2023 21:29:03 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5
13-Mar-2023 21:29:03 docker.io/openmrs/openmrs-reference-application@sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5
13-Mar-2023 21:29:03 + docker tag openmrs/openmrs-reference-application@sha256:7204d955a46b4bf8a57bec91f15eac01a45d5dd1b0dec5b7a09052ba4689e4a5 openmrs/openmrs-reference-application:qa
13-Mar-2023 21:29:03 + docker push openmrs/openmrs-reference-application:qa
13-Mar-2023 21:29:03 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
13-Mar-2023 21:29:03 632e6e6bb92d: Preparing
13-Mar-2023 21:29:03 f6024ac60124: Preparing
13-Mar-2023 21:29:03 8e037eef50b3: Preparing
13-Mar-2023 21:29:03 7d31f6e5b969: Preparing
13-Mar-2023 21:29:03 259d338e0fbd: Preparing
13-Mar-2023 21:29:03 6c95f61118ed: Preparing
13-Mar-2023 21:29:03 5f70bf18a086: Preparing
13-Mar-2023 21:29:03 256473643621: Preparing
13-Mar-2023 21:29:03 2920fd245f09: Preparing
13-Mar-2023 21:29:03 b0de2ea368f8: Preparing
13-Mar-2023 21:29:03 f5291c9524f4: Preparing
13-Mar-2023 21:29:03 dac532ad5cb6: Preparing
13-Mar-2023 21:29:03 4c521b7b1daf: Preparing
13-Mar-2023 21:29:03 36476cadc5c2: Preparing
13-Mar-2023 21:29:03 96769b7a3a64: Preparing
13-Mar-2023 21:29:03 ecf2ad663867: Preparing
13-Mar-2023 21:29:03 8942ec0edea2: Preparing
13-Mar-2023 21:29:03 941b8b0a5987: Preparing
13-Mar-2023 21:29:03 6c95f61118ed: Waiting
13-Mar-2023 21:29:03 5f70bf18a086: Waiting
13-Mar-2023 21:29:03 256473643621: Waiting
13-Mar-2023 21:29:03 2920fd245f09: Waiting
13-Mar-2023 21:29:03 b0de2ea368f8: Waiting
13-Mar-2023 21:29:03 f5291c9524f4: Waiting
13-Mar-2023 21:29:03 dac532ad5cb6: Waiting
13-Mar-2023 21:29:03 4c521b7b1daf: Waiting
13-Mar-2023 21:29:03 36476cadc5c2: Waiting
13-Mar-2023 21:29:03 96769b7a3a64: Waiting
13-Mar-2023 21:29:03 ecf2ad663867: Waiting
13-Mar-2023 21:29:03 8942ec0edea2: Waiting
13-Mar-2023 21:29:03 941b8b0a5987: Waiting
13-Mar-2023 21:29:03 259d338e0fbd: Layer already exists
13-Mar-2023 21:29:03 632e6e6bb92d: Layer already exists
13-Mar-2023 21:29:03 8e037eef50b3: Layer already exists
13-Mar-2023 21:29:03 7d31f6e5b969: Layer already exists
13-Mar-2023 21:29:03 f6024ac60124: Layer already exists
13-Mar-2023 21:29:04 6c95f61118ed: Layer already exists
13-Mar-2023 21:29:04 5f70bf18a086: Layer already exists
13-Mar-2023 21:29:04 256473643621: Layer already exists
13-Mar-2023 21:29:04 2920fd245f09: Layer already exists
13-Mar-2023 21:29:04 b0de2ea368f8: Layer already exists
13-Mar-2023 21:29:04 f5291c9524f4: Layer already exists
13-Mar-2023 21:29:04 dac532ad5cb6: Layer already exists
13-Mar-2023 21:29:04 36476cadc5c2: Layer already exists
13-Mar-2023 21:29:04 4c521b7b1daf: Layer already exists
13-Mar-2023 21:29:04 96769b7a3a64: Layer already exists
13-Mar-2023 21:29:04 ecf2ad663867: Layer already exists
13-Mar-2023 21:29:04 941b8b0a5987: Layer already exists
13-Mar-2023 21:29:04 8942ec0edea2: Layer already exists
13-Mar-2023 21:29:04 qa: digest: sha256:eaea98847df615a81ce41258f66ca32cfb43e78aa340df0846bed77e9aa9e120 size: 4092
13-Mar-2023 21:29:04 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
13-Mar-2023 21:29:04 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
13-Mar-2023 21:29:05 Removing unused images if any
13-Mar-2023 21:29:05 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Mar-2023 21:29:05 Pulling openmrs-referenceapplication-mysql ...
13-Mar-2023 21:29:05 Pulling openmrs-referenceapplication       ...
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication-mysql ... done
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... already exists
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... waiting
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (96.7%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (100.0%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... verifying checksum
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... download complete
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (0.7%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (0.5%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (15.0%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (13.2%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (1.1%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (100.0%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... verifying checksum
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... download complete
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (32.1%)
13-Mar-2023 21:29:06 Pulling openmrs-referenceapplication       ... downloading (25.5%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (50.5%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (36.8%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (69.0%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (48.5%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (84.7%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (59.3%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... download complete
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (72.5%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... extracting (0.7%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (82.8%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... downloading (91.6%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... extracting (12.0%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... verifying checksum
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... download complete
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... extracting (28.2%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... extracting (48.0%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... extracting (64.9%)
13-Mar-2023 21:29:07 Pulling openmrs-referenceapplication       ... extracting (83.9%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... pull complete
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... pull complete
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (0.5%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (12.2%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (25.3%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (39.0%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (52.7%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (65.8%)
13-Mar-2023 21:29:08 Pulling openmrs-referenceapplication       ... extracting (78.5%)
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... extracting (91.7%)
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... pull complete
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... extracting (3.0%)
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... pull complete
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... digest: sha256:eaea98847df615a81c...
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
13-Mar-2023 21:29:09 Pulling openmrs-referenceapplication       ... done
13-Mar-2023 21:29:09 Recreating all images and volumes
13-Mar-2023 21:29:09 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Mar-2023 21:29:09 Stopping qa-refapp_openmrs-referenceapplication_1       ...
13-Mar-2023 21:29:09 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Mar-2023 21:29:10 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
13-Mar-2023 21:29:11 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Mar-2023 21:29:11 Removing qa-refapp_openmrs-referenceapplication_1       ...
13-Mar-2023 21:29:11 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Mar-2023 21:29:12 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Mar-2023 21:29:12 Removing qa-refapp_openmrs-referenceapplication_1       ... done
13-Mar-2023 21:29:12 Removing network qa-refapp_default
13-Mar-2023 21:29:12 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
13-Mar-2023 21:29:12 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Mar-2023 21:29:13 Creating network "qa-refapp_default" with the default driver
13-Mar-2023 21:29:13 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
13-Mar-2023 21:29:13 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Mar-2023 21:29:13 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Mar-2023 21:29:13 Creating qa-refapp_openmrs-referenceapplication_1       ...
13-Mar-2023 21:29:14 Creating qa-refapp_openmrs-referenceapplication_1       ... done
13-Mar-2023 21:29:14 Verifying if docker containers f9f2108894e607b6c3ff9bc8ba81ab269dceca85f387ba97a86427cf9173b923
13-Mar-2023 21:29:14 fb3d61b25fca28ec1311a76ed9f2e9c2489096a3a7f53473a3bd357070f6961f are healthy
13-Mar-2023 21:29:14 Status found: "starting"
13-Mar-2023 21:29:14 Waiting 15s
13-Mar-2023 21:29:29 Verifying if docker containers f9f2108894e607b6c3ff9bc8ba81ab269dceca85f387ba97a86427cf9173b923
13-Mar-2023 21:29:29 fb3d61b25fca28ec1311a76ed9f2e9c2489096a3a7f53473a3bd357070f6961f are healthy
13-Mar-2023 21:29:29 Status found: "starting"
13-Mar-2023 21:29:29 Waiting 15s
13-Mar-2023 21:29:44 Verifying if docker containers f9f2108894e607b6c3ff9bc8ba81ab269dceca85f387ba97a86427cf9173b923
13-Mar-2023 21:29:44 fb3d61b25fca28ec1311a76ed9f2e9c2489096a3a7f53473a3bd357070f6961f are healthy
13-Mar-2023 21:29:45 Status found: "healthy"
13-Mar-2023 21:29:45 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
13-Mar-2023 21:29:45 Running post build plugin 'Docker Container Cleanup'
13-Mar-2023 21:29:45 Running post build plugin 'NCover Results Collector'
13-Mar-2023 21:29:45 Running post build plugin 'Build Results Label Collector'
13-Mar-2023 21:29:45 Running post build plugin 'Clover Results Collector'
13-Mar-2023 21:29:45 Running post build plugin 'npm Cache Cleanup'
13-Mar-2023 21:29:45 Running post build plugin 'Artifact Copier'
13-Mar-2023 21:29:45 Finalising the build...
13-Mar-2023 21:29:45 Stopping timer.
13-Mar-2023 21:29:45 Build REFAPP-OMODDISTRO-DTMTS-13559 completed.
13-Mar-2023 21:29:45 Running on server: post build plugin 'Build Hanging Detection Configuration'
13-Mar-2023 21:29:45 Running on server: post build plugin 'NCover Results Collector'
13-Mar-2023 21:29:45 Running on server: post build plugin 'Build Labeller'
13-Mar-2023 21:29:45 Running on server: post build plugin 'Clover Delta Calculator'
13-Mar-2023 21:29:45 Running on server: post build plugin 'Maven Dependencies Postprocessor'
13-Mar-2023 21:29:45 All post build plugins have finished
13-Mar-2023 21:29:45 Generating build results summary...
13-Mar-2023 21:29:45 Saving build results to disk...
13-Mar-2023 21:29:45 Store variable context...
13-Mar-2023 21:29:45 Finished building REFAPP-OMODDISTRO-DTMTS-13559.