Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cmd/go: TestScript/test2json_interrupt failure due to missing stdout output #56083

Closed
bcmills opened this issue Oct 6, 2022 · 1 comment
Closed
Assignees
Labels
FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@bcmills
Copy link
Contributor

bcmills commented Oct 6, 2022

#!watchflakes
post <- pkg == "cmd/go" && test == "TestScript/test2json_interrupt" && `(found 0 matches for .*|no match for .* found) in stdout`

From https://storage.googleapis.com/go-build-log/01f4ba20/linux-amd64-longtest_ccbd6de0.log, a TryBot on https://go.dev/cl/439195:

--- FAIL: TestScript (0.01s)
    --- FAIL: TestScript/test2json_interrupt (1.26s)
        script_test.go:302: 
            # (2022-10-06T19:37:30Z)
            > [short] skip 'links and runs a test binary'
            > [!fuzz] skip 'tests SIGINT behavior for interrupting fuzz tests'
            > [windows] skip 'windows does not support os.Interrupt'
            > ? go test -json -fuzz FuzzInterrupt -run '^$' -parallel 1
            [signal: interrupt]
            > stdout -count=1 '"Action":"pass","Package":"example","Test":"FuzzInterrupt"'
            FAIL: testdata/script/test2json_interrupt.txt:6: no match for `(?m)"Action":"pass","Package":"example","Test":"FuzzInterrupt"` found in stdout
            
FAIL
FAIL	cmd/go	177.004s
@bcmills bcmills added the GoCommand cmd/go label Oct 6, 2022
@bcmills bcmills self-assigned this Oct 6, 2022
@bcmills bcmills added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Oct 6, 2022
@bcmills bcmills added this to the Go1.20 milestone Oct 6, 2022
@bcmills bcmills modified the milestones: Go1.20, Backlog Oct 21, 2022
@bcmills bcmills removed their assignment Oct 21, 2022
@bcmills bcmills self-assigned this Dec 7, 2022
@bcmills bcmills modified the milestones: Backlog, Go1.20 Dec 7, 2022
@gopherbot
Copy link

Change https://go.dev/cl/456115 mentions this issue: cmd/go: deflake TestScript/test2json_interrupt

@golang golang locked and limited conversation to collaborators Dec 8, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
FrozenDueToAge GoCommand cmd/go NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: Done
Development

No branches or pull requests

2 participants