Deploys Reference Application SNAPSHOT to maven

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

09-Nov-2022 03:22:23 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13180 (REFAPP-OMODDISTRO-DTMTS-13180) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
09-Nov-2022 03:22:23 Remote agent on host xindi.openmrs.org
09-Nov-2022 03:22:23 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
09-Nov-2022 03:22:23 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13180 (REFAPP-OMODDISTRO-DTMTS-13180)
09-Nov-2022 03:22:23 Running pre-build action: Build Log Labeller Pre Build Action
09-Nov-2022 03:22:23 Running pre-build action: VCS Version Collector
09-Nov-2022 03:22:23 Running pre-build action: Run Predator
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Running these commands: docker ps -q| xargs docker kill; docker ps -qa | xargs docker rm -f; docker system prune -af --filter until=48h; docker volume prune -f;
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Running command '[docker, ps, -q|, xargs, docker, kill]'
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Command '[docker, ps, -q|, xargs, docker, kill]' completed with exit code 125
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Running command '[docker, ps, -qa, |, xargs, docker, rm, -f]'
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Command '[docker, ps, -qa, |, xargs, docker, rm, -f]' completed with exit code 125
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Running command '[docker, system, prune, -af, --filter, until=48h]'
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Command '[docker, system, prune, -af, --filter, until=48h]' completed with exit code 0
09-Nov-2022 03:22:23 [PredatorPreBuildAction] Running command '[docker, volume, prune, -f]'
09-Nov-2022 03:22:24 [PredatorPreBuildAction] Command '[docker, volume, prune, -f]' completed with exit code 0
09-Nov-2022 03:22:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39613 java        1433 bamboo-age 2980Mb  587Mb 00:17:08 /usr/lib/jvm/java-8-ope
09-Nov-2022 03:22:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1433 wrapper        1 bamboo-age   16Mb    3Mb 00:04:57 /home/bamboo-agent/bamb
09-Nov-2022 03:22:24 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:05:24 /sbin/init             
09-Nov-2022 03:22:24 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
09-Nov-2022 03:22:24 [PredatorPreBuildAction] Initial free space: 4.472168 GB
09-Nov-2022 03:22:24 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
09-Nov-2022 03:22:27 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
09-Nov-2022 03:22:27 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
09-Nov-2022 03:22:27 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
09-Nov-2022 03:22:27 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
09-Nov-2022 03:22:27 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
09-Nov-2022 03:22:27 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
09-Nov-2022 03:22:27 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
09-Nov-2022 03:22:27 [PredatorPreBuildAction] Final free space: 4.503788 GB
09-Nov-2022 03:22:27 [PredatorPreBuildAction] Done
09-Nov-2022 03:22:27
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
09-Nov-2022 03:22:27
Substituting password variable: ${bamboo.dockerhub.password}
09-Nov-2022 03:22:27
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322
09-Nov-2022 03:22:27
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322
09-Nov-2022 03:22:27
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
09-Nov-2022 03:22:27
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
09-Nov-2022 03:22:27 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
09-Nov-2022 03:22:27
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13180 (REFAPP-OMODDISTRO-DTMTS-13180)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13180-ScriptBuildTask-1317531967699806193.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
09-Nov-2022 03:22:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
09-Nov-2022 03:22:27 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
09-Nov-2022 03:22:27 Configure a credential helper to remove this warning. See
09-Nov-2022 03:22:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
09-Nov-2022 03:22:27
09-Nov-2022 03:22:27 Login Succeeded
09-Nov-2022 03:22:27 + docker pull openmrs/openmrs-reference-application@sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322
09-Nov-2022 03:22:27 docker.io/openmrs/openmrs-reference-application@sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322: Pulling from openmrs/openmrs-reference-application
09-Nov-2022 03:22:27 Digest: sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322
09-Nov-2022 03:22:27 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322
09-Nov-2022 03:22:27 docker.io/openmrs/openmrs-reference-application@sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322
09-Nov-2022 03:22:27 + docker tag openmrs/openmrs-reference-application@sha256:45a91c46625d3bba6d9d13a6659d3774c65a312312584943e86e495317925322 openmrs/openmrs-reference-application:qa
09-Nov-2022 03:22:28 + docker push openmrs/openmrs-reference-application:qa
09-Nov-2022 03:22:28 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
09-Nov-2022 03:22:28 45cfb9ee6132: Preparing
09-Nov-2022 03:22:28 062ef1ba3311: Preparing
09-Nov-2022 03:22:28 5285f1fc3ac4: Preparing
09-Nov-2022 03:22:28 20158996befc: Preparing
09-Nov-2022 03:22:28 ebd4281fffa9: Preparing
09-Nov-2022 03:22:28 acdffce74224: Preparing
09-Nov-2022 03:22:28 48ebc298ba4a: Preparing
09-Nov-2022 03:22:28 5f70bf18a086: Preparing
09-Nov-2022 03:22:28 d68eb2fc1d15: Preparing
09-Nov-2022 03:22:28 63cc82427733: Preparing
09-Nov-2022 03:22:28 0e0de346eeee: Preparing
09-Nov-2022 03:22:28 e212100cd0bf: Preparing
09-Nov-2022 03:22:28 f9e3c74ded34: Preparing
09-Nov-2022 03:22:28 e802af8d4506: Preparing
09-Nov-2022 03:22:28 678542a60d0e: Preparing
09-Nov-2022 03:22:28 6edf69746447: Preparing
09-Nov-2022 03:22:28 2601b5eb4f37: Preparing
09-Nov-2022 03:22:28 4942a1abcbfa: Preparing
09-Nov-2022 03:22:28 acdffce74224: Waiting
09-Nov-2022 03:22:28 48ebc298ba4a: Waiting
09-Nov-2022 03:22:28 5f70bf18a086: Waiting
09-Nov-2022 03:22:28 d68eb2fc1d15: Waiting
09-Nov-2022 03:22:28 63cc82427733: Waiting
09-Nov-2022 03:22:28 0e0de346eeee: Waiting
09-Nov-2022 03:22:28 e212100cd0bf: Waiting
09-Nov-2022 03:22:28 f9e3c74ded34: Waiting
09-Nov-2022 03:22:28 e802af8d4506: Waiting
09-Nov-2022 03:22:28 678542a60d0e: Waiting
09-Nov-2022 03:22:28 6edf69746447: Waiting
09-Nov-2022 03:22:28 2601b5eb4f37: Waiting
09-Nov-2022 03:22:28 4942a1abcbfa: Waiting
09-Nov-2022 03:22:28 20158996befc: Layer already exists
09-Nov-2022 03:22:28 ebd4281fffa9: Layer already exists
09-Nov-2022 03:22:28 5285f1fc3ac4: Layer already exists
09-Nov-2022 03:22:28 062ef1ba3311: Layer already exists
09-Nov-2022 03:22:28 45cfb9ee6132: Layer already exists
09-Nov-2022 03:22:28 acdffce74224: Layer already exists
09-Nov-2022 03:22:28 48ebc298ba4a: Layer already exists
09-Nov-2022 03:22:28 5f70bf18a086: Layer already exists
09-Nov-2022 03:22:28 63cc82427733: Layer already exists
09-Nov-2022 03:22:28 d68eb2fc1d15: Layer already exists
09-Nov-2022 03:22:28 e212100cd0bf: Layer already exists
09-Nov-2022 03:22:28 0e0de346eeee: Layer already exists
09-Nov-2022 03:22:28 f9e3c74ded34: Layer already exists
09-Nov-2022 03:22:28 e802af8d4506: Layer already exists
09-Nov-2022 03:22:28 678542a60d0e: Layer already exists
09-Nov-2022 03:22:28 6edf69746447: Layer already exists
09-Nov-2022 03:22:28 4942a1abcbfa: Layer already exists
09-Nov-2022 03:22:28 2601b5eb4f37: Layer already exists
09-Nov-2022 03:22:29 qa: digest: sha256:5e2051a1250ae98e7a5cc6b03c38dc2e42cfeacc816f919f48b6d83491a12416 size: 4096
09-Nov-2022 03:22:29 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
09-Nov-2022 03:22:29 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
09-Nov-2022 03:22:30 Removing unused images if any
09-Nov-2022 03:22:30 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
09-Nov-2022 03:22:30 Pulling openmrs-referenceapplication-mysql ...
09-Nov-2022 03:22:30 Pulling openmrs-referenceapplication       ...
09-Nov-2022 03:22:30 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
09-Nov-2022 03:22:30 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
09-Nov-2022 03:22:30 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
09-Nov-2022 03:22:30 Pulling openmrs-referenceapplication-mysql ... done
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... already exists
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... waiting
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (95.7%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (100.0%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... verifying checksum
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... download complete
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (0.7%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (0.5%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (28.2%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (13.2%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (1.1%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... verifying checksum
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... download complete
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (49.1%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (26.3%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (75.2%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (45.0%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... verifying checksum
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... download complete
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (64.1%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... extracting (0.7%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (82.8%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... extracting (17.3%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... downloading (96.6%)
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... verifying checksum
09-Nov-2022 03:22:31 Pulling openmrs-referenceapplication       ... download complete
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (40.9%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (64.5%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (91.6%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... pull complete
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... pull complete
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (0.5%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (19.3%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (40.1%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (59.9%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (78.2%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (93.9%)
09-Nov-2022 03:22:32 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Nov-2022 03:22:33 Pulling openmrs-referenceapplication       ... pull complete
09-Nov-2022 03:22:33 Pulling openmrs-referenceapplication       ... extracting (3.0%)
09-Nov-2022 03:22:33 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Nov-2022 03:22:33 Pulling openmrs-referenceapplication       ... pull complete
09-Nov-2022 03:22:33 Pulling openmrs-referenceapplication       ... digest: sha256:5e2051a1250ae98e7a...
09-Nov-2022 03:22:33 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
09-Nov-2022 03:22:33 Pulling openmrs-referenceapplication       ... done
09-Nov-2022 03:22:33 Recreating all images and volumes
09-Nov-2022 03:22:33 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
09-Nov-2022 03:22:33 Stopping qa-refapp_openmrs-referenceapplication_1       ...
09-Nov-2022 03:22:33 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
09-Nov-2022 03:22:33 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
09-Nov-2022 03:22:35 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
09-Nov-2022 03:22:35 Removing qa-refapp_openmrs-referenceapplication_1       ...
09-Nov-2022 03:22:35 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
09-Nov-2022 03:22:35 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
09-Nov-2022 03:22:36 Removing qa-refapp_openmrs-referenceapplication_1       ... done
09-Nov-2022 03:22:36 Removing network qa-refapp_default
09-Nov-2022 03:22:36 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
09-Nov-2022 03:22:36 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
09-Nov-2022 03:22:36 Creating network "qa-refapp_default" with the default driver
09-Nov-2022 03:22:36 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
09-Nov-2022 03:22:36 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
09-Nov-2022 03:22:36 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
09-Nov-2022 03:22:36 Creating qa-refapp_openmrs-referenceapplication_1       ...
09-Nov-2022 03:22:37 Creating qa-refapp_openmrs-referenceapplication_1       ... done
09-Nov-2022 03:22:37 Verifying if docker containers c5cc76f703dd6b61c837ea7303dacda0ed749c404faee343a75f87f1a39940cf
09-Nov-2022 03:22:37 15abf360da8a5f3691eaad606d1638dbd35a0d869fcb6774f1004754b92b53c1 are healthy
09-Nov-2022 03:22:37 Status found: "starting"
09-Nov-2022 03:22:37 Waiting 15s
09-Nov-2022 03:22:52 Verifying if docker containers c5cc76f703dd6b61c837ea7303dacda0ed749c404faee343a75f87f1a39940cf
09-Nov-2022 03:22:52 15abf360da8a5f3691eaad606d1638dbd35a0d869fcb6774f1004754b92b53c1 are healthy
09-Nov-2022 03:22:52 Status found: "starting"
09-Nov-2022 03:22:52 Waiting 15s
09-Nov-2022 03:23:07 Verifying if docker containers c5cc76f703dd6b61c837ea7303dacda0ed749c404faee343a75f87f1a39940cf
09-Nov-2022 03:23:07 15abf360da8a5f3691eaad606d1638dbd35a0d869fcb6774f1004754b92b53c1 are healthy
09-Nov-2022 03:23:07 Status found: "healthy"
09-Nov-2022 03:23:07 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
09-Nov-2022 03:23:07 Running post build plugin 'Docker Container Cleanup'
09-Nov-2022 03:23:07 Running post build plugin 'NCover Results Collector'
09-Nov-2022 03:23:07 Running post build plugin 'Build Results Label Collector'
09-Nov-2022 03:23:07 Running post build plugin 'Clover Results Collector'
09-Nov-2022 03:23:07 Running post build plugin 'npm Cache Cleanup'
09-Nov-2022 03:23:07 Running post build plugin 'Artifact Copier'
09-Nov-2022 03:23:07 Finalising the build...
09-Nov-2022 03:23:07 Stopping timer.
09-Nov-2022 03:23:07 Build REFAPP-OMODDISTRO-DTMTS-13180 completed.
09-Nov-2022 03:23:07 Running on server: post build plugin 'Build Hanging Detection Configuration'
09-Nov-2022 03:23:07 Running on server: post build plugin 'NCover Results Collector'
09-Nov-2022 03:23:07 Running on server: post build plugin 'Build Labeller'
09-Nov-2022 03:23:07 Running on server: post build plugin 'Clover Delta Calculator'
09-Nov-2022 03:23:07 Running on server: post build plugin 'Maven Dependencies Postprocessor'
09-Nov-2022 03:23:07 All post build plugins have finished
09-Nov-2022 03:23:07 Generating build results summary...
09-Nov-2022 03:23:07 Saving build results to disk...
09-Nov-2022 03:23:07 Store variable context...
09-Nov-2022 03:23:07 Finished building REFAPP-OMODDISTRO-DTMTS-13180.