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

all: test failures with _assert(): stream.sputn on ios-arm64-corellium #61446

Open
gopherbot opened this issue Jul 19, 2023 · 18 comments
Open

all: test failures with _assert(): stream.sputn on ios-arm64-corellium #61446

gopherbot opened this issue Jul 19, 2023 · 18 comments
Assignees
Labels
Builders x/build issues (builders, bots, dashboards) compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-iOS GOOS=ios
Milestone

Comments

@gopherbot
Copy link

gopherbot commented Jul 19, 2023

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`

Issue created automatically to collect these failures.

Example (log):

--- FAIL: TestLargeReloc (6.78s)
    link_test.go:1094: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

    link_test.go:1101: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

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 Jul 19, 2023
@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "cmd/link" && test == "TestLargeReloc"
2023-07-18 23:43 ios-arm64-corellium go@cd6c4e05 cmd/link.TestLargeReloc (log)
--- FAIL: TestLargeReloc (6.78s)
    link_test.go:1094: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

    link_test.go:1101: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@gopherbot gopherbot added the compiler/runtime Issues related to the Go compiler and/or runtime. label Jul 19, 2023
@bcmills bcmills changed the title cmd/link: TestLargeReloc failures all: test failures with _assert(): stream.sputn on ios-arm64-corellium Jul 19, 2023
@bcmills bcmills added OS-iOS GOOS=ios Builders x/build issues (builders, bots, dashboards) labels Jul 19, 2023
@bcmills bcmills added this to the Backlog milestone Jul 19, 2023
@bcmills
Copy link
Contributor

bcmills commented Jul 19, 2023

(attn @golang/ios)

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-07-10 16:31 ios-arm64-corellium go@0b65b02b cmd/link.TestContentAddressableSymbols (log)
--- FAIL: TestContentAddressableSymbols (0.96s)
    link_test.go:924: command /tmp/workdir-host-ios-arm64-corellium-ios/go/bin/go run testdata/testHashedSyms/p.go failed: exit status 1
        command-line-arguments: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-build734972062/b001/importcfg: no space left on device
2023-07-10 16:31 ios-arm64-corellium go@0b65b02b cmd/link.TestXFlag (log)
--- FAIL: TestXFlag (0.24s)
    link_test.go:337: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestXFlag3464364661/001/main.go: no space left on device
2023-07-10 16:31 ios-arm64-corellium go@0b65b02b cmd/link.TestTrampoline (log)
--- FAIL: TestTrampoline (0.00s)
    link_test.go:686: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestTrampoline3134184047/001/hello.go: no space left on device

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-07-18 21:18 ios-arm64-corellium go@dcf32c66 cmd/link.TestTrampoline (log)
--- FAIL: TestTrampoline (0.89s)
    link_test.go:694: build (default) failed: exit status 1
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: cannot write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-1857155385/000010.o: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-1857155385/000010.o: no space left on device
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: cannot write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-1857155385/000004.o: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-1857155385/000004.o: no space left on device
2023-07-18 21:18 ios-arm64-corellium go@dcf32c66 cmd/link.TestLargeReloc (log)
--- FAIL: TestLargeReloc (6.54s)
    link_test.go:1094: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

    link_test.go:1101: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-07-18 19:53 ios-arm64-corellium go@88a545d8 cmd/link.TestContentAddressableSymbols (log)
--- FAIL: TestContentAddressableSymbols (1.40s)
    link_test.go:924: command /tmp/workdir-host-ios-arm64-corellium-ios/go/bin/go run testdata/testHashedSyms/p.go failed: exit status 1
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: cannot write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-3395911554/000000.o: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-3395911554/000000.o: no space left on device
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: cannot write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-3395911554/000010.o: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-link-3395911554/000010.o: no space left on device
2023-07-18 19:53 ios-arm64-corellium go@88a545d8 cmd/link.TestLargeReloc (log)
--- FAIL: TestLargeReloc (6.03s)
    link_test.go:1094: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

    link_test.go:1101: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@mknyszek
Copy link
Contributor

@golang/ios Was the system linker updated recently? This looks like a failure with the system linker specifically. (It would also be helpful to know what version of the linker is being used.)

@mknyszek
Copy link
Contributor

Even if the Go toolchain is invoking the system linker incorrectly, it should be erroring out cleanly, but this is clearly an internal assert failing. It could also be something wrong with the platform because it's a write call that's failing.

@bcmills
Copy link
Contributor

bcmills commented Jul 26, 2023

Given that there was also a no space left on device in the same test run, I suspect that the system linker ran out of space during the write and didn't handle that error gracefully.

@changkun
Copy link
Member

@mknyszek, the builders are recently being reconfigured with a bootstrap version 1.20. Not clear to me if they are relevant as we know Corellium is sometimes problematic.

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-10-26 17:53 ios-arm64-corellium go@7546c79e cmd/link.TestExtLinkCmdlineDeterminism (log)
--- FAIL: TestExtLinkCmdlineDeterminism (4.03s)
    link_test.go:1216: build failed: exit status 1, output:
        # command-line-arguments
        build mode: pie, symbol table: on, DWARF: on
        HEADER = -H1 -T0x100001000 -R0x4000
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/89/89992f388d40891e88ae4852019f0253f729d3038969f9f5ba761072b751acf0-d(_x001.o) from pkg main -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000000.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/89/89992f388d40891e88ae4852019f0253f729d3038969f9f5ba761072b751acf0-d(_x002.o) from pkg main -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000001.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x001.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000002.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x002.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000003.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x003.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000004.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x004.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000005.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x005.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000006.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x006.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000007.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x007.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000008.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x008.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000009.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x009.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000010.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x010.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000011.o
        host obj copy: /tmp/workdir-host-ios-arm64-corellium-ios/gocache/37/37f94472c96b825f7e7bf676bad6bde7cbd41a6eee94f8c3456c3991947139fe-d(_x011.o) from pkg runtime/cgo -> /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000012.o
        host link: "/var/root/bin/clangwrap" "-Wl,-S" "-o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-build3802555108/b001/exe/a.out" "-Qunused-arguments" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/go.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000000.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000001.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000002.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000003.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000004.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000005.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000006.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000007.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000008.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000009.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000010.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000011.o" "/tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestExtLinkCmdlineDeterminism2031901917/001/linktmp/000012.o" "-O2" "-g" "-O2" "-g" "-framework" "CoreFoundation"
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
2023-10-26 17:53 ios-arm64-corellium go@7546c79e cmd/link.TestLargeReloc (log)
--- FAIL: TestLargeReloc (5.04s)
    link_test.go:1099: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

    link_test.go:1106: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
2023-10-26 17:53 ios-arm64-corellium go@7546c79e cmd/link.TestMachOBuildVersion (log)
--- FAIL: TestMachOBuildVersion (0.53s)
    link_test.go:377: [/tmp/workdir-host-ios-arm64-corellium-ios/go/bin/go build -ldflags=-linkmode=internal -o /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestMachOBuildVersion1553715298/001/main /tmp/workdir-host-ios-arm64-corellium-ios/tmp/TestMachOBuildVersion1553715298/001/main.go]: exit status 1:
        internal/goarch: write /tmp/workdir-host-ios-arm64-corellium-ios/tmp/go-build3302031369/b004/importcfg: no space left on device

watchflakes

@cherrymui
Copy link
Member

There has been constant failures on the ios builder, sometimes with no space left on device, sometimes with C toolchain assertion failure, which also look like writing the file fails.

@changkun could you clean up some disk space for the builder? Thanks.

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-11-22 16:31 ios-arm64-corellium go@e4ea6283 cmd/link.TestLargeReloc (log)
--- FAIL: TestLargeReloc (11.43s)
    link_test.go:1099: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

    link_test.go:1106: build failed: exit status 1. output:
        # command-line-arguments
        /tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
        ../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
        clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-11-23 17:33 ios-arm64-corellium go@0c7e5d3b runtime.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-11-30 13:03 ios-arm64-corellium go@b4fa5b16 cmd/internal/bootstrap_test.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-12-21 17:12 ios-arm64-corellium go@9c01ecce cmd/compile/internal/amd64.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2023-11-21 22:06 ios-arm64-corellium go@5a6f1b35 cmd/compile/internal/amd64.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: mapping output file failed: no space left on device
2023-11-21 22:06 ios-arm64-corellium go@5a6f1b35 cmd/compile/internal/compare.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@gopherbot
Copy link
Author

Found new dashboard test flakes for:

#!watchflakes
post <- log ~ `_assert\(\): stream\.sputn`
2024-01-10 15:27 ios-arm64-corellium go@8c1349ba cmd/compile/internal/amd64.test [build] (log)
/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: running /var/root/bin/clangwrap failed: exit status 1
../ldid.cpp(534): _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

watchflakes

@prattmic
Copy link
Member

prattmic commented Mar 7, 2024

This builder is continuously failing. A lot of the failures are of the "no space left on device" variety:

/tmp/workdir-host-ios-arm64-corellium-ios/go/pkg/tool/ios_arm64/link: mapping output file failed: no space left on device

It seems likely to me _assert(): stream.sputn(static_cast<const char *>(data) + total, writ) == writ is failing because sputn returns ENOSPC. i.e., these are the same problem.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Builders x/build issues (builders, bots, dashboards) compiler/runtime Issues related to the Go compiler and/or runtime. NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. OS-iOS GOOS=ios
Projects
Status: No status
Development

No branches or pull requests

6 participants