{"thread":{"id":"28534","subject":"fatal: index-pack failed","startedAt":"2011-09-30T08:11:02Z","lastAt":"2011-10-02T13:47:12Z","messageCount":2,"participants":["Matti Linnanvuori","Robin Rosenberg"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"176557","messageId":"50B87B00-064C-4FCC-B1E8-94A9EB027468@portalify.com","threadId":"28534","inReplyTo":null,"subject":"fatal: index-pack failed","fromName":"Matti Linnanvuori","fromEmail":"matti.linnanvuori@portalify.com","sentAt":"2011-09-30T08:11:02Z","receivedAt":"2011-09-30T08:11:02Z","isPatch":false,"sender":{"key":"matti.linnanvuori@portalify.com","avatar":null},"body":"Jenkins got an error:\n\nError performing command: git fetch -t ssh://iac-builder@sorsa.portalify.com/p/git/.git+refs/heads/*:refs/\nCommand \"git fetch -t ssh://iac-builder@sorsa.portalify.com/p/git/.git+refs/heads/*:refs/remotes/origin/*\" returned status code 128: error: refs/remotes/origin/HEAD does not point to a valid object!\nerror: refs/remotes/origin/master does not point to a valid object!\nerror: refs/tags/jenkins-iac-orm-snapshot-889 does not point to a valid object!\nerror: refs/remotes/origin/HEAD does not point to a valid object!\nerror: refs/remotes/origin/master does not point to a valid object!\nerror: refs/tags/jenkins-iac-orm-snapshot-889 does not point to a valid object!\nerror: Could not read 49f273234b582edb44bbdbda29193719e5054cb7\nerror: refs/remotes/origin/HEAD does not point to a valid object!\nerror: refs/remotes/origin/master does not point to a valid object!\nerror: missing object referenced by 'refs/tags/iac-1.4.13'\nerror: refs/tags/jenkins-iac-orm-snapshot-889 does not point to a valid object!\nerror: Could not read 49f273234b582edb44bbdbda29193719e5054cb7\nfatal: pack has 26 unresolved deltas\nfatal: index-pack failed\n\ngit fsck --full\nerror: refs/remotes/origin/HEAD does not point to a valid object!\nerror: refs/remotes/origin/master does not point to a valid object!\nerror: refs/tags/jenkins-iac-orm-snapshot-889 does not point to a valid object!\nbroken link from  commit 5d4e8989e0b84546cd85fc5e1da12f68e4d38972\n              to    tree 54e146b9fca023bbde2b311629d82601fa1e89a0\nbroken link from  commit 5d4e8989e0b84546cd85fc5e1da12f68e4d38972\n              to  commit 49f273234b582edb44bbdbda29193719e5054cb7\ndangling tree ec3b83770e89242fccda40b5194dd450122e49ed\ndangling tree dd51bc467f3f36c89b8064e550298f91d15bf28d\ndangling blob 1756f72adc8a8292e6fadeb306823f1d26feeb7b\ndangling tree 5e58d68ae6f5d5f554fbeb80f14c49bbf097a44c\ndangling blob 0f67ad10d3ad05b33b4689f3859cf2455bc0c292\ndangling tree 72818c927d476f0d56846d82062afe2648f9b554\ndangling blob 07969328481717f171624066c43948b8d69b4933\ndangling tree c49ef6d9a7a248c726327fb9e00bffa365f84dcb\ndangling tree 66b64e2a6ba858d357baa65887e8e117b368e771\ndangling blob 18c48a80fde2c5e1c9e696c055852af723eec01c\ndangling blob 4dcf4f005cc2e57f0f2720a937fa53740504ebf8\ndangling tree add32288c58a090c3746f7286bfaefd5f5fb24a4\nmissing tree 54e146b9fca023bbde2b311629d82601fa1e89a0\nmissing commit 49f273234b582edb44bbdbda29193719e5054cb7\n\ngit --version\ngit version 1.7.2.5\n\nDebian GNU/Linux 6.0\n\nMatti Linnanvuori\n"},{"id":"176683","messageId":"4E886B60.2000901@dewire.com","threadId":"28534","inReplyTo":"50B87B00-064C-4FCC-B1E8-94A9EB027468@portalify.com","subject":"Re: fatal: index-pack failed","fromName":"Robin Rosenberg","fromEmail":"robin.rosenberg@dewire.com","sentAt":"2011-10-02T13:47:12Z","receivedAt":"2011-10-02T13:47:12Z","isPatch":false,"sender":{"key":"robin.rosenberg@dewire.com","avatar":"https://avatars.githubusercontent.com/u/46357?v=4"},"body":"Matti Linnanvuori skrev 2011-09-30 10.11:\n> Jenkins got an error:\n>\n> Error performing command: git fetch -t ssh://iac-builder@sorsa.portalify.com/p/git/.git+refs/heads/*:refs/\n> Command \"git fetch -t ssh://iac-builder@sorsa.portalify.com/p/git/.git+refs/heads/*:refs/remotes/origin/*\" returned status code 128: error: refs/remotes/origin/HEAD does not point to a valid object!\n> error: refs/remotes/origin/master does not point to a valid object!\n> error: refs/tags/jenkins-iac-orm-snapshot-889 does not point to a valid object!\n> error: refs/remotes/origin/HEAD does not point to a valid object!\n> error: refs/remotes/origin/master does not point to a valid object!\n> error: refs/tags/jenkins-iac-orm-snapshot-889 does not point to a valid object!\n> error: Could not read 49f273234b582edb44bbdbda29193719e5054cb7\n> error: refs/remotes/origin/HEAD does not point to a valid object!\n> error: refs/remotes/origin/master does not point to a valid object!\n> error: missing object referenced by 'refs/tags/iac-1.4.13'\n> error: refs/tags/jenkins-iac-orm-snapshot-889 does not point to a valid object!\n> error: Could not read 49f273234b582edb44bbdbda29193719e5054cb7\n> fatal: pack has 26 unresolved deltas\n> fatal: index-pack failed\n\nI saw this too a couple of weeks ago. I have no idea what caused it. \nAfter removing all refs from the remote and fetching again everything \nwas fine. No system crash was involved.\n\n(fresh) Hypothesis: A fetch updated the refs, but failed to get save the \nactual objects. I think git tries hard to make sure that this cannot happen.\n\nIn my case JGit might have been used to perform the fetch that failed. \nSince you say it's Jenkins, I'd guess not, since it uses C Git.\n\n-- robin\n"}]}