Skip to content

cmd/go: TestScript/test_import_error_stack failures #76560

@gopherbot

Description

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

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestScript/test_import_error_stack
=== PAUSE TestScript/test_import_error_stack
=== CONT  TestScript/test_import_error_stack
    script_test.go:139: 2025-11-19T23:27:50Z
    script_test.go:141: $WORK=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3922363442/tmpdir3865385737/test_import_error_stack2238800887
    script_test.go:163: 
        PATH=/home/swarming/.swarming/w/ir/x/t/cmd-go-test-3922363442/tmpdir3865385737/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:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
        HOME=/no-home
        CCACHE_DISABLE=1
        GOARCH=riscv64
...
        s5  0x2e	s6  0x2e
        s7  0x4	s8  0xd68f20
        s9  0x13f8bfce6	s10 0x7b7a68
        s11 0x61bfcb6ba380	t3  0x1f0aee1f8
        t4  0x25448647	t5  0xfffffffff2d01884
        t6  0x0	pc  0x14ffe
        [exit status 2]
        > stderr 'package testdep/p1 \(test\)\n\timports testdep/p2\n\timports testdep/p3: build constraints exclude all Go files ' # check for full import stack
    script_test.go:163: FAIL: testdata/script/test_import_error_stack.txt:5: stderr 'package testdep/p1 \(test\)\n\timports testdep/p2\n\timports testdep/p3: build constraints exclude all Go files ': no match for `(?m)package testdep/p1 \(test\)\n\timports testdep/p2\n\timports testdep/p3: build constraints exclude all Go files ` in stderr
--- FAIL: TestScript/test_import_error_stack (1.77s)

watchflakes

Metadata

Metadata

Assignees

No one assigned

    Labels

    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions