Deploys Reference Application SNAPSHOT to maven

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

23-Jan-2023 00:13:19 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13408 (REFAPP-OMODDISTRO-DTMTS-13408) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4
23-Jan-2023 00:13:19 Remote agent on host yu.openmrs.org
23-Jan-2023 00:13:19 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Jan-2023 00:13:19 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13408 (REFAPP-OMODDISTRO-DTMTS-13408)
23-Jan-2023 00:13:19 Running pre-build action: Build Log Labeller Pre Build Action
23-Jan-2023 00:13:19 Running pre-build action: VCS Version Collector
23-Jan-2023 00:13:19 Running pre-build action: Run Predator
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2017 java        1476 bamboo-age 2965Mb  401Mb 00:11:53 /usr/lib/jvm/java-8-ope
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:03:22 /home/bamboo-agent/bamb
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:36 /sbin/init             
23-Jan-2023 00:13:19 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Initial free space: 3.7299309 GB
23-Jan-2023 00:13:19 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
23-Jan-2023 00:13:24 [PredatorPreBuildAction] Deleting 13 snapshot folders from /home/bamboo-agent/.m2/repository
23-Jan-2023 00:13:24 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-Jan-2023 00:13:24 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-Jan-2023 00:13:24 [PredatorPreBuildAction] Maven stable disk freed: 8.474253E-4 GB, deleted 35 files
23-Jan-2023 00:13:24 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-Jan-2023 00:13:24 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-Jan-2023 00:13:24 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
23-Jan-2023 00:13:24 [PredatorPreBuildAction] Final free space: 3.7615738 GB
23-Jan-2023 00:13:24 [PredatorPreBuildAction] Done
23-Jan-2023 00:13:24
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
23-Jan-2023 00:13:24
Substituting password variable: ${bamboo.dockerhub.password}
23-Jan-2023 00:13:24
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f
23-Jan-2023 00:13:24
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f
23-Jan-2023 00:13:24
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Jan-2023 00:13:24
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
23-Jan-2023 00:13:24 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-Jan-2023 00:13:24
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13408 (REFAPP-OMODDISTRO-DTMTS-13408)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13408-ScriptBuildTask-4323338786212674251.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
23-Jan-2023 00:13:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
23-Jan-2023 00:13:24 Login Succeeded
23-Jan-2023 00:13:24 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
23-Jan-2023 00:13:24 Configure a credential helper to remove this warning. See
23-Jan-2023 00:13:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
23-Jan-2023 00:13:24
23-Jan-2023 00:13:24 + docker pull openmrs/openmrs-reference-application@sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f
23-Jan-2023 00:13:25 docker.io/openmrs/openmrs-reference-application@sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f: Pulling from openmrs/openmrs-reference-application
23-Jan-2023 00:13:25 Digest: sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f
23-Jan-2023 00:13:25 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f
23-Jan-2023 00:13:25 docker.io/openmrs/openmrs-reference-application@sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f
23-Jan-2023 00:13:25 + docker tag openmrs/openmrs-reference-application@sha256:e2dbd71ce2180534e252502b1e3955ffcf33c92ad2670df987cb700073c8633f openmrs/openmrs-reference-application:qa
23-Jan-2023 00:13:25 + docker push openmrs/openmrs-reference-application:qa
23-Jan-2023 00:13:25 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
23-Jan-2023 00:13:25 99bdab0a2fdd: Preparing
23-Jan-2023 00:13:25 012aec9698e6: Preparing
23-Jan-2023 00:13:25 ed869efa9d87: Preparing
23-Jan-2023 00:13:25 26b2fe6280f2: Preparing
23-Jan-2023 00:13:25 e61322449ad0: Preparing
23-Jan-2023 00:13:25 6fdd21bc4a9b: Preparing
23-Jan-2023 00:13:25 5f70bf18a086: Preparing
23-Jan-2023 00:13:25 b7243530d918: Preparing
23-Jan-2023 00:13:25 23323df4fbd9: Preparing
23-Jan-2023 00:13:25 725ecc0c9d62: Preparing
23-Jan-2023 00:13:25 6c1f45cb6682: Preparing
23-Jan-2023 00:13:25 b8aa9430b356: Preparing
23-Jan-2023 00:13:25 b46e16032f56: Preparing
23-Jan-2023 00:13:25 91ac82815b04: Preparing
23-Jan-2023 00:13:25 24fcda5a8b17: Preparing
23-Jan-2023 00:13:25 a4a7e924299e: Preparing
23-Jan-2023 00:13:25 059c2d42be74: Preparing
23-Jan-2023 00:13:25 3f800aca2a44: Preparing
23-Jan-2023 00:13:25 6fdd21bc4a9b: Waiting
23-Jan-2023 00:13:25 5f70bf18a086: Waiting
23-Jan-2023 00:13:25 b7243530d918: Waiting
23-Jan-2023 00:13:25 23323df4fbd9: Waiting
23-Jan-2023 00:13:25 725ecc0c9d62: Waiting
23-Jan-2023 00:13:25 6c1f45cb6682: Waiting
23-Jan-2023 00:13:25 b8aa9430b356: Waiting
23-Jan-2023 00:13:25 b46e16032f56: Waiting
23-Jan-2023 00:13:25 91ac82815b04: Waiting
23-Jan-2023 00:13:25 24fcda5a8b17: Waiting
23-Jan-2023 00:13:25 a4a7e924299e: Waiting
23-Jan-2023 00:13:25 059c2d42be74: Waiting
23-Jan-2023 00:13:25 3f800aca2a44: Waiting
23-Jan-2023 00:13:25 e61322449ad0: Layer already exists
23-Jan-2023 00:13:25 012aec9698e6: Layer already exists
23-Jan-2023 00:13:25 99bdab0a2fdd: Layer already exists
23-Jan-2023 00:13:25 26b2fe6280f2: Layer already exists
23-Jan-2023 00:13:25 ed869efa9d87: Layer already exists
23-Jan-2023 00:13:25 6fdd21bc4a9b: Layer already exists
23-Jan-2023 00:13:25 5f70bf18a086: Layer already exists
23-Jan-2023 00:13:25 23323df4fbd9: Layer already exists
23-Jan-2023 00:13:25 b7243530d918: Layer already exists
23-Jan-2023 00:13:25 725ecc0c9d62: Layer already exists
23-Jan-2023 00:13:25 6c1f45cb6682: Layer already exists
23-Jan-2023 00:13:25 b8aa9430b356: Layer already exists
23-Jan-2023 00:13:25 91ac82815b04: Layer already exists
23-Jan-2023 00:13:25 b46e16032f56: Layer already exists
23-Jan-2023 00:13:25 24fcda5a8b17: Layer already exists
23-Jan-2023 00:13:25 a4a7e924299e: Layer already exists
23-Jan-2023 00:13:25 059c2d42be74: Layer already exists
23-Jan-2023 00:13:25 3f800aca2a44: Layer already exists
23-Jan-2023 00:13:26 qa: digest: sha256:8ace0981d04d74ab4ba2df776071285dd644c227c11d2d7d620d8468735c147f size: 4088
23-Jan-2023 00:13:26 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
23-Jan-2023 00:13:26 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
23-Jan-2023 00:13:27 Removing unused images if any
23-Jan-2023 00:13:27 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 00:13:27 Pulling openmrs-referenceapplication-mysql ...
23-Jan-2023 00:13:27 Pulling openmrs-referenceapplication       ...
23-Jan-2023 00:13:27 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
23-Jan-2023 00:13:27 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
23-Jan-2023 00:13:27 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
23-Jan-2023 00:13:27 Pulling openmrs-referenceapplication-mysql ... done
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... already exists
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... pulling fs layer
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... waiting
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (0.7%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (0.5%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (17.5%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (12.2%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (1.1%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (100.0%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (34.9%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (23.9%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (51.7%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (36.6%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (69.8%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (48.9%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (87.3%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (61.2%)
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 00:13:28 Pulling openmrs-referenceapplication       ... downloading (72.9%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (0.7%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... downloading (84.6%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (16.0%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... downloading (95.9%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... verifying checksum
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... download complete
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (39.6%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (62.5%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (84.0%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (0.5%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (19.2%)
23-Jan-2023 00:13:29 Pulling openmrs-referenceapplication       ... extracting (40.0%)
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (58.8%)
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (73.4%)
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (89.2%)
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (3.0%)
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... extracting (100.0%)
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... pull complete
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... digest: sha256:8ace0981d04d74ab4b...
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
23-Jan-2023 00:13:30 Pulling openmrs-referenceapplication       ... done
23-Jan-2023 00:13:30 Recreating all images and volumes
23-Jan-2023 00:13:30 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 00:13:30 Stopping qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 00:13:30 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 00:13:31 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 00:13:33 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 00:13:33 Removing qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 00:13:33 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 00:13:33 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 00:13:34 Removing qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 00:13:34 Removing network qa-refapp_default
23-Jan-2023 00:13:34 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
23-Jan-2023 00:13:34 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
23-Jan-2023 00:13:34 Creating network "qa-refapp_default" with the default driver
23-Jan-2023 00:13:34 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
23-Jan-2023 00:13:34 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
23-Jan-2023 00:13:35 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
23-Jan-2023 00:13:35 Creating qa-refapp_openmrs-referenceapplication_1       ...
23-Jan-2023 00:13:36 Creating qa-refapp_openmrs-referenceapplication_1       ... done
23-Jan-2023 00:13:36 Verifying if docker containers b74226dffd33adcae7c6a4a8cfe2a508bfc30ac809d7e077042993220d43ebbe
23-Jan-2023 00:13:36 39c7f36d3e6df26813990f3a3eb6f324fa69e1287ec4164da75e854b6f093047 are healthy
23-Jan-2023 00:13:36 Status found: "starting"
23-Jan-2023 00:13:36 Waiting 15s
23-Jan-2023 00:13:51 Verifying if docker containers b74226dffd33adcae7c6a4a8cfe2a508bfc30ac809d7e077042993220d43ebbe
23-Jan-2023 00:13:51 39c7f36d3e6df26813990f3a3eb6f324fa69e1287ec4164da75e854b6f093047 are healthy
23-Jan-2023 00:13:51 Status found: "starting"
23-Jan-2023 00:13:51 Waiting 15s
23-Jan-2023 00:14:06 Verifying if docker containers b74226dffd33adcae7c6a4a8cfe2a508bfc30ac809d7e077042993220d43ebbe
23-Jan-2023 00:14:06 39c7f36d3e6df26813990f3a3eb6f324fa69e1287ec4164da75e854b6f093047 are healthy
23-Jan-2023 00:14:06 Status found: "healthy"
23-Jan-2023 00:14:06 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
23-Jan-2023 00:14:06 Running post build plugin 'Docker Container Cleanup'
23-Jan-2023 00:14:06 Running post build plugin 'NCover Results Collector'
23-Jan-2023 00:14:06 Running post build plugin 'Build Results Label Collector'
23-Jan-2023 00:14:06 Running post build plugin 'Clover Results Collector'
23-Jan-2023 00:14:06 Running post build plugin 'npm Cache Cleanup'
23-Jan-2023 00:14:06 Running post build plugin 'Artifact Copier'
23-Jan-2023 00:14:06 Finalising the build...
23-Jan-2023 00:14:06 Stopping timer.
23-Jan-2023 00:14:06 Build REFAPP-OMODDISTRO-DTMTS-13408 completed.
23-Jan-2023 00:14:06 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-Jan-2023 00:14:06 Running on server: post build plugin 'NCover Results Collector'
23-Jan-2023 00:14:06 Running on server: post build plugin 'Build Labeller'
23-Jan-2023 00:14:06 Running on server: post build plugin 'Clover Delta Calculator'
23-Jan-2023 00:14:06 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-Jan-2023 00:14:06 All post build plugins have finished
23-Jan-2023 00:14:06 Generating build results summary...
23-Jan-2023 00:14:06 Saving build results to disk...
23-Jan-2023 00:14:06 Store variable context...
23-Jan-2023 00:14:06 Finished building REFAPP-OMODDISTRO-DTMTS-13408.