Deploys Reference Application SNAPSHOT to maven

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

09-Feb-2023 03:12:54 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13457 (REFAPP-OMODDISTRO-DTMTS-13457) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
09-Feb-2023 03:12:54 Remote agent on host xiao.openmrs.org
09-Feb-2023 03:12:54 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
09-Feb-2023 03:12:54 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13457 (REFAPP-OMODDISTRO-DTMTS-13457)
09-Feb-2023 03:12:54 Running pre-build action: Build Log Labeller Pre Build Action
09-Feb-2023 03:12:54 Running pre-build action: VCS Version Collector
09-Feb-2023 03:12:54 Running pre-build action: Run Predator
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39819 java        1476 bamboo-age 2980Mb  509Mb 00:16:45 /usr/lib/jvm/java-8-ope
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:11:19 /home/bamboo-agent/bamb
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:02:20 /sbin/init             
09-Feb-2023 03:12:54 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Initial free space: 2.7154846 GB
09-Feb-2023 03:12:54 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
09-Feb-2023 03:12:57 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
09-Feb-2023 03:12:57 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
09-Feb-2023 03:12:57 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
09-Feb-2023 03:12:57 [PredatorPreBuildAction] Maven stable disk freed: 0.01121626 GB, deleted 114 files
09-Feb-2023 03:12:57 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
09-Feb-2023 03:12:57 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
09-Feb-2023 03:12:57 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
09-Feb-2023 03:12:57 [PredatorPreBuildAction] Final free space: 2.7471275 GB
09-Feb-2023 03:12:57 [PredatorPreBuildAction] Done
09-Feb-2023 03:12:57
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
09-Feb-2023 03:12:57
Substituting password variable: ${bamboo.dockerhub.password}
09-Feb-2023 03:12:57
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb
09-Feb-2023 03:12:57
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb
09-Feb-2023 03:12:57
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
09-Feb-2023 03:12:57
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
09-Feb-2023 03:12:57 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
09-Feb-2023 03:12:57
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13457 (REFAPP-OMODDISTRO-DTMTS-13457)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13457-ScriptBuildTask-5833974635968438103.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
09-Feb-2023 03:12:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
09-Feb-2023 03:12:57 Login Succeeded
09-Feb-2023 03:12:57 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
09-Feb-2023 03:12:57 Configure a credential helper to remove this warning. See
09-Feb-2023 03:12:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
09-Feb-2023 03:12:57
09-Feb-2023 03:12:57 + docker pull openmrs/openmrs-reference-application@sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb
09-Feb-2023 03:12:57 docker.io/openmrs/openmrs-reference-application@sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb: Pulling from openmrs/openmrs-reference-application
09-Feb-2023 03:12:57 Digest: sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb
09-Feb-2023 03:12:57 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb
09-Feb-2023 03:12:57 docker.io/openmrs/openmrs-reference-application@sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb
09-Feb-2023 03:12:57 + docker tag openmrs/openmrs-reference-application@sha256:9a41bf79dfaa5771199419ed88af0bb7685f0367e4a47bffe653efb06b84e6cb openmrs/openmrs-reference-application:qa
09-Feb-2023 03:12:57 + docker push openmrs/openmrs-reference-application:qa
09-Feb-2023 03:12:58 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
09-Feb-2023 03:12:58 cf3c4fadac8c: Preparing
09-Feb-2023 03:12:58 3579882f32cc: Preparing
09-Feb-2023 03:12:58 e90c267238d6: Preparing
09-Feb-2023 03:12:58 3794bd295dda: Preparing
09-Feb-2023 03:12:58 af3c86eda487: Preparing
09-Feb-2023 03:12:58 60de0bbda0ed: Preparing
09-Feb-2023 03:12:58 5f70bf18a086: Preparing
09-Feb-2023 03:12:58 b34b6277c81b: Preparing
09-Feb-2023 03:12:58 d0a6a0df9123: Preparing
09-Feb-2023 03:12:58 63bbdb3574ed: Preparing
09-Feb-2023 03:12:58 118873527352: Preparing
09-Feb-2023 03:12:58 3353ee3d6876: Preparing
09-Feb-2023 03:12:58 ab5b3452b7ed: Preparing
09-Feb-2023 03:12:58 34f73756f7aa: Preparing
09-Feb-2023 03:12:58 93d6620f79bb: Preparing
09-Feb-2023 03:12:58 be417e78cadd: Preparing
09-Feb-2023 03:12:58 647dc4000019: Preparing
09-Feb-2023 03:12:58 8c5ff259ef50: Preparing
09-Feb-2023 03:12:58 b34b6277c81b: Waiting
09-Feb-2023 03:12:58 d0a6a0df9123: Waiting
09-Feb-2023 03:12:58 63bbdb3574ed: Waiting
09-Feb-2023 03:12:58 118873527352: Waiting
09-Feb-2023 03:12:58 3353ee3d6876: Waiting
09-Feb-2023 03:12:58 ab5b3452b7ed: Waiting
09-Feb-2023 03:12:58 34f73756f7aa: Waiting
09-Feb-2023 03:12:58 93d6620f79bb: Waiting
09-Feb-2023 03:12:58 be417e78cadd: Waiting
09-Feb-2023 03:12:58 647dc4000019: Waiting
09-Feb-2023 03:12:58 8c5ff259ef50: Waiting
09-Feb-2023 03:12:58 60de0bbda0ed: Waiting
09-Feb-2023 03:12:58 5f70bf18a086: Waiting
09-Feb-2023 03:12:58 af3c86eda487: Layer already exists
09-Feb-2023 03:12:58 cf3c4fadac8c: Layer already exists
09-Feb-2023 03:12:58 e90c267238d6: Layer already exists
09-Feb-2023 03:12:58 3794bd295dda: Layer already exists
09-Feb-2023 03:12:58 3579882f32cc: Layer already exists
09-Feb-2023 03:12:58 60de0bbda0ed: Layer already exists
09-Feb-2023 03:12:58 5f70bf18a086: Layer already exists
09-Feb-2023 03:12:58 b34b6277c81b: Layer already exists
09-Feb-2023 03:12:58 63bbdb3574ed: Layer already exists
09-Feb-2023 03:12:58 d0a6a0df9123: Layer already exists
09-Feb-2023 03:12:58 118873527352: Layer already exists
09-Feb-2023 03:12:58 3353ee3d6876: Layer already exists
09-Feb-2023 03:12:58 ab5b3452b7ed: Layer already exists
09-Feb-2023 03:12:58 34f73756f7aa: Layer already exists
09-Feb-2023 03:12:58 93d6620f79bb: Layer already exists
09-Feb-2023 03:12:58 be417e78cadd: Layer already exists
09-Feb-2023 03:12:58 647dc4000019: Layer already exists
09-Feb-2023 03:12:58 8c5ff259ef50: Layer already exists
09-Feb-2023 03:12:59 qa: digest: sha256:a7392e534077e68a1240e79ad9bda904e61fc1bc97178ac37f0c605549a3c527 size: 4088
09-Feb-2023 03:12:59 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
09-Feb-2023 03:12:59 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
09-Feb-2023 03:13:00 Removing unused images if any
09-Feb-2023 03:13:00 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
09-Feb-2023 03:13:00 Pulling openmrs-referenceapplication-mysql ...
09-Feb-2023 03:13:00 Pulling openmrs-referenceapplication       ...
09-Feb-2023 03:13:00 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
09-Feb-2023 03:13:00 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
09-Feb-2023 03:13:00 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
09-Feb-2023 03:13:00 Pulling openmrs-referenceapplication-mysql ... done
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... already exists
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... pulling fs layer
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... waiting
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (100.0%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... verifying checksum
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... download complete
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (0.5%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (0.7%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (13.2%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (19.5%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (1.1%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... verifying checksum
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... download complete
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (28.4%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (41.7%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (43.7%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (63.8%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (58.8%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (83.9%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... verifying checksum
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... download complete
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (74.0%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... downloading (88.3%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... extracting (0.7%)
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... verifying checksum
09-Feb-2023 03:13:01 Pulling openmrs-referenceapplication       ... download complete
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (20.8%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (43.0%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (72.2%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (95.8%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... pull complete
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... pull complete
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (0.5%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (20.8%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (40.0%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (58.3%)
09-Feb-2023 03:13:02 Pulling openmrs-referenceapplication       ... extracting (75.5%)
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... extracting (93.7%)
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... pull complete
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... extracting (3.0%)
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... extracting (100.0%)
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... pull complete
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... digest: sha256:a7392e534077e68a12...
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
09-Feb-2023 03:13:03 Pulling openmrs-referenceapplication       ... done
09-Feb-2023 03:13:03 Recreating all images and volumes
09-Feb-2023 03:13:03 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
09-Feb-2023 03:13:03 Stopping qa-refapp_openmrs-referenceapplication_1       ...
09-Feb-2023 03:13:03 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
09-Feb-2023 03:13:04 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
09-Feb-2023 03:13:06 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
09-Feb-2023 03:13:06 Removing qa-refapp_openmrs-referenceapplication_1       ...
09-Feb-2023 03:13:06 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
09-Feb-2023 03:13:06 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
09-Feb-2023 03:13:06 Removing qa-refapp_openmrs-referenceapplication_1       ... done
09-Feb-2023 03:13:06 Removing network qa-refapp_default
09-Feb-2023 03:13:07 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
09-Feb-2023 03:13:07 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
09-Feb-2023 03:13:07 Creating network "qa-refapp_default" with the default driver
09-Feb-2023 03:13:07 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
09-Feb-2023 03:13:07 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
09-Feb-2023 03:13:07 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
09-Feb-2023 03:13:07 Creating qa-refapp_openmrs-referenceapplication_1       ...
09-Feb-2023 03:13:08 Creating qa-refapp_openmrs-referenceapplication_1       ... done
09-Feb-2023 03:13:08 Verifying if docker containers bbd8c5af5306e9854f022f8618e2d11e1e28b969793c236637f154997583ffeb
09-Feb-2023 03:13:08 a916d57876b870d42a8d025a9dd0cb83463c1ce6dfc30972da89a3081287e47f are healthy
09-Feb-2023 03:13:08 Status found: "starting"
09-Feb-2023 03:13:08 Waiting 15s
09-Feb-2023 03:13:23 Verifying if docker containers bbd8c5af5306e9854f022f8618e2d11e1e28b969793c236637f154997583ffeb
09-Feb-2023 03:13:23 a916d57876b870d42a8d025a9dd0cb83463c1ce6dfc30972da89a3081287e47f are healthy
09-Feb-2023 03:13:24 Status found: "starting"
09-Feb-2023 03:13:24 Waiting 15s
09-Feb-2023 03:13:39 Verifying if docker containers bbd8c5af5306e9854f022f8618e2d11e1e28b969793c236637f154997583ffeb
09-Feb-2023 03:13:39 a916d57876b870d42a8d025a9dd0cb83463c1ce6dfc30972da89a3081287e47f are healthy
09-Feb-2023 03:13:39 Status found: "healthy"
09-Feb-2023 03:13:39 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
09-Feb-2023 03:13:39 Running post build plugin 'Docker Container Cleanup'
09-Feb-2023 03:13:39 Running post build plugin 'NCover Results Collector'
09-Feb-2023 03:13:39 Running post build plugin 'Build Results Label Collector'
09-Feb-2023 03:13:39 Running post build plugin 'Clover Results Collector'
09-Feb-2023 03:13:39 Running post build plugin 'npm Cache Cleanup'
09-Feb-2023 03:13:39 Running post build plugin 'Artifact Copier'
09-Feb-2023 03:13:39 Finalising the build...
09-Feb-2023 03:13:39 Stopping timer.
09-Feb-2023 03:13:39 Build REFAPP-OMODDISTRO-DTMTS-13457 completed.
09-Feb-2023 03:13:39 Running on server: post build plugin 'Build Hanging Detection Configuration'
09-Feb-2023 03:13:39 Running on server: post build plugin 'NCover Results Collector'
09-Feb-2023 03:13:39 Running on server: post build plugin 'Build Labeller'
09-Feb-2023 03:13:39 Running on server: post build plugin 'Clover Delta Calculator'
09-Feb-2023 03:13:39 Running on server: post build plugin 'Maven Dependencies Postprocessor'
09-Feb-2023 03:13:39 All post build plugins have finished
09-Feb-2023 03:13:39 Generating build results summary...
09-Feb-2023 03:13:39 Saving build results to disk...
09-Feb-2023 03:13:39 Store variable context...
09-Feb-2023 03:13:39 Finished building REFAPP-OMODDISTRO-DTMTS-13457.