Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 934371

Summary: dev-vcs/git-2.41.2 fails tests on ppc64, pcc: name-rev works in a deep repo, --contains and --no-contains work in a deep repo
Product: Gentoo Linux Reporter: matoro <matoro_gentoo>
Component: Current packagesAssignee: Robin Johnson <robbat2>
Status: CONFIRMED ---    
Severity: normal CC: matoro_gentoo, ppc64
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC64   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=931974
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log and emerge --info

Description matoro archtester 2024-06-15 17:47:22 UTC
Created attachment 895882 [details]
build.log and emerge --info

These appear to be sensitive to stack size, because both of them use this run_with_limited_stack function.  Both endians.  Note that this is using a 64k kernel.

not ok 68 - name-rev works in a deep repo
#       
#               i=1 &&
#               while test $i -lt 8000
#               do
#                       echo "commit refs/heads/main
#       committer A U Thor <author@example.com> $((1000000000 + $i * 100)) +0200
#       data <<EOF
#       commit #$i
#       EOF" &&
#                       if test $i = 1
#                       then
#                               echo "from refs/heads/main^0"
#                       fi &&
#                       i=$(($i + 1)) || return 1
#               done | git fast-import &&
#               git checkout main &&
#               git tag far-far-away HEAD^ &&
#               echo "HEAD~4000 tags/far-far-away~3999" >expect &&
#               git name-rev HEAD~4000 >actual &&
#               test_cmp expect actual &&
#               run_with_limited_stack git name-rev HEAD~4000 >actual &&
#               test_cmp expect actual
#       

not ok 199 - --contains and --no-contains work in a deep repo
#       
#               i=1 &&
#               while test $i -lt 8000
#               do
#                       echo "commit refs/heads/main
#       committer A U Thor <author@example.com> $((1000000000 + $i * 100)) +0200
#       data <<EOF
#       commit #$i
#       EOF" &&
#                       if test $i = 1
#                       then
#                               echo "from refs/heads/main^0"
#                       fi &&
#                       i=$(($i + 1)) || return 1
#               done | git fast-import &&
#               git checkout main &&
#               git tag far-far-away HEAD^ &&
#               run_with_limited_stack git tag --contains HEAD >actual &&
#               test_must_be_empty actual &&
#               run_with_limited_stack git tag --no-contains HEAD >actual &&
#               test_line_count "-gt" 10 actual
#
Comment 1 matoro archtester 2024-06-15 18:10:03 UTC
And on 32-bit (ppc) as well.