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

t5150-request-pull.sh fails on newest master in Debian

From
Øyvind A. Holm <sunny@sunbase.org>
Date
Jul 3, 2014, 21:55 UTC
Message-ID
<CAA787r=78UWio3E==s+J2PbVqshQdWXpS9hiJrmNz+F0vLiuGg@mail.gmail.com>

When compiling newest master (v2.0.1-472-g6f92e5f) on Debian 7.5 (64-bit), t5150-request-pull.sh fails when compiling with

$ make configure $ ./configure --prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f $ make prefix=/usr/local/varprg/git.master.v2.0.1-472-g6f92e5f $ make $ cd t $ ./t5150-request-pull.sh

I have attached the output of t5150-request-pull.sh, but in case the attachment doesn't go through, I've also pasted it at <https://gist.github.com/sunny256/0f6ff7ffee26224dbe12>. This happened on two virtual servers (64 bit) hosted on Linode, with this configuration:

$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description:    Debian GNU/Linux 7.5 (wheezy)
Release:        7.5
Codename:       wheezy

$ gcc --version gcc (Debian 4.7.2-5) 4.7.2

Both servers are (of course) updated with new packages from apt-get.

The test worked on my laptop which runs Ubuntu Studio 13.10. Have tried recompiling several times, and it fails on Debian every time.

git bisect says the bad commit is 6f92e5ff3 ("Merge branch 'dt/refs-check-refname-component-sse", 2014-07-02 12:53:07 -0700), but that's a merge. Both parent commits works, so could this be an evil merge?

When compiling parent commit 745224e test 6 is disabled, could that be the reason?

Parent commit a02ad88 passes all 7 tests.

Cheers, Øyvind

*** t5150-request-pull.sh *** not ok 1 - setup # # # git init --bare upstream.git && # git init --bare downstream.git && # git clone upstream.git upstream-private && # git clone downstream.git local && # # trash_url="file://$TRASH_DIRECTORY" && # downstream_url="$trash_url/downstream.git/" && # upstream_url="$trash_url/upstream.git/" && # # ( # cd upstream-private && # cat <<-\EOT >mnemonic.txt && # Thirtey days hath November, # Aprile, June, and September: # EOT # git add mnemonic.txt && # test_tick && # git commit -m "\"Thirty days\", a reminder of month lengths" && # git tag -m "version 1" -a initial && # git push --tags origin master # ) && # ( # cd local && # git remote add upstream "$trash_url/upstream.git" && # git fetch upstream && # git pull upstream master && # cat <<-\EOT >>mnemonic.txt && # Of twyecescore-eightt is but eine, # And all the remnante be thrycescore-eine. # O’course Leap yare comes an’pynes, # Ev’rie foure yares, gote it ryghth. # An’twyecescore-eight is but twyecescore-nyne. # EOT # git add mnemonic.txt && # test_tick && # git commit -m "More detail" && # git tag -m "version 2" -a full && # git checkout -b simplify HEAD^ && # mv mnemonic.txt mnemonic.standard && # cat <<-\EOT >mnemonic.clarified && # Thirty days has September, # All the rest I can’t remember. # EOT # git add -N mnemonic.standard mnemonic.clarified && # git commit -a -m "Adapt to use modern, simpler English # # But keep the old version, too, in case some people prefer it." && # git checkout master # ) # # ok 2 - setup: two scripts for reading pull requests not ok 3 - pull request when forgot to push # # # rm -fr downstream.git && # git init --bare downstream.git && # ( # cd local && # git checkout initial && # git merge --ff-only master && # test_must_fail git request-pull initial "$downstream_url" \ # 2>../err # ) && # grep "No match for commit .*" err && # grep "Are you sure you pushed" err # # not ok 4 - pull request after push # # # rm -fr downstream.git && # git init --bare downstream.git && # ( # cd local && # git checkout initial && # git merge --ff-only master && # git push origin master:for-upstream && # git request-pull initial origin master:for-upstream >../request # ) && # sed -nf read-request.sed <request >digest && # cat digest && # { # read task && # read repository && # read branch # } <digest && # ( # cd upstream-private && # git checkout initial && # git pull --ff-only "$repository" "$branch" # ) && # test "$branch" = for-upstream && # test_cmp local/mnemonic.txt upstream-private/mnemonic.txt # # not ok 5 - request asks HEAD to be pulled # # # rm -fr downstream.git && # git init --bare downstream.git && # ( # cd local && # git checkout initial && # git merge --ff-only master && # git push --tags origin master simplify && # git push origin master:for-upstream && # git request-pull initial "$downstream_url" >../request # ) && # sed -nf read-request.sed <request >digest && # cat digest && # { # read task && # read repository && # read branch # } <digest && # test -z "$branch" # # not ok 6 - pull request format # # # rm -fr downstream.git && # git init --bare downstream.git && # cat <<-\EOT >expect && # The following changes since commit OBJECT_NAME: # # SUBJECT (DATE) # # are available in the git repository at: # # URL BRANCH # # for you to fetch changes up to OBJECT_NAME: # # SUBJECT (DATE) # # ---------------------------------------------------------------- # VERSION # # ---------------------------------------------------------------- # SHORTLOG # # DIFFSTAT # EOT # ( # cd local && # git checkout initial && # git merge --ff-only master && # git push origin tags/full && # git request-pull initial "$downstream_url" tags/full >../request # ) && # <request sed -nf fuzz.sed >request.fuzzy && # test_i18ncmp expect request.fuzzy && # # ( # cd local && # git request-pull initial "$downstream_url" tags/full:refs/tags/full # ) >request && # sed -nf fuzz.sed <request >request.fuzzy && # test_i18ncmp expect request.fuzzy && # # ( # cd local && # git request-pull initial "$downstream_url" full # ) >request && # grep " tags/full\$" request # not ok 7 - request-pull ignores OPTIONS_KEEPDASHDASH poison # # # ( # cd local && # OPTIONS_KEEPDASHDASH=Yes && # export OPTIONS_KEEPDASHDASH && # git checkout initial && # git merge --ff-only master && # git push origin master:for-upstream && # git request-pull -- initial "$downstream_url" master:for-upstream >../request # ) # # # failed 6 among 7 test(s) 1..7 make[2]: *** [t5150-request-pull.sh] Error 1 make[2]: Leaving directory `/home/sunny/src/other/git/build-git/t' make[1]: *** [test] Error 2 make[1]: Leaving directory `/home/sunny/src/other/git/build-git/t' make: *** [test] Error 2

Next: David Turner
Message 1 of 14 in “t5150-request-pull.sh fails on newest master in Debian”
  1. Øyvind A. HolmJul 3, 2014
  2. David TurnerJul 3, 2014
  3. Øyvind A. HolmJul 3, 2014
  4. David TurnerJul 4, 2014
  5. Øyvind A. HolmJul 5, 2014
  6. David TurnerJul 5, 2014
  7. Øyvind A. HolmJul 5, 2014
  8. refs.c: handle REFNAME_REFSPEC_PATTERN at end of pageDavid Turner, Jul 5, 2014
  9. Øyvind A. HolmJul 9, 2014
  10. David TurnerJul 9, 2014
  11. Øyvind A. HolmJul 9, 2014
  12. René ScharfeJul 9, 2014
  13. Øyvind A. HolmJul 3, 2014
  14. Øyvind A. HolmJul 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.