{"thread":{"id":"30149","subject":"sparse-checkout test failures [powerpc-darwin8]","startedAt":"2012-04-04T20:20:08Z","lastAt":"2012-04-05T05:35:58Z","messageCount":4,"participants":["David Fang","Junio C Hamano","Nguyen Thai Ngoc Duy"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"188527","messageId":"Pine.LNX.4.64.1204041616001.16407@hal-00.csl.cornell.edu","threadId":"30149","inReplyTo":null,"subject":"sparse-checkout test failures [powerpc-darwin8]","fromName":"David Fang","fromEmail":"fang@csl.cornell.edu","sentAt":"2012-04-04T20:20:08Z","receivedAt":"2012-04-04T20:20:08Z","isPatch":false,"sender":{"key":"fang@csl.cornell.edu","avatar":"https://gravatar.com/avatar/36bbfab335f2684322aba65a3fd850e17b711dfff7fbaada73596911d39fdfe9?d=mp&s=160"},"body":"Hi,\n \tWith git 1.7.9.4, I'm seeing test failures with\nt1011-read-tree-sparse-checkout.sh.\n\nnot ok - 16 read-tree adds to worktree, dirty case\n#\n#               echo init.t >.git/info/sparse-checkout &&\n#               git checkout -f removed &&\n#               mkdir sub &&\n#               echo dirty >sub/added &&\n#               read_tree_u_must_succeed -u -m HEAD^ &&\n#               grep -q dirty sub/added\n#\nnot ok - 17 index removal and worktree narrowing at the same time\n#\n#               >empty &&\n#               echo init.t >.git/info/sparse-checkout &&\n#               echo sub/added >>.git/info/sparse-checkout &&\n#               git checkout -f top &&\n#               echo init.t >.git/info/sparse-checkout &&\n#               git checkout removed &&\n#               git ls-files sub/added >result &&\n#               test ! -f sub/added &&\n#               test_cmp empty result\n#\nnot ok - 18 read-tree --reset removes outside worktree\n#\n#               >empty &&\n#               echo init.t >.git/info/sparse-checkout &&\n#               git checkout -f top &&\n#               git reset --hard removed &&\n#               git ls-files sub/added >result &&\n#               test_cmp empty result\n#\nnot ok - 19 print errors when failed to update worktree\n#\n#               echo sub >.git/info/sparse-checkout &&\n#               git checkout -f init &&\n#               mkdir sub &&\n#               touch sub/added sub/addedtoo &&\n#               test_must_fail git checkout top 2>actual &&\n#               cat >expected <<\\EOF &&\n#       error: The following untracked working tree files would be \noverwritten b\ny checkout:\n#               sub/added\n#               sub/addedtoo\n#       Please move or remove them before you can switch branches.\n#       Aborting\n#       EOF\n#               test_cmp expected actual\n#\n# failed 5 among 19 test(s)\n1..19\nmake[2]: *** [t1011-read-tree-sparse-checkout.sh] Error 1\n\n\nnot ok - 16 not just commits\n#\n#               echo replaced >file &&\n#               git add file &&\n#               REPLACED=$(git rev-parse :file) &&\n#               mv file file.replaced &&\n#\n#               echo original >file &&\n#               git add file &&\n#               ORIGINAL=$(git rev-parse :file) &&\n#               git update-ref refs/replace/$ORIGINAL $REPLACED &&\n#               mv file file.original &&\n#\n#               git checkout file &&\n#               test_cmp file.replaced file\n#\n# failed 1 among 16 test(s)\n1..16\nmake[2]: *** [t6050-replace.sh] Error 1\n\n\nEverything else that's \"not ok\" is a known breakage.\n\n[from http://paste.lisp.org/display/128628]\n\nAny idea what's going wrong?\nAnyone else seeing these failures?\n\nFang\n\n\n-- \nDavid Fang\nhttp://www.csl.cornell.edu/~fang/\n"},{"id":"188535","messageId":"7v1uo389l8.fsf@alter.siamese.dyndns.org","threadId":"30149","inReplyTo":"Pine.LNX.4.64.1204041616001.16407@hal-00.csl.cornell.edu","subject":"Re: sparse-checkout test failures [powerpc-darwin8]","fromName":"Junio C Hamano","fromEmail":"gitster@pobox.com","sentAt":"2012-04-04T21:34:43Z","receivedAt":"2012-04-04T21:34:43Z","isPatch":false,"sender":{"key":"gitster@pobox.com","avatar":"https://avatars.githubusercontent.com/u/54884?v=4"},"body":"David Fang <fang@csl.cornell.edu> writes:\n\n> \tWith git 1.7.9.4, I'm seeing test failures with\n> t1011-read-tree-sparse-checkout.sh.\n\nHrm.  Do you mean 1.7.9 worked and 1.7.9.4 doesn't, or you just happened\nto try 1.7.9.4 and do not know if this is a regression?\n\nI do not have any Darwin or PowerPC boxes, but the answer to the above may\nhelp others who do to help diagnosing the issue further.\n\nThanks.\n"},{"id":"188537","messageId":"Pine.LNX.4.64.1204041736170.16407@hal-00.csl.cornell.edu","threadId":"30149","inReplyTo":"7v1uo389l8.fsf@alter.siamese.dyndns.org","subject":"Re: sparse-checkout test failures [powerpc-darwin8]","fromName":"David Fang","fromEmail":"fang@csl.cornell.edu","sentAt":"2012-04-04T21:41:49Z","receivedAt":"2012-04-04T21:41:49Z","isPatch":false,"sender":{"key":"fang@csl.cornell.edu","avatar":"https://gravatar.com/avatar/36bbfab335f2684322aba65a3fd850e17b711dfff7fbaada73596911d39fdfe9?d=mp&s=160"},"body":"> David Fang <fang@csl.cornell.edu> writes:\n>> \tWith git 1.7.9.4, I'm seeing test failures with\n>> t1011-read-tree-sparse-checkout.sh.\n>\n> Hrm.  Do you mean 1.7.9 worked and 1.7.9.4 doesn't, or you just happened\n> to try 1.7.9.4 and do not know if this is a regression?\n> I do not have any Darwin or PowerPC boxes, but the answer to the above may\n> help others who do to help diagnosing the issue further.\n\nUnfortunately, I didn't try any of the earlier 1.7.9.x releases, the \nprevious one I tested was 1.7.8.4, which passed all tests (except for \nknown breakages, and a few other disabled tests).\n\n-- \nDavid Fang\nhttp://www.csl.cornell.edu/~fang/\n"},{"id":"188547","messageId":"CACsJy8CTvXUq6W1tqXb0061Z5aFtvG1O8LkZuxXCfbQ909rHOQ@mail.gmail.com","threadId":"30149","inReplyTo":"Pine.LNX.4.64.1204041736170.16407@hal-00.csl.cornell.edu","subject":"Re: sparse-checkout test failures [powerpc-darwin8]","fromName":"Nguyen Thai Ngoc Duy","fromEmail":"pclouds@gmail.com","sentAt":"2012-04-05T05:35:58Z","receivedAt":"2012-04-05T05:35:58Z","isPatch":false,"sender":{"key":"pclouds@gmail.com","avatar":"https://avatars.githubusercontent.com/u/720?v=4"},"body":"On Thu, Apr 5, 2012 at 4:41 AM, David Fang <fang@csl.cornell.edu> wrote:\n>> David Fang <fang@csl.cornell.edu> writes:\n>>>\n>>>        With git 1.7.9.4, I'm seeing test failures with\n>>> t1011-read-tree-sparse-checkout.sh.\n>>\n>>\n>> Hrm.  Do you mean 1.7.9 worked and 1.7.9.4 doesn't, or you just happened\n>> to try 1.7.9.4 and do not know if this is a regression?\n>> I do not have any Darwin or PowerPC boxes, but the answer to the above may\n>> help others who do to help diagnosing the issue further.\n>\n>\n> Unfortunately, I didn't try any of the earlier 1.7.9.x releases, the\n> previous one I tested was 1.7.8.4, which passed all tests (except for known\n> breakages, and a few other disabled tests).\n\nPlease try to bisect if you have time, or at least v1.7.9, and run\nthose two tests with \"-v\".\n-- \nDuy\n"}]}