Deploys Reference Application SNAPSHOT to maven

Build: #13510 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.

24-Feb-2023 03:15:01 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13510 (REFAPP-OMODDISTRO-DTMTS-13510) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
24-Feb-2023 03:15:01 Remote agent on host yu.openmrs.org
24-Feb-2023 03:15:01 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Feb-2023 03:15:01 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13510 (REFAPP-OMODDISTRO-DTMTS-13510)
24-Feb-2023 03:15:01 Running pre-build action: Build Log Labeller Pre Build Action
24-Feb-2023 03:15:01 Running pre-build action: VCS Version Collector
24-Feb-2023 03:15:01 Running pre-build action: Run Predator
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2974Mb  581Mb 00:20:02 /usr/lib/jvm/java-8-ope
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    2Mb 00:05:15 /home/bamboo-agent/bamb
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:00:44 /sbin/init             
24-Feb-2023 03:15:01 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Initial free space: 2.1361923 GB
24-Feb-2023 03:15:01 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
24-Feb-2023 03:15:05 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
24-Feb-2023 03:15:05 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
24-Feb-2023 03:15:06 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
24-Feb-2023 03:15:06 [PredatorPreBuildAction] Maven stable disk freed: 0.5291418 GB, deleted 148 files
24-Feb-2023 03:15:06 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
24-Feb-2023 03:15:06 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
24-Feb-2023 03:15:06 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
24-Feb-2023 03:15:06 [PredatorPreBuildAction] Final free space: 2.1678543 GB
24-Feb-2023 03:15:06 [PredatorPreBuildAction] Done
24-Feb-2023 03:15:06
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
24-Feb-2023 03:15:06
Substituting password variable: ${bamboo.dockerhub.password}
24-Feb-2023 03:15:06
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0
24-Feb-2023 03:15:06
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0
24-Feb-2023 03:15:06
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Feb-2023 03:15:06
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
24-Feb-2023 03:15:06 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
24-Feb-2023 03:15:06
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13510 (REFAPP-OMODDISTRO-DTMTS-13510)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13510-ScriptBuildTask-2855452431098214509.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
24-Feb-2023 03:15:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
24-Feb-2023 03:15:06 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
24-Feb-2023 03:15:06 Configure a credential helper to remove this warning. See
24-Feb-2023 03:15:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
24-Feb-2023 03:15:06
24-Feb-2023 03:15:06 Login Succeeded
24-Feb-2023 03:15:06 + docker pull openmrs/openmrs-reference-application@sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0
24-Feb-2023 03:15:06 docker.io/openmrs/openmrs-reference-application@sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0: Pulling from openmrs/openmrs-reference-application
24-Feb-2023 03:15:06 Digest: sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0
24-Feb-2023 03:15:06 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0
24-Feb-2023 03:15:06 docker.io/openmrs/openmrs-reference-application@sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0
24-Feb-2023 03:15:06 + docker tag openmrs/openmrs-reference-application@sha256:e98ab37797f9dcce31df728aff4fc213f5078ca87b711eed065d9684a8eacda0 openmrs/openmrs-reference-application:qa
24-Feb-2023 03:15:06 + docker push openmrs/openmrs-reference-application:qa
24-Feb-2023 03:15:06 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
24-Feb-2023 03:15:06 aff65df47826: Preparing
24-Feb-2023 03:15:06 5b4aa4bb749a: Preparing
24-Feb-2023 03:15:06 b512027b6657: Preparing
24-Feb-2023 03:15:06 bdd6506f2883: Preparing
24-Feb-2023 03:15:06 e4a92042edbd: Preparing
24-Feb-2023 03:15:06 60de0bbda0ed: Preparing
24-Feb-2023 03:15:06 5f70bf18a086: Preparing
24-Feb-2023 03:15:06 b34b6277c81b: Preparing
24-Feb-2023 03:15:06 d0a6a0df9123: Preparing
24-Feb-2023 03:15:06 60de0bbda0ed: Waiting
24-Feb-2023 03:15:06 5f70bf18a086: Waiting
24-Feb-2023 03:15:06 b34b6277c81b: Waiting
24-Feb-2023 03:15:06 63bbdb3574ed: Preparing
24-Feb-2023 03:15:06 118873527352: Preparing
24-Feb-2023 03:15:06 3353ee3d6876: Preparing
24-Feb-2023 03:15:06 ab5b3452b7ed: Preparing
24-Feb-2023 03:15:06 d0a6a0df9123: Waiting
24-Feb-2023 03:15:06 63bbdb3574ed: Waiting
24-Feb-2023 03:15:06 118873527352: Waiting
24-Feb-2023 03:15:06 3353ee3d6876: Waiting
24-Feb-2023 03:15:06 ab5b3452b7ed: Waiting
24-Feb-2023 03:15:06 34f73756f7aa: Preparing
24-Feb-2023 03:15:06 93d6620f79bb: Preparing
24-Feb-2023 03:15:06 be417e78cadd: Preparing
24-Feb-2023 03:15:06 647dc4000019: Preparing
24-Feb-2023 03:15:06 8c5ff259ef50: Preparing
24-Feb-2023 03:15:06 34f73756f7aa: Waiting
24-Feb-2023 03:15:06 93d6620f79bb: Waiting
24-Feb-2023 03:15:06 be417e78cadd: Waiting
24-Feb-2023 03:15:06 647dc4000019: Waiting
24-Feb-2023 03:15:06 8c5ff259ef50: Waiting
24-Feb-2023 03:15:07 e4a92042edbd: Layer already exists
24-Feb-2023 03:15:07 aff65df47826: Layer already exists
24-Feb-2023 03:15:07 5b4aa4bb749a: Layer already exists
24-Feb-2023 03:15:07 b512027b6657: Layer already exists
24-Feb-2023 03:15:07 bdd6506f2883: Layer already exists
24-Feb-2023 03:15:07 5f70bf18a086: Layer already exists
24-Feb-2023 03:15:07 b34b6277c81b: Layer already exists
24-Feb-2023 03:15:07 60de0bbda0ed: Layer already exists
24-Feb-2023 03:15:07 d0a6a0df9123: Layer already exists
24-Feb-2023 03:15:07 63bbdb3574ed: Layer already exists
24-Feb-2023 03:15:07 118873527352: Layer already exists
24-Feb-2023 03:15:07 3353ee3d6876: Layer already exists
24-Feb-2023 03:15:07 ab5b3452b7ed: Layer already exists
24-Feb-2023 03:15:07 93d6620f79bb: Layer already exists
24-Feb-2023 03:15:07 34f73756f7aa: Layer already exists
24-Feb-2023 03:15:07 647dc4000019: Layer already exists
24-Feb-2023 03:15:07 be417e78cadd: Layer already exists
24-Feb-2023 03:15:07 8c5ff259ef50: Layer already exists
24-Feb-2023 03:15:07 qa: digest: sha256:569dfd4f1c3df91002497796e0dc10442bbeae57aa330de0e71f7d0e8d06010d size: 4088
24-Feb-2023 03:15:07 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
24-Feb-2023 03:15:07 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
24-Feb-2023 03:15:08 Removing unused images if any
24-Feb-2023 03:15:09 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication-mysql ...
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ...
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication-mysql ... done
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... already exists
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... pulling fs layer
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... waiting
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... downloading (95.5%)
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... downloading (100.0%)
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... downloading (0.7%)
24-Feb-2023 03:15:09 Pulling openmrs-referenceapplication       ... downloading (0.5%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (18.5%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (1.1%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (16.2%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (100.0%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (36.2%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (30.4%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (56.0%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (43.1%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (75.8%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (56.4%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (92.9%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (68.1%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (82.9%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... downloading (97.6%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... verifying checksum
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... download complete
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... extracting (0.7%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... extracting (17.6%)
24-Feb-2023 03:15:10 Pulling openmrs-referenceapplication       ... extracting (36.7%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (59.2%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (76.9%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (93.1%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (0.5%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (12.7%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (27.3%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (45.6%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (63.3%)
24-Feb-2023 03:15:11 Pulling openmrs-referenceapplication       ... extracting (78.5%)
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... extracting (91.2%)
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... extracting (3.0%)
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... extracting (100.0%)
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... pull complete
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... digest: sha256:569dfd4f1c3df91002...
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
24-Feb-2023 03:15:12 Pulling openmrs-referenceapplication       ... done
24-Feb-2023 03:15:12 Recreating all images and volumes
24-Feb-2023 03:15:12 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 03:15:12 Stopping qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 03:15:12 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 03:15:13 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 03:15:15 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 03:15:15 Removing qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 03:15:15 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 03:15:15 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 03:15:15 Removing qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 03:15:15 Removing network qa-refapp_default
24-Feb-2023 03:15:16 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
24-Feb-2023 03:15:16 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
24-Feb-2023 03:15:16 Creating network "qa-refapp_default" with the default driver
24-Feb-2023 03:15:16 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
24-Feb-2023 03:15:16 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
24-Feb-2023 03:15:16 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
24-Feb-2023 03:15:16 Creating qa-refapp_openmrs-referenceapplication_1       ...
24-Feb-2023 03:15:17 Creating qa-refapp_openmrs-referenceapplication_1       ... done
24-Feb-2023 03:15:17 Verifying if docker containers 8ce1e615c599835bb9cb7365c86c1e05daad85fc23568096ba02ebd3aae59139
24-Feb-2023 03:15:17 756f15db9c2aea165cb1d041a81732087c450ea8cc3394841f8525e0eb022402 are healthy
24-Feb-2023 03:15:18 Status found: "starting"
24-Feb-2023 03:15:18 Waiting 15s
24-Feb-2023 03:15:33 Verifying if docker containers 8ce1e615c599835bb9cb7365c86c1e05daad85fc23568096ba02ebd3aae59139
24-Feb-2023 03:15:33 756f15db9c2aea165cb1d041a81732087c450ea8cc3394841f8525e0eb022402 are healthy
24-Feb-2023 03:15:33 Status found: "starting"
24-Feb-2023 03:15:33 Waiting 15s
24-Feb-2023 03:15:48 Verifying if docker containers 8ce1e615c599835bb9cb7365c86c1e05daad85fc23568096ba02ebd3aae59139
24-Feb-2023 03:15:48 756f15db9c2aea165cb1d041a81732087c450ea8cc3394841f8525e0eb022402 are healthy
24-Feb-2023 03:15:48 Status found: "healthy"
24-Feb-2023 03:15:48 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
24-Feb-2023 03:15:48 Running post build plugin 'Docker Container Cleanup'
24-Feb-2023 03:15:48 Running post build plugin 'NCover Results Collector'
24-Feb-2023 03:15:48 Running post build plugin 'Build Results Label Collector'
24-Feb-2023 03:15:48 Running post build plugin 'Clover Results Collector'
24-Feb-2023 03:15:48 Running post build plugin 'npm Cache Cleanup'
24-Feb-2023 03:15:48 Running post build plugin 'Artifact Copier'
24-Feb-2023 03:15:48 Finalising the build...
24-Feb-2023 03:15:48 Stopping timer.
24-Feb-2023 03:15:48 Build REFAPP-OMODDISTRO-DTMTS-13510 completed.
24-Feb-2023 03:15:48 Running on server: post build plugin 'Build Hanging Detection Configuration'
24-Feb-2023 03:15:48 Running on server: post build plugin 'NCover Results Collector'
24-Feb-2023 03:15:48 Running on server: post build plugin 'Build Labeller'
24-Feb-2023 03:15:48 Running on server: post build plugin 'Clover Delta Calculator'
24-Feb-2023 03:15:48 Running on server: post build plugin 'Maven Dependencies Postprocessor'
24-Feb-2023 03:15:48 All post build plugins have finished
24-Feb-2023 03:15:48 Generating build results summary...
24-Feb-2023 03:15:48 Saving build results to disk...
24-Feb-2023 03:15:48 Store variable context...
24-Feb-2023 03:15:48 Finished building REFAPP-OMODDISTRO-DTMTS-13510.