Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 391707 - dev-vcs/git-1.7.8 fails tests
Summary: dev-vcs/git-1.7.8 fails tests
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-23 15:17 UTC by Markus Walter
Modified: 2012-09-01 12:23 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (build.log,37.08 KB, text/plain)
2011-11-23 15:17 UTC, Markus Walter
Details
emerge --info (info.txt,5.39 KB, text/plain)
2011-11-23 15:17 UTC, Markus Walter
Details
build log (build.log,42.56 KB, text/plain)
2011-12-09 14:35 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2011-11-23 15:17:41 UTC
Created attachment 293523 [details]
build log

On my ~amd64 machine with hardened gcc 4.6.2 I see the following error when running the git testsuite.

not ok - 2 fetch deleted tags from same revision with checksum error
#	
#		git svn init --stdlayout "$svnrepo" git_project &&
#		cd git_project &&
#		git svn fetch &&
#	
#		git diff --exit-code mybranch:trunk/subdir/file tags/mytag:file &&
#		git diff --exit-code master:subdir/file tags/mytag^:file
#	
# failed 1 among 2 test(s)
Comment 1 Markus Walter 2011-11-23 15:17:54 UTC
Created attachment 293525 [details]
emerge --info
Comment 2 Markus Walter 2011-12-09 14:35:56 UTC
Created attachment 295293 [details]
build log

In git-1.7.8 there are a lot more test-failures now (to be exact 10 tests fail). The initial problem still persists.
Comment 3 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-01-20 08:42:18 UTC
Known problems with SVN 1.7.

see my work in 1.7.9_rc2/9999 on it.
Comment 4 Markus Walter 2012-02-18 12:20:44 UTC
I can confirm, that git-1.7.9.1 merges just fine.
Comment 5 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-02-18 18:22:03 UTC
It only merges fine because I've disabled the SVN tests that fail for now.
But this IS blocking stable.
Comment 6 Rafał Mużyło 2012-05-09 16:53:46 UTC
Is this bug the reason why ebuilds >=1.7.9 dropped keywords ?
(on that note: 1.7.10.1 was released)

Is this just a matter of fixing the testsuite or does it affect common svn repos too ?
Comment 7 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-05-15 18:04:01 UTC
galtgendo:
I can cause data-loss with git-svn if the repo has files or a URL with weird names.
Comment 8 Jeremy Murphy 2012-07-02 06:25:32 UTC
I'm having trouble deciphering which failures were expected and which were unexpected, but 1.7.8.6 fails in the t0001-init section, and I guess it is this one:

not ok - 3 plain through aliased command, outside any git repo
#
#               (
#                       sane_unset GIT_DIR GIT_WORK_TREE &&
#                       HOME=$(pwd)/alias-config &&
#                       export HOME &&
#                       mkdir alias-config &&
#                       echo "[alias] aliasedinit = init" >alias-config/.gitconfig &&
#
#                       GIT_CEILING_DIRECTORIES=$(pwd) &&
#                       export GIT_CEILING_DIRECTORIES &&
#
#                       mkdir plain-aliased &&
#                       cd plain-aliased &&
#                       git aliasedinit
#               ) &&
#               check_config plain-aliased/.git false unset
#

I'm using gcc-4.5.3-r2, not hardened.  1.7.3.4-r1 passes all tests.
Comment 9 Robin Johnson archtester Gentoo Infrastructure gentoo-dev Security 2012-08-23 05:24:43 UTC
please retest with >=1.7.12-r1
Comment 10 Markus Walter 2012-09-01 12:23:16 UTC
All tests passed for git-1.7.12-r2.