{"thread":{"id":"55733","subject":"[Broken] t5300 fails at 2.32.0-rc0","startedAt":"2021-05-19T15:52:59Z","lastAt":"2021-05-19T16:46:49Z","messageCount":3,"participants":["Randall S. Becker","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"424968","messageId":"018201d74cc7$079ad730$16d08590$@nexbridge.com","threadId":"55733","inReplyTo":null,"subject":"[Broken] t5300 fails at 2.32.0-rc0","fromName":"Randall S. Becker","fromEmail":"rsbecker@nexbridge.com","sentAt":"2021-05-19T15:52:48Z","receivedAt":"2021-05-19T15:52:59Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"Much of the t5300 tests fail on 2.32.0-rc0 on NonStop.\n\n*** t5300-pack-object.sh ***\nInitialized empty Git repository in /home/git/git/t/trash directory.t5300-pack-object/.git/\nexpecting success of 5300.1 'setup':\n        rm -f .git/index* &&\n        perl -e \"print \\\"a\\\" x 4096;\" >a &&\n        perl -e \"print \\\"b\\\" x 4096;\" >b &&\n        perl -e \"print \\\"c\\\" x 4096;\" >c &&\n        test-tool genrandom \"seed a\" 2097152 >a_big &&\n        test-tool genrandom \"seed b\" 2097152 >b_big &&\n        git update-index --add a a_big b b_big c &&\n        cat c >d && echo foo >>d && git update-index --add d &&\n        tree=$(git write-tree) &&\n        commit=$(git commit-tree $tree </dev/null) &&\n        {\n                echo $tree &&\n                echo $commit &&\n                git ls-tree $tree | sed -e \"s/.* \\\\([0-9a-f]*\\\\)        .*/\\\\1/\"\n        } >obj-list &&\n        {\n                git diff-tree --root -p $commit &&\n                while read object\n                do\n                        t=$(git cat-file -t $object) &&\n                        git cat-file $t $object || return 1\n                done <obj-list\n        } >expect\n\nok 1 - setup\n\nexpecting success of 5300.2 'pack without delta':\n        packname_1=$(git pack-objects --progress --window=0 test-1 \\\n                        <obj-list 2>stderr) &&\n        check_deltas stderr = 0\n\nnot ok 2 - pack without delta\n#\n#               packname_1=$(git pack-objects --progress --window=0 test-1 \\\n#                               <obj-list 2>stderr) &&\n#               check_deltas stderr = 0\n#\n\nexpecting success of 5300.3 'pack-objects with bogus arguments':\n        test_must_fail git pack-objects --window=0 test-1 blah blah <obj-list\n\nusage: git pack-objects --stdout [<options>...] [< <ref-list> | < <object-list>]\n   or: git pack-objects [<options>...] <base-name> [< <ref-list> | < <object-list>]\n\n    -q, --quiet           do not show progress meter\n    --progress            show progress meter\n    --all-progress        show progress meter during object writing phase\n    --all-progress-implied\n                          similar to --all-progress when progress meter is shown\n    --index-version <version>[,<offset>]\n                          write the pack index file in the specified idx format version\n    --max-pack-size <n>   maximum size of each output pack file\n    --local               ignore borrowed objects from alternate object store\n    --incremental         ignore packed objects\n    --window <n>          limit pack window by objects\n    --window-memory <n>   limit pack window by memory in addition to object limit\n    --depth <n>           maximum length of delta chain allowed in the resulting pack\n    --reuse-delta         reuse existing deltas\n    --reuse-object        reuse existing objects\n    --delta-base-offset   use OFS_DELTA objects\n    --threads <n>         use threads when searching for best delta matches\n    --non-empty           do not create an empty pack output\n    --revs                read revision arguments from standard input\n    --unpacked            limit the objects to those that are not yet packed\n    --all                 include objects reachable from any reference\n    --reflog              include objects referred by reflog entries\n    --indexed-objects     include objects referred to by the index\n    --stdin-packs         read packs from stdin\n    --stdout              output pack to stdout\n    --include-tag         include tag objects that refer to objects to be packed\n    --keep-unreachable    keep unreachable objects\n    --pack-loose-unreachable\n                          pack loose unreachable objects\n    --unpack-unreachable[=<time>]\n                          unpack unreachable objects newer than <time>\n    --sparse              use the sparse reachability algorithm\n    --thin                create thin packs\n    --shallow             create packs suitable for shallow fetches\n    --honor-pack-keep     ignore packs that have companion .keep file\n    --keep-pack <name>    ignore this pack\n    --compression <n>     pack compression level\n    --keep-true-parents   do not hide commits by grafts\n    --use-bitmap-index    use a bitmap index if available to speed up counting objects\n    --write-bitmap-index  write a bitmap index together with the pack index\n    --filter <args>       object filtering\n    --missing <action>    handling for missing objects\n    --exclude-promisor-objects\n                          do not pack objects in promisor packfiles\n    --delta-islands       respect islands during delta compression\n    --uri-protocol <protocol>\n                          exclude any configured uploadpack.blobpackfileuri with this protocol\n\nok 3 - pack-objects with bogus arguments\n\n-- Brief whoami:\nNonStop developer since approximately 211288444200000000\nUNIX developer since approximately 421664400\n-- In my real life, I talk too much.\n\n\n"},{"id":"424971","messageId":"YKU7sj9MvF/hu/Lc@coredump.intra.peff.net","threadId":"55733","inReplyTo":"018201d74cc7$079ad730$16d08590$@nexbridge.com","subject":"Re: [Broken] t5300 fails at 2.32.0-rc0","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2021-05-19T16:24:18Z","receivedAt":"2021-05-19T16:24:23Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, May 19, 2021 at 11:52:48AM -0400, Randall S. Becker wrote:\n\n> expecting success of 5300.2 'pack without delta':\n>         packname_1=$(git pack-objects --progress --window=0 test-1 \\\n>                         <obj-list 2>stderr) &&\n>         check_deltas stderr = 0\n> \n> not ok 2 - pack without delta\n> #\n> #               packname_1=$(git pack-objects --progress --window=0 test-1 \\\n> #                               <obj-list 2>stderr) &&\n> #               check_deltas stderr = 0\n> #\n\nThat was one I touched recently (to add the check_deltas stuff). Can you\nrun with \"-x\"? And/or run with \"-i\", and show the contents of the\n\"stderr\" file?\n\nThe check_deltas helper is supposed to complain to stderr when it fails.\nSo I'm guessing perhaps pack-objects itself failed, and the reason is\nhidden in the stderr file.\n\nAlso, of course, bisecting the failure would be helpful (I can't\nreproduce here; I tried building with NO_PTHREADS, given our recent\ndiscussion, but it doesn't seem to matter).\n\n-Peff\n"},{"id":"424973","messageId":"018401d74cce$8c0300e0$a40902a0$@nexbridge.com","threadId":"55733","inReplyTo":"YKU7sj9MvF/hu/Lc@coredump.intra.peff.net","subject":"RE: [Broken] t5300 fails at 2.32.0-rc0","fromName":"Randall S. Becker","fromEmail":"rsbecker@nexbridge.com","sentAt":"2021-05-19T16:46:36Z","receivedAt":"2021-05-19T16:46:49Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On May 19, 2021 12:24 PM. Jeff King wrote:\n>To: Randall S. Becker <rsbecker@nexbridge.com>\n>Cc: git@vger.kernel.org\n>Subject: Re: [Broken] t5300 fails at 2.32.0-rc0\n>\n>On Wed, May 19, 2021 at 11:52:48AM -0400, Randall S. Becker wrote:\n>\n>> expecting success of 5300.2 'pack without delta':\n>>         packname_1=$(git pack-objects --progress --window=0 test-1 \\\n>>                         <obj-list 2>stderr) &&\n>>         check_deltas stderr = 0\n>>\n>> not ok 2 - pack without delta\n>> #\n>> #               packname_1=$(git pack-objects --progress --window=0 test-1 \\\n>> #                               <obj-list 2>stderr) &&\n>> #               check_deltas stderr = 0\n>> #\n>\n>That was one I touched recently (to add the check_deltas stuff). Can you run with \"-x\"? And/or run with \"-i\", and show the contents of the\n>\"stderr\" file?\n>\n>The check_deltas helper is supposed to complain to stderr when it fails.\n>So I'm guessing perhaps pack-objects itself failed, and the reason is hidden in the stderr file.\n>\n>Also, of course, bisecting the failure would be helpful (I can't reproduce here; I tried building with NO_PTHREADS, given our recent\n>discussion, but it doesn't seem to matter).\n\n*** t5300-pack-object.sh ***\nInitialized empty Git repository in /home/git/git/t/trash directory.t5300-pack-object/.git/\nexpecting success of 5300.1 'setup':\n        rm -f .git/index* &&\n        perl -e \"print \\\"a\\\" x 4096;\" >a &&\n        perl -e \"print \\\"b\\\" x 4096;\" >b &&\n        perl -e \"print \\\"c\\\" x 4096;\" >c &&\n        test-tool genrandom \"seed a\" 2097152 >a_big &&\n        test-tool genrandom \"seed b\" 2097152 >b_big &&\n        git update-index --add a a_big b b_big c &&\n        cat c >d && echo foo >>d && git update-index --add d &&\n        tree=$(git write-tree) &&\n        commit=$(git commit-tree $tree </dev/null) &&\n        {\n                echo $tree &&\n                echo $commit &&\n                git ls-tree $tree | sed -e \"s/.* \\\\([0-9a-f]*\\\\)        .*/\\\\1/\"\n        } >obj-list &&\n        {\n                git diff-tree --root -p $commit &&\n                while read object\n                do\n                        t=$(git cat-file -t $object) &&\n                        git cat-file $t $object || return 1\n                done <obj-list\n        } >expect\n\n++ rm -f '.git/index*'\n++ perl -e 'print \"a\" x 4096;'\n++ command /usr/bin/perl -e 'print \"a\" x 4096;'\n++ /usr/bin/perl -e 'print \"a\" x 4096;'\n++ perl -e 'print \"b\" x 4096;'\n++ command /usr/bin/perl -e 'print \"b\" x 4096;'\n++ /usr/bin/perl -e 'print \"b\" x 4096;'\n++ perl -e 'print \"c\" x 4096;'\n++ command /usr/bin/perl -e 'print \"c\" x 4096;'\n++ /usr/bin/perl -e 'print \"c\" x 4096;'\n++ test-tool genrandom 'seed a' 2097152\n++ test-tool genrandom 'seed b' 2097152\n++ git update-index --add a a_big b b_big c\n++ cat c\n++ echo foo\n++ git update-index --add d\n+++ git write-tree\n++ tree=3c5699c72c7dae4ca3b3ca9de37d68a592b50a45\n+++ git commit-tree 3c5699c72c7dae4ca3b3ca9de37d68a592b50a45\n++ commit=ee88dc8f46b17a7cf0af1141d84677fff4ba1cfe\n++ echo 3c5699c72c7dae4ca3b3ca9de37d68a592b50a45\n++ echo ee88dc8f46b17a7cf0af1141d84677fff4ba1cfe\n++ git ls-tree 3c5699c72c7dae4ca3b3ca9de37d68a592b50a45\n++ sed -e 's/.* \\([0-9a-f]*\\)   .*/\\1/'\n++ git diff-tree --root -p ee88dc8f46b17a7cf0af1141d84677fff4ba1cfe\n++ read object\n+++ git cat-file -t 3c5699c72c7dae4ca3b3ca9de37d68a592b50a45\n++ t=tree\n++ git cat-file tree 3c5699c72c7dae4ca3b3ca9de37d68a592b50a45\n++ read object\n+++ git cat-file -t ee88dc8f46b17a7cf0af1141d84677fff4ba1cfe\n++ t=commit\n++ git cat-file commit ee88dc8f46b17a7cf0af1141d84677fff4ba1cfe\n++ read object\n+++ git cat-file -t 9d235ed07cd19811a6ceb342de82f190e49c9f68\n++ t=blob\n++ git cat-file blob 9d235ed07cd19811a6ceb342de82f190e49c9f68\n++ read object\n+++ git cat-file -t 012b05d476b4ffc9e62d036156b99467206f1efa\n++ t=blob\n++ git cat-file blob 012b05d476b4ffc9e62d036156b99467206f1efa\n++ read object\n+++ git cat-file -t c82de19312b6c3695c0c18f70709a6c535682a67\n++ t=blob\n++ git cat-file blob c82de19312b6c3695c0c18f70709a6c535682a67\n++ read object\n+++ git cat-file -t 6a9aaa62f091ea4b20590414e8b58c1b0b32b5bf\n++ t=blob\n++ git cat-file blob 6a9aaa62f091ea4b20590414e8b58c1b0b32b5bf\n++ read object\n+++ git cat-file -t 0be779221aca65277fd447c8207e1b3c2706ae20\n++ t=blob\n++ git cat-file blob 0be779221aca65277fd447c8207e1b3c2706ae20\n++ read object\n+++ git cat-file -t b010fe5253f7dc59c6605dacb92fcea00d199d4e\n++ t=blob\n++ git cat-file blob b010fe5253f7dc59c6605dacb92fcea00d199d4e\n++ read object\nok 1 - setup\n\nexpecting success of 5300.2 'pack without delta':\n        packname_1=$(git pack-objects --progress --window=0 test-1 \\\n                        <obj-list 2>stderr) &&\n        check_deltas stderr = 0\n\n+++ git pack-objects --progress --window=0 test-1\n++ packname_1=\nerror: last command exited with $?=128\nnot ok 2 - pack without delta\n#\n#               packname_1=$(git pack-objects --progress --window=0 test-1 \\\n#                               <obj-list 2>stderr) &&\n#               check_deltas stderr = 0\n#\n\n"}]}