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 | 11 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  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 | 11 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 | 11 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'

    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