[Test Failure] t5570 - not cloned

2 messages, 1 author, 2016-06-15 · open the first message on its own page

[Test Failure] t5570 - not cloned

From: Randall S. Becker <hidden>
Date: 2016-06-15 23:04:36

Greetings - and asking for a bit of help resolving test failures.

I'm having an issue with t5570 at 2.3.7 which seems to be a regression from
2.3.3 (currently installed), but I cannot be sure. This test failed prior to
2.3.0 in the box, worked from 2.3.0 to 2.3.3 - suggesting that it may be
environmental, not actually in git. Making some assumptions, it looks like
the URL for the test repository is not correct and may depend on localhost
resolving properly - which DNS does not do well on this box (outside my
control, we are multi-home, and localhost does not resolve to 127.0.0.1 or
[::1]). Only t5570 #'s 3-5 fail and I found a strange message in the output
of the test seemingly referring to a bad repo name. I would really
appreciate some pointers on where to look next and how to go about resolving
this. I am happy to try to work through this on 2.4.0 if that would be more
efficient for the team. Anything relating to git-daemon makes me nervous in
terms of installing the code.

Platform is HP NonStop (Posix-esque environment):

In the test output:
*** t5570-git-daemon.sh ***
<snip>
not ok 3 - clone git repository
#
#               git clone "$GIT_DAEMON_URL/repo.git" clone &&
#               test_cmp file clone/file
#
not ok 4 - fetch changes via git protocol
#
#               echo content >>file &&
#               git commit -a -m two &&
#               git push public &&
#               (cd clone && git pull) &&
#               test_cmp file clone/file
#
not ok 5 - remote detects correct HEAD
#
#               git push public master:other &&
#               (cd clone &&
#                git remote set-head -d origin &&
#                git remote set-head -a origin &&

And

../git/t/trash directory.t5570-git-daemon: cat output
fatal: remote error: repository not exported: /repo.git

Additional context: t0025, t0301, t3900, t9001, t9020 are not 100% but the
issues are acceptable - we can discuss separately.

Cheers,
Randall

-- Brief whoami: NonStop&UNIX developer since approximately
UNIX(421664400)/NonStop(211288444200000000)
-- In my real life, I talk too much.

RE: [Test Failure] t5570 - not cloned

From: Randall S. Becker <hidden>
Date: 2016-06-15 23:04:37

On May 1, 2015 11:05 AM, I wrote, in my haste:
Greetings - and asking for a bit of help resolving test failures.

I'm having an issue with t5570 at 2.3.7 which seems to be a regression
from
2.3.3 (currently installed), but I cannot be sure. This test failed prior
to
2.3.0 in the box, worked from 2.3.0 to 2.3.3 - suggesting that it may be
environmental, not actually in git. Making some assumptions, it looks like
the URL for the test repository is not correct and may depend on localhost
resolving properly - which DNS does not do well on this box (outside my
control, we are multi-home, and localhost does not resolve to 127.0.0.1 or
[::1]). Only t5570 #'s 3-5 fail and I found a strange message in the
output
of the test seemingly referring to a bad repo name. I would really
appreciate some pointers on where to look next and how to go about
resolving
this. I am happy to try to work through this on 2.4.0 if that would be
more
efficient for the team. Anything relating to git-daemon makes me nervous
in
terms of installing the code.

Platform is HP NonStop (Posix-esque environment):

In the test output:
*** t5570-git-daemon.sh ***
<snip>
not ok 3 - clone git repository
#
#               git clone "$GIT_DAEMON_URL/repo.git" clone &&
#               test_cmp file clone/file
#
not ok 4 - fetch changes via git protocol
#
#               echo content >>file &&
#               git commit -a -m two &&
#               git push public &&
#               (cd clone && git pull) &&
#               test_cmp file clone/file
#
not ok 5 - remote detects correct HEAD
#
#               git push public master:other &&
#               (cd clone &&
#                git remote set-head -d origin &&
#                git remote set-head -a origin &&

And

../git/t/trash directory.t5570-git-daemon: cat output
fatal: remote error: repository not exported: /repo.git

Additional context: t0025, t0301, t3900, t9001, t9020 are not 100% but the
issues are acceptable - we can discuss separately.
We definitely have an issue with localhost. When forcing the resolver to
return 127.0.0.1, we pass 1-16 then 17 fails as I expected to happen based
on my DNS futzing. Heads up that this test is not-surprisingly sensitive to
DNS problems. My environment is still in a messy state where I can reproduce
the original problem so it might be a useful moment for me to find a way to
modify the test to harden it. Any suggestion on that score (as in where and
roughly how you'd like it hardened)?

Cheers,
Randall
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help