Skip to content

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

Open
@gopherbot

Description

@gopherbot
Contributor
#!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

Activity

added
NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
on Jul 19, 2023
gopherbot

gopherbot commented on Jul 19, 2023

@gopherbot
ContributorAuthor

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

changed the title [-]cmd/link: TestLargeReloc failures[/-] [+]all: test failures with `_assert(): stream.sputn` on ios-arm64-corellium[/+] on Jul 19, 2023
added
Buildersx/build issues (builders, bots, dashboards)
on Jul 19, 2023
added this to the Backlog milestone on Jul 19, 2023
bcmills

bcmills commented on Jul 19, 2023

@bcmills
Contributor

(attn @golang/ios)

gopherbot

gopherbot commented on Jul 19, 2023

@gopherbot
ContributorAuthor

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

gopherbot commented on Jul 19, 2023

@gopherbot
ContributorAuthor

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

gopherbot commented on Jul 19, 2023

@gopherbot
ContributorAuthor

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

mknyszek commented on Jul 26, 2023

@mknyszek
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

mknyszek commented on Jul 26, 2023

@mknyszek
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.

14 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Buildersx/build issues (builders, bots, dashboards)NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.OS-iOSGOOS=ioscompiler/runtimeIssues related to the Go compiler and/or runtime.

Type

No type

Projects

Status

Todo

Status

No status

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @mknyszek@prattmic@bcmills@changkun@gopherbot

      Issue actions

        all: test failures with `_assert(): stream.sputn` on ios-arm64-corellium · Issue #61446 · golang/go