Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 917799 - dev-lang/go-1.21.4 TestLoopVarInlines Fails exec from /tmp (test should use ${T}/respect TMPDIR)
Summary: dev-lang/go-1.21.4 TestLoopVarInlines Fails exec from /tmp (test should use $...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal with 1 vote (vote)
Assignee: William Hubbs
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2023-11-23 11:16 UTC by bschnzl
Modified: 2023-11-26 01:45 UTC (History)
1 user (show)

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


Attachments
Portage Tracks (build.log,18.59 KB, text/plain)
2023-11-23 11:23 UTC, bschnzl
Details
Portage Config (einfo,6.50 KB, text/plain)
2023-11-23 11:24 UTC, bschnzl
Details

Note You need to log in before you can comment on or make changes to this bug.
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.