Build: #7 was successful

Job: Deploy to production was successful

Stages & jobs

  1. Default Stage

  2. Deploy to production

    Requires a user to start manually

Build log

The build generated 92 lines of output. Download or view full build log

23-May-2018 22:29:20 Build ITSM - Implementation ID - Deploy to production #7 (II-II-DTP-7) started building on agent yue.openmrs.org
23-May-2018 22:29:20 Remote agent on host yue.openmrs.org
23-May-2018 22:29:21 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-II-DTP
23-May-2018 22:29:21 Executing build ITSM - Implementation ID - Deploy to production #7 (II-II-DTP-7)
23-May-2018 22:29:21 Running pre-build action: VCS Version Collector
23-May-2018 22:29:21 Running pre-build action: Sauce OnDemand Build Configurator
23-May-2018 22:29:21 Running pre-build action: Hung Build Killer PreBuildAction
23-May-2018 22:29:21 Running pre-build action: Run Predator
23-May-2018 22:29:21 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner
23-May-2018 22:29:21 [PredatorPreBuildAction] Running these commands: docker system prune -af; docker kill $(docker ps -q); docker rm -f $(docker ps -qa)
23-May-2018 22:29:21 [PredatorPreBuildAction] Running command 'docker system prune -af'
23-May-2018 22:29:21 [PredatorPreBuildAction] Command 'docker system prune -af' completed with exit code 0
23-May-2018 22:29:21 [PredatorPreBuildAction] Running command 'docker kill $(docker ps -q)'
23-May-2018 22:29:21 [PredatorPreBuildAction] Command 'docker kill $(docker ps -q)' completed with exit code 125
23-May-2018 22:29:21 [PredatorPreBuildAction] Running command 'docker rm -f $(docker ps -qa)'
23-May-2018 22:29:21 [PredatorPreBuildAction] Command 'docker rm -f $(docker ps -qa)' completed with exit code 125
23-May-2018 22:29:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  8852 java        8850 bamboo-age 3055Mb  413Mb 00:42:03 /usr/lib/jvm/java-8-ope
23-May-2018 22:29:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):  8850 wrapper        1 bamboo-age   17Mb    1Mb 00:07:53 /home/bamboo-agent/bamb
23-May-2018 22:29:21 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent):     1 systemd        0 root        117Mb    5Mb 00:00:15 /sbin/init             
23-May-2018 22:29:21 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java |mvn )
23-May-2018 22:29:21 [PredatorPreBuildAction] Initial free space: 6.4071693 GB
23-May-2018 22:29:21 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-II-JOB1
23-May-2018 22:29:21 [PredatorPreBuildAction] Deleting 0 snapshot folders from /home/bamboo-agent/.m2/repository
23-May-2018 22:29:21 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB
23-May-2018 22:29:21 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator
23-May-2018 22:29:22 [PredatorPreBuildAction] Maven stable disk freed: 0.0 GB, deleted 0 files
23-May-2018 22:29:22 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist.
23-May-2018 22:29:22 [PredatorPreBuildAction] Deleting file /home/bamboo-agent/.docker/config.json
23-May-2018 22:29:22 [PredatorPreBuildAction] Final free space: 6.4073677 GB
23-May-2018 22:29:22 [PredatorPreBuildAction] Done
23-May-2018 22:29:22
Substituting variable: ${bamboo.destroy.data} with false
23-May-2018 22:29:22 Starting task 'Deploy to server' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
23-May-2018 22:29:22
Beginning to execute external process for build 'ITSM - Implementation ID - Deploy to production #7 (II-II-DTP-7)'
... running command line:
/home/bamboo-agent/bamboo-agent/temp/II-II-DTP-7-ScriptBuildTask-6177236636677973586.sh
... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-II-DTP
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_capability_system_builder_grailsBuilder_Grails_2_3_7=/opt/grails
bamboo_dockerhub_password=********
bamboo_planRepository_1_branchDisplayName=master
bamboo_repository_revision_number=594d48cc809f7d6b6cde98c3ec0dcc95624d5ca4
bamboo_repository_119504900_git_username=
bamboo_resultsUrl=https://ci.openmrs.org/browse/II-II-DTP-7
bamboo_capability_system_builder_command_transifex=/usr/bin/tx
bamboo_repository_119504900_name=openmrs-contrib-implementationid
bamboo_destroy_data=false
bamboo_planRepository_1_name=openmrs-contrib-implementationid
bamboo_build_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-II-DTP
bamboo_buildKey=II-II-DTP
bamboo_repository_119504900_branch_name=master
bamboo_capability_system_jdk_JDK_1_8_0_171=/usr/lib/jvm/java-8-openjdk-amd64
bamboo_repository_119504900_git_branch=master
bamboo_preparing_refapp_distro_release=true
bamboo_shortPlanName=Implementation ID
bamboo_docs_aws_secret_key=********
bamboo_planRepository_name=openmrs-contrib-implementationid
bamboo_buildNumber=7
bamboo_shortJobName=Deploy to production
bamboo_buildResultsUrl=https://ci.openmrs.org/browse/II-II-DTP-7
bamboo_planRepository_repositoryUrl=https://github.com/openmrs/openmrs-contrib-implementationid.git
bamboo_agentId=100761601
bamboo_planName=ITSM - Implementation ID
bamboo_shortPlanKey=II
bamboo_shortJobKey=DTP
bamboo_planRepository_revision=594d48cc809f7d6b6cde98c3ec0dcc95624d5ca4
bamboo_repository_previous_revision_number=d6bcb75063f5684cef8ecea8f2fca15c28ac8f26
bamboo_buildTimeStamp=2018-05-23T22:29:19.363Z
bamboo_refapp_bamboo_build_number=
bamboo_buildResultKey=II-II-DTP-7
bamboo_repository_119504900_revision_number=594d48cc809f7d6b6cde98c3ec0dcc95624d5ca4
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_docs_aws_access_key=AKIAI7KMDL5KP2673G7A
bamboo_buildPlanName=ITSM - Implementation ID - Deploy to production
bamboo_dockerhub_username=openmrsci
bamboo_planRepository_1_revision=594d48cc809f7d6b6cde98c3ec0dcc95624d5ca4
bamboo_repository_name=openmrs-contrib-implementationid
bamboo_capability_system_jdk_openjdk_7_jdk=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_docker_image_id=openmrs/implementation-id@sha256:f78b8c6aa9fc356b00d9237664aebeddeda6342abd3eecfacf85596bb9e27270
bamboo_capability_system_jdk_openjdk_8_jdk=/usr/lib/jvm/java-8-openjdk-amd64
bamboo_refapp_distro_scm=git@github.com:openmrs/openmrs-distro-referenceapplication.git
bamboo_transifex_password=********
bamboo_dependenciesDisabled=false
bamboo_buildFailed=false
bamboo_capability_system_builder_grailsBuilder_Grails_2=/opt/grails
bamboo_capability_system_docker_executable=/usr/bin/docker
bamboo_repository_119504900_previous_revision_number=d6bcb75063f5684cef8ecea8f2fca15c28ac8f26
bamboo_planRepository_branch=master
bamboo_capability_system_builder_command_Bash=/bin/bash
bamboo_agentWorkingDirectory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_repository_git_username=
bamboo_planRepository_branchDisplayName=master
bamboo_capability_system_jdk_JDK_1_8_0_151=/usr/lib/jvm/java-8-openjdk-amd64
bamboo_planRepository_1_type=gitv2
bamboo_planRepository_branchName=master
bamboo_test_db_bamboo_admin_password=********
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-8-openjdk-amd64
bamboo_mavenBuildGoals=clean install
bamboo_repository_119504900_git_repositoryUrl=https://github.com/openmrs/openmrs-contrib-implementationid.git
bamboo_plan_storageTag=plan-119209988
bamboo_planRepository_type=gitv2
bamboo_planRepository_1_username=
bamboo_ManualBuildTriggerReason_userName=cintiadr
bamboo_repository_git_repositoryUrl=https://github.com/openmrs/openmrs-contrib-implementationid.git
bamboo_transifex_username=infrastructure@openmrs.org
bamboo_capability_system_builder_node_Node_js=/usr/bin/nodejs
bamboo_refapp_distro_dev_branch=master
bamboo_capability_system_builder_ant_Ant=/usr/share/ant
bamboo_capability_system_builder_mvn3_Maven_3=/usr/share/apache-maven-3.2.5
bamboo_working_directory=/home/bamboo-agent/bamboo-agent/xml-data/build-dir/II-II-DTP
bamboo_planKey=II-II
bamboo_planRepository_1_repositoryUrl=https://github.com/openmrs/openmrs-contrib-implementationid.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-8-openjdk-amd64
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_capability_system_jdk_JDK_1_8_0_162=/usr/lib/jvm/java-8-openjdk-amd64
bamboo_planRepository_1_branchName=master
23-May-2018 22:29:22 Warning: Permanently added 'implementation.openmrs.org,149.165.169.170' (ED25519) to the list of known hosts.
23-May-2018 22:29:23 Removing unused images if any
23-May-2018 22:29:44 Pulling db (mysql:5.6)...
23-May-2018 22:29:45 5.6: Pulling from library/mysql
23-May-2018 22:29:57 Digest: sha256:7e3575b7949a4f8712a47b0fc875022dcea5d84f4672b1532587b6933502f757
23-May-2018 22:29:57 Status: Downloaded newer image for mysql:5.6
23-May-2018 22:29:57 Pulling backup (openmrs/cron-backup:latest)...
23-May-2018 22:29:58 latest: Pulling from openmrs/cron-backup
23-May-2018 22:29:58 Digest: sha256:16af6b5406e3db5200c6e81da0dccfa2cfb1a360c0fb4b038c5312cc483d5c3a
23-May-2018 22:29:58 Status: Image is up to date for openmrs/cron-backup:latest
23-May-2018 22:29:58 Pulling implementationid (openmrs/implementation-id:latest)...
23-May-2018 22:29:58 latest: Pulling from openmrs/implementation-id
23-May-2018 22:30:03 Digest: sha256:f78b8c6aa9fc356b00d9237664aebeddeda6342abd3eecfacf85596bb9e27270
23-May-2018 22:30:03 Status: Downloaded newer image for openmrs/implementation-id:latest
23-May-2018 22:30:04 Keeping volumes
23-May-2018 22:30:05 Recreating implementationid_db_1 ...
23-May-2018 22:30:15
23-May-2018 22:30:15 Recreating implementationid_db_1 ... done
23-May-2018 22:30:15 Recreating implementationid_implementationid_1 ...
23-May-2018 22:30:15 Recreating implementationid_backup_1 ...
23-May-2018 22:30:35
23-May-2018 22:30:35 Recreating implementationid_backup_1 ... done
23-May-2018 22:30:37
23-May-2018 22:30:37 Recreating implementationid_implementationid_1 ... done
23-May-2018 22:30:37 Verifying if docker containers cf0ca4c3c8c1f85e850df45e7b56a235215ea29b11fafe4dc457d59ea5b42c28
23-May-2018 22:30:37 1bd6a6fa5a9ed208fa73572635f3a2157bafb020bdff4b05dd80b6e71436ac44
23-May-2018 22:30:37 b2718a699e953370e38929210b47ab1a8fa736bf4402580e3acd354a4606e032 are healthy
23-May-2018 22:30:37 Status found: "starting"
23-May-2018 22:30:37 Waiting 15s
23-May-2018 22:30:52 Verifying if docker containers cf0ca4c3c8c1f85e850df45e7b56a235215ea29b11fafe4dc457d59ea5b42c28
23-May-2018 22:30:52 1bd6a6fa5a9ed208fa73572635f3a2157bafb020bdff4b05dd80b6e71436ac44
23-May-2018 22:30:52 b2718a699e953370e38929210b47ab1a8fa736bf4402580e3acd354a4606e032 are healthy
23-May-2018 22:30:52 Status found: "healthy" "starting"
23-May-2018 22:30:52 Waiting 15s
23-May-2018 22:31:07 Verifying if docker containers cf0ca4c3c8c1f85e850df45e7b56a235215ea29b11fafe4dc457d59ea5b42c28
23-May-2018 22:31:07 1bd6a6fa5a9ed208fa73572635f3a2157bafb020bdff4b05dd80b6e71436ac44
23-May-2018 22:31:07 b2718a699e953370e38929210b47ab1a8fa736bf4402580e3acd354a4606e032 are healthy
23-May-2018 22:31:07 Status found: "healthy"
23-May-2018 22:31:07
23-May-2018 22:31:07 Finished task 'Deploy to server' with result: Success
23-May-2018 22:31:07 Running post build plugin 'Docker Container Cleanup'
23-May-2018 22:31:07 Running post build plugin 'NCover Results Collector'
23-May-2018 22:31:07 Running post build plugin 'Clover Results Collector'
23-May-2018 22:31:07 Running post build plugin 'Sauce OnDemand Post Runner'
23-May-2018 22:31:07 Running post build plugin 'npm Cache Cleanup'
23-May-2018 22:31:07 Running post build plugin 'Artifact Copier'
23-May-2018 22:31:07 Finalising the build...
23-May-2018 22:31:07 Stopping timer.
23-May-2018 22:31:07 Build II-II-DTP-7 completed.
23-May-2018 22:31:08 Running on server: post build plugin 'NCover Results Collector'
23-May-2018 22:31:08 Running on server: post build plugin 'Build Hanging Detection Configuration'
23-May-2018 22:31:08 Running on server: post build plugin 'Clover Delta Calculator'
23-May-2018 22:31:08 Running on server: post build plugin 'Maven Dependencies Postprocessor'
23-May-2018 22:31:08 All post build plugins have finished
23-May-2018 22:31:08 Generating build results summary...
23-May-2018 22:31:08 Saving build results to disk...
23-May-2018 22:31:08 Logging substituted variables...
23-May-2018 22:31:08 Indexing build results...
23-May-2018 22:31:08 Finished building II-II-DTP-7.