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

Bug 917799

Summary: dev-lang/go-1.21.4 TestLoopVarInlines Fails exec from /tmp (test should use ${T}/respect TMPDIR)
Product: Gentoo Linux Reporter: bschnzl <bschnzl>
Component: Current packagesAssignee: William Hubbs <williamh>
Status: UNCONFIRMED ---    
Severity: normal CC: bschnzl
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Portage Tracks
Portage Config

Description bschnzl 2023-11-23 11:16:30 UTC
--- FAIL: TestLoopVarInlines (3.89s)
    loopvar_test.go:134: exit status 1
    loopvar_test.go:134: exit status 1
    loopvar_test.go:134: exit status 1
    loopvar_test.go:134: exit status 1
    loopvar_test.go:144: fork/exec /tmp/go-build3454802855/b001/exe/inlines: permission denied
    loopvar_test.go:145: fork/exec /tmp/go-build410388311/b001/exe/inlines: permission denied
    loopvar_test.go:146: fork/exec /tmp/go-build4023377415/b001/exe/inlines: permission denied
    loopvar_test.go:147: fork/exec /tmp/go-build979913338/b001/exe/inlines: permission denied
    loopvar_test.go:150: Did not see expected value of a
    loopvar_test.go:153: Did not see expected value of b
    loopvar_test.go:156: Did not see expected value of c
    loopvar_test.go:159: Did not see expected value of m
--- FAIL: TestLoopVarHashes (19.62s)
    loopvar_test.go:202: # cmd/compile/internal/loopvar/testdata/inlines
        cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration [bisect-match 0x7802e115b9336ca4]
        loopvarhash triggered cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration 001100110110110010100100
        cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration (loop inlined into cmd/compile/internal/loopvar/testdata/inlines/main.go:35) [bisect-match 0x7802e115b9336ca4]
        loopvarhash triggered cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration (loop inlined into cmd/compile/internal/loopvar/testdata/inlines/main.go:35) 001100110110110010100100
        fork/exec /tmp/go-build3616287161/b001/exe/inlines: permission denied
    loopvar_test.go:223: v001100110110110010100100: did not see expected value of m run
    loopvar_test.go:202: # cmd/compile/internal/loopvar/testdata/inlines
        cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration [bisect-match 0x7802e115b9336ca4]
        loopvarhash triggered cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration 001100110110110010100100
        cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration (loop inlined into cmd/compile/internal/loopvar/testdata/inlines/main.go:35) [bisect-match 0x7802e115b9336ca4]
        loopvarhash triggered cmd/compile/internal/loopvar/testdata/inlines/main.go:27:6: loop variable i now per-iteration (loop inlined into cmd/compile/internal/loopvar/testdata/inlines/main.go:35) 001100110110110010100100
        fork/exec /tmp/go-build2609301918/b001/exe/inlines: permission denied
    loopvar_test.go:223: vx336ca4: did not see expected value of m run
FAIL
FAIL    cmd/compile/internal/loopvar    30.270s
Comment 1 bschnzl 2023-11-23 11:23:39 UTC
Created attachment 875419 [details]
Portage Tracks
Comment 2 bschnzl 2023-11-23 11:24:29 UTC
Created attachment 875420 [details]
Portage Config

emerge -pqv '=dev-lang/go-1.21.4::gentoo'
[ebuild     U ] dev-lang/go-1.21.4 [1.21.3] CPU_FLAGS_X86="sse2"
Comment 3 bschnzl 2023-11-23 11:30:08 UTC
rather than alter mount options for /tmp 
Run update with FEATURES="-test" USE="-test"
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-11-26 00:32:08 UTC
Please do not CC arch teams, they're not for general bugs.