{"thread":{"id":"24791","subject":"t5560-http-backend-noserver.sh fails on FreeBSD 8.1-STABLE","startedAt":"2010-08-19T15:56:43Z","lastAt":"2010-08-21T18:07:25Z","messageCount":4,"participants":["Ævar Arnfjörð Bjarmason","Tarmigan"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"148457","messageId":"AANLkTin8KvXBn4R3-_2_wG3B3QU9F1X0Ax69Rrb1cw1y@mail.gmail.com","threadId":"24791","inReplyTo":null,"subject":"t5560-http-backend-noserver.sh fails on FreeBSD 8.1-STABLE","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2010-08-19T15:56:43Z","receivedAt":"2010-08-19T15:56:43Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"I haven't investigate this, but here's the failure output:\n\n$ ./t5560-http-backend-noserver.sh --immediate --verbose\n[..]\nok 5 - export if git-daemon-export-ok\n\nexpecting success:\n        log_div \"getanyfile true\"\n        config http.getanyfile true &&\n        get_static_files \"200 OK\"\n\nok 6 - static file if http.getanyfile true is ok\n\nexpecting success:\n        log_div \"getanyfile false\"\n        config http.getanyfile false &&\n        get_static_files \"403 Forbidden\"\n\nok 7 - static file if http.getanyfile false fails\n\nexpecting success:\n        log_div \"uploadpack default\"\n        GET info/refs?service=git-upload-pack \"200 OK\"  &&\n        POST git-upload-pack 0000 \"200 OK\"\n\n--- exp 2010-08-19 15:56:14.000000000 +0000\n+++ act 2010-08-19 15:56:14.000000000 +0000\n@@ -1 +1 @@\n-Status: 200 OK\n+Status: 404 Not Found\nnot ok - 8 http.uploadpack default enabled\n#\n#               log_div \"uploadpack default\"\n#               GET info/refs?service=git-upload-pack \"200 OK\"  &&\n#               POST git-upload-pack 0000 \"200 OK\"\n#\n"},{"id":"148649","messageId":"AANLkTimPpiO2RBbNNo0Z8mFm1VH_Ujk7HVskYvh=X2Fc@mail.gmail.com","threadId":"24791","inReplyTo":"AANLkTin8KvXBn4R3-_2_wG3B3QU9F1X0Ax69Rrb1cw1y@mail.gmail.com","subject":"Re: t5560-http-backend-noserver.sh fails on FreeBSD 8.1-STABLE","fromName":"Tarmigan","fromEmail":"tarmigan+git@gmail.com","sentAt":"2010-08-21T07:57:59Z","receivedAt":"2010-08-21T07:57:59Z","isPatch":false,"sender":{"key":"tarmigan+git@gmail.com","avatar":null},"body":"On Thu, Aug 19, 2010 at 9:56 AM, Ævar Arnfjörð Bjarmason\n<avarab@gmail.com> wrote:\n> I haven't investigate this, but here's the failure output:\n>\n> ok 7 - static file if http.getanyfile false fails\n>\n> expecting success:\n>        log_div \"uploadpack default\"\n>        GET info/refs?service=git-upload-pack \"200 OK\"  &&\n>        POST git-upload-pack 0000 \"200 OK\"\n>\n> --- exp 2010-08-19 15:56:14.000000000 +0000\n> +++ act 2010-08-19 15:56:14.000000000 +0000\n> @@ -1 +1 @@\n> -Status: 200 OK\n> +Status: 404 Not Found\n> not ok - 8 http.uploadpack default enabled\n> #\n> #               log_div \"uploadpack default\"\n> #               GET info/refs?service=git-upload-pack \"200 OK\"  &&\n> #               POST git-upload-pack 0000 \"200 OK\"\n> #\n>\n\nThanks for the report.  Is this a new breakage and what version is it\nfailing on?\n\nDo you ever test with GIT_TEST_HTTPD set?  If not, can you please try this\n     export GIT_TEST_HTTPD=1 && ./t5561-http-backend.sh -d -i -v\nand report back?  Hopefully the test suite will automatically find\napache on FreeBSD, otherwise you may need to give it some hints (see\nlib-httpd.sh).\n\nThanks,\nTarmigan\n"},{"id":"148651","messageId":"AANLkTimm9uXRxcwL=o1JE_voOOYVNo-1V-+Sx78votJO@mail.gmail.com","threadId":"24791","inReplyTo":"AANLkTimPpiO2RBbNNo0Z8mFm1VH_Ujk7HVskYvh=X2Fc@mail.gmail.com","subject":"Re: t5560-http-backend-noserver.sh fails on FreeBSD 8.1-STABLE","fromName":"Ævar Arnfjörð Bjarmason","fromEmail":"avarab@gmail.com","sentAt":"2010-08-21T08:06:39Z","receivedAt":"2010-08-21T08:06:39Z","isPatch":false,"sender":{"key":"avarab@gmail.com","avatar":"https://avatars.githubusercontent.com/u/45301?v=4"},"body":"On Sat, Aug 21, 2010 at 07:57, Tarmigan <tarmigan+git@gmail.com> wrote:\n> On Thu, Aug 19, 2010 at 9:56 AM, Ævar Arnfjörð Bjarmason\n> <avarab@gmail.com> wrote:\n>> I haven't investigate this, but here's the failure output:\n>>\n>> ok 7 - static file if http.getanyfile false fails\n>>\n>> expecting success:\n>>        log_div \"uploadpack default\"\n>>        GET info/refs?service=git-upload-pack \"200 OK\"  &&\n>>        POST git-upload-pack 0000 \"200 OK\"\n>>\n>> --- exp 2010-08-19 15:56:14.000000000 +0000\n>> +++ act 2010-08-19 15:56:14.000000000 +0000\n>> @@ -1 +1 @@\n>> -Status: 200 OK\n>> +Status: 404 Not Found\n>> not ok - 8 http.uploadpack default enabled\n>> #\n>> #               log_div \"uploadpack default\"\n>> #               GET info/refs?service=git-upload-pack \"200 OK\"  &&\n>> #               POST git-upload-pack 0000 \"200 OK\"\n>> #\n>>\n>\n> Thanks for the report.  Is this a new breakage and what version is it\n> failing on?\n>\n> Do you ever test with GIT_TEST_HTTPD set?  If not, can you please try this\n>     export GIT_TEST_HTTPD=1 && ./t5561-http-backend.sh -d -i -v\n> and report back?  Hopefully the test suite will automatically find\n> apache on FreeBSD, otherwise you may need to give it some hints (see\n> lib-httpd.sh).\n\nHere are the outputs of:\n\n$ GIT_TEST_HTTPD= ./t5560-http-backend-noserver.sh -d -i -v >\n/tmp/no-httpd.txt 2>&1\n$ GIT_TEST_HTTPD=1 ./t5560-http-backend-noserver.sh -d -i -v >\n/tmp/with-httpd.txt 2>&1\n\nCan't investigate this further now, sorry.\n\n\nInitialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/.git/\nexpecting success: \n\techo content >file &&\n\tgit add file &&\n\tgit commit -m one &&\n\n\tmkdir \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t(cd \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t git --bare init &&\n\t : >objects/info/alternates &&\n\t : >objects/info/http-alternates\n\t) &&\n\tgit remote add public \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\tgit push public master:master &&\n\n\t(cd \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t git repack -a -d\n\t) &&\n\n\techo other >file &&\n\tgit add file &&\n\tgit commit -m two &&\n\tgit push public master:master &&\n\n\tLOOSE_URL=$(find_file objects/??) &&\n\tPACK_URL=$(find_file objects/pack/*.pack) &&\n\tIDX_URL=$(find_file objects/pack/*.idx)\n\n[master (root-commit) e00d2d0] one\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\n create mode 100644 file\nInitialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git/\nTo /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git\n * [new branch]      master -> master\n[master e101090] two\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 1 deletions(-)\nTo /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git\n   e00d2d0..e101090  master -> master\nok 1 - setup repository\n\nexpecting success: \n\tlog_div \"refs/heads/master\"\n\tGET refs/heads/master \"404 Not Found\"\n\nok 2 - direct refs/heads/master not found\n\nexpecting success: \n\tlog_div \"getanyfile default\"\n\tget_static_files \"200 OK\"\n\nok 3 - static file is ok\n\nexpecting success: \n\tlog_div \"no git-daemon-export-ok\"\n\tget_static_files \"404 Not Found\"\n\nok 4 - no export by default\n\nexpecting success: \n\tlog_div \"git-daemon-export-ok\"\n        (cd \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t touch git-daemon-export-ok\n\t) &&\n        get_static_files \"200 OK\"\n\nok 5 - export if git-daemon-export-ok\n\nexpecting success: \n\tlog_div \"getanyfile true\"\n\tconfig http.getanyfile true &&\n\tget_static_files \"200 OK\"\n\nok 6 - static file if http.getanyfile true is ok\n\nexpecting success: \n\tlog_div \"getanyfile false\"\n\tconfig http.getanyfile false &&\n\tget_static_files \"403 Forbidden\"\n\nok 7 - static file if http.getanyfile false fails\n\nexpecting success: \n\tlog_div \"uploadpack default\"\n\tGET info/refs?service=git-upload-pack \"200 OK\"  &&\n\tPOST git-upload-pack 0000 \"200 OK\"\n\n--- exp\t2010-08-21 08:04:57.000000000 +0000\n+++ act\t2010-08-21 08:04:57.000000000 +0000\n@@ -1 +1 @@\n-Status: 200 OK\n+Status: 404 Not Found\nnot ok - 8 http.uploadpack default enabled\n#\t\n#\t\tlog_div \"uploadpack default\"\n#\t\tGET info/refs?service=git-upload-pack \"200 OK\"  &&\n#\t\tPOST git-upload-pack 0000 \"200 OK\"\n#\t\n\n\nInitialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/.git/\nexpecting success: \n\techo content >file &&\n\tgit add file &&\n\tgit commit -m one &&\n\n\tmkdir \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t(cd \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t git --bare init &&\n\t : >objects/info/alternates &&\n\t : >objects/info/http-alternates\n\t) &&\n\tgit remote add public \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\tgit push public master:master &&\n\n\t(cd \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t git repack -a -d\n\t) &&\n\n\techo other >file &&\n\tgit add file &&\n\tgit commit -m two &&\n\tgit push public master:master &&\n\n\tLOOSE_URL=$(find_file objects/??) &&\n\tPACK_URL=$(find_file objects/pack/*.pack) &&\n\tIDX_URL=$(find_file objects/pack/*.idx)\n\n[master (root-commit) 0bfcfe4] one\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 0 deletions(-)\n create mode 100644 file\nInitialized empty Git repository in /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git/\nTo /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git\n * [new branch]      master -> master\n[master d89e1cd] two\n Author: A U Thor <author@example.com>\n 1 files changed, 1 insertions(+), 1 deletions(-)\nTo /usr/home/avar/g/git/t/trash directory.t5560-http-backend-noserver/repo.git\n   0bfcfe4..d89e1cd  master -> master\nok 1 - setup repository\n\nexpecting success: \n\tlog_div \"refs/heads/master\"\n\tGET refs/heads/master \"404 Not Found\"\n\nok 2 - direct refs/heads/master not found\n\nexpecting success: \n\tlog_div \"getanyfile default\"\n\tget_static_files \"200 OK\"\n\nok 3 - static file is ok\n\nexpecting success: \n\tlog_div \"no git-daemon-export-ok\"\n\tget_static_files \"404 Not Found\"\n\nok 4 - no export by default\n\nexpecting success: \n\tlog_div \"git-daemon-export-ok\"\n        (cd \"$HTTPD_DOCUMENT_ROOT_PATH/repo.git\" &&\n\t touch git-daemon-export-ok\n\t) &&\n        get_static_files \"200 OK\"\n\nok 5 - export if git-daemon-export-ok\n\nexpecting success: \n\tlog_div \"getanyfile true\"\n\tconfig http.getanyfile true &&\n\tget_static_files \"200 OK\"\n\nok 6 - static file if http.getanyfile true is ok\n\nexpecting success: \n\tlog_div \"getanyfile false\"\n\tconfig http.getanyfile false &&\n\tget_static_files \"403 Forbidden\"\n\nok 7 - static file if http.getanyfile false fails\n\nexpecting success: \n\tlog_div \"uploadpack default\"\n\tGET info/refs?service=git-upload-pack \"200 OK\"  &&\n\tPOST git-upload-pack 0000 \"200 OK\"\n\n--- exp\t2010-08-21 08:04:51.000000000 +0000\n+++ act\t2010-08-21 08:04:51.000000000 +0000\n@@ -1 +1 @@\n-Status: 200 OK\n+Status: 404 Not Found\nnot ok - 8 http.uploadpack default enabled\n#\t\n#\t\tlog_div \"uploadpack default\"\n#\t\tGET info/refs?service=git-upload-pack \"200 OK\"  &&\n#\t\tPOST git-upload-pack 0000 \"200 OK\"\n#\t\n"},{"id":"148676","messageId":"AANLkTi=JgwjfbBus23M3Kw8-cksparsFKvfOs3fMx6MR@mail.gmail.com","threadId":"24791","inReplyTo":"AANLkTimm9uXRxcwL=o1JE_voOOYVNo-1V-+Sx78votJO@mail.gmail.com","subject":"Re: t5560-http-backend-noserver.sh fails on FreeBSD 8.1-STABLE","fromName":"Tarmigan","fromEmail":"tarmigan+git@gmail.com","sentAt":"2010-08-21T18:07:25Z","receivedAt":"2010-08-21T18:07:25Z","isPatch":false,"sender":{"key":"tarmigan+git@gmail.com","avatar":null},"body":"On Sat, Aug 21, 2010 at 2:06 AM, Ævar Arnfjörð Bjarmason\n<avarab@gmail.com> wrote:\n> On Sat, Aug 21, 2010 at 07:57, Tarmigan <tarmigan+git@gmail.com> wrote:\n>> On Thu, Aug 19, 2010 at 9:56 AM, Ævar Arnfjörð Bjarmason\n>> <avarab@gmail.com> wrote:\n>>> I haven't investigate this, but here's the failure output:\n>>>\n>>> ok 7 - static file if http.getanyfile false fails\n>>>\n>>> expecting success:\n>>>        log_div \"uploadpack default\"\n>>>        GET info/refs?service=git-upload-pack \"200 OK\"  &&\n>>>        POST git-upload-pack 0000 \"200 OK\"\n>>>\n>>> --- exp 2010-08-19 15:56:14.000000000 +0000\n>>> +++ act 2010-08-19 15:56:14.000000000 +0000\n>>> @@ -1 +1 @@\n>>> -Status: 200 OK\n>>> +Status: 404 Not Found\n>>> not ok - 8 http.uploadpack default enabled\n>>> #\n>>> #               log_div \"uploadpack default\"\n>>> #               GET info/refs?service=git-upload-pack \"200 OK\"  &&\n>>> #               POST git-upload-pack 0000 \"200 OK\"\n>>> #\n>>>\n>>\n>> Thanks for the report.  Is this a new breakage and what version is it\n>> failing on?\n>>\n>> Do you ever test with GIT_TEST_HTTPD set?  If not, can you please try this\n>>     export GIT_TEST_HTTPD=1 && ./t5561-http-backend.sh -d -i -v\n>> and report back?  Hopefully the test suite will automatically find\n>> apache on FreeBSD, otherwise you may need to give it some hints (see\n>> lib-httpd.sh).\n>\n> Here are the outputs of:\n>\n> $ GIT_TEST_HTTPD= ./t5560-http-backend-noserver.sh -d -i -v >\n> /tmp/no-httpd.txt 2>&1\n> $ GIT_TEST_HTTPD=1 ./t5560-http-backend-noserver.sh -d -i -v >\n> /tmp/with-httpd.txt 2>&1\n\nOops, sorry for not being more clear.  Test t5560 runs the same tests\nas t5561, but t5561 runs through the httpd server while t5560 tries to\nrun without the httpd server.  t5561 is probably a better test, but\ndepends on GIT_TEST_HTTPD.  t5560 will run by default if you just run\nall the tests.  So please try to run t5561 if you have the chance.\n\nThanks,\nTarmigan\n"}]}