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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]