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/link: test timeouts #64535

Open
gopherbot opened this issue Dec 4, 2023 · 4 comments
Open

cmd/link: test timeouts #64535

gopherbot opened this issue Dec 4, 2023 · 4 comments
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Dec 4, 2023

#!watchflakes
post <- pkg == "cmd/link" && log ~ `test timed out`

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestLargeReloc (168.16s)
    exec.go:193: test timed out while running command: /tmp/workdir-host-ios-arm64-corellium-ios/go/bin/go run -ldflags=-linkmode=external /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestLargeReloc2020861662/001/x.go
    link_test.go:1106: build failed: exit status 2. output:
        SIGQUIT: quit
        PC=0x1afbe3374 m=0 sigcode=0

        goroutine 0 gp=0x100f61900 m=0 mp=0x100f62e00 [idle]:
        syscall.syscall6(0xc?, 0x1300736b0?, 0x1000118?, 0x101f36478?, 0x90?, 0x10162c108?, 0x90?)
        	runtime/sys_darwin.go:45 +0x68 fp=0x1300735e0 sp=0x130073520 pc=0x1005398c8
        syscall.wait4(0x130073678?, 0x1005b1758?, 0x90?, 0x100bd3460?)
...
        r24     0x6b0f25af94fec10d
        r25     0xb2e301ebc884e399
        r26     0x0
        r27     0x838
        r28     0x100f61900
        r29     0x16f93afa8
        lr      0x10053e818
        sp      0x16f93afa0
        pc      0x1afbe3374
        fault   0x1afbe3374

watchflakes

@gopherbot gopherbot added the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Dec 4, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/link" && test == "TestLargeReloc"
2023-11-29 17:49 ios-arm64-corellium go@c418da34 cmd/link.TestLargeReloc (log)
--- FAIL: TestLargeReloc (168.16s)
    exec.go:193: test timed out while running command: /tmp/workdir-host-ios-arm64-corellium-ios/go/bin/go run -ldflags=-linkmode=external /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestLargeReloc2020861662/001/x.go
    link_test.go:1106: build failed: exit status 2. output:
        SIGQUIT: quit
        PC=0x1afbe3374 m=0 sigcode=0

        goroutine 0 gp=0x100f61900 m=0 mp=0x100f62e00 [idle]:
        syscall.syscall6(0xc?, 0x1300736b0?, 0x1000118?, 0x101f36478?, 0x90?, 0x10162c108?, 0x90?)
        	runtime/sys_darwin.go:45 +0x68 fp=0x1300735e0 sp=0x130073520 pc=0x1005398c8
        syscall.wait4(0x130073678?, 0x1005b1758?, 0x90?, 0x100bd3460?)
...
        r24     0x6b0f25af94fec10d
        r25     0xb2e301ebc884e399
        r26     0x0
        r27     0x838
        r28     0x100f61900
        r29     0x16f93afa8
        lr      0x10053e818
        sp      0x16f93afa0
        pc      0x1afbe3374
        fault   0x1afbe3374

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Dec 4, 2023
@bcmills bcmills changed the title cmd/link: TestLargeReloc failures cmd/link: test timeouts Dec 4, 2023
@mknyszek mknyszek added this to the Backlog milestone Dec 13, 2023
@mknyszek
Copy link
Contributor

CC @golang/ios

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/link" && log ~ `test timed out`
2024-03-26 19:53 gotip-openbsd-amd64 go@8bf9f4bb cmd/link.TestIndexMismatch (log)
=== RUN   TestIndexMismatch
=== PAUSE TestIndexMismatch
=== CONT  TestIndexMismatch
    link_test.go:814: /home/swarming/.swarming/w/ir/x/w/goroot/bin/go tool compile -importcfg=/home/swarming/.swarming/w/ir/x/t/TestIndexMismatch188641573/001/runtime.importcfg -p=a -o /home/swarming/.swarming/w/ir/x/t/TestIndexMismatch188641573/001/a.o testdata/testIndexMismatch/a.go
    link_test.go:817: compiling a.go failed: fork/exec /home/swarming/.swarming/w/ir/x/w/goroot/bin/go: resource temporarily unavailable
--- FAIL: TestIndexMismatch (13.32s)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- pkg == "cmd/link" && log ~ `test timed out`
2024-04-30 15:38 gotip-openbsd-amd64 go@5616ab60 cmd/link.TestFlagS (log)
=== RUN   TestFlagS
=== PAUSE TestFlagS
=== CONT  TestFlagS
    link_test.go:1361: build (linkmode=external) failed: exit status 1
        # command-line-arguments
        /home/swarming/.swarming/w/ir/x/w/goroot/pkg/tool/openbsd_amd64/link: running clang failed: fork/exec /usr/bin/clang: resource temporarily unavailable
        /usr/bin/clang -m64 -s -pthread -Wl,-nopie -o $WORK/b001/exe/a.out -rdynamic /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/go.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000000.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000001.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000002.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000003.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000004.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000005.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000006.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000007.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000008.o /home/swarming/.swarming/w/ir/x/t/go-link-2727685277/000009.o -O2 -g -lpthread
        
--- FAIL: TestFlagS (35.90s)

watchflakes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler/runtime Issues related to the Go compiler and/or runtime. help wanted NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: No status
Development

No branches or pull requests

2 participants