Deploys Reference Application SNAPSHOT to maven

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

23-Jan-2023 07:41:41 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13410 (REFAPP-OMODDISTRO-DTMTS-13410) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
23-Jan-2023 07:41:41 Remote agent on host xiao.openmrs.org
23-Jan-2023 07:41:41 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Jan-2023 07:41:41 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13410 (REFAPP-OMODDISTRO-DTMTS-13410)
23-Jan-2023 07:41:41 Running pre-build action: Build Log Labeller Pre Build Action
23-Jan-2023 07:41:41 Running pre-build action: VCS Version Collector
23-Jan-2023 07:41:41 Running pre-build action: Run Predator
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1996 java        1476 bamboo-age 2978Mb  572Mb 00:13:02 /usr/lib/jvm/java-8-ope
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:03:30 /home/bamboo-agent/bamb
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   12Mb 00:00:26 /sbin/init             
23-Jan-2023 07:41:41 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Initial free space: 3.4856071 GB
23-Jan-2023 07:41:41 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
23-Jan-2023 07:41:44 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
23-Jan-2023 07:41:44 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-Jan-2023 07:41:44 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-Jan-2023 07:41:44 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
23-Jan-2023 07:41:44 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-Jan-2023 07:41:44 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-Jan-2023 07:41:44 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
23-Jan-2023 07:41:44 [PredatorPreBuildAction] Final free space: 3.5172462 GB
23-Jan-2023 07:41:44 [PredatorPreBuildAction] Done
23-Jan-2023 07:41:44
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
23-Jan-2023 07:41:44
Substituting password variable: ${bamboo.dockerhub.password}
23-Jan-2023 07:41:44
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46
23-Jan-2023 07:41:44
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46
23-Jan-2023 07:41:44
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Jan-2023 07:41:44
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Jan-2023 07:41:44 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Jan-2023 07:41:44
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13410 (REFAPP-OMODDISTRO-DTMTS-13410)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13410-ScriptBuildTask-2789804229047771966.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Jan-2023 07:41:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
23-Jan-2023 07:41:44 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
23-Jan-2023 07:41:44 Configure a credential helper to remove this warning. See
23-Jan-2023 07:41:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
23-Jan-2023 07:41:44
23-Jan-2023 07:41:44 Login Succeeded
23-Jan-2023 07:41:44 + docker pull openmrs/openmrs-reference-application@sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46
23-Jan-2023 07:41:45 docker.io/openmrs/openmrs-reference-application@sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46: Pulling from openmrs/openmrs-reference-application
23-Jan-2023 07:41:45 Digest: sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46
23-Jan-2023 07:41:45 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46
23-Jan-2023 07:41:45 docker.io/openmrs/openmrs-reference-application@sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46
23-Jan-2023 07:41:45 + docker tag openmrs/openmrs-reference-application@sha256:63306f142d784d7f053298a32fd762a666c985e7e070c2e291041b23d8176a46 openmrs/openmrs-reference-application:qa
23-Jan-2023 07:41:45 + docker push openmrs/openmrs-reference-application:qa
23-Jan-2023 07:41:45 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
23-Jan-2023 07:41:45 fcaabbf9b385: Preparing
23-Jan-2023 07:41:45 a2b7b44afed1: Preparing
23-Jan-2023 07:41:45 0f23901a8bac: Preparing
23-Jan-2023 07:41:45 36e00b5be173: Preparing
23-Jan-2023 07:41:45 e61322449ad0: Preparing
23-Jan-2023 07:41:45 6fdd21bc4a9b: Preparing
23-Jan-2023 07:41:45 5f70bf18a086: Preparing
23-Jan-2023 07:41:45 b7243530d918: Preparing
23-Jan-2023 07:41:45 23323df4fbd9: Preparing
23-Jan-2023 07:41:45 725ecc0c9d62: Preparing
23-Jan-2023 07:41:45 6c1f45cb6682: Preparing
23-Jan-2023 07:41:45 b8aa9430b356: Preparing
23-Jan-2023 07:41:45 b46e16032f56: Preparing
23-Jan-2023 07:41:45 91ac82815b04: Preparing
23-Jan-2023 07:41:45 24fcda5a8b17: Preparing
23-Jan-2023 07:41:45 a4a7e924299e: Preparing
23-Jan-2023 07:41:45 059c2d42be74: Preparing
23-Jan-2023 07:41:45 3f800aca2a44: Preparing
23-Jan-2023 07:41:45 6fdd21bc4a9b: Waiting
23-Jan-2023 07:41:45 5f70bf18a086: Waiting
23-Jan-2023 07:41:45 b7243530d918: Waiting
23-Jan-2023 07:41:45 23323df4fbd9: Waiting
23-Jan-2023 07:41:45 725ecc0c9d62: Waiting
23-Jan-2023 07:41:45 6c1f45cb6682: Waiting
23-Jan-2023 07:41:45 b8aa9430b356: Waiting
23-Jan-2023 07:41:45 b46e16032f56: Waiting
23-Jan-2023 07:41:45 91ac82815b04: Waiting
23-Jan-2023 07:41:45 24fcda5a8b17: Waiting
23-Jan-2023 07:41:45 a4a7e924299e: Waiting
23-Jan-2023 07:41:45 059c2d42be74: Waiting
23-Jan-2023 07:41:45 3f800aca2a44: Waiting
23-Jan-2023 07:41:45 0f23901a8bac: Layer already exists
23-Jan-2023 07:41:45 e61322449ad0: Layer already exists
23-Jan-2023 07:41:45 36e00b5be173: Layer already exists
23-Jan-2023 07:41:45 a2b7b44afed1: Layer already exists
23-Jan-2023 07:41:45 fcaabbf9b385: Layer already exists
23-Jan-2023 07:41:45 6fdd21bc4a9b: Layer already exists
23-Jan-2023 07:41:45 5f70bf18a086: Layer already exists
23-Jan-2023 07:41:45 b7243530d918: Layer already exists
23-Jan-2023 07:41:45 725ecc0c9d62: Layer already exists
23-Jan-2023 07:41:45 23323df4fbd9: Layer already exists
23-Jan-2023 07:41:45 6c1f45cb6682: Layer already exists
23-Jan-2023 07:41:45 b46e16032f56: Layer already exists
23-Jan-2023 07:41:45 91ac82815b04: Layer already exists
23-Jan-2023 07:41:45 b8aa9430b356: Layer already exists
23-Jan-2023 07:41:45 24fcda5a8b17: Layer already exists
23-Jan-2023 07:41:45 a4a7e924299e: Layer already exists
23-Jan-2023 07:41:45 059c2d42be74: Layer already exists
23-Jan-2023 07:41:45 3f800aca2a44: Layer already exists
23-Jan-2023 07:41:46 qa: digest: sha256:678771318bf9a39df5728bee9a8f5d1ec59b82450a1fb668ecc5fcf1db5b9955 size: 4088
23-Jan-2023 07:41:46 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
23-Jan-2023 07:41:46 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
23-Jan-2023 07:41:47 Removing unused images if any
23-Jan-2023 07:41:47 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 07:41:47 Pulling openmrs-referenceapplication-mysql ...
23-Jan-2023 07:41:47 Pulling openmrs-referenceapplication       ...
23-Jan-2023 07:41:47 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
23-Jan-2023 07:41:47 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
23-Jan-2023 07:41:47 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
23-Jan-2023 07:41:47 Pulling openmrs-referenceapplication-mysql ... done
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... waiting
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (0.5%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (0.7%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (15.7%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (24.2%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (1.1%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (31.0%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (43.7%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (43.2%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (59.9%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (57.5%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (78.7%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (72.7%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (99.6%)
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 07:41:48 Pulling openmrs-referenceapplication       ... downloading (87.9%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (0.7%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (22.9%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (40.9%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (65.9%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (88.1%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (0.5%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (18.7%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (37.0%)
23-Jan-2023 07:41:49 Pulling openmrs-referenceapplication       ... extracting (54.2%)
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... extracting (70.9%)
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... extracting (88.6%)
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... extracting (3.0%)
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... digest: sha256:678771318bf9a39df5...
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
23-Jan-2023 07:41:50 Pulling openmrs-referenceapplication       ... done
23-Jan-2023 07:41:50 Recreating all images and volumes
23-Jan-2023 07:41:50 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 07:41:50 Stopping qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 07:41:50 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 07:41:51 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 07:41:52 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 07:41:52 Removing qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 07:41:52 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 07:41:52 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 07:41:53 Removing qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 07:41:53 Removing network qa-refapp_default
23-Jan-2023 07:41:53 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
23-Jan-2023 07:41:53 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 07:41:53 Creating network "qa-refapp_default" with the default driver
23-Jan-2023 07:41:53 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
23-Jan-2023 07:41:53 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 07:41:54 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 07:41:54 Creating qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 07:41:55 Creating qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 07:41:55 Verifying if docker containers 6b23255850e294825c1746096065d5d2be6b93450130430e53cebe63e7607978
23-Jan-2023 07:41:55 d50eb4e75ebf834b5353a4f7a4dfeadb4eb3933868a7212a3531aa9b211c54f5 are healthy
23-Jan-2023 07:41:55 Status found: "starting"
23-Jan-2023 07:41:55 Waiting 15s
23-Jan-2023 07:42:10 Verifying if docker containers 6b23255850e294825c1746096065d5d2be6b93450130430e53cebe63e7607978
23-Jan-2023 07:42:10 d50eb4e75ebf834b5353a4f7a4dfeadb4eb3933868a7212a3531aa9b211c54f5 are healthy
23-Jan-2023 07:42:10 Status found: "starting"
23-Jan-2023 07:42:10 Waiting 15s
23-Jan-2023 07:42:25 Verifying if docker containers 6b23255850e294825c1746096065d5d2be6b93450130430e53cebe63e7607978
23-Jan-2023 07:42:25 d50eb4e75ebf834b5353a4f7a4dfeadb4eb3933868a7212a3531aa9b211c54f5 are healthy
23-Jan-2023 07:42:25 Status found: "healthy"
23-Jan-2023 07:42:25 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
23-Jan-2023 07:42:25 Running post build plugin 'Docker Container Cleanup'
23-Jan-2023 07:42:25 Running post build plugin 'NCover Results Collector'
23-Jan-2023 07:42:25 Running post build plugin 'Build Results Label Collector'
23-Jan-2023 07:42:25 Running post build plugin 'Clover Results Collector'
23-Jan-2023 07:42:25 Running post build plugin 'npm Cache Cleanup'
23-Jan-2023 07:42:25 Running post build plugin 'Artifact Copier'
23-Jan-2023 07:42:25 Finalising the build...
23-Jan-2023 07:42:25 Stopping timer.
23-Jan-2023 07:42:25 Build REFAPP-OMODDISTRO-DTMTS-13410 completed.
23-Jan-2023 07:42:25 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Jan-2023 07:42:25 Running on server: post build plugin 'NCover Results Collector'
23-Jan-2023 07:42:25 Running on server: post build plugin 'Build Labeller'
23-Jan-2023 07:42:25 Running on server: post build plugin 'Clover Delta Calculator'
23-Jan-2023 07:42:25 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Jan-2023 07:42:25 All post build plugins have finished
23-Jan-2023 07:42:25 Generating build results summary...
23-Jan-2023 07:42:25 Saving build results to disk...
23-Jan-2023 07:42:25 Store variable context...
23-Jan-2023 07:42:25 Finished building REFAPP-OMODDISTRO-DTMTS-13410.