java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc'

Atlassian JIRA | Diver | 8 months ago
  1. 0

    Hi, We stumbled upon a problem in bamboo where it cannot checkout a git submodule * developer makes changes in a locally cloned submodule * she then moves submodule HEAD in superproject without pushing her local changes in submodule itself * Bamboo starts building project plan and because of the above fails with "fatal: reference is not a tree" error. * Bamboo then deletes all the files in problematic submodule (confirmed by git status) * Subsequent builds fail because files are not there anymore and simple 14-apr-2016 20:48:23 Build MPW1 - Unit regressions - DEBUG #290 (MPW1-UR-DEB-290) started building on agent Test Agent simple 14-apr-2016 20:48:23 Regressoin Test Agent simple 14-apr-2016 20:48:23 Build working directory is /home/bamboo/build-dir/131074/MPW1-UR-DEB simple 14-apr-2016 20:48:23 Executing build MPW1 - Unit regressions - DEBUG #290 (MPW1-UR-DEB-290) simple 14-apr-2016 20:48:23 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 14-apr-2016 20:48:23 Updating source code to revision: 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:23 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 14-apr-2016 20:48:23 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:48:24 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 14-apr-2016 20:48:24 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 14-apr-2016 20:48:24 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:48:24 From ssh://192.168.2.90/mpw1 simple 14-apr-2016 20:48:24 = [up to date] develop -> develop simple 14-apr-2016 20:48:24 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:24 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:48:24 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:48:25 /usr/bin/git show-ref develop simple 14-apr-2016 20:48:25 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:25 Previous HEAD position was 541487a... Merge branch 'develop' of ssh://192.168.2.90/mpw1 into develop simple 14-apr-2016 20:48:25 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:48:25 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:48:25 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:48:26 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:48:26 From ssh://192.168.2.90/common simple 14-apr-2016 20:48:26 1de14db..e021958 develop -> origin/develop simple 14-apr-2016 20:48:26 2358fd7..14fcae5 temporary -> origin/temporary simple 14-apr-2016 20:48:26 Submodule path 'IP/common': checked out '02d032c31b50eb2159fefbda48c8ec3e60a3a6ee' simple 14-apr-2016 20:48:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:48:27 From ssh://192.168.2.90/nfc simple 14-apr-2016 20:48:27 7a747f7..08c9ba8 develop -> origin/develop simple 14-apr-2016 20:48:27 * [new branch] system_tests -> origin/system_tests simple 14-apr-2016 20:48:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:48:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:48:27 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:48:27 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:48:27 Warning: failed to checkout source code to directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1', trying to recover... simple 14-apr-2016 20:48:29 Cleaned source directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1'... simple 14-apr-2016 20:48:29 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:48:29 Creating local git repository in '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git'. simple 14-apr-2016 20:48:29 /usr/bin/git clone file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 -n --reference /home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1 simple 14-apr-2016 20:48:29 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git/ simple 14-apr-2016 20:48:29 /usr/bin/git show-ref develop simple 14-apr-2016 20:48:29 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:30 Note: checking out '6e9d51bba91b8bf4e00149a7f125b8dc71639961'. simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 You are in 'detached HEAD' state. You can look around, make experimental simple 14-apr-2016 20:48:30 changes and commit them, and you can discard any commits you make in this simple 14-apr-2016 20:48:30 state without impacting any branches by performing another checkout. simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 If you want to create a new branch to retain commits you create, you may simple 14-apr-2016 20:48:30 do so (now or later) by using -b with the checkout command again. Example: simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 git checkout -b new_branch_name simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:48:30 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:48:30 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:48:31 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' simple 14-apr-2016 20:49:58 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ simple 14-apr-2016 20:49:58 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:05 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:05 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:50:05 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:50:05 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:50:05 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:50:05 Updating source code to revision: 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:05 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 14-apr-2016 20:50:06 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:50:06 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 14-apr-2016 20:50:06 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 14-apr-2016 20:50:06 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:06 From ssh://192.168.2.90/mpw1 simple 14-apr-2016 20:50:06 = [up to date] develop -> develop simple 14-apr-2016 20:50:07 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:07 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:50:07 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:50:07 /usr/bin/git show-ref develop simple 14-apr-2016 20:50:07 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:08 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:50:08 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:50:08 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:50:08 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:09 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:50:09 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:50:09 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:50:09 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:50:09 Warning: failed to checkout source code to directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1', trying to recover... simple 14-apr-2016 20:50:10 Cleaned source directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1'... simple 14-apr-2016 20:50:10 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:50:10 Creating local git repository in '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git'. simple 14-apr-2016 20:50:10 /usr/bin/git clone file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 -n --reference /home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1 simple 14-apr-2016 20:50:10 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git/ simple 14-apr-2016 20:50:10 /usr/bin/git show-ref develop simple 14-apr-2016 20:50:10 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:11 Note: checking out '6e9d51bba91b8bf4e00149a7f125b8dc71639961'. simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 You are in 'detached HEAD' state. You can look around, make experimental simple 14-apr-2016 20:50:11 changes and commit them, and you can discard any commits you make in this simple 14-apr-2016 20:50:11 state without impacting any branches by performing another checkout. simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 If you want to create a new branch to retain commits you create, you may simple 14-apr-2016 20:50:11 do so (now or later) by using -b with the checkout command again. Example: simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 git checkout -b new_branch_name simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:50:11 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:50:11 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:50:11 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' simple 14-apr-2016 20:51:38 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ simple 14-apr-2016 20:51:38 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:45 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:45 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:51:45 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:51:45 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:51:45 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:51:46 Updating source code to revision: 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:46 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 14-apr-2016 20:51:46 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:51:47 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 14-apr-2016 20:51:47 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 14-apr-2016 20:51:47 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:47 From ssh://192.168.2.90/mpw1 simple 14-apr-2016 20:51:47 = [up to date] develop -> develop simple 14-apr-2016 20:51:47 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:47 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:51:47 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:51:47 /usr/bin/git show-ref develop simple 14-apr-2016 20:51:47 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:48 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:51:48 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:51:48 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:51:49 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:49 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:51:49 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:51:49 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:51:49 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:51:49 Warning: failed to checkout source code to directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1', trying to recover... simple 14-apr-2016 20:51:50 Cleaned source directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1'... simple 14-apr-2016 20:51:50 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:51:50 Creating local git repository in '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git'. simple 14-apr-2016 20:51:50 /usr/bin/git clone file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 -n --reference /home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1 simple 14-apr-2016 20:51:50 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git/ simple 14-apr-2016 20:51:50 /usr/bin/git show-ref develop simple 14-apr-2016 20:51:50 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:51 Note: checking out '6e9d51bba91b8bf4e00149a7f125b8dc71639961'. simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 You are in 'detached HEAD' state. You can look around, make experimental simple 14-apr-2016 20:51:51 changes and commit them, and you can discard any commits you make in this simple 14-apr-2016 20:51:51 state without impacting any branches by performing another checkout. simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 If you want to create a new branch to retain commits you create, you may simple 14-apr-2016 20:51:51 do so (now or later) by using -b with the checkout command again. Example: simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 git checkout -b new_branch_name simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:51:51 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:51:51 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:51:51 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' simple 14-apr-2016 20:53:20 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ simple 14-apr-2016 20:53:20 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:53:26 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:53:27 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 error 14-apr-2016 20:53:27 Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 14-apr-2016 20:53:27 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: error 14-apr-2016 20:53:27 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' error 14-apr-2016 20:53:27 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 error 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:144) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:203) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:145) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$121(TaskExecutorImpl.java:273) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:83) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:214) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:136) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 14-apr-2016 20:53:27 at java.lang.Thread.run(Thread.java:745) error 14-apr-2016 20:53:27 Caused by: com.atlassian.bamboo.repository.RepositoryException: MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: error 14-apr-2016 20:53:27 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' error 14-apr-2016 20:53:27 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 error 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:368) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:479) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:446) error 14-apr-2016 20:53:27 at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:445) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:273) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:57) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:150) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:146) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) error 14-apr-2016 20:53:27 ... 20 more error 14-apr-2016 20:53:27 Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: error 14-apr-2016 20:53:27 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' error 14-apr-2016 20:53:27 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 error 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:530) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runSubmoduleUpdateCommand(GitCommandProcessor.java:344) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:358) error 14-apr-2016 20:53:27 ... 29 more error 14-apr-2016 20:53:27 Failed to prepare the build 'MPW1 - Unit regressions - DEBUG #290 (MPW1-UR-DEB-290)' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'NCover Results Collector' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'Clover Delta Calculator' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 14-apr-2016 20:53:27 All post build plugins have finished simple 14-apr-2016 20:53:27 Generating build results summary... simple 14-apr-2016 20:53:27 Saving build results to disk... simple 14-apr-2016 20:53:27 Logging substituted variables... simple 14-apr-2016 20:53:27 Indexing build results... simple 14-apr-2016 20:53:27 Finished building MPW1-UR-DEB-290. ------------------------------------- simple 15-apr-2016 00:19:27 Build MPW1 - Unit regressions - DEBUG #291 (MPW1-UR-DEB-291) started building on agent Test Agent simple 15-apr-2016 00:19:27 Regressoin Test Agent simple 15-apr-2016 00:19:27 Build working directory is /home/bamboo/build-dir/131074/MPW1-UR-DEB simple 15-apr-2016 00:19:27 Executing build MPW1 - Unit regressions - DEBUG #291 (MPW1-UR-DEB-291) simple 15-apr-2016 00:19:27 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 15-apr-2016 00:19:27 Updating source code to revision: 35748bb5a9c07ecdcfbc00dc90bb9e1392f1053c simple 15-apr-2016 00:19:27 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 15-apr-2016 00:19:27 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 15-apr-2016 00:19:28 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 15-apr-2016 00:19:28 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 15-apr-2016 00:19:28 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 15-apr-2016 00:19:28 From ssh://192.168.2.90/mpw1 simple 15-apr-2016 00:19:28 = [up to date] develop -> develop simple 15-apr-2016 00:19:28 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 35748bb5a9c07ecdcfbc00dc90bb9e1392f1053c simple 15-apr-2016 00:19:28 Checking out revision 35748bb5a9c07ecdcfbc00dc90bb9e1392f1053c. simple 15-apr-2016 00:19:28 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 15-apr-2016 00:19:28 /usr/bin/git show-ref develop simple 15-apr-2016 00:19:28 /usr/bin/git checkout -f develop simple 15-apr-2016 00:19:29 Previous HEAD position was 6e9d51b... [nfc] simple 15-apr-2016 00:19:29 Branch develop set up to track remote branch develop from origin. simple 15-apr-2016 00:19:29 Switched to a new branch 'develop' simple 15-apr-2016 00:19:29 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 15-apr-2016 00:19:29 /usr/bin/git submodule update --init --recursive simple 15-apr-2016 00:19:29 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 15-apr-2016 00:19:30 Submodule path 'IP/common': checked out 'e021958b091e135f71d88cab041dbe193f714275' simple 15-apr-2016 00:19:30 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/pad_ctrl/.git/ simple 15-apr-2016 00:19:30 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 15-apr-2016 00:21:21 mpw1/IP/top/config.mk:57: mpw1/IP/nfc/config.mk: No such file or firectory error 15-apr-2016 00:21:21 make: *** make no rule to make target `mpw1/IP/nfc/config.mk'. Stop. simple 15-apr-2016 00:21:21 Failing task since return code of [/bin/sh /opt/atlassian-bamboo-5.10.0/temp/MPW1-UR-DEB-291-ScriptBuildTask-6244525158990005713.sh] was 2 while expected 0 simple 15-apr-2016 00:21:21 Finished task 'Build testbench with MPW' with result: Failed simple 15-apr-2016 00:21:21 Running post build plugin 'NCover Results Collector' simple 15-apr-2016 00:21:21 Running post build plugin 'Artifact Copier' simple 15-apr-2016 00:21:21 Running post build plugin 'npm Cache Cleanup' simple 15-apr-2016 00:21:21 Running post build plugin 'Clover Results Collector' simple 15-apr-2016 00:21:21 Running post build plugin 'Docker Container Cleanup' simple 15-apr-2016 00:21:21 Finalising the build... simple 15-apr-2016 00:21:21 Stopping timer. simple 15-apr-2016 00:21:21 Build MPW1-UR-DEB-291 completed. simple 15-apr-2016 00:21:21 Running on server: post build plugin 'NCover Results Collector' simple 15-apr-2016 00:21:21 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 15-apr-2016 00:21:21 Running on server: post build plugin 'Clover Delta Calculator' simple 15-apr-2016 00:21:21 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 15-apr-2016 00:21:21 All post build plugins have finished simple 15-apr-2016 00:21:21 Generating build results summary... simple 15-apr-2016 00:21:21 Saving build results to disk... simple 15-apr-2016 00:21:21 Logging substituted variables... simple 15-apr-2016 00:21:21 Indexing build results... simple 15-apr-2016 00:21:21 Finished building MPW1-UR-DEB-291.

    Atlassian JIRA | 8 months ago | Diver
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc'
  2. 0

    Hi, We stumbled upon a problem in bamboo where it cannot checkout a git submodule * developer makes changes in a locally cloned submodule * she then moves submodule HEAD in superproject without pushing her local changes in submodule itself * Bamboo starts building project plan and because of the above fails with "fatal: reference is not a tree" error. * Bamboo then deletes all the files in problematic submodule (confirmed by git status) * Subsequent builds fail because files are not there anymore and simple 14-apr-2016 20:48:23 Build MPW1 - Unit regressions - DEBUG #290 (MPW1-UR-DEB-290) started building on agent Test Agent simple 14-apr-2016 20:48:23 Regressoin Test Agent simple 14-apr-2016 20:48:23 Build working directory is /home/bamboo/build-dir/131074/MPW1-UR-DEB simple 14-apr-2016 20:48:23 Executing build MPW1 - Unit regressions - DEBUG #290 (MPW1-UR-DEB-290) simple 14-apr-2016 20:48:23 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 14-apr-2016 20:48:23 Updating source code to revision: 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:23 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 14-apr-2016 20:48:23 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:48:24 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 14-apr-2016 20:48:24 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 14-apr-2016 20:48:24 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:48:24 From ssh://192.168.2.90/mpw1 simple 14-apr-2016 20:48:24 = [up to date] develop -> develop simple 14-apr-2016 20:48:24 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:24 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:48:24 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:48:25 /usr/bin/git show-ref develop simple 14-apr-2016 20:48:25 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:25 Previous HEAD position was 541487a... Merge branch 'develop' of ssh://192.168.2.90/mpw1 into develop simple 14-apr-2016 20:48:25 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:48:25 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:48:25 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:48:26 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:48:26 From ssh://192.168.2.90/common simple 14-apr-2016 20:48:26 1de14db..e021958 develop -> origin/develop simple 14-apr-2016 20:48:26 2358fd7..14fcae5 temporary -> origin/temporary simple 14-apr-2016 20:48:26 Submodule path 'IP/common': checked out '02d032c31b50eb2159fefbda48c8ec3e60a3a6ee' simple 14-apr-2016 20:48:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:48:27 From ssh://192.168.2.90/nfc simple 14-apr-2016 20:48:27 7a747f7..08c9ba8 develop -> origin/develop simple 14-apr-2016 20:48:27 * [new branch] system_tests -> origin/system_tests simple 14-apr-2016 20:48:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:48:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:48:27 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:48:27 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:48:27 Warning: failed to checkout source code to directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1', trying to recover... simple 14-apr-2016 20:48:29 Cleaned source directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1'... simple 14-apr-2016 20:48:29 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:48:29 Creating local git repository in '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git'. simple 14-apr-2016 20:48:29 /usr/bin/git clone file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 -n --reference /home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1 simple 14-apr-2016 20:48:29 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git/ simple 14-apr-2016 20:48:29 /usr/bin/git show-ref develop simple 14-apr-2016 20:48:29 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:48:30 Note: checking out '6e9d51bba91b8bf4e00149a7f125b8dc71639961'. simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 You are in 'detached HEAD' state. You can look around, make experimental simple 14-apr-2016 20:48:30 changes and commit them, and you can discard any commits you make in this simple 14-apr-2016 20:48:30 state without impacting any branches by performing another checkout. simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 If you want to create a new branch to retain commits you create, you may simple 14-apr-2016 20:48:30 do so (now or later) by using -b with the checkout command again. Example: simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 git checkout -b new_branch_name simple 14-apr-2016 20:48:30 simple 14-apr-2016 20:48:30 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:48:30 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:48:30 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:48:31 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' simple 14-apr-2016 20:49:58 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ simple 14-apr-2016 20:49:58 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:05 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:05 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:50:05 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:50:05 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:50:05 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:50:05 Updating source code to revision: 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:05 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 14-apr-2016 20:50:06 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:50:06 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 14-apr-2016 20:50:06 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 14-apr-2016 20:50:06 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:06 From ssh://192.168.2.90/mpw1 simple 14-apr-2016 20:50:06 = [up to date] develop -> develop simple 14-apr-2016 20:50:07 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:07 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:50:07 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:50:07 /usr/bin/git show-ref develop simple 14-apr-2016 20:50:07 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:08 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:50:08 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:50:08 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:50:08 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:50:09 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:50:09 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:50:09 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:50:09 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:50:09 Warning: failed to checkout source code to directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1', trying to recover... simple 14-apr-2016 20:50:10 Cleaned source directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1'... simple 14-apr-2016 20:50:10 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:50:10 Creating local git repository in '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git'. simple 14-apr-2016 20:50:10 /usr/bin/git clone file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 -n --reference /home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1 simple 14-apr-2016 20:50:10 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git/ simple 14-apr-2016 20:50:10 /usr/bin/git show-ref develop simple 14-apr-2016 20:50:10 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:50:11 Note: checking out '6e9d51bba91b8bf4e00149a7f125b8dc71639961'. simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 You are in 'detached HEAD' state. You can look around, make experimental simple 14-apr-2016 20:50:11 changes and commit them, and you can discard any commits you make in this simple 14-apr-2016 20:50:11 state without impacting any branches by performing another checkout. simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 If you want to create a new branch to retain commits you create, you may simple 14-apr-2016 20:50:11 do so (now or later) by using -b with the checkout command again. Example: simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 git checkout -b new_branch_name simple 14-apr-2016 20:50:11 simple 14-apr-2016 20:50:11 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:50:11 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:50:11 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:50:11 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' simple 14-apr-2016 20:51:38 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ simple 14-apr-2016 20:51:38 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:45 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:45 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:51:45 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:51:45 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:51:45 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:51:46 Updating source code to revision: 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:46 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 14-apr-2016 20:51:46 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:51:47 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 14-apr-2016 20:51:47 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 14-apr-2016 20:51:47 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:47 From ssh://192.168.2.90/mpw1 simple 14-apr-2016 20:51:47 = [up to date] develop -> develop simple 14-apr-2016 20:51:47 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:47 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:51:47 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:51:47 /usr/bin/git show-ref develop simple 14-apr-2016 20:51:47 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:48 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:51:48 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:51:48 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:51:49 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:51:49 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:51:49 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:51:49 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:51:49 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 14-apr-2016 20:51:49 Warning: failed to checkout source code to directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1', trying to recover... simple 14-apr-2016 20:51:50 Cleaned source directory '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1'... simple 14-apr-2016 20:51:50 Checking out revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961. simple 14-apr-2016 20:51:50 Creating local git repository in '/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git'. simple 14-apr-2016 20:51:50 /usr/bin/git clone file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 -n --reference /home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1 simple 14-apr-2016 20:51:50 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/.git/ simple 14-apr-2016 20:51:50 /usr/bin/git show-ref develop simple 14-apr-2016 20:51:50 /usr/bin/git checkout -f 6e9d51bba91b8bf4e00149a7f125b8dc71639961 simple 14-apr-2016 20:51:51 Note: checking out '6e9d51bba91b8bf4e00149a7f125b8dc71639961'. simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 You are in 'detached HEAD' state. You can look around, make experimental simple 14-apr-2016 20:51:51 changes and commit them, and you can discard any commits you make in this simple 14-apr-2016 20:51:51 state without impacting any branches by performing another checkout. simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 If you want to create a new branch to retain commits you create, you may simple 14-apr-2016 20:51:51 do so (now or later) by using -b with the checkout command again. Example: simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 git checkout -b new_branch_name simple 14-apr-2016 20:51:51 simple 14-apr-2016 20:51:51 HEAD is now at 6e9d51b... [nfc] simple 14-apr-2016 20:51:51 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 14-apr-2016 20:51:51 /usr/bin/git submodule update --init --recursive simple 14-apr-2016 20:51:51 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' simple 14-apr-2016 20:53:20 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ simple 14-apr-2016 20:53:20 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:53:26 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 simple 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed. simple 14-apr-2016 20:53:27 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 error 14-apr-2016 20:53:27 Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. error 14-apr-2016 20:53:27 java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: error 14-apr-2016 20:53:27 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' error 14-apr-2016 20:53:27 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 error 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:144) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:203) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:145) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$121(TaskExecutorImpl.java:273) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:83) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:214) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:136) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 14-apr-2016 20:53:27 at java.lang.Thread.run(Thread.java:745) error 14-apr-2016 20:53:27 Caused by: com.atlassian.bamboo.repository.RepositoryException: MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: error 14-apr-2016 20:53:27 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' error 14-apr-2016 20:53:27 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 error 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:368) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:479) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:446) error 14-apr-2016 20:53:27 at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:445) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:273) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:57) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:150) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:146) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) error 14-apr-2016 20:53:27 ... 20 more error 14-apr-2016 20:53:27 Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: error 14-apr-2016 20:53:27 Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' error 14-apr-2016 20:53:27 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 14-apr-2016 20:53:27 fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 error 14-apr-2016 20:53:27 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc' error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:530) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runSubmoduleUpdateCommand(GitCommandProcessor.java:344) error 14-apr-2016 20:53:27 at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:358) error 14-apr-2016 20:53:27 ... 29 more error 14-apr-2016 20:53:27 Failed to prepare the build 'MPW1 - Unit regressions - DEBUG #290 (MPW1-UR-DEB-290)' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'NCover Results Collector' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'Clover Delta Calculator' simple 14-apr-2016 20:53:27 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 14-apr-2016 20:53:27 All post build plugins have finished simple 14-apr-2016 20:53:27 Generating build results summary... simple 14-apr-2016 20:53:27 Saving build results to disk... simple 14-apr-2016 20:53:27 Logging substituted variables... simple 14-apr-2016 20:53:27 Indexing build results... simple 14-apr-2016 20:53:27 Finished building MPW1-UR-DEB-290. ------------------------------------- simple 15-apr-2016 00:19:27 Build MPW1 - Unit regressions - DEBUG #291 (MPW1-UR-DEB-291) started building on agent Test Agent simple 15-apr-2016 00:19:27 Regressoin Test Agent simple 15-apr-2016 00:19:27 Build working directory is /home/bamboo/build-dir/131074/MPW1-UR-DEB simple 15-apr-2016 00:19:27 Executing build MPW1 - Unit regressions - DEBUG #291 (MPW1-UR-DEB-291) simple 15-apr-2016 00:19:27 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 15-apr-2016 00:19:27 Updating source code to revision: 35748bb5a9c07ecdcfbc00dc90bb9e1392f1053c simple 15-apr-2016 00:19:27 /usr/bin/git log -1 --encoding=UTF-8 --format=%H HEAD simple 15-apr-2016 00:19:27 /usr/bin/git ls-remote ssh://git@192.168.2.90/mpw1.git simple 15-apr-2016 00:19:28 Fetching 'refs/heads/develop' from 'ssh://git@192.168.2.90/mpw1.git'. simple 15-apr-2016 00:19:28 /usr/bin/git fetch ssh://git@192.168.2.90/mpw1.git +refs/heads/develop:refs/heads/develop --update-head-ok --progress --verbose simple 15-apr-2016 00:19:28 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 15-apr-2016 00:19:28 From ssh://192.168.2.90/mpw1 simple 15-apr-2016 00:19:28 = [up to date] develop -> develop simple 15-apr-2016 00:19:28 /usr/bin/git log -1 --encoding=UTF-8 --format=%H 35748bb5a9c07ecdcfbc00dc90bb9e1392f1053c simple 15-apr-2016 00:19:28 Checking out revision 35748bb5a9c07ecdcfbc00dc90bb9e1392f1053c. simple 15-apr-2016 00:19:28 /usr/bin/git remote set-url origin file:///home/bamboo/build-dir/_git-repositories-cache/78f4640a8f3a38d7931eb981528e94b85d24f694 simple 15-apr-2016 00:19:28 /usr/bin/git show-ref develop simple 15-apr-2016 00:19:28 /usr/bin/git checkout -f develop simple 15-apr-2016 00:19:29 Previous HEAD position was 6e9d51b... [nfc] simple 15-apr-2016 00:19:29 Branch develop set up to track remote branch develop from origin. simple 15-apr-2016 00:19:29 Switched to a new branch 'develop' simple 15-apr-2016 00:19:29 /usr/bin/git remote set-url origin ssh://git@192.168.2.90/mpw1.git simple 15-apr-2016 00:19:29 /usr/bin/git submodule update --init --recursive simple 15-apr-2016 00:19:29 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. simple 15-apr-2016 00:19:30 Submodule path 'IP/common': checked out 'e021958b091e135f71d88cab041dbe193f714275' simple 15-apr-2016 00:19:30 Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/pad_ctrl/.git/ simple 15-apr-2016 00:19:30 Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. error 15-apr-2016 00:21:21 mpw1/IP/top/config.mk:57: mpw1/IP/nfc/config.mk: No such file or firectory error 15-apr-2016 00:21:21 make: *** make no rule to make target `mpw1/IP/nfc/config.mk'. Stop. simple 15-apr-2016 00:21:21 Failing task since return code of [/bin/sh /opt/atlassian-bamboo-5.10.0/temp/MPW1-UR-DEB-291-ScriptBuildTask-6244525158990005713.sh] was 2 while expected 0 simple 15-apr-2016 00:21:21 Finished task 'Build testbench with MPW' with result: Failed simple 15-apr-2016 00:21:21 Running post build plugin 'NCover Results Collector' simple 15-apr-2016 00:21:21 Running post build plugin 'Artifact Copier' simple 15-apr-2016 00:21:21 Running post build plugin 'npm Cache Cleanup' simple 15-apr-2016 00:21:21 Running post build plugin 'Clover Results Collector' simple 15-apr-2016 00:21:21 Running post build plugin 'Docker Container Cleanup' simple 15-apr-2016 00:21:21 Finalising the build... simple 15-apr-2016 00:21:21 Stopping timer. simple 15-apr-2016 00:21:21 Build MPW1-UR-DEB-291 completed. simple 15-apr-2016 00:21:21 Running on server: post build plugin 'NCover Results Collector' simple 15-apr-2016 00:21:21 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 15-apr-2016 00:21:21 Running on server: post build plugin 'Clover Delta Calculator' simple 15-apr-2016 00:21:21 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 15-apr-2016 00:21:21 All post build plugins have finished simple 15-apr-2016 00:21:21 Generating build results summary... simple 15-apr-2016 00:21:21 Saving build results to disk... simple 15-apr-2016 00:21:21 Logging substituted variables... simple 15-apr-2016 00:21:21 Indexing build results... simple 15-apr-2016 00:21:21 Finished building MPW1-UR-DEB-291.

    Atlassian JIRA | 8 months ago | Diver
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: MPW1-UR-DEB-290: Checkout to revision 6e9d51bba91b8bf4e00149a7f125b8dc71639961 has failed.command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc'
  3. 0

    h3. Summary Git Large File Storage (or LFS) is a new, open-source extension to Git that aims to improve handling of large files. Source code checkouts fail in Bamboo when linked to LFS-enabled repositories h3. Steps to Reproduce # Set up a repository with [Git LFS enabled|https://confluence.atlassian.com/display/BitbucketServer/Git+Large+File+Storage#GitLargeFileStorage-repolfsEnablingGitLFSforarepository] # Add file types for LFS to manage and include at least one file of that type in the repository # [Install git-lfs client extension|https://confluence.atlassian.com/display/BitbucketServer/Git+Large+File+Storage#GitLargeFileStorage-InstallingtheGitLFScommandlineclient] on Bamboo server # Link LFS-enabeld repository to build plan with a [source checkout task|https://confluence.atlassian.com/bamboo/checking-out-code-289277060.html] enabled h3. Expected Results Source checkout should complete successfully h3. Actual Results When Bamboo attempts to checkout repositories with git-lfs enabled, the checkout process fails with "Error accessing media" and "smudge filter lfs failed" errors. The following stack trace can be found in *<BAMBOO_INST>/logs/catalina.out*{noformat}2016-01-28 05:04:00,499 ERROR [13-BAM::Default Agent::Agent:pool-28-thread-1] [TaskExecutorImpl] Error occurred while running Task 'Checkout Default Repository(1)' of type com.atlassian.bamboo.plugins.vcs:task.vcs.checkout. java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: MAV-MBT-JOB1-201: Checkout to revision 6681d2b8c3009b04ab49b949d31832cd03939ad6 has failed.command /usr/bin/git checkout -f master failed with code 128. Working directory was [/var/atlassian/application-data/bamboo_510/xml-data/build-dir/131073/MAV-MBT-JOB1]., stderr: Downloading test3.jpg (12.57 MB) Error accessing media: test3.jpg (24fda5852ed8527b134501db6877591edbefbadb6f4e05ba5c8c4c4c91f73f92) Errors logged to .git/lfs/objects/logs/20160128T050400.487728317.log Use `git lfs logs last` to view the log. error: external filter git-lfs smudge %f failed 2 error: external filter git-lfs smudge %f failed fatal: test3.jpg: smudge filter lfs failed at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:144) at com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:203) at com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:145) at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$121(TaskExecutorImpl.java:273) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202) at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273) at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:108) at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:214) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215) at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:136) at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49) at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) at java.lang.Thread.run(Thread.java:745) Caused by: com.atlassian.bamboo.repository.RepositoryException: MAV-MBT-JOB1-201: Checkout to revision 6681d2b8c3009b04ab49b949d31832cd03939ad6 has failed.command /usr/bin/git checkout -f master failed with code 128. Working directory was [/var/atlassian/application-data/bamboo_510/xml-data/build-dir/131073/MAV-MBT-JOB1]., stderr: Downloading test3.jpg (12.57 MB) Error accessing media: test3.jpg (24fda5852ed8527b134501db6877591edbefbadb6f4e05ba5c8c4c4c91f73f92) Errors logged to .git/lfs/objects/logs/20160128T050400.487728317.log Use `git lfs logs last` to view the log. error: external filter git-lfs smudge %f failed 2 error: external filter git-lfs smudge %f failed fatal: test3.jpg: smudge filter lfs failed at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:368) at com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:479) at com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:446) at com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312) at com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:445) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:273) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:57) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:150) at com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:146) at com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108) ... 20 more Caused by: com.atlassian.bamboo.plugins.git.GitCommandException: command /usr/bin/git checkout -f master failed with code 128. Working directory was [/var/atlassian/application-data/bamboo_510/xml-data/build-dir/131073/MAV-MBT-JOB1]., stderr: Downloading test3.jpg (12.57 MB) Error accessing media: test3.jpg (24fda5852ed8527b134501db6877591edbefbadb6f4e05ba5c8c4c4c91f73f92) Errors logged to .git/lfs/objects/logs/20160128T050400.487728317.log Use `git lfs logs last` to view the log. error: external filter git-lfs smudge %f failed 2 error: external filter git-lfs smudge %f failed fatal: test3.jpg: smudge filter lfs failed at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:530) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCheckoutCommandForBranchOrRevision(GitCommandProcessor.java:337) at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCheckoutCommand(GitCommandProcessor.java:331) at com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:352) ... 29 more{noformat} h3.Workaround In order to checkout git-lfs enabled repositories, the checkout must be performed manually via a scripted task. For example, the following script will perform a checkout for the current branch of your configured plan and can be used in place of the source code checkout task (please note this is a very basic example and your needs may require more customisation): {code}git init git remote add -t ${bamboo.planRepository.branchName} -f origin https://username:password@mygitrepo.org/scm/proj/myrepo.git git checkout -f ${bamboo.planRepository.branchName} {code}

    Atlassian JIRA | 10 months ago | David Chevell
    java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: MAV-MBT-JOB1-201: Checkout to revision 6681d2b8c3009b04ab49b949d31832cd03939ad6 has failed.command /usr/bin/git checkout -f master failed with code 128. Working directory was [/var/atlassian/application-data/bamboo_510/xml-data/build-dir/131073/MAV-MBT-JOB1]., stderr: Downloading test3.jpg (12.57 MB) Error accessing media: test3.jpg (24fda5852ed8527b134501db6877591edbefbadb6f4e05ba5c8c4c4c91f73f92) Errors logged to .git/lfs/objects/logs/20160128T050400.487728317.log Use `git lfs logs last` to view the log. error: external filter git-lfs smudge %f failed 2 error: external filter git-lfs smudge %f failed fatal: test3.jpg: smudge filter lfs failed
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Bamboo git authentication fails from remote agent - Atlassian Answers

    atlassian.com | 4 months ago
    com.atlassian.bamboo.repository.RepositoryException: java.lang.RuntimeException: com.atlassian.bamboo.repository.RepositoryException: com.atlassian.bamboo.plugins.git.GitCommandException: command 'C:\Program Files (x86)\Git\bin\git.exe' ls-remote git://bitbucket.org/hiscoxpsg/sbdp-backbase.git failed with code 128. Working directory was [.]., stderr: [fatal: unable to connect to bitbucket.org:, bitbucket.org[0: 131.103.20.167]: errno=No error, bitbucket.org[1: 131.103.20.168]: errno=No error, ]

    Root Cause Analysis

    1. com.atlassian.bamboo.plugins.git.GitCommandException

      command /usr/bin/git submodule update --init --recursive failed with code 1. Working directory was [/home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1]., stderr: Submodule 'IP/nfc' (ssh://git@192.168.2.90/nfc.git) registered for path 'IP/nfc' Initialized empty Git repository in /home/bamboo/build-dir/131074/MPW1-UR-DEB/mpw1/IP/nfc/.git/ Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. Warning: Permanently added '192.168.2.90' (RSA) to the list of known hosts. fatal: reference is not a tree: fcd5d1adb43d7df4497c729b66fc1780ee6715c4 Unable to checkout 'fcd5d1adb43d7df4497c729b66fc1780ee6715c4' in submodule path 'IP/nfc'

      at com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand()
    2. com.atlassian.bamboo
      GitRepository$2.call
      1. com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:587)
      2. com.atlassian.bamboo.plugins.git.GitCommandProcessor.runCommand(GitCommandProcessor.java:530)
      3. com.atlassian.bamboo.plugins.git.GitCommandProcessor.runSubmoduleUpdateCommand(GitCommandProcessor.java:344)
      4. com.atlassian.bamboo.plugins.git.NativeGitOperationHelper.checkout(NativeGitOperationHelper.java:358)
      5. com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:479)
      6. com.atlassian.bamboo.plugins.git.GitRepository$2.call(GitRepository.java:446)
      6 frames
    3. com.atlassian.util
      ManagedLocks$ManagedLockImpl.withLock
      1. com.atlassian.util.concurrent.ManagedLocks$ManagedLockImpl.withLock(ManagedLocks.java:312)
      1 frame
    4. com.atlassian.bamboo
      ImpersonationHelper$1.run
      1. com.atlassian.bamboo.plugins.git.GitRepository.retrieveSourceCode(GitRepository.java:445)
      2. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.fillWorkingDirFromVcs(VcsCheckoutTask.java:273)
      3. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.access$000(VcsCheckoutTask.java:57)
      4. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:150)
      5. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask$1.call(VcsCheckoutTask.java:146)
      6. com.atlassian.bamboo.executor.RetryingTaskExecutor.rerun(RetryingTaskExecutor.java:108)
      7. com.atlassian.bamboo.executor.RetryingTaskExecutor.runTask(RetryingTaskExecutor.java:88)
      8. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:203)
      9. com.atlassian.bamboo.executor.RetryingTaskExecutor.retry(RetryingTaskExecutor.java:188)
      10. com.atlassian.bamboo.plugins.vcs.task.VcsCheckoutTask.execute(VcsCheckoutTask.java:145)
      11. com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$121(TaskExecutorImpl.java:273)
      12. com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:202)
      13. com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:273)
      14. com.atlassian.bamboo.task.TaskExecutorImpl.executePreparationTasks(TaskExecutorImpl.java:83)
      15. com.atlassian.bamboo.build.pipeline.tasks.PrepareBuildTask.call(PrepareBuildTask.java:74)
      16. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:214)
      17. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
      18. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
      19. com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:215)
      20. com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
      21. com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:136)
      22. com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:49)
      23. com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
      24. com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
      25. com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
      25 frames
    5. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame