Deploys Reference Application SNAPSHOT to maven

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

07-Feb-2023 00:13:32 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13451 (REFAPP-OMODDISTRO-DTMTS-13451) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
07-Feb-2023 00:13:32 Remote agent on host yu.openmrs.org
07-Feb-2023 00:13:32 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
07-Feb-2023 00:13:32 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13451 (REFAPP-OMODDISTRO-DTMTS-13451)
07-Feb-2023 00:13:32 Running pre-build action: Build Log Labeller Pre Build Action
07-Feb-2023 00:13:32 Running pre-build action: VCS Version Collector
07-Feb-2023 00:13:32 Running pre-build action: Run Predator
07-Feb-2023 00:13:32 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
07-Feb-2023 00:13:32 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
07-Feb-2023 00:13:32 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
07-Feb-2023 00:13:35 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
07-Feb-2023 00:13:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 14138 java        1476 bamboo-age 2976Mb  459Mb 00:10:54 /usr/lib/jvm/java-8-ope
07-Feb-2023 00:13:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:10:55 /home/bamboo-agent/bamb
07-Feb-2023 00:13:35 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   10Mb 00:03:47 /sbin/init             
07-Feb-2023 00:13:35 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
07-Feb-2023 00:13:35 [PredatorPreBuildAction] Initial free space: 3.3035774 GB
07-Feb-2023 00:13:35 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
07-Feb-2023 00:13:40 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
07-Feb-2023 00:13:40 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
07-Feb-2023 00:13:40 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
07-Feb-2023 00:13:40 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
07-Feb-2023 00:13:40 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
07-Feb-2023 00:13:40 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
07-Feb-2023 00:13:40 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
07-Feb-2023 00:13:40 [PredatorPreBuildAction] Final free space: 3.335228 GB
07-Feb-2023 00:13:40 [PredatorPreBuildAction] Done
07-Feb-2023 00:13:40
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
07-Feb-2023 00:13:40
Substituting password variable: ${bamboo.dockerhub.password}
07-Feb-2023 00:13:40
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3
07-Feb-2023 00:13:40
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3
07-Feb-2023 00:13:40
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
07-Feb-2023 00:13:40
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
07-Feb-2023 00:13:40 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
07-Feb-2023 00:13:40
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13451 (REFAPP-OMODDISTRO-DTMTS-13451)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13451-ScriptBuildTask-9013872353567515197.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
07-Feb-2023 00:13:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
07-Feb-2023 00:13:40 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
07-Feb-2023 00:13:40 Configure a credential helper to remove this warning. See
07-Feb-2023 00:13:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
07-Feb-2023 00:13:40
07-Feb-2023 00:13:40 Login Succeeded
07-Feb-2023 00:13:40 + docker pull openmrs/openmrs-reference-application@sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3
07-Feb-2023 00:13:41 docker.io/openmrs/openmrs-reference-application@sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3: Pulling from openmrs/openmrs-reference-application
07-Feb-2023 00:13:41 Digest: sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3
07-Feb-2023 00:13:41 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3
07-Feb-2023 00:13:41 docker.io/openmrs/openmrs-reference-application@sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3
07-Feb-2023 00:13:41 + docker tag openmrs/openmrs-reference-application@sha256:3f19ccb319b0ded1d95c90c1b8a33f436cc086e6ffe40c6f1a9cc8775f1412a3 openmrs/openmrs-reference-application:qa
07-Feb-2023 00:13:41 + docker push openmrs/openmrs-reference-application:qa
07-Feb-2023 00:13:41 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
07-Feb-2023 00:13:41 f3d5ce66cfe9: Preparing
07-Feb-2023 00:13:41 db9a5dd0e30d: Preparing
07-Feb-2023 00:13:41 f09012565b49: Preparing
07-Feb-2023 00:13:41 464f7d76421b: Preparing
07-Feb-2023 00:13:41 14f59a114bd7: Preparing
07-Feb-2023 00:13:41 60de0bbda0ed: Preparing
07-Feb-2023 00:13:41 5f70bf18a086: Preparing
07-Feb-2023 00:13:41 b34b6277c81b: Preparing
07-Feb-2023 00:13:41 d0a6a0df9123: Preparing
07-Feb-2023 00:13:41 63bbdb3574ed: Preparing
07-Feb-2023 00:13:41 118873527352: Preparing
07-Feb-2023 00:13:41 3353ee3d6876: Preparing
07-Feb-2023 00:13:41 ab5b3452b7ed: Preparing
07-Feb-2023 00:13:41 34f73756f7aa: Preparing
07-Feb-2023 00:13:41 93d6620f79bb: Preparing
07-Feb-2023 00:13:41 be417e78cadd: Preparing
07-Feb-2023 00:13:41 647dc4000019: Preparing
07-Feb-2023 00:13:41 8c5ff259ef50: Preparing
07-Feb-2023 00:13:41 60de0bbda0ed: Waiting
07-Feb-2023 00:13:41 5f70bf18a086: Waiting
07-Feb-2023 00:13:41 b34b6277c81b: Waiting
07-Feb-2023 00:13:41 d0a6a0df9123: Waiting
07-Feb-2023 00:13:41 63bbdb3574ed: Waiting
07-Feb-2023 00:13:41 118873527352: Waiting
07-Feb-2023 00:13:41 3353ee3d6876: Waiting
07-Feb-2023 00:13:41 ab5b3452b7ed: Waiting
07-Feb-2023 00:13:41 34f73756f7aa: Waiting
07-Feb-2023 00:13:41 93d6620f79bb: Waiting
07-Feb-2023 00:13:41 be417e78cadd: Waiting
07-Feb-2023 00:13:41 647dc4000019: Waiting
07-Feb-2023 00:13:41 8c5ff259ef50: Waiting
07-Feb-2023 00:13:41 f09012565b49: Layer already exists
07-Feb-2023 00:13:41 db9a5dd0e30d: Layer already exists
07-Feb-2023 00:13:41 14f59a114bd7: Layer already exists
07-Feb-2023 00:13:41 f3d5ce66cfe9: Layer already exists
07-Feb-2023 00:13:41 464f7d76421b: Layer already exists
07-Feb-2023 00:13:41 60de0bbda0ed: Layer already exists
07-Feb-2023 00:13:41 5f70bf18a086: Layer already exists
07-Feb-2023 00:13:41 b34b6277c81b: Layer already exists
07-Feb-2023 00:13:41 d0a6a0df9123: Layer already exists
07-Feb-2023 00:13:41 63bbdb3574ed: Layer already exists
07-Feb-2023 00:13:41 118873527352: Layer already exists
07-Feb-2023 00:13:41 3353ee3d6876: Layer already exists
07-Feb-2023 00:13:41 ab5b3452b7ed: Layer already exists
07-Feb-2023 00:13:41 34f73756f7aa: Layer already exists
07-Feb-2023 00:13:41 93d6620f79bb: Layer already exists
07-Feb-2023 00:13:41 be417e78cadd: Layer already exists
07-Feb-2023 00:13:41 647dc4000019: Layer already exists
07-Feb-2023 00:13:41 8c5ff259ef50: Layer already exists
07-Feb-2023 00:13:42 qa: digest: sha256:ac74a5367f6804b822f3fb6de22626f4bc432116c7a8f48bfce67b29617a0d59 size: 4088
07-Feb-2023 00:13:42 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
07-Feb-2023 00:13:42 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
07-Feb-2023 00:13:43 Removing unused images if any
07-Feb-2023 00:13:43 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
07-Feb-2023 00:13:43 Pulling openmrs-referenceapplication-mysql ...
07-Feb-2023 00:13:43 Pulling openmrs-referenceapplication       ...
07-Feb-2023 00:13:43 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
07-Feb-2023 00:13:43 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
07-Feb-2023 00:13:43 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication-mysql ... done
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... already exists
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... pulling fs layer
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... pulling fs layer
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... pulling fs layer
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... pulling fs layer
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... waiting
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (100.0%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... verifying checksum
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... download complete
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (0.7%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (0.5%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (21.5%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (1.1%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... verifying checksum
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... download complete
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (14.7%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (42.9%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (28.9%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (63.7%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (43.6%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (83.9%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (58.8%)
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... verifying checksum
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... download complete
07-Feb-2023 00:13:44 Pulling openmrs-referenceapplication       ... downloading (72.9%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... downloading (88.1%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (0.7%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... downloading (99.9%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... verifying checksum
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... download complete
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (20.1%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (45.8%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (68.7%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (93.0%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... pull complete
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (100.0%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... pull complete
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (0.5%)
07-Feb-2023 00:13:45 Pulling openmrs-referenceapplication       ... extracting (18.2%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (37.0%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (57.2%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (74.5%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (91.2%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... pull complete
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (3.0%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... extracting (100.0%)
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... pull complete
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... digest: sha256:ac74a5367f6804b822...
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
07-Feb-2023 00:13:46 Pulling openmrs-referenceapplication       ... done
07-Feb-2023 00:13:46 Recreating all images and volumes
07-Feb-2023 00:13:46 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
07-Feb-2023 00:13:46 Stopping qa-refapp_openmrs-referenceapplication_1       ...
07-Feb-2023 00:13:46 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
07-Feb-2023 00:13:47 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
07-Feb-2023 00:13:49 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
07-Feb-2023 00:13:49 Removing qa-refapp_openmrs-referenceapplication_1       ...
07-Feb-2023 00:13:49 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
07-Feb-2023 00:13:49 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
07-Feb-2023 00:13:49 Removing qa-refapp_openmrs-referenceapplication_1       ... done
07-Feb-2023 00:13:49 Removing network qa-refapp_default
07-Feb-2023 00:13:49 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
07-Feb-2023 00:13:50 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
07-Feb-2023 00:13:50 Creating network "qa-refapp_default" with the default driver
07-Feb-2023 00:13:50 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
07-Feb-2023 00:13:50 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
07-Feb-2023 00:13:50 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
07-Feb-2023 00:13:50 Creating qa-refapp_openmrs-referenceapplication_1       ...
07-Feb-2023 00:13:51 Creating qa-refapp_openmrs-referenceapplication_1       ... done
07-Feb-2023 00:13:51 Verifying if docker containers 44b44a2a3a66daa73e23a16309b7166544db7cb06be52b4f3c9e34f3c14fb3c1
07-Feb-2023 00:13:51 1e63f1aa508492fe1dc668085b552d9116f039dde2e57d91ab706d4084133a96 are healthy
07-Feb-2023 00:13:51 Status found: "starting"
07-Feb-2023 00:13:51 Waiting 15s
07-Feb-2023 00:14:06 Verifying if docker containers 44b44a2a3a66daa73e23a16309b7166544db7cb06be52b4f3c9e34f3c14fb3c1
07-Feb-2023 00:14:06 1e63f1aa508492fe1dc668085b552d9116f039dde2e57d91ab706d4084133a96 are healthy
07-Feb-2023 00:14:06 Status found: "starting"
07-Feb-2023 00:14:06 Waiting 15s
07-Feb-2023 00:14:21 Verifying if docker containers 44b44a2a3a66daa73e23a16309b7166544db7cb06be52b4f3c9e34f3c14fb3c1
07-Feb-2023 00:14:21 1e63f1aa508492fe1dc668085b552d9116f039dde2e57d91ab706d4084133a96 are healthy
07-Feb-2023 00:14:21 Status found: "healthy"
07-Feb-2023 00:14:21 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
07-Feb-2023 00:14:21 Running post build plugin 'Docker Container Cleanup'
07-Feb-2023 00:14:21 Running post build plugin 'NCover Results Collector'
07-Feb-2023 00:14:21 Running post build plugin 'Build Results Label Collector'
07-Feb-2023 00:14:21 Running post build plugin 'Clover Results Collector'
07-Feb-2023 00:14:21 Running post build plugin 'npm Cache Cleanup'
07-Feb-2023 00:14:21 Running post build plugin 'Artifact Copier'
07-Feb-2023 00:14:21 Finalising the build...
07-Feb-2023 00:14:21 Stopping timer.
07-Feb-2023 00:14:21 Build REFAPP-OMODDISTRO-DTMTS-13451 completed.
07-Feb-2023 00:14:21 Running on server: post build plugin 'Build Hanging Detection Configuration'
07-Feb-2023 00:14:21 Running on server: post build plugin 'NCover Results Collector'
07-Feb-2023 00:14:21 Running on server: post build plugin 'Build Labeller'
07-Feb-2023 00:14:21 Running on server: post build plugin 'Clover Delta Calculator'
07-Feb-2023 00:14:22 Running on server: post build plugin 'Maven Dependencies Postprocessor'
07-Feb-2023 00:14:22 All post build plugins have finished
07-Feb-2023 00:14:22 Generating build results summary...
07-Feb-2023 00:14:22 Saving build results to disk...
07-Feb-2023 00:14:22 Store variable context...
07-Feb-2023 00:14:22 Finished building REFAPP-OMODDISTRO-DTMTS-13451.