simple 25-May-2017 13:04:17 Build CASA - Branch Package - bugfix-CAS-10209 - Tag Branch for Packages #1 (CASA-CP87-TBFP-1) started building on agent cbt-el7-4.cv.nrao.edu simple 25-May-2017 13:04:17 Remote agent on host cbt-el7-4.cv.nrao.edu simple 25-May-2017 13:04:17 Build working directory is /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-TBFP simple 25-May-2017 13:04:17 Executing build CASA - Branch Package - bugfix-CAS-10209 - Tag Branch for Packages #1 (CASA-CP87-TBFP-1) simple 25-May-2017 13:04:17 Skipping execution of task 'Checkout Default Repository' as it is disabled simple 25-May-2017 13:04:17 Running pre-build action: VCS Version Collector simple 25-May-2017 13:04:17 Skipping execution of task 'Checkout Default Repository' as it is disabled command 25-May-2017 13:04:17 Substituting variable: ${bamboo.repository.branch.name} with bugfix/CAS-10209 command 25-May-2017 13:04:17 Substituting variable: ${bamboo.buildNumber} with 1 command 25-May-2017 13:04:17 Substituting variable: ${bamboo.planRepository.revision} with 24e017ae7c486da30ff29cb71182120573be3a5c command 25-May-2017 13:04:17 Substituting variable: ${bamboo.planRepository.repositoryUrl} with ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git command 25-May-2017 13:04:17 Substituting variable: ${bamboo.planRepository.repositoryUrl} with ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git command 25-May-2017 13:04:17 Substituting variable: ${bamboo.build.working.directory} with /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-TBFP command 25-May-2017 13:04:17 Substituting variable: ${bamboo.planRepository.repositoryUrl} with ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git command 25-May-2017 13:04:17 Substituting variable: ${bamboo.repository.branch.name} with bugfix/CAS-10209 simple 25-May-2017 13:04:17 Starting task 'Script' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script' command 25-May-2017 13:04:17 Beginning to execute external process for build 'CASA - Branch Package - bugfix-CAS-10209 - Tag Branch for Packages #1 (CASA-CP87-TBFP-1)'\n ... running command line: \n/bin/sh /export/home/cbt-el7-4/bamboohome/temp/CASA-CP87-TBFP-1-ScriptBuildTask-2362626983449836277.sh\n ... in: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-TBFP\n ... using extra environment variables: \nbamboo_planRepository_1_branch=bugfix/CAS-10209\nbamboo_capability_buildmachinetype=build\nbamboo_repository_15368232_name=OPEN-CASA-FULL\nbamboo_planRepository_2_branch=master\nbamboo_repository_6619139_branch_name=master\nbamboo_planRepository_1_branchDisplayName=bugfix/CAS-10209\nbamboo_repository_revision_number=24e017ae7c486da30ff29cb71182120573be3a5c\nbamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CP87-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-CP87-TBFP\nbamboo_buildKey=CASA-CP87-TBFP\nbamboo_shortPlanName=bugfix-CAS-10209\nbamboo_capability_hostname=cbt-el7-4.cv.nrao.edu\nbamboo_planRepository_2_username=\nbamboo_planRepository_name=OPEN-CASA-FULL\nbamboo_repository_15368232_git_branch=bugfix/CAS-10209\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-CP87-TBFP-1\nbamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_15368232_revision_number=24e017ae7c486da30ff29cb71182120573be3a5c\nbamboo_agentId=6160386\nbamboo_planName=CASA - Branch Package - bugfix-CAS-10209\nbamboo_shortPlanKey=CP87\nbamboo_shortJobKey=TBFP\nbamboo_planRepository_2_name=OPEN-CASA-PKG\nbamboo_planRepository_revision=24e017ae7c486da30ff29cb71182120573be3a5c\nbamboo_buildTimeStamp=2017-05-25T12:45:50.793-04:00\nbamboo_casaadm_password=********\nbamboo_repository_6619139_revision_number=a5033aef1fd7dc1bbcb6cec79f754f5e47d37874\nbamboo_buildResultKey=CASA-CP87-TBFP-1\nbamboo_repository_git_branch=bugfix/CAS-10209\nbamboo_repository_branch_name=bugfix/CAS-10209\nbamboo_buildPlanName=CASA - Branch Package - bugfix-CAS-10209 - 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_repository_15368232_git_username=\nbamboo_planRepository_1_revision=24e017ae7c486da30ff29cb71182120573be3a5c\nbamboo_capability_system_hg_executable=/bin/hg\nbamboo_repository_15368232_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git\nbamboo_repository_name=OPEN-CASA-PKG\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-10209\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-10209\nbamboo_planRepository_1_type=bbserver\nbamboo_planRepository_branchName=bugfix/CAS-10209\nbamboo_capability_project=CASA\nbamboo_repository_6619139_name=OPEN-CASA-PKG\nbamboo_planRepository_2_type=bbserver\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-15171749\nbamboo_repository_15368232_branch_name=bugfix/CAS-10209\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_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-CP87-TBFP\nbamboo_planKey=CASA-CP87\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-10209\n build 25-May-2017 13:04:17 1 build 25-May-2017 13:04:17 24e017ae7c486da30ff29cb71182120573be3a5c build 25-May-2017 13:04:17 ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git build 25-May-2017 13:04:18 Cloning into 'casa-pkg'... build 25-May-2017 13:04:24 Fetching origin build 25-May-2017 13:04:25 Already up-to-date. build 25-May-2017 13:04:27 workdir: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-TBFP/taggitworkdir build 25-May-2017 13:04:27 sourcedir: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-TBFP/taggitworkdir/casa build 25-May-2017 13:04:27 gitremote: ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git build 25-May-2017 13:04:27 branch: bugfix/CAS-10209 build 25-May-2017 13:04:27 Push option: true build 25-May-2017 13:04:27 Clone command: git clone ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git casa build 25-May-2017 13:04:27 Cloning into 'casa'... build 25-May-2017 13:04:37 error 25-May-2017 13:04:38 Already on 'master' build 25-May-2017 13:04:38 build 25-May-2017 13:04:38 Fetching origin build 25-May-2017 13:04:38 Already up-to-date. build 25-May-2017 13:04:38 build 25-May-2017 13:04:38 getLastTag called with build 25-May-2017 13:04:38 branch: bugfix/CAS-10209 build 25-May-2017 13:04:38 env: [PATH=/bin:/usr/bin:/bin, bamboo_planRepository_1_branch=bugfix/CAS-10209, bamboo_capability_buildmachinetype=build, bamboo_repository_15368232_name=OPEN-CASA-FULL, bamboo_planRepository_2_branch=master, bamboo_repository_6619139_branch_name=master, bamboo_planRepository_1_branchDisplayName=bugfix/CAS-10209, bamboo_repository_revision_number=24e017ae7c486da30ff29cb71182120573be3a5c, bamboo_resultsUrl=https://open-bamboo.nrao.edu/browse/CASA-CP87-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-CP87-TBFP, WRAPPER_BITS=32, bamboo_buildKey=CASA-CP87-TBFP, bamboo_shortPlanName=bugfix-CAS-10209, bamboo_capability_hostname=cbt-el7-4.cv.nrao.edu, bamboo_planRepository_2_username=, bamboo_planRepository_name=OPEN-CASA-FULL, bamboo_repository_15368232_git_branch=bugfix/CAS-10209, LOGNAME=casaci, bamboo_buildNumber=1, PWD=/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-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-CP87-TBFP-1, bamboo_planRepository_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git, SHELL=/bin/sh, bamboo_repository_15368232_revision_number=24e017ae7c486da30ff29cb71182120573be3a5c, bamboo_agentId=6160386, bamboo_planName=CASA - Branch Package - bugfix-CAS-10209, bamboo_shortPlanKey=CP87, OLDPWD=/usr/lib/jvm/groovy-2.4.7, bamboo_shortJobKey=TBFP, bamboo_planRepository_2_name=OPEN-CASA-PKG, bamboo_planRepository_revision=24e017ae7c486da30ff29cb71182120573be3a5c, bamboo_buildTimeStamp=2017-05-25T12:45:50.793-04:00, bamboo_casaadm_password=********, bamboo_repository_6619139_revision_number=a5033aef1fd7dc1bbcb6cec79f754f5e47d37874, bamboo_repository_git_branch=bugfix/CAS-10209, bamboo_buildResultKey=CASA-CP87-TBFP-1, bamboo_repository_branch_name=bugfix/CAS-10209, bamboo_buildPlanName=CASA - Branch Package - bugfix-CAS-10209 - 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_repository_15368232_git_username=, bamboo_planRepository_1_revision=24e017ae7c486da30ff29cb71182120573be3a5c, SHLVL=3, bamboo_capability_system_hg_executable=/bin/hg, bamboo_repository_15368232_git_repositoryUrl=ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git, bamboo_repository_name=OPEN-CASA-PKG, WRAPPER_OS=linux, 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-10209, 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-10209, bamboo_planRepository_1_type=bbserver, bamboo_planRepository_branchName=bugfix/CAS-10209, WRAPPER_FILE_SEPARATOR=/, bamboo_repository_6619139_name=OPEN-CASA-PKG, bamboo_capability_project=CASA, bamboo_planRepository_2_type=bbserver, 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-15171749, bamboo_repository_15368232_branch_name=bugfix/CAS-10209, 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-CP87-TBFP, bamboo_planKey=CASA-CP87, 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-10209] build 25-May-2017 13:04:38 sourceDir: /export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-TBFP/taggitworkdir/casa build 25-May-2017 13:04:38 Resolving feature/bugfix tag build 25-May-2017 13:04:38 Branch parts: [bugfix, CAS-10209] build 25-May-2017 13:04:38 Checking for an existing tag for the branch build 25-May-2017 13:04:38 tagGrep: grep bugfix-CAS-10209 build 25-May-2017 13:04:38 java.lang.UNIXProcess@581ac8a8 | java.lang.UNIXProcess@6d4e5011 | java.lang.UNIXProcess@57d7f8ca | java.lang.UNIXProcess@76c3e77a build 25-May-2017 13:04:38 No existing tag found for the branch. Constructing new one build 25-May-2017 13:04:38 First common commit: bd3f5f7f133ff1006bd28c82289cf5fb56e9f8f4 build 25-May-2017 13:04:38 Sourcedir:/export/home/cbt-el7-4/bamboohome/xml-data/build-dir/CASA-CP87-TBFP/taggitworkdir/casa build 25-May-2017 13:04:38 cmdArr = [/bin/sh, -c, git describe --abbrev=0 --match='[0-9]*.[0-9]*.[0-9]*-mas-[0-9]*' bd3f5f7f133ff1006bd28c82289cf5fb56e9f8f4] build 25-May-2017 13:04:38 Master tag: 5.1.0-mas-7 build 25-May-2017 13:04:38 Base tag5.1.0-7 build 25-May-2017 13:04:38 tagGroup 5.1.0-7-bugfix-CAS-10209 build 25-May-2017 13:04:38 lastTag: 5.1.0-7-bugfix-CAS-10209-0 build 25-May-2017 13:04:38 Checking out bugfix/CAS-10209 error 25-May-2017 13:04:38 Switched to a new branch 'bugfix/CAS-10209' build 25-May-2017 13:04:38 Branch bugfix/CAS-10209 set up to track remote branch bugfix/CAS-10209 from origin. build 25-May-2017 13:04:38 build 25-May-2017 13:04:38 Updating bugfix/CAS-10209 build 25-May-2017 13:04:39 Already up-to-date. build 25-May-2017 13:04:39 build 25-May-2017 13:04:39 Constructing a new tag based on 5.1.0-7-bugfix-CAS-10209-0 build 25-May-2017 13:04:39 Branch: bugfix/CAS-10209 build 25-May-2017 13:04:39 Feature/bugfix detected build 25-May-2017 13:04:39 5.1.0-7-bugfix-CAS-10209-1 build 25-May-2017 13:04:39 Last tag: 5.1.0-7-bugfix-CAS-10209-0 build 25-May-2017 13:04:39 Branch: bugfix/CAS-10209 build 25-May-2017 13:04:39 Comparing tag to branch with: git diff --exit-code 5.1.0-7-bugfix-CAS-10209-0 bugfix/CAS-10209 error 25-May-2017 13:04:39 fatal: ambiguous argument '5.1.0-7-bugfix-CAS-10209-0': unknown revision or path not in the working tree. error 25-May-2017 13:04:39 Use '--' to separate paths from revisions, like this: error 25-May-2017 13:04:39 'git [...] -- [...]' build 25-May-2017 13:04:39 build 25-May-2017 13:04:39 Comparison returned: 128 build 25-May-2017 13:04:39 Checkout: git checkout bugfix/CAS-10209 error 25-May-2017 13:04:39 Already on 'bugfix/CAS-10209' build 25-May-2017 13:04:39 build 25-May-2017 13:04:39 [git, tag, -a, 5.1.0-7-bugfix-CAS-10209-1, -m 'Automatic tag'] build 25-May-2017 13:04:39 build 25-May-2017 13:04:39 Done tagging 5.1.0-7-bugfix-CAS-10209-1 build 25-May-2017 13:04:39 Pushing 5.1.0-7-bugfix-CAS-10209-1 to origin error 25-May-2017 13:04:39 To ssh://git@open-bitbucket.nrao.edu:7999/casa/casa.git error 25-May-2017 13:04:39 * [new tag] 5.1.0-7-bugfix-CAS-10209-1 -> 5.1.0-7-bugfix-CAS-10209-1 build 25-May-2017 13:04:39 build 25-May-2017 13:04:39 Pushed 5.1.0-7-bugfix-CAS-10209-1 to origin simple 25-May-2017 13:04:39 Finished task 'Script' with result: Success simple 25-May-2017 13:04:39 Running post build plugin 'Docker Container Cleanup' simple 25-May-2017 13:04:39 Running post build plugin 'NCover Results Collector' simple 25-May-2017 13:04:39 Running post build plugin 'Clover Results Collector' simple 25-May-2017 13:04:39 Running post build plugin 'npm Cache Cleanup' simple 25-May-2017 13:04:39 Running post build plugin 'Artifact Copier' simple 25-May-2017 13:04:39 Finalising the build... simple 25-May-2017 13:04:39 Stopping timer. simple 25-May-2017 13:04:39 Build CASA-CP87-TBFP-1 completed. simple 25-May-2017 13:04:39 Running on server: post build plugin 'NCover Results Collector' simple 25-May-2017 13:04:39 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 25-May-2017 13:04:39 Running on server: post build plugin 'Clover Delta Calculator' simple 25-May-2017 13:04:39 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 25-May-2017 13:04:39 All post build plugins have finished simple 25-May-2017 13:04:39 Generating build results summary... simple 25-May-2017 13:04:39 Saving build results to disk... simple 25-May-2017 13:04:40 Logging substituted variables... simple 25-May-2017 13:04:40 Indexing build results... simple 25-May-2017 13:04:40 Finished building CASA-CP87-TBFP-1.