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
x/*: review tests skipped on darwin/arm64 after Go 1.17 release #45696
Comments
Hi @tklauser, I'll work on it. |
@justplesh Thanks. Please note that we can only submit these changes once Go 1.17 is released, otherwise we'd break tests on Go 1.15 which is still supported until then. This issue for now is many here so we don't forget to review these tests once Go 1.17 is out. |
@tklauser Okay, sure, got you. How do you think, does it make sense to create the PR with changes now and merge it as soon as Go 1.17 will be released or a lot of changes will be made and it will make more sense to wait until the 1.17 release? |
I think it's probably easier to send these changes once 1.17 is released. That way we can make sure all cases are covered and it might safe some trouble with rebases and/or merge conflicts. |
Okay, I'll get back as soon, as 1.17 will be released :) |
@tklauser so I guess I can start working on it? |
@justplesh Yes, feel free to send CLs addressing this. |
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). Now that Go 1.16 is the oldest supported release, the ios tag can be used exclusively to detect iOS and TestMakeRawState which ought to run on darwin/arm64 can be enabled on that platform. For golang/go#45696 Change-Id: Ic51903ea94def1f1144ca74db37533b5c4de8522 Reviewed-on: https://go-review.googlesource.com/c/term/+/352589 Trust: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Change https://golang.org/cl/352589 mentions this issue: |
Change https://golang.org/cl/353509 mentions this issue: |
Change https://golang.org/cl/353529 mentions this issue: |
Change https://golang.org/cl/353530 mentions this issue: |
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). Now that Go 1.16 is the oldest supported release, the ios tag can be used exclusively to detect iOS. Thus, TestPassFD and TestPoll which ought to run on darwin/arm64 can now be enabled on that platform. For golang/go#45696 Change-Id: I0b542af7a1b5ab194bf249d499c49e45bb55a2e1 Reviewed-on: https://go-review.googlesource.com/c/sys/+/353529 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). Now that Go 1.16 is the oldest supported release, the ios tag can be used exclusively to detect iOS. Thus, TestARM64minimalFeatures which ought to run on darwin/arm64 can now be enabled on that platform. For golang/go#45696 Change-Id: Ic510fbf27dc813832507446201501df58c9f6f31 Reviewed-on: https://go-review.googlesource.com/c/sys/+/353530 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Keep it disabled on ios though. For golang/go#45696 For golang/go#46084 Change-Id: I3d551227a4ebc0eebabdd16b175aa6a75ea9de19 Reviewed-on: https://go-review.googlesource.com/c/sys/+/353509 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org>
Change https://golang.org/cl/354809 mentions this issue: |
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). Now that Go 1.16 is the oldest supported release, the ios tag can be used exclusively in TestableNetwork to detect iOS, increasing test coverage for darwin/arm64. For golang/go#45696 Change-Id: If607ff8847ed42160ef5e8260d2a8c21798a164a Reviewed-on: https://go-review.googlesource.com/c/net/+/354809 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> Reviewed-by: Cherry Mui <cherryyz@google.com>
Change https://golang.org/cl/358254 mentions this issue: |
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). Now that Go 1.16 is the oldest supported release, the ios tag can be used exclusively to detect iOS and TestGetwd can use the same list of directories as other systems. For golang/go#45696 Change-Id: Ic334df5ea88ac034a9d9271f6cd570617f208f05 Reviewed-on: https://go-review.googlesource.com/c/sys/+/358254 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Cherry Mui <cherryyz@google.com>
These and a few more instances were fixed in the CLs linked by GopherBot. I think this issue can be closed. |
Change https://golang.org/cl/373359 mentions this issue: |
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). TestMkdirAllWithSymlink ought to run on darwin/arm64, so enable it on that platform. For #45696 Change-Id: I2cad6b1dfddf215e6b6cd262bbd22251f48f3d8c Reviewed-on: https://go-review.googlesource.com/c/go/+/373359 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Go 1.16 renamed the iOS port from darwin/arm64 to ios/arm64 and darwin/arm64 was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). TestMkdirAllWithSymlink ought to run on darwin/arm64, so enable it on that platform. For golang#45696 Change-Id: I2cad6b1dfddf215e6b6cd262bbd22251f48f3d8c Reviewed-on: https://go-review.googlesource.com/c/go/+/373359 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Emmanuel Odeke <emmanuel@orijtech.com>
Go 1.16 renamed the iOS port from
darwin/arm64
toios/arm64
anddarwin/arm64
was repurposed for the macOS ARM64 port (see https://golang.org/doc/go1.16#darwin). Thegolang.org/x/*
repositories were updated to use the newios
build tag to skip certain tests on IOS, but they also needed to retain the oldruntime.GOOS == "darwin" && (runtime.GOARCH == "arm64" || runtime.GOARCH == "arm")
checks due to Go 1.15 compatibilty. In some cases this leads to tests being unnecessarily skipped with Go 1.16 ondarwin/arm64
, see e.g. https://golang.org/cl/312250.Once Go 1.17 is released and thus Go 1.16 becomes the oldest supported release per https://golang.org/doc/devel/release.html#policy, we might be able to remove some of the old
GOOS == "darwin" && (GOARCH == "arm64" || GOARCH === "arm")
checks and thus increase the test coverage for the macOS ARM64 port in thegolang.org/x/*
repos.Some examples:
https://go.googlesource.com/sys/+/33663a62ff0820461192226283cafe57a83ac6b7/unix/syscall_unix_test.go#169
https://go.googlesource.com/sys/+/33663a62ff0820461192226283cafe57a83ac6b7/unix/syscall_unix_test.go#491
https://go.googlesource.com/net/+/4e50805a0758a198d5c9ea96b2e8dacd7338f2ee/nettest/nettest.go#102
https://go.googlesource.com/term/+/f5beecf764ed751c785fa21705385df593b1852d/terminal_test.go#410
The text was updated successfully, but these errors were encountered: