{"thread":{"id":"37943","subject":"mac test failure -- 2gb clone","startedAt":"2014-11-12T21:57:49Z","lastAt":"2014-11-13T05:05:40Z","messageCount":3,"participants":["Michael Blume","Torsten Bögershausen"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"251777","messageId":"CAO2U3QjFCBqJ+_E-nyxGnm3GdwB1zJgK6d8SJ4QULQHY1D6bUw@mail.gmail.com","threadId":"37943","inReplyTo":null,"subject":"mac test failure -- 2gb clone","fromName":"Michael Blume","fromEmail":"blume.mike@gmail.com","sentAt":"2014-11-12T21:57:49Z","receivedAt":"2014-11-12T21:57:49Z","isPatch":false,"sender":{"key":"blume.mike@gmail.com","avatar":"https://gravatar.com/avatar/1a7b440e1d942425ff4098ac7fc15b86b30cecaa56e1692a7ef8b5939ba25ea7?d=mp&s=160"},"body":"This is in pu, haven't checked if it's also in master, this is the\nfirst time I've run this test\n\n$ GIT_TEST_CLONE_2GB=t ./t5705-clone-2gb.sh -v\nInitialized empty Git repository in\n/Users/michael.blume/workspace/git/t/trash\ndirectory.t5705-clone-2gb/.git/\nexpecting success:\n\ngit config pack.compression 0 &&\ngit config pack.depth 0 &&\nblobsize=$((100*1024*1024)) &&\nblobcount=$((2*1024*1024*1024/$blobsize+1)) &&\ni=1 &&\n(while test $i -le $blobcount\ndo\nprintf \"Generating blob $i/$blobcount\\r\" >&2 &&\nprintf \"blob\\nmark :$i\\ndata $blobsize\\n\" &&\n#test-genrandom $i $blobsize &&\nprintf \"%-${blobsize}s\" $i &&\necho \"M 100644 :$i $i\" >> commit\ni=$(($i+1)) ||\necho $? > exit-status\ndone &&\necho \"commit refs/heads/master\" &&\necho \"author A U Thor <author@email.com> 123456789 +0000\" &&\necho \"committer C O Mitter <committer@email.com> 123456789 +0000\" &&\necho \"data 5\" &&\necho \">2gb\" &&\ncat commit) |\ngit fast-import --big-file-threshold=2 &&\ntest ! -f exit-status\n\n\ngit-fast-import statistics:\n---------------------------------------------------------------------\nAlloc'd objects:       5000\nTotal objects:           23 (         0 duplicates                  )\n      blobs  :           21 (         0 duplicates          0 deltas\nof          0 attempts)\n      trees  :            1 (         0 duplicates          0 deltas\nof          0 attempts)\n      commits:            1 (         0 duplicates          0 deltas\nof          0 attempts)\n      tags   :            0 (         0 duplicates          0 deltas\nof          0 attempts)\nTotal branches:           1 (         1 loads     )\n      marks:           1024 (        21 unique    )\n      atoms:             21\nMemory total:          2344 KiB\n       pools:          2110 KiB\n     objects:           234 KiB\n---------------------------------------------------------------------\npack_report: getpagesize()            =       4096\npack_report: core.packedGitWindowSize = 1073741824\npack_report: core.packedGitLimit      = 8589934592\npack_report: pack_used_ctr            =          2\npack_report: pack_mmap_calls          =          1\npack_report: pack_open_windows        =          1 /          1\npack_report: pack_mapped              =   54863024 /   54863024\n---------------------------------------------------------------------\n\nok 1 - setup\n\nexpecting success:\n\ngit clone --bare --no-hardlinks . clone-bare\n\n\nCloning into bare repository 'clone-bare'...\ndone.\nok 2 - clone - bare\n\nexpecting success:\n\ngit clone file://. clone-wt\n\n\nCloning into 'clone-wt'...\nfatal: No path specified. See 'man git-pull' for valid url syntax\nnot ok 3 - clone - with worktree, file:// protocol\n#\n#\n# git clone file://. clone-wt\n#\n#\n\n# failed 1 among 3 test(s)\n1..3\n"},{"id":"251779","messageId":"CAO2U3Qjk+9QZXVrh+1qG_ozRstrcMSyiZjXFJY-YZcvcVBUp=g@mail.gmail.com","threadId":"37943","inReplyTo":"CAO2U3QjFCBqJ+_E-nyxGnm3GdwB1zJgK6d8SJ4QULQHY1D6bUw@mail.gmail.com","subject":"Re: mac test failure -- 2gb clone","fromName":"Michael Blume","fromEmail":"blume.mike@gmail.com","sentAt":"2014-11-12T22:09:03Z","receivedAt":"2014-11-12T22:09:03Z","isPatch":false,"sender":{"key":"blume.mike@gmail.com","avatar":"https://gravatar.com/avatar/1a7b440e1d942425ff4098ac7fc15b86b30cecaa56e1692a7ef8b5939ba25ea7?d=mp&s=160"},"body":"Confirmed exists on master\n\nOn Wed, Nov 12, 2014 at 1:57 PM, Michael Blume <blume.mike@gmail.com> wrote:\n> This is in pu, haven't checked if it's also in master, this is the\n> first time I've run this test\n>\n> $ GIT_TEST_CLONE_2GB=t ./t5705-clone-2gb.sh -v\n> Initialized empty Git repository in\n> /Users/michael.blume/workspace/git/t/trash\n> directory.t5705-clone-2gb/.git/\n> expecting success:\n>\n> git config pack.compression 0 &&\n> git config pack.depth 0 &&\n> blobsize=$((100*1024*1024)) &&\n> blobcount=$((2*1024*1024*1024/$blobsize+1)) &&\n> i=1 &&\n> (while test $i -le $blobcount\n> do\n> printf \"Generating blob $i/$blobcount\\r\" >&2 &&\n> printf \"blob\\nmark :$i\\ndata $blobsize\\n\" &&\n> #test-genrandom $i $blobsize &&\n> printf \"%-${blobsize}s\" $i &&\n> echo \"M 100644 :$i $i\" >> commit\n> i=$(($i+1)) ||\n> echo $? > exit-status\n> done &&\n> echo \"commit refs/heads/master\" &&\n> echo \"author A U Thor <author@email.com> 123456789 +0000\" &&\n> echo \"committer C O Mitter <committer@email.com> 123456789 +0000\" &&\n> echo \"data 5\" &&\n> echo \">2gb\" &&\n> cat commit) |\n> git fast-import --big-file-threshold=2 &&\n> test ! -f exit-status\n>\n>\n> git-fast-import statistics:\n> ---------------------------------------------------------------------\n> Alloc'd objects:       5000\n> Total objects:           23 (         0 duplicates                  )\n>       blobs  :           21 (         0 duplicates          0 deltas\n> of          0 attempts)\n>       trees  :            1 (         0 duplicates          0 deltas\n> of          0 attempts)\n>       commits:            1 (         0 duplicates          0 deltas\n> of          0 attempts)\n>       tags   :            0 (         0 duplicates          0 deltas\n> of          0 attempts)\n> Total branches:           1 (         1 loads     )\n>       marks:           1024 (        21 unique    )\n>       atoms:             21\n> Memory total:          2344 KiB\n>        pools:          2110 KiB\n>      objects:           234 KiB\n> ---------------------------------------------------------------------\n> pack_report: getpagesize()            =       4096\n> pack_report: core.packedGitWindowSize = 1073741824\n> pack_report: core.packedGitLimit      = 8589934592\n> pack_report: pack_used_ctr            =          2\n> pack_report: pack_mmap_calls          =          1\n> pack_report: pack_open_windows        =          1 /          1\n> pack_report: pack_mapped              =   54863024 /   54863024\n> ---------------------------------------------------------------------\n>\n> ok 1 - setup\n>\n> expecting success:\n>\n> git clone --bare --no-hardlinks . clone-bare\n>\n>\n> Cloning into bare repository 'clone-bare'...\n> done.\n> ok 2 - clone - bare\n>\n> expecting success:\n>\n> git clone file://. clone-wt\n>\n>\n> Cloning into 'clone-wt'...\n> fatal: No path specified. See 'man git-pull' for valid url syntax\n> not ok 3 - clone - with worktree, file:// protocol\n> #\n> #\n> # git clone file://. clone-wt\n> #\n> #\n>\n> # failed 1 among 3 test(s)\n> 1..3\n"},{"id":"251788","messageId":"54643C24.20201@web.de","threadId":"37943","inReplyTo":"CAO2U3QjFCBqJ+_E-nyxGnm3GdwB1zJgK6d8SJ4QULQHY1D6bUw@mail.gmail.com","subject":"Re: mac test failure -- 2gb clone","fromName":"Torsten Bögershausen","fromEmail":"tboegi@web.de","sentAt":"2014-11-13T05:05:40Z","receivedAt":"2014-11-13T05:05:40Z","isPatch":false,"sender":{"key":"tboegi@web.de","avatar":"https://avatars.githubusercontent.com/u/7138363?v=4"},"body":"On 2014-11-12 22.57, Michael Blume wrote:\n\n[t5705-clone-2gb.sh broken on Mac OS]\n\nIt is most probably even broken on every platform,\nsince we renovated the URL parser in 2013.\n(More info can be found here:)\n git log t/t5601-clone.sh\n\n\nI missed t5705-clone-2gb.sh,\nbecause it has its own enabler variable  GIT_TEST_CLONE_2GB instead\nof using EXPENSIVE as other tests do.\n\nWe can say that it as a regression that the URL\nfile://. \nis no longer supported, and change it like this: \n\ndiff --git a/t/t5705-clone-2gb.sh b/t/t5705-clone-2gb.sh\nindex e9783c3..a713118 100755\n--- a/t/t5705-clone-2gb.sh\n+++ b/t/t5705-clone-2gb.sh\n@@ -46,7 +46,7 @@ test_expect_success CLONE_2GB 'clone - bare' '\n \n test_expect_success CLONE_2GB 'clone - with worktree, file:// protocol' '\n \n-       git clone file://. clone-wt\n+       git clone \"file://$(pwd)\" clone-wt\n \n '\n\nThanks for reporting.\nDoes someone wants to send a patch for t5705-clone-2gb.sh ? \n"}]}