git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: t5539 fails on ubuntu for v2.0.0-rc2

From
Junio C Hamano <gitster@pobox.com>
Date
May 7, 2014, 21:45 UTC
Message-ID
<xmqqeh056z6q.fsf@gitster.dls.corp.google.com>
In-Reply-To
<536A8FF8.7080909@fabiodalfonso.com>
Fabio D'Alfonso <fabio.dalfonso@fabiodalfonso.com> writes:
Show 24 quoted lines
> Hi,
> I am getting this in Ubuntu, something wrong with my env?
> Thanks
>
> root@HDUBVM01:~/builds/git/t# ./t5539-fetch-http-shallow.sh
> ok 1 - setup shallow clone
> not ok 2 - clone http repository
> #
> #        git clone --bare --no-local shallow
> "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" &&
> #        git clone $HTTPD_URL/smart/repo.git clone &&
> #        (
> #        cd clone &&
> #        git fsck &&
> #        git log --format=%s origin/master >actual &&
> #        cat <<EOF >expect &&
> #    7
> #    6
> #    5
> #    4
> #    3
> #    EOF
> #        test_cmp expect actual
> #        )
Does not reproduce for me but I am on Ubuntu 12.04.2 LTS, so...

Running it with the -v option might give you more hints, and running it as

    $ sh -x ./t5539-fe* -v
might give you more to chew.
I do not think it is wise to run tests as root, though ;-)
Show 32 quoted lines
> #
> not ok 3 - no shallow lines after receiving ACK ready
> #
> #        (
> #            cd shallow &&
> #            for i in $(test_seq 15)
> #            do
> #                git checkout --orphan unrelated$i &&
> #                test_commit unrelated$i &&
> #                git push -q "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" \
> #                    refs/heads/unrelated$i:refs/heads/unrelated$i &&
> #                git push -q ../clone/.git \
> #                    refs/heads/unrelated$i:refs/heads/unrelated$i ||
> #                exit 1
> #            done &&
> #            git checkout master &&
> #            test_commit new &&
> #            git push  "$HTTPD_DOCUMENT_ROOT_PATH/repo.git" master
> #        ) &&
> #        (
> #            cd clone &&
> #            git checkout --orphan newnew &&
> #            test_commit new-too &&
> #            GIT_TRACE_PACKET="$TRASH_DIRECTORY/trace" git fetch
> --depth=2 &&
> #            grep "fetch-pack< ACK .* ready" ../trace &&
> #            ! grep "fetch-pack> done" ../trace
> #        )
> #
> httpd (pid 10653?) not running
> # failed 2 among 3 test(s)
> 1..3
Previous: Fabio D'AlfonsoNext: Jeff King
Message 2 of 15 in “t5539 fails on ubuntu for v2.0.0-rc2”
  1. Fabio D'AlfonsoMay 7, 2014
  2. Junio C HamanoMay 7, 2014
  3. Jeff KingMay 8, 2014
  4. Fabio D'AlfonsoMay 8, 2014
  5. Fabio D'AlfonsoMay 8, 2014
  6. Jeff KingMay 9, 2014
  7. Fabio D'AlfonsoMay 9, 2014
  8. Junio C HamanoMay 9, 2014
  9. Jeff KingMay 10, 2014
  10. Jeff KingMay 14, 2014
  11. Junio C HamanoMay 14, 2014
  12. Jeff KingMay 14, 2014
  13. Fabio D'AlfonsoMay 8, 2014
  14. Fabio D'AlfonsoMay 9, 2014
  15. Jeff KingMay 9, 2014

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.