Deploys Reference Application SNAPSHOT to maven

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

11-Feb-2023 21:13:43 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13464 (REFAPP-OMODDISTRO-DTMTS-13464) started building on agent xiao.openmrs.org (2), bamboo version: 8.2.4
11-Feb-2023 21:13:43 Remote agent on host xiao.openmrs.org
11-Feb-2023 21:13:43 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Feb-2023 21:13:43 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13464 (REFAPP-OMODDISTRO-DTMTS-13464)
11-Feb-2023 21:13:43 Running pre-build action: Build Log Labeller Pre Build Action
11-Feb-2023 21:13:43 Running pre-build action: VCS Version Collector
11-Feb-2023 21:13:43 Running pre-build action: Run Predator
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 39819 java        1476 bamboo-age 2980Mb  527Mb 00:21:34 /usr/lib/jvm/java-8-ope
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1476 wrapper        1 bamboo-age   16Mb    2Mb 00:12:33 /home/bamboo-agent/bamb
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:02:30 /sbin/init             
11-Feb-2023 21:13:43 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Initial free space: 2.0220375 GB
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
11-Feb-2023 21:13:43 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
11-Feb-2023 21:13:43 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
11-Feb-2023 21:13:44 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
11-Feb-2023 21:13:44 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
11-Feb-2023 21:13:44 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
11-Feb-2023 21:13:44 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
11-Feb-2023 21:13:44 [PredatorPreBuildAction] Final free space: 2.0536842 GB
11-Feb-2023 21:13:44 [PredatorPreBuildAction] Done
11-Feb-2023 21:13:44
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
11-Feb-2023 21:13:44
Substituting password variable: ${bamboo.dockerhub.password}
11-Feb-2023 21:13:44
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937
11-Feb-2023 21:13:44
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937
11-Feb-2023 21:13:44
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Feb-2023 21:13:44
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
11-Feb-2023 21:13:44 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
11-Feb-2023 21:13:44
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13464 (REFAPP-OMODDISTRO-DTMTS-13464)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13464-ScriptBuildTask-4102684072519835248.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
11-Feb-2023 21:13:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
11-Feb-2023 21:13:44 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
11-Feb-2023 21:13:44 Configure a credential helper to remove this warning. See
11-Feb-2023 21:13:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
11-Feb-2023 21:13:44
11-Feb-2023 21:13:44 Login Succeeded
11-Feb-2023 21:13:44 + docker pull openmrs/openmrs-reference-application@sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937
11-Feb-2023 21:13:44 docker.io/openmrs/openmrs-reference-application@sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937: Pulling from openmrs/openmrs-reference-application
11-Feb-2023 21:13:44 Digest: sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937
11-Feb-2023 21:13:44 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937
11-Feb-2023 21:13:44 docker.io/openmrs/openmrs-reference-application@sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937
11-Feb-2023 21:13:44 + docker tag openmrs/openmrs-reference-application@sha256:7e5e17160fa6329994f5c8b9f58d2c16230baa59dc44955d696c35a1d981c937 openmrs/openmrs-reference-application:qa
11-Feb-2023 21:13:44 + docker push openmrs/openmrs-reference-application:qa
11-Feb-2023 21:13:44 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
11-Feb-2023 21:13:44 d9bf885cb34a: Preparing
11-Feb-2023 21:13:44 f57d8f01379a: Preparing
11-Feb-2023 21:13:44 57fcf78c4a2f: Preparing
11-Feb-2023 21:13:44 951b80e17163: Preparing
11-Feb-2023 21:13:44 0889049fe275: Preparing
11-Feb-2023 21:13:44 60de0bbda0ed: Preparing
11-Feb-2023 21:13:44 5f70bf18a086: Preparing
11-Feb-2023 21:13:44 b34b6277c81b: Preparing
11-Feb-2023 21:13:44 d0a6a0df9123: Preparing
11-Feb-2023 21:13:44 63bbdb3574ed: Preparing
11-Feb-2023 21:13:44 118873527352: Preparing
11-Feb-2023 21:13:44 3353ee3d6876: Preparing
11-Feb-2023 21:13:44 ab5b3452b7ed: Preparing
11-Feb-2023 21:13:44 34f73756f7aa: Preparing
11-Feb-2023 21:13:44 93d6620f79bb: Preparing
11-Feb-2023 21:13:44 be417e78cadd: Preparing
11-Feb-2023 21:13:44 647dc4000019: Preparing
11-Feb-2023 21:13:44 8c5ff259ef50: Preparing
11-Feb-2023 21:13:44 60de0bbda0ed: Waiting
11-Feb-2023 21:13:44 5f70bf18a086: Waiting
11-Feb-2023 21:13:44 b34b6277c81b: Waiting
11-Feb-2023 21:13:44 d0a6a0df9123: Waiting
11-Feb-2023 21:13:44 63bbdb3574ed: Waiting
11-Feb-2023 21:13:44 118873527352: Waiting
11-Feb-2023 21:13:44 3353ee3d6876: Waiting
11-Feb-2023 21:13:44 ab5b3452b7ed: Waiting
11-Feb-2023 21:13:44 34f73756f7aa: Waiting
11-Feb-2023 21:13:44 93d6620f79bb: Waiting
11-Feb-2023 21:13:44 be417e78cadd: Waiting
11-Feb-2023 21:13:44 647dc4000019: Waiting
11-Feb-2023 21:13:44 8c5ff259ef50: Waiting
11-Feb-2023 21:13:44 0889049fe275: Layer already exists
11-Feb-2023 21:13:45 951b80e17163: Layer already exists
11-Feb-2023 21:13:45 57fcf78c4a2f: Layer already exists
11-Feb-2023 21:13:45 f57d8f01379a: Layer already exists
11-Feb-2023 21:13:45 d9bf885cb34a: Layer already exists
11-Feb-2023 21:13:45 60de0bbda0ed: Layer already exists
11-Feb-2023 21:13:45 5f70bf18a086: Layer already exists
11-Feb-2023 21:13:45 b34b6277c81b: Layer already exists
11-Feb-2023 21:13:45 d0a6a0df9123: Layer already exists
11-Feb-2023 21:13:45 63bbdb3574ed: Layer already exists
11-Feb-2023 21:13:45 118873527352: Layer already exists
11-Feb-2023 21:13:45 3353ee3d6876: Layer already exists
11-Feb-2023 21:13:45 ab5b3452b7ed: Layer already exists
11-Feb-2023 21:13:45 93d6620f79bb: Layer already exists
11-Feb-2023 21:13:45 34f73756f7aa: Layer already exists
11-Feb-2023 21:13:45 647dc4000019: Layer already exists
11-Feb-2023 21:13:45 8c5ff259ef50: Layer already exists
11-Feb-2023 21:13:45 be417e78cadd: Layer already exists
11-Feb-2023 21:13:45 qa: digest: sha256:5b1abd70b01babe27f589ddb2cf5d556125a977b9df16f5d59b8035813eba481 size: 4088
11-Feb-2023 21:13:45 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
11-Feb-2023 21:13:45 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
11-Feb-2023 21:13:46 Removing unused images if any
11-Feb-2023 21:13:46 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Feb-2023 21:13:46 Pulling openmrs-referenceapplication-mysql ...
11-Feb-2023 21:13:46 Pulling openmrs-referenceapplication       ...
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication-mysql ... done
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... already exists
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... pulling fs layer
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... waiting
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (100.0%)
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... verifying checksum
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... download complete
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (0.7%)
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (0.5%)
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (1.1%)
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (20.8%)
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (16.7%)
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... verifying checksum
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... download complete
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (40.3%)
11-Feb-2023 21:13:47 Pulling openmrs-referenceapplication       ... downloading (32.4%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (61.2%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (47.1%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (79.3%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (60.3%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (96.7%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (72.6%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... download complete
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (84.9%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (0.7%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... downloading (96.6%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... verifying checksum
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... download complete
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (24.3%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (48.6%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (70.8%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (96.4%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 21:13:48 Pulling openmrs-referenceapplication       ... extracting (0.5%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (16.7%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (35.5%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (54.2%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (70.4%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (87.6%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (3.0%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... extracting (100.0%)
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... pull complete
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... digest: sha256:5b1abd70b01babe27f...
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
11-Feb-2023 21:13:49 Pulling openmrs-referenceapplication       ... done
11-Feb-2023 21:13:49 Recreating all images and volumes
11-Feb-2023 21:13:49 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Feb-2023 21:13:50 Stopping qa-refapp_openmrs-referenceapplication_1       ...
11-Feb-2023 21:13:50 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Feb-2023 21:13:50 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
11-Feb-2023 21:13:52 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Feb-2023 21:13:52 Removing qa-refapp_openmrs-referenceapplication_1       ...
11-Feb-2023 21:13:52 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Feb-2023 21:13:52 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Feb-2023 21:13:54 Removing qa-refapp_openmrs-referenceapplication_1       ... done
11-Feb-2023 21:13:54 Removing network qa-refapp_default
11-Feb-2023 21:13:54 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
11-Feb-2023 21:13:54 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
11-Feb-2023 21:13:54 Creating network "qa-refapp_default" with the default driver
11-Feb-2023 21:13:54 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
11-Feb-2023 21:13:54 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
11-Feb-2023 21:13:55 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
11-Feb-2023 21:13:55 Creating qa-refapp_openmrs-referenceapplication_1       ...
11-Feb-2023 21:13:56 Creating qa-refapp_openmrs-referenceapplication_1       ... done
11-Feb-2023 21:13:56 Verifying if docker containers 63744604fd5446c1e41afb5412998230a7340b6cfb44661671e3760ad61cbe29
11-Feb-2023 21:13:56 cdf562cb77219bd87e8d5411ab034bfd834a14305070a3529a81c556635acfdf are healthy
11-Feb-2023 21:13:56 Status found: "starting"
11-Feb-2023 21:13:56 Waiting 15s
11-Feb-2023 21:14:11 Verifying if docker containers 63744604fd5446c1e41afb5412998230a7340b6cfb44661671e3760ad61cbe29
11-Feb-2023 21:14:11 cdf562cb77219bd87e8d5411ab034bfd834a14305070a3529a81c556635acfdf are healthy
11-Feb-2023 21:14:11 Status found: "starting"
11-Feb-2023 21:14:11 Waiting 15s
11-Feb-2023 21:14:26 Verifying if docker containers 63744604fd5446c1e41afb5412998230a7340b6cfb44661671e3760ad61cbe29
11-Feb-2023 21:14:26 cdf562cb77219bd87e8d5411ab034bfd834a14305070a3529a81c556635acfdf are healthy
11-Feb-2023 21:14:26 Status found: "healthy"
11-Feb-2023 21:14:26 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
11-Feb-2023 21:14:26 Running post build plugin 'Docker Container Cleanup'
11-Feb-2023 21:14:26 Running post build plugin 'NCover Results Collector'
11-Feb-2023 21:14:26 Running post build plugin 'Build Results Label Collector'
11-Feb-2023 21:14:26 Running post build plugin 'Clover Results Collector'
11-Feb-2023 21:14:26 Running post build plugin 'npm Cache Cleanup'
11-Feb-2023 21:14:26 Running post build plugin 'Artifact Copier'
11-Feb-2023 21:14:26 Finalising the build...
11-Feb-2023 21:14:26 Stopping timer.
11-Feb-2023 21:14:26 Build REFAPP-OMODDISTRO-DTMTS-13464 completed.
11-Feb-2023 21:14:26 Running on server: post build plugin 'Build Hanging Detection Configuration'
11-Feb-2023 21:14:26 Running on server: post build plugin 'NCover Results Collector'
11-Feb-2023 21:14:26 Running on server: post build plugin 'Build Labeller'
11-Feb-2023 21:14:26 Running on server: post build plugin 'Clover Delta Calculator'
11-Feb-2023 21:14:26 Running on server: post build plugin 'Maven Dependencies Postprocessor'
11-Feb-2023 21:14:26 All post build plugins have finished
11-Feb-2023 21:14:26 Generating build results summary...
11-Feb-2023 21:14:26 Saving build results to disk...
11-Feb-2023 21:14:26 Store variable context...
11-Feb-2023 21:14:26 Finished building REFAPP-OMODDISTRO-DTMTS-13464.