Deploys Reference Application SNAPSHOT to maven

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

20-Feb-2023 00:12:46 Build Reference Application - Distribution 2.x - Deploy to qa-refapp #13488 (REFAPP-OMODDISTRO-DTMTS-13488) started building on agent xindi.openmrs.org (2), bamboo version: 8.2.4
20-Feb-2023 00:12:46 Remote agent on host xindi.openmrs.org
20-Feb-2023 00:12:46 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 00:12:46 Executing build Reference Application - Distribution 2.x - Deploy to qa-refapp #13488 (REFAPP-OMODDISTRO-DTMTS-13488)
20-Feb-2023 00:12:46 Running pre-build action: Build Log Labeller Pre Build Action
20-Feb-2023 00:12:46 Running pre-build action: VCS Version Collector
20-Feb-2023 00:12:46 Running pre-build action: Run Predator
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]'
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  2027 java        1489 bamboo-age 2976Mb  452Mb 00:15:03 /usr/lib/jvm/java-8-ope
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  1489 wrapper        1 bamboo-age   16Mb    3Mb 00:03:49 /home/bamboo-agent/bamb
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        164Mb   11Mb 00:01:01 /sbin/init             
20-Feb-2023 00:12:46 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm)
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Initial free space: 1.9571304 GB
20-Feb-2023 00:12:46 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DNDI
20-Feb-2023 00:12:51 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository
20-Feb-2023 00:12:51 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
20-Feb-2023 00:12:52 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
20-Feb-2023 00:12:52 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
20-Feb-2023 00:12:52 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
20-Feb-2023 00:12:52 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
20-Feb-2023 00:12:52 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist.
20-Feb-2023 00:12:52 [PredatorPreBuildAction] Final free space: 1.9887657 GB
20-Feb-2023 00:12:52 [PredatorPreBuildAction] Done
20-Feb-2023 00:12:52
Substituting variable: ${bamboo.dockerhub.username} with openmrsci
20-Feb-2023 00:12:52
Substituting password variable: ${bamboo.dockerhub.password}
20-Feb-2023 00:12:52
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94
20-Feb-2023 00:12:52
Substituting variable: ${bamboo.docker.image.id} with openmrs/openmrs-reference-application@sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94
20-Feb-2023 00:12:52
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 00:12:52
Substituting variable: ${bamboo.docker.image.name} with openmrs/openmrs-reference-application
20-Feb-2023 00:12:52 Starting task 'Redeploy qa-refapp (dockerhub image)' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
20-Feb-2023 00:12:52
Beginning to execute external process for build 'Reference Application - Distribution 2.x - Deploy to qa-refapp #13488 (REFAPP-OMODDISTRO-DTMTS-13488)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/REFAPP-OMODDISTRO-DTMTS-13488-ScriptBuildTask-1073080371395583870.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/REFAPP-OMODDISTRO-DTMTS
20-Feb-2023 00:12:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin.
20-Feb-2023 00:12:52 WARNING! Your password will be stored unencrypted in /home/bamboo-agent/.docker/config.json.
20-Feb-2023 00:12:52 Configure a credential helper to remove this warning. See
20-Feb-2023 00:12:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store
20-Feb-2023 00:12:52
20-Feb-2023 00:12:52 Login Succeeded
20-Feb-2023 00:12:52 + docker pull openmrs/openmrs-reference-application@sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94
20-Feb-2023 00:12:52 docker.io/openmrs/openmrs-reference-application@sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94: Pulling from openmrs/openmrs-reference-application
20-Feb-2023 00:12:52 Digest: sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94
20-Feb-2023 00:12:52 Status: Image is up to date for openmrs/openmrs-reference-application@sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94
20-Feb-2023 00:12:52 docker.io/openmrs/openmrs-reference-application@sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94
20-Feb-2023 00:12:52 + docker tag openmrs/openmrs-reference-application@sha256:e3fa000f74d2042799dca3b3ce17893f8098129352880e4728a109c0f6ff0b94 openmrs/openmrs-reference-application:qa
20-Feb-2023 00:12:52 + docker push openmrs/openmrs-reference-application:qa
20-Feb-2023 00:12:52 The push refers to repository [docker.io/openmrs/openmrs-reference-application]
20-Feb-2023 00:12:52 dc2b72eaede4: Preparing
20-Feb-2023 00:12:52 5ef111823c51: Preparing
20-Feb-2023 00:12:52 e784cd4fb1dc: Preparing
20-Feb-2023 00:12:52 3d7d89933b1f: Preparing
20-Feb-2023 00:12:52 e4a92042edbd: Preparing
20-Feb-2023 00:12:52 60de0bbda0ed: Preparing
20-Feb-2023 00:12:52 5f70bf18a086: Preparing
20-Feb-2023 00:12:52 b34b6277c81b: Preparing
20-Feb-2023 00:12:52 d0a6a0df9123: Preparing
20-Feb-2023 00:12:52 63bbdb3574ed: Preparing
20-Feb-2023 00:12:52 118873527352: Preparing
20-Feb-2023 00:12:52 3353ee3d6876: Preparing
20-Feb-2023 00:12:52 ab5b3452b7ed: Preparing
20-Feb-2023 00:12:52 34f73756f7aa: Preparing
20-Feb-2023 00:12:52 93d6620f79bb: Preparing
20-Feb-2023 00:12:52 be417e78cadd: Preparing
20-Feb-2023 00:12:52 647dc4000019: Preparing
20-Feb-2023 00:12:52 8c5ff259ef50: Preparing
20-Feb-2023 00:12:52 60de0bbda0ed: Waiting
20-Feb-2023 00:12:52 5f70bf18a086: Waiting
20-Feb-2023 00:12:52 b34b6277c81b: Waiting
20-Feb-2023 00:12:52 d0a6a0df9123: Waiting
20-Feb-2023 00:12:52 63bbdb3574ed: Waiting
20-Feb-2023 00:12:52 118873527352: Waiting
20-Feb-2023 00:12:52 be417e78cadd: Waiting
20-Feb-2023 00:12:52 3353ee3d6876: Waiting
20-Feb-2023 00:12:52 647dc4000019: Waiting
20-Feb-2023 00:12:52 ab5b3452b7ed: Waiting
20-Feb-2023 00:12:52 8c5ff259ef50: Waiting
20-Feb-2023 00:12:52 93d6620f79bb: Waiting
20-Feb-2023 00:12:53 e4a92042edbd: Layer already exists
20-Feb-2023 00:12:53 3d7d89933b1f: Layer already exists
20-Feb-2023 00:12:53 e784cd4fb1dc: Layer already exists
20-Feb-2023 00:12:53 5ef111823c51: Layer already exists
20-Feb-2023 00:12:53 dc2b72eaede4: Layer already exists
20-Feb-2023 00:12:53 60de0bbda0ed: Layer already exists
20-Feb-2023 00:12:53 5f70bf18a086: Layer already exists
20-Feb-2023 00:12:53 b34b6277c81b: Layer already exists
20-Feb-2023 00:12:53 63bbdb3574ed: Layer already exists
20-Feb-2023 00:12:53 d0a6a0df9123: Layer already exists
20-Feb-2023 00:12:53 118873527352: Layer already exists
20-Feb-2023 00:12:53 3353ee3d6876: Layer already exists
20-Feb-2023 00:12:53 ab5b3452b7ed: Layer already exists
20-Feb-2023 00:12:53 93d6620f79bb: Layer already exists
20-Feb-2023 00:12:53 34f73756f7aa: Layer already exists
20-Feb-2023 00:12:53 be417e78cadd: Layer already exists
20-Feb-2023 00:12:53 647dc4000019: Layer already exists
20-Feb-2023 00:12:53 8c5ff259ef50: Layer already exists
20-Feb-2023 00:12:53 qa: digest: sha256:f51e9afb22704c19540635f79d52828ff62cbf342c67178a5fe6287facb6a587 size: 4088
20-Feb-2023 00:12:53 + ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null bamboo@qa-refapp.openmrs.org sudo deploy-compose qa-refapp
20-Feb-2023 00:12:53 Warning: Permanently added 'qa-refapp.openmrs.org' (ED25519) to the list of known hosts.
20-Feb-2023 00:12:54 Removing unused images if any
20-Feb-2023 00:12:55 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication-mysql ...
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ...
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication-mysql ... pulling from library/mysql
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication-mysql ... digest: sha256:20575ecebe6216036d...
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication-mysql ... status: image is up to date for m...
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication-mysql ... done
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... pulling from openmrs/openmrs-refe...
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:55 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... already exists
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... pulling fs layer
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... waiting
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (100.0%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (0.5%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (0.7%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (1.1%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (15.2%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (19.4%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (29.4%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (36.9%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (43.6%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (58.3%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (57.4%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (73.1%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (71.1%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (91.2%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (83.8%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... extracting (0.7%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... downloading (99.5%)
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... verifying checksum
20-Feb-2023 00:12:56 Pulling openmrs-referenceapplication       ... download complete
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (23.6%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (44.4%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (63.1%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (83.3%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (0.5%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (15.7%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (30.4%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (48.6%)
20-Feb-2023 00:12:57 Pulling openmrs-referenceapplication       ... extracting (67.4%)
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... extracting (85.6%)
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... extracting (99.8%)
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... extracting (3.0%)
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... extracting (100.0%)
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... pull complete
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... digest: sha256:f51e9afb22704c1954...
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... status: downloaded newer image fo...
20-Feb-2023 00:12:58 Pulling openmrs-referenceapplication       ... done
20-Feb-2023 00:12:58 Recreating all images and volumes
20-Feb-2023 00:12:58 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 00:12:58 Stopping qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 00:12:58 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 00:12:59 Stopping qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 00:13:01 Stopping qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 00:13:01 Removing qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 00:13:01 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 00:13:01 Removing qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 00:13:02 Removing qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 00:13:02 Removing network qa-refapp_default
20-Feb-2023 00:13:03 Removing volume qa-refapp_openmrs-referenceapplication-mysql-data
20-Feb-2023 00:13:03 The OPENMRS_DB_URL variable is not set. Defaulting to a blank string.
20-Feb-2023 00:13:03 Creating network "qa-refapp_default" with the default driver
20-Feb-2023 00:13:03 Creating volume "qa-refapp_openmrs-referenceapplication-mysql-data" with default driver
20-Feb-2023 00:13:03 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ...
20-Feb-2023 00:13:04 Creating qa-refapp_openmrs-referenceapplication-mysql_1 ... done
20-Feb-2023 00:13:04 Creating qa-refapp_openmrs-referenceapplication_1       ...
20-Feb-2023 00:13:04 Creating qa-refapp_openmrs-referenceapplication_1       ... done
20-Feb-2023 00:13:05 Verifying if docker containers 3ddf08b77dfc590013b337a8f1854dce475a7a1138342ec4fc0fd90b455875ef
20-Feb-2023 00:13:05 6e45676e68b76edd1ae9124977f6e5ad0b79633bbb3f7a79764f2dd2e25fcdb5 are healthy
20-Feb-2023 00:13:05 Status found: "starting"
20-Feb-2023 00:13:05 Waiting 15s
20-Feb-2023 00:13:20 Verifying if docker containers 3ddf08b77dfc590013b337a8f1854dce475a7a1138342ec4fc0fd90b455875ef
20-Feb-2023 00:13:20 6e45676e68b76edd1ae9124977f6e5ad0b79633bbb3f7a79764f2dd2e25fcdb5 are healthy
20-Feb-2023 00:13:20 Status found: "starting"
20-Feb-2023 00:13:20 Waiting 15s
20-Feb-2023 00:13:35 Verifying if docker containers 3ddf08b77dfc590013b337a8f1854dce475a7a1138342ec4fc0fd90b455875ef
20-Feb-2023 00:13:35 6e45676e68b76edd1ae9124977f6e5ad0b79633bbb3f7a79764f2dd2e25fcdb5 are healthy
20-Feb-2023 00:13:35 Status found: "healthy"
20-Feb-2023 00:13:35 Finished task 'Redeploy qa-refapp (dockerhub image)' with result: Success
20-Feb-2023 00:13:35 Running post build plugin 'Docker Container Cleanup'
20-Feb-2023 00:13:35 Running post build plugin 'NCover Results Collector'
20-Feb-2023 00:13:35 Running post build plugin 'Build Results Label Collector'
20-Feb-2023 00:13:35 Running post build plugin 'Clover Results Collector'
20-Feb-2023 00:13:35 Running post build plugin 'npm Cache Cleanup'
20-Feb-2023 00:13:35 Running post build plugin 'Artifact Copier'
20-Feb-2023 00:13:35 Finalising the build...
20-Feb-2023 00:13:35 Stopping timer.
20-Feb-2023 00:13:35 Build REFAPP-OMODDISTRO-DTMTS-13488 completed.
20-Feb-2023 00:13:35 Running on server: post build plugin 'Build Hanging Detection Configuration'
20-Feb-2023 00:13:35 Running on server: post build plugin 'NCover Results Collector'
20-Feb-2023 00:13:35 Running on server: post build plugin 'Build Labeller'
20-Feb-2023 00:13:35 Running on server: post build plugin 'Clover Delta Calculator'
20-Feb-2023 00:13:35 Running on server: post build plugin 'Maven Dependencies Postprocessor'
20-Feb-2023 00:13:35 All post build plugins have finished
20-Feb-2023 00:13:35 Generating build results summary...
20-Feb-2023 00:13:35 Saving build results to disk...
20-Feb-2023 00:13:35 Store variable context...
20-Feb-2023 00:13:35 Finished building REFAPP-OMODDISTRO-DTMTS-13488.