Deploys Reference Application SNAPSHOT to maven

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

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