Skip to content

cmd/go: TestScript/list_empty_importpath failures #73976

Open
@gopherbot

Description

@gopherbot
#!watchflakes
default <- pkg == "cmd/go" && test == "TestScript/list_empty_importpath"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/list_empty_importpath
=== PAUSE TestScript/list_empty_importpath
=== CONT  TestScript/list_empty_importpath
    script_test.go:139: 2025-06-04T08:19:40Z
    script_test.go:141: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2945123644/tmpdir4179452612/list_empty_importpath1651646894
    script_test.go:163: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-2945123644/tmpdir4179452612/testbin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/x/w/goroot/bin:/home/swarming/.swarming/w/ir/cache/tools/bin:/home/swarming/.swarming/w/ir/bbagent_utility_packages:/home/swarming/.swarming/w/ir/bbagent_utility_packages/bin:/home/swarming/.swarming/w/ir/cipd_bin_packages:/home/swarming/.swarming/w/ir/cipd_bin_packages/bin:/home/swarming/.swarming/w/ir/cache/cipd_client:/home/swarming/.swarming/w/ir/cache/cipd_client/bin:/home/swarming/.swarming/cipd_cache/bin:/home/swarming/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=ppc64
...
        panic: LoadImport called with empty package path [recovered, repanicked]
        
        goroutine 1 gp=0xc0000041c0 m=4 mp=0xc000098008 [running]:
        panic({0x7a4ee0?, 0xa04a10?})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x18c fp=0xc0002379d0 sp=0xc000237910 pc=0x94a0c
        cmd/go/internal/load.(*preload).flush(0xc000044410)
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/internal/load/pkg.go:1122 +0x98 fp=0xc000237a08 sp=0xc0002379d0 pc=0x575218
        cmd/go/internal/load.PackagesAndErrors.deferwrap2()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/internal/load/pkg.go:2940 +0x4c fp=0xc000237a30 sp=0xc000237a08 pc=0x583e8c
        panic({0x7a4ee0?, 0xa04a10?})
...
        
        goroutine 10 gp=0xc00009a540 m=nil [runnable]:
        cmd/go/internal/load.(*preload).preloadImports.gowrap1()
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/internal/load/pkg.go:1104 fp=0xc00006dfc0 sp=0xc00006dfc0 pc=0x574ff0
        runtime.goexit({})
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_ppc64x.s:1015 +0x4 fp=0xc00006dfc0 sp=0xc00006dfc0 pc=0x9d524
        created by cmd/go/internal/load.(*preload).preloadImports in goroutine 1
        	/home/swarming/.swarming/w/ir/x/w/goroot/src/cmd/go/internal/load/pkg.go:1104 +0x2b0
    script_test.go:163: FAIL: testdata/script/list_empty_importpath.txt:6: go list -e all: exit status 2
--- FAIL: TestScript/list_empty_importpath (3.21s)

watchflakes

Metadata

Metadata

Assignees

Labels

FixPendingIssues that have a fix which has not yet been reviewed or submitted.GoCommandcmd/goNeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

Status

Active

Relationships

None yet

Development

No branches or pull requests

Issue actions