Deploys Reference Application SNAPSHOT to maven

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

13-Feb-2023 03:14:30 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13469 (REFAPP-OMODDISTRO-DTMTS-13469) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
13-Feb-2023 03:14:30 Remote agent on host yu.openmrs.org
13-Feb-2023 03:14:30 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Feb-2023 03:14:30 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13469 (REFAPP-OMODDISTRO-DTMTS-13469)
13-Feb-2023 03:14:30 Running pre-build action: Build Log Labeller Pre Build Action
13-Feb-2023 03:14:30 Running pre-build action: VCS Version Collector
13-Feb-2023 03:14:30 Running pre-build action: Run Predator
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2036 java        1487 bamboo-age 2953Mb  352Mb 00:01:38 /usr/lib/jvm/java-8-ope
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1487 wrapper        1 bamboo-age   16Mb    3Mb 00:00:22 /home/bamboo-agent/bamb
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        163Mb    9Mb 00:00:02 /sbin/init             
13-Feb-2023 03:14:30 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Initial free space: 2.9859428 GB
13-Feb-2023 03:14:30 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
13-Feb-2023 03:14:34 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
13-Feb-2023 03:14:34 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
13-Feb-2023 03:14:34 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
13-Feb-2023 03:14:35 [PredatorPreBuildAction] Maven stable disk freed: 0.3690821 GB, deleted 83 files
13-Feb-2023 03:14:35 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
13-Feb-2023 03:14:35 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
13-Feb-2023 03:14:35 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
13-Feb-2023 03:14:35 [PredatorPreBuildAction] Final free space: 3.0175858 GB
13-Feb-2023 03:14:35 [PredatorPreBuildAction] Done
13-Feb-2023 03:14:35
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
13-Feb-2023 03:14:35
Substituting password variable: ${bamboo.dockerhub.password}
13-Feb-2023 03:14:35
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c
13-Feb-2023 03:14:35
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c
13-Feb-2023 03:14:35
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Feb-2023 03:14:35
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
13-Feb-2023 03:14:35 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
13-Feb-2023 03:14:35
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13469 (REFAPP-OMODDISTRO-DTMTS-13469)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13469-ScriptBuildTask-5503560016485108761.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
13-Feb-2023 03:14:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
13-Feb-2023 03:14:35 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
13-Feb-2023 03:14:35 Configure a credential helper to remove this warning. See
13-Feb-2023 03:14:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
13-Feb-2023 03:14:35
13-Feb-2023 03:14:35 Login Succeeded
13-Feb-2023 03:14:35 + docker pull openmrs/openmrs-reference-application@sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c
13-Feb-2023 03:14:35 docker.io/openmrs/openmrs-reference-application@sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c: Pulling from openmrs/openmrs-reference-application
13-Feb-2023 03:14:35 Digest: sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c
13-Feb-2023 03:14:35 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c
13-Feb-2023 03:14:35 docker.io/openmrs/openmrs-reference-application@sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c
13-Feb-2023 03:14:35 + docker tag openmrs/openmrs-reference-application@sha256:f5024e818d03b3ad0d507cdd846ce20e695a0351c5039e7a82768b23d8a33e9c openmrs/openmrs-reference-application:qa
13-Feb-2023 03:14:35 + docker push openmrs/openmrs-reference-application:qa
13-Feb-2023 03:14:35 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
13-Feb-2023 03:14:35 3c361882ecd9: Preparing
13-Feb-2023 03:14:35 6532d0351b6c: Preparing
13-Feb-2023 03:14:35 9d1ce5cf4f45: Preparing
13-Feb-2023 03:14:35 28e39936d213: Preparing
13-Feb-2023 03:14:35 0889049fe275: Preparing
13-Feb-2023 03:14:35 60de0bbda0ed: Preparing
13-Feb-2023 03:14:35 5f70bf18a086: Preparing
13-Feb-2023 03:14:35 b34b6277c81b: Preparing
13-Feb-2023 03:14:35 d0a6a0df9123: Preparing
13-Feb-2023 03:14:35 63bbdb3574ed: Preparing
13-Feb-2023 03:14:35 118873527352: Preparing
13-Feb-2023 03:14:35 3353ee3d6876: Preparing
13-Feb-2023 03:14:35 ab5b3452b7ed: Preparing
13-Feb-2023 03:14:35 34f73756f7aa: Preparing
13-Feb-2023 03:14:35 93d6620f79bb: Preparing
13-Feb-2023 03:14:35 be417e78cadd: Preparing
13-Feb-2023 03:14:35 647dc4000019: Preparing
13-Feb-2023 03:14:35 8c5ff259ef50: Preparing
13-Feb-2023 03:14:35 63bbdb3574ed: Waiting
13-Feb-2023 03:14:35 118873527352: Waiting
13-Feb-2023 03:14:35 3353ee3d6876: Waiting
13-Feb-2023 03:14:35 ab5b3452b7ed: Waiting
13-Feb-2023 03:14:35 34f73756f7aa: Waiting
13-Feb-2023 03:14:35 93d6620f79bb: Waiting
13-Feb-2023 03:14:35 be417e78cadd: Waiting
13-Feb-2023 03:14:35 647dc4000019: Waiting
13-Feb-2023 03:14:35 8c5ff259ef50: Waiting
13-Feb-2023 03:14:35 60de0bbda0ed: Waiting
13-Feb-2023 03:14:35 5f70bf18a086: Waiting
13-Feb-2023 03:14:35 b34b6277c81b: Waiting
13-Feb-2023 03:14:35 d0a6a0df9123: Waiting
13-Feb-2023 03:14:36 6532d0351b6c: Layer already exists
13-Feb-2023 03:14:36 0889049fe275: Layer already exists
13-Feb-2023 03:14:36 3c361882ecd9: Layer already exists
13-Feb-2023 03:14:36 28e39936d213: Layer already exists
13-Feb-2023 03:14:36 9d1ce5cf4f45: Layer already exists
13-Feb-2023 03:14:36 60de0bbda0ed: Layer already exists
13-Feb-2023 03:14:36 b34b6277c81b: Layer already exists
13-Feb-2023 03:14:36 5f70bf18a086: Layer already exists
13-Feb-2023 03:14:36 63bbdb3574ed: Layer already exists
13-Feb-2023 03:14:36 d0a6a0df9123: Layer already exists
13-Feb-2023 03:14:36 118873527352: Layer already exists
13-Feb-2023 03:14:36 ab5b3452b7ed: Layer already exists
13-Feb-2023 03:14:36 3353ee3d6876: Layer already exists
13-Feb-2023 03:14:36 34f73756f7aa: Layer already exists
13-Feb-2023 03:14:36 93d6620f79bb: Layer already exists
13-Feb-2023 03:14:36 be417e78cadd: Layer already exists
13-Feb-2023 03:14:36 8c5ff259ef50: Layer already exists
13-Feb-2023 03:14:36 647dc4000019: Layer already exists
13-Feb-2023 03:14:36 qa: digest: sha256:13b323b5d72ea8751d1c7d3a10b3681a37826978d24c653328d8eb828d9f952c size: 4088
13-Feb-2023 03:14:36 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
13-Feb-2023 03:14:36 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
13-Feb-2023 03:14:37 Removing unused images if any
13-Feb-2023 03:14:37 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Feb-2023 03:14:37 Pulling openmrs-referenceapplication-mysql ...
13-Feb-2023 03:14:37 Pulling openmrs-referenceapplication       ...
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication-mysql ... done
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... already exists
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... pulling fs layer
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... waiting
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (100.0%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (0.5%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (0.7%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (16.2%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (1.1%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (20.2%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (32.9%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (39.7%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (47.6%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (60.5%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (63.8%)
13-Feb-2023 03:14:38 Pulling openmrs-referenceapplication       ... downloading (83.3%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... downloading (83.4%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (0.7%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... downloading (99.6%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... verifying checksum
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... download complete
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (20.1%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (38.9%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (63.1%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (85.3%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (0.5%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (15.7%)
13-Feb-2023 03:14:39 Pulling openmrs-referenceapplication       ... extracting (31.9%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (48.6%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (63.8%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (79.5%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (95.7%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (3.0%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... extracting (100.0%)
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... pull complete
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... digest: sha256:13b323b5d72ea8751d...
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
13-Feb-2023 03:14:40 Pulling openmrs-referenceapplication       ... done
13-Feb-2023 03:14:40 Recreating all images and volumes
13-Feb-2023 03:14:40 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Feb-2023 03:14:40 Stopping qa-refapp_openmrs-referenceapplication_1       ...
13-Feb-2023 03:14:40 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Feb-2023 03:14:41 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
13-Feb-2023 03:14:43 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Feb-2023 03:14:43 Removing qa-refapp_openmrs-referenceapplication_1       ...
13-Feb-2023 03:14:43 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Feb-2023 03:14:43 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Feb-2023 03:14:43 Removing qa-refapp_openmrs-referenceapplication_1       ... done
13-Feb-2023 03:14:43 Removing network qa-refapp_default
13-Feb-2023 03:14:44 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
13-Feb-2023 03:14:44 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
13-Feb-2023 03:14:44 Creating network "qa-refapp_default" with the default driver
13-Feb-2023 03:14:44 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
13-Feb-2023 03:14:44 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
13-Feb-2023 03:14:45 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
13-Feb-2023 03:14:45 Creating qa-refapp_openmrs-referenceapplication_1       ...
13-Feb-2023 03:14:45 Creating qa-refapp_openmrs-referenceapplication_1       ... done
13-Feb-2023 03:14:45 Verifying if docker containers ffdbb77d00ab7a22bd3fbc202317d4d326eec6a12bede3aa8e5db5646420a468
13-Feb-2023 03:14:45 38779a95a5c108161f3860161e8198fac0b834708bac6f620eff781f72093e8a are healthy
13-Feb-2023 03:14:46 Status found: "starting"
13-Feb-2023 03:14:46 Waiting 15s
13-Feb-2023 03:15:01 Verifying if docker containers ffdbb77d00ab7a22bd3fbc202317d4d326eec6a12bede3aa8e5db5646420a468
13-Feb-2023 03:15:01 38779a95a5c108161f3860161e8198fac0b834708bac6f620eff781f72093e8a are healthy
13-Feb-2023 03:15:01 Status found: "starting"
13-Feb-2023 03:15:01 Waiting 15s
13-Feb-2023 03:15:16 Verifying if docker containers ffdbb77d00ab7a22bd3fbc202317d4d326eec6a12bede3aa8e5db5646420a468
13-Feb-2023 03:15:16 38779a95a5c108161f3860161e8198fac0b834708bac6f620eff781f72093e8a are healthy
13-Feb-2023 03:15:16 Status found: "healthy"
13-Feb-2023 03:15:16 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
13-Feb-2023 03:15:16 Running post build plugin 'Docker Container Cleanup'
13-Feb-2023 03:15:16 Running post build plugin 'NCover Results Collector'
13-Feb-2023 03:15:16 Running post build plugin 'Build Results Label Collector'
13-Feb-2023 03:15:16 Running post build plugin 'Clover Results Collector'
13-Feb-2023 03:15:16 Running post build plugin 'npm Cache Cleanup'
13-Feb-2023 03:15:16 Running post build plugin 'Artifact Copier'
13-Feb-2023 03:15:16 Finalising the build...
13-Feb-2023 03:15:16 Stopping timer.
13-Feb-2023 03:15:16 Build REFAPP-OMODDISTRO-DTMTS-13469 completed.
13-Feb-2023 03:15:16 Running on server: post build plugin 'Build Hanging Detection Configuration'
13-Feb-2023 03:15:16 Running on server: post build plugin 'NCover Results Collector'
13-Feb-2023 03:15:16 Running on server: post build plugin 'Build Labeller'
13-Feb-2023 03:15:16 Running on server: post build plugin 'Clover Delta Calculator'
13-Feb-2023 03:15:16 Running on server: post build plugin 'Maven Dependencies Postprocessor'
13-Feb-2023 03:15:16 All post build plugins have finished
13-Feb-2023 03:15:16 Generating build results summary...
13-Feb-2023 03:15:16 Saving build results to disk...
13-Feb-2023 03:15:16 Store variable context...
13-Feb-2023 03:15:16 Finished building REFAPP-OMODDISTRO-DTMTS-13469.