Git Repository can't fetch shallowed repository.

XMLWordPrintable

    • Type: Bug
    • Resolution: Invalid
    • Priority: Low
    • None
    • Affects Version/s: None
    • Component/s: Repository (Git)
    • None

      Build NN-NO-JOB1-1 started building on agent Default Agent
      11-Mar-2011 13:38:51 	Updating source code to the latest revision
      11-Mar-2011 13:38:52 	Creating local git repository in '/home/pstefaniak/bamboo/git/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/f0f5a1fecfa5e04c57ba20937b182fd1281153e8/.git'.
      11-Mar-2011 13:38:53 	Fetching branch 'refs/heads/dup-post-receive-refs-patch'. Will try to do a shallow fetch.
      11-Mar-2011 13:38:53 	Git: Requesting shallow fetch
      11-Mar-2011 13:38:54 	Git: remote: Counting objects
      11-Mar-2011 13:38:54 	Git: remote: Compressing objects (1,657)
      11-Mar-2011 13:38:54 	Git: Receiving objects (1,880)
      11-Mar-2011 13:38:56 	Git: Resolving deltas (221)
      11-Mar-2011 13:38:57 	Git: Requesting shallow fetch
      11-Mar-2011 13:38:57 	Cannot fetch 'https://github.com/github/git.git', branch 'refs/heads/dup-post-receive-refs-patch' to source directory '/home/pstefaniak/bamboo/git/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/f0f5a1fecfa5e04c57ba20937b182fd1281153e8'. expected "shallow {objectId}", got unshallow 97222d9634b5518cd3d328aa86b52746a16334a7
      11-Mar-2011 13:38:57 	Warning: failed to retrieve source code to cache directory '/home/pstefaniak/bamboo/git/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/f0f5a1fecfa5e04c57ba20937b182fd1281153e8', trying to recover...
      11-Mar-2011 13:38:57 	Cleaned cache directory '/home/pstefaniak/bamboo/git/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/f0f5a1fecfa5e04c57ba20937b182fd1281153e8', trying to fetch the code once again...
      11-Mar-2011 13:38:57 	Creating local git repository in '/home/pstefaniak/bamboo/git/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/f0f5a1fecfa5e04c57ba20937b182fd1281153e8/.git'.
      11-Mar-2011 13:38:58 	Fetching branch 'refs/heads/dup-post-receive-refs-patch'. Will try to do a shallow fetch.
      11-Mar-2011 13:38:58 	Git: Requesting shallow fetch
      11-Mar-2011 13:39:00 	Git: remote: Counting objects
      11-Mar-2011 13:39:00 	Git: remote: Compressing objects (1,657)
      11-Mar-2011 13:39:00 	Git: Receiving objects (1,880)
      11-Mar-2011 13:39:01 	Git: Resolving deltas (221)
      11-Mar-2011 13:39:02 	Git: Requesting shallow fetch
      11-Mar-2011 13:39:02 	Cannot fetch 'https://github.com/github/git.git', branch 'refs/heads/dup-post-receive-refs-patch' to source directory '/home/pstefaniak/bamboo/git/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/f0f5a1fecfa5e04c57ba20937b182fd1281153e8'. expected "shallow {objectId}", got unshallow 97222d9634b5518cd3d328aa86b52746a16334a7
      11-Mar-2011 13:39:02 	Error occurred while executing the build for NN-NO-JOB1-1 : Cannot fetch 'https://github.com/github/git.git', branch 'refs/heads/dup-post-receive-refs-patch' to source directory '/home/pstefaniak/bamboo/git/bamboo-git-plugin/target/bamboo/home/xml-data/build-dir/_git-repositories-cache/f0f5a1fecfa5e04c57ba20937b182fd1281153e8'. expected "shallow {objectId}", got unshallow 97222d9634b5518cd3d328aa86b52746a16334a7
      11-Mar-2011 13:39:02 	Build NN-NO-JOB1-1 has already been failed. Ignoring return code.
      11-Mar-2011 13:39:02 	Running on server: post build plugin 'Clover Delta Calculator'
      11-Mar-2011 13:39:02 	Running on server: post build plugin 'Build Hanging Detection Configuration'
      11-Mar-2011 13:39:02 	Running on server: post build plugin 'NCover Results Collector'
      11-Mar-2011 13:39:02 	All post build plugins have finished
      11-Mar-2011 13:39:02 	Generating build results summary...
      11-Mar-2011 13:39:02 	Saving build results to disk...
      11-Mar-2011 13:39:02 	Indexing build results...
      11-Mar-2011 13:39:03 	Finished building NN-NO-JOB1-1.
      

      Looks like some problem with auto-follow + shallows. Got to investigate.

            Assignee:
            Unassigned
            Reporter:
            PiotrA
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: