simple 06-Jun-2017 15:34:38 Build CASA - Branch Package - bugfix-CAS-10219 - Tag Branch for Packages #1 (CASA-CP103-TBFP-1) started building on agent cbt-el7-4.cv.nrao.edu simple 06-Jun-2017 15:34:38 Remote agent on host cbt-el7-4.cv.nrao.edu simple 06-Jun-2017 15:34:38 Build working directory is /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP simple 06-Jun-2017 15:34:38 Executing build CASA - Branch Package - bugfix-CAS-10219 - Tag Branch for Packages #1 (CASA-CP103-TBFP-1) simple 06-Jun-2017 15:34:38 Skipping execution of task 'Checkout Default Repository' as it is disabled simple 06-Jun-2017 15:34:38 Running pre-build action: VCS Version Collector simple 06-Jun-2017 15:34:38 Skipping execution of task 'Checkout Default Repository' as it is disabled command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.repository.branch.name} with bugfix/CAS-10219 command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.buildNumber} with 1 command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.planRepository.revision} with 92fb7bfa56eafd74439e5a988c1be82e0b79c8e7 command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.planRepository.repositoryUrl} with ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.planRepository.repositoryUrl} with ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.build.working.directory} with /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.planRepository.repositoryUrl} with ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git command 06-Jun-2017 15:34:38 Substituting variable: ${bamboo.repository.branch.name} with bugfix/CAS-10219 simple 06-Jun-2017 15:34:38 Starting task 'Script' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 06-Jun-2017 15:34:38 Beginning to execute external process for build 'CASA - Branch Package - bugfix-CAS-10219 - Tag Branch for Packages #1 (CASA-CP103-TBFP-1)'\n ... running command line: \n/bin/sh /export/home/cbt-el7-4/bamboohome/temp/CASA-CP103-TBFP-1-ScriptBuildTask-6111317856185998895.sh\n ... in: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP\n ... using extra environment variables: \nbamboo_planRepository_1_branch=bugfix/CAS-10219\nbamboo_capability_buildmachinetype=build\nbamboo_repository_15368289_revision_number=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7\nbamboo_planRepository_2_branch=master\nbamboo_repository_6619139_branch_name=master\nbamboo_planRepository_1_branchDisplayName=bugfix/CAS-10219\nbamboo_repository_revision_number=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7\nbamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CP103-TBFP-1\nbamboo_repository_6619139_git_username=\nbamboo_planRepository_1_name=OPEN-CASA-FULL\nbamboo_build_working_directory=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP\nbamboo_buildKey=CASA-CP103-TBFP\nbamboo_shortPlanName=bugfix-CAS-10219\nbamboo_capability_hostname=cbt-el7-4.cv.nrao.edu\nbamboo_planRepository_2_username=\nbamboo_repository_15368289_branch_name=bugfix/CAS-10219\nbamboo_planRepository_name=OPEN-CASA-FULL\nbamboo_buildNumber=1\nbamboo_planRepository_2_branchDisplayName=master\nbamboo_capability_system_jdk_JDK_1_8_0_131=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-2.b11.el7_3.x86_64\nbamboo_shortJobName=Tag Branch for Packages\nbamboo_buildResultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CP103-TBFP-1\nbamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_agentId=6160386\nbamboo_planName=CASA - Branch Package - bugfix-CAS-10219\nbamboo_shortPlanKey=CP103\nbamboo_shortJobKey=TBFP\nbamboo_planRepository_2_name=OPEN-CASA-PKG\nbamboo_repository_15368289_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_revision=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7\nbamboo_buildTimeStamp=2017-06-06T15:30:07.524-04:00\nbamboo_casaadm_password=********\nbamboo_repository_6619139_revision_number=a5033aef1fd7dc1bbcb6cec79f754f5e47d37874\nbamboo_buildResultKey=CASA-CP103-TBFP-1\nbamboo_repository_git_branch=bugfix/CAS-10219\nbamboo_repository_branch_name=bugfix/CAS-10219\nbamboo_buildPlanName=CASA - Branch Package - bugfix-CAS-10219 - Tag Branch for Packages\nbamboo_capability_system_jdk_JDK_1_8_0_102=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64\nbamboo_planRepository_1_revision=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7\nbamboo_capability_system_hg_executable=/bin/hg\nbamboo_repository_name=OPEN-CASA-PKG\nbamboo_repository_15368289_git_username=\nbamboo_repository_6619139_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_buildFailed=false\nbamboo_capability_isCIMachine=true\nbamboo_planRepository_branch=bugfix/CAS-10219\nbamboo_agentWorkingDirectory=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir\nbamboo_planRepository_2_revision=a5033aef1fd7dc1bbcb6cec79f754f5e47d37874\nbamboo_capability_system_git_executable=/bin/git\nbamboo_repository_6619139_git_branch=master\nbamboo_capability_tag=true\nbamboo_capability_system_jdk_JDK_1_8_0_111=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64\nbamboo_repository_git_username=\nbamboo_capability_operating_system=EL7\nbamboo_planRepository_branchDisplayName=bugfix/CAS-10219\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=bugfix/CAS-10219\nbamboo_capability_project=CASA\nbamboo_repository_6619139_name=OPEN-CASA-PKG\nbamboo_planRepository_2_type=bbserver\nbamboo_repository_15368289_git_branch=bugfix/CAS-10219\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64\nbamboo_plan_storageTag=plan-15172038\nbamboo_planRepository_2_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git\nbamboo_planRepository_type=bbserver\nbamboo_planRepository_1_username=\nbamboo_repository_15368289_name=OPEN-CASA-FULL\nbamboo_repository_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_2_branchName=master\nbamboo_capability_system_builder_ant_Ant=/usr\nbamboo_working_directory=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP\nbamboo_planKey=CASA-CP103\nbamboo_planRepository_1_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_planRepository_username=\nbamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64\nbamboo_planRepository_1_branchName=bugfix/CAS-10219\n build 06-Jun-2017 15:34:38 1 build 06-Jun-2017 15:34:38 92fb7bfa56eafd74439e5a988c1be82e0b79c8e7 build 06-Jun-2017 15:34:38 ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git build 06-Jun-2017 15:34:38 Cloning into 'casa-pkg'... build 06-Jun-2017 15:34:45 Fetching origin build 06-Jun-2017 15:34:45 Already up-to-date. build 06-Jun-2017 15:34:46 workdir: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP/taggitworkdir build 06-Jun-2017 15:34:46 sourcedir: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP/taggitworkdir/casa build 06-Jun-2017 15:34:46 gitremote: ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git build 06-Jun-2017 15:34:46 branch: bugfix/CAS-10219 build 06-Jun-2017 15:34:46 Push option: true build 06-Jun-2017 15:34:46 Clone command: git clone ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git casa build 06-Jun-2017 15:34:46 Cloning into 'casa'... build 06-Jun-2017 15:34:57 error 06-Jun-2017 15:34:58 Already on 'master' build 06-Jun-2017 15:34:58 build 06-Jun-2017 15:34:58 Fetching origin build 06-Jun-2017 15:34:58 Already up-to-date. build 06-Jun-2017 15:34:58 build 06-Jun-2017 15:34:58 getLastTag called with build 06-Jun-2017 15:34:58 branch: bugfix/CAS-10219 build 06-Jun-2017 15:34:58 env: [PATH=/bin:/usr/bin:/bin, bamboo_planRepository_1_branch=bugfix/CAS-10219, bamboo_capability_buildmachinetype=build, bamboo_repository_15368289_revision_number=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7, bamboo_planRepository_2_branch=master, bamboo_repository_6619139_branch_name=master, bamboo_planRepository_1_branchDisplayName=bugfix/CAS-10219, bamboo_repository_revision_number=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7, bamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CP103-TBFP-1, bamboo_repository_6619139_git_username=, bamboo_planRepository_1_name=OPEN-CASA-FULL, bamboo_build_working_directory=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP, WRAPPER_BITS=32, bamboo_buildKey=CASA-CP103-TBFP, bamboo_shortPlanName=bugfix-CAS-10219, bamboo_capability_hostname=cbt-el7-4.cv.nrao.edu, bamboo_planRepository_2_username=, bamboo_repository_15368289_branch_name=bugfix/CAS-10219, bamboo_planRepository_name=OPEN-CASA-FULL, LOGNAME=casaci, bamboo_buildNumber=1, PWD=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP/casa-pkg, bamboo_planRepository_2_branchDisplayName=master, bamboo_capability_system_jdk_JDK_1_8_0_131=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-2.b11.el7_3.x86_64, bamboo_shortJobName=Tag Branch for Packages, bamboo_buildResultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CP103-TBFP-1, bamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git, SHELL=/bin/sh, bamboo_agentId=6160386, bamboo_planName=CASA - Branch Package - bugfix-CAS-10219, bamboo_shortPlanKey=CP103, OLDPWD=/usr/lib/jvm/groovy-2.4.7, bamboo_shortJobKey=TBFP, bamboo_repository_15368289_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git, bamboo_planRepository_2_name=OPEN-CASA-PKG, bamboo_planRepository_revision=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7, bamboo_buildTimeStamp=2017-06-06T15:30:07.524-04:00, bamboo_casaadm_password=********, bamboo_repository_6619139_revision_number=a5033aef1fd7dc1bbcb6cec79f754f5e47d37874, bamboo_repository_git_branch=bugfix/CAS-10219, bamboo_buildResultKey=CASA-CP103-TBFP-1, bamboo_repository_branch_name=bugfix/CAS-10219, bamboo_buildPlanName=CASA - Branch Package - bugfix-CAS-10219 - Tag Branch for Packages, bamboo_capability_system_jdk_JDK_1_8_0_102=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64, bamboo_planRepository_1_revision=92fb7bfa56eafd74439e5a988c1be82e0b79c8e7, SHLVL=3, bamboo_capability_system_hg_executable=/bin/hg, bamboo_repository_name=OPEN-CASA-PKG, WRAPPER_OS=linux, bamboo_repository_15368289_git_username=, JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.131-2.b11.el7_3.x86_64, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, bamboo_repository_6619139_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git, LANG=en_US.UTF-8, bamboo_buildFailed=false, XDG_SESSION_ID=2, bamboo_capability_isCIMachine=true, bamboo_planRepository_branch=bugfix/CAS-10219, bamboo_agentWorkingDirectory=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir, bamboo_repository_6619139_git_branch=master, bamboo_planRepository_2_revision=a5033aef1fd7dc1bbcb6cec79f754f5e47d37874, bamboo_capability_system_git_executable=/bin/git, bamboo_capability_tag=true, bamboo_repository_git_username=, bamboo_capability_system_jdk_JDK_1_8_0_111=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.111-2.b15.el7_3.x86_64, bamboo_capability_operating_system=EL7, bamboo_planRepository_branchDisplayName=bugfix/CAS-10219, bamboo_planRepository_1_type=bbserver, bamboo_planRepository_branchName=bugfix/CAS-10219, WRAPPER_FILE_SEPARATOR=/, bamboo_repository_6619139_name=OPEN-CASA-PKG, bamboo_capability_project=CASA, bamboo_planRepository_2_type=bbserver, bamboo_repository_15368289_git_branch=bugfix/CAS-10219, bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64, WRAPPER_PATH_SEPARATOR=:, bamboo_plan_storageTag=plan-15172038, bamboo_repository_15368289_name=OPEN-CASA-FULL, bamboo_planRepository_2_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa-pkg.git, bamboo_planRepository_1_username=, bamboo_planRepository_type=bbserver, USER=casaci, bamboo_repository_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git, bamboo_planRepository_2_branchName=master, bamboo_capability_system_builder_ant_Ant=/usr, bamboo_working_directory=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP, bamboo_planKey=CASA-CP103, bamboo_planRepository_1_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git, bamboo_planRepository_username=, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, bamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.102-1.b14.el7_2.x86_64, WRAPPER_ARCH=x86, XDG_RUNTIME_DIR=/run/user/9285, HOME=/users/casaci, bamboo_planRepository_1_branchName=bugfix/CAS-10219] build 06-Jun-2017 15:34:58 sourceDir: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP/taggitworkdir/casa build 06-Jun-2017 15:34:58 Resolving feature/bugfix tag build 06-Jun-2017 15:34:58 Branch parts: [bugfix, CAS-10219] build 06-Jun-2017 15:34:58 Checking for an existing tag for the branch build 06-Jun-2017 15:34:58 tagGrep: grep bugfix-CAS-10219 build 06-Jun-2017 15:34:58 java.lang.UNIXProcess@581ac8a8 | java.lang.UNIXProcess@6d4e5011 | java.lang.UNIXProcess@57d7f8ca | java.lang.UNIXProcess@76c3e77a build 06-Jun-2017 15:34:58 No existing tag found for the branch. Constructing new one build 06-Jun-2017 15:34:58 First common commit: cc37ed0c4a764e4ad410c60af7f4ef9b05732269 build 06-Jun-2017 15:34:58 Sourcedir:/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP103-TBFP/taggitworkdir/casa build 06-Jun-2017 15:34:58 cmdArr = [/bin/sh, -c, git describe --abbrev=0 --match='[0-9]*.[0-9]*.[0-9]*-mas-[0-9]*' cc37ed0c4a764e4ad410c60af7f4ef9b05732269] build 06-Jun-2017 15:34:58 Master tag: 5.1.0-mas-10 build 06-Jun-2017 15:34:58 Base tag5.1.0-10 build 06-Jun-2017 15:34:58 tagGroup 5.1.0-10-bugfix-CAS-10219 build 06-Jun-2017 15:34:58 lastTag: 5.1.0-10-bugfix-CAS-10219-0 build 06-Jun-2017 15:34:58 Checking out bugfix/CAS-10219 error 06-Jun-2017 15:34:58 Switched to a new branch 'bugfix/CAS-10219' build 06-Jun-2017 15:34:58 Branch bugfix/CAS-10219 set up to track remote branch bugfix/CAS-10219 from origin. build 06-Jun-2017 15:34:58 build 06-Jun-2017 15:34:58 Updating bugfix/CAS-10219 build 06-Jun-2017 15:34:59 Already up-to-date. build 06-Jun-2017 15:34:59 build 06-Jun-2017 15:34:59 Constructing a new tag based on 5.1.0-10-bugfix-CAS-10219-0 build 06-Jun-2017 15:34:59 Branch: bugfix/CAS-10219 build 06-Jun-2017 15:34:59 Feature/bugfix detected build 06-Jun-2017 15:34:59 5.1.0-10-bugfix-CAS-10219-1 build 06-Jun-2017 15:34:59 Last tag: 5.1.0-10-bugfix-CAS-10219-0 build 06-Jun-2017 15:34:59 Branch: bugfix/CAS-10219 build 06-Jun-2017 15:34:59 Comparing tag to branch with: git diff --exit-code 5.1.0-10-bugfix-CAS-10219-0 bugfix/CAS-10219 error 06-Jun-2017 15:34:59 fatal: ambiguous argument '5.1.0-10-bugfix-CAS-10219-0': unknown revision or path not in the working tree. error 06-Jun-2017 15:34:59 Use '--' to separate paths from revisions, like this: error 06-Jun-2017 15:34:59 'git [...] -- [...]' build 06-Jun-2017 15:34:59 build 06-Jun-2017 15:34:59 Comparison returned: 128 build 06-Jun-2017 15:34:59 Checkout: git checkout bugfix/CAS-10219 error 06-Jun-2017 15:34:59 Already on 'bugfix/CAS-10219' build 06-Jun-2017 15:34:59 build 06-Jun-2017 15:34:59 [git, tag, -a, 5.1.0-10-bugfix-CAS-10219-1, -m 'Automatic tag'] build 06-Jun-2017 15:34:59 build 06-Jun-2017 15:34:59 Done tagging 5.1.0-10-bugfix-CAS-10219-1 build 06-Jun-2017 15:34:59 Pushing 5.1.0-10-bugfix-CAS-10219-1 to origin error 06-Jun-2017 15:34:59 To ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git error 06-Jun-2017 15:34:59 * [new tag] 5.1.0-10-bugfix-CAS-10219-1 -> 5.1.0-10-bugfix-CAS-10219-1 build 06-Jun-2017 15:34:59 build 06-Jun-2017 15:34:59 Pushed 5.1.0-10-bugfix-CAS-10219-1 to origin simple 06-Jun-2017 15:34:59 Finished task 'Script' with result: Success simple 06-Jun-2017 15:34:59 Running post build plugin 'Docker Container Cleanup' simple 06-Jun-2017 15:34:59 Running post build plugin 'NCover Results Collector' simple 06-Jun-2017 15:34:59 Running post build plugin 'Clover Results Collector' simple 06-Jun-2017 15:34:59 Running post build plugin 'npm Cache Cleanup' simple 06-Jun-2017 15:34:59 Running post build plugin 'Artifact Copier' simple 06-Jun-2017 15:34:59 Finalising the build... simple 06-Jun-2017 15:34:59 Stopping timer. simple 06-Jun-2017 15:34:59 Build CASA-CP103-TBFP-1 completed. simple 06-Jun-2017 15:34:59 Running on server: post build plugin 'NCover Results Collector' simple 06-Jun-2017 15:34:59 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 06-Jun-2017 15:34:59 Running on server: post build plugin 'Clover Delta Calculator' simple 06-Jun-2017 15:34:59 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 06-Jun-2017 15:34:59 All post build plugins have finished simple 06-Jun-2017 15:34:59 Generating build results summary... simple 06-Jun-2017 15:34:59 Saving build results to disk... simple 06-Jun-2017 15:34:59 Logging substituted variables... simple 06-Jun-2017 15:34:59 Indexing build results... simple 06-Jun-2017 15:34:59 Finished building CASA-CP103-TBFP-1.