Skip to content

build: build failure on x/crypto GOARCH=loong64 with Go 1.23/1.24 [consistent failure] #73354

New issue

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

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

Already on GitHub? # to your account

Closed
gopherbot opened this issue Apr 14, 2025 · 13 comments
Assignees
Labels
NeedsFix The path to resolution is known, but the work has not been done. Soon This needs action soon. (recent regressions, service outages, unusual time-sensitive situations)
Milestone

Comments

@gopherbot
Copy link
Contributor

gopherbot commented Apr 14, 2025

#!watchflakes
default <- (builder ~ `misccompile` && repo == "crypto" && mode == "build" && log ~ `loong64`) || (pkg ~ `golang.org/x/crypto/` && goarch == "loong64" && (`build failed` || `unrecognized instruction`))

Issue created automatically to collect these failures.

Example (log):

[W2025-04-11T13:55:44.015014-07:00 2336 0 json_subtract.go:121] Unknown fields while parsing property namespace "": {"coord_mode":{"builders_to_trigger_after_toolchain_build":[]}, "env":{}, "is_google":true}
2025/04/11 13:55:44 run starting
2025/04/11 13:55:45 installed tools
[E2025-04-11T14:01:12.981097-07:00 2336 0 errors.go:128] set status: FAILURE: shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1
  with SummaryMarkdown:
* go on release-branch.go1.23 ([commit 96537d5](https://go.googlesource.com/go/+/96537d504423f332bfa2e8335a936a041c46206c)) / crypto on master ([commit 2ebaafc](https://go.googlesource.com/crypto/+/2ebaafcdf5677d2f056d0e8b9a8695e58d4feea7))

Error: `shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1`

Additional links for debugging:
* [test golang.org/x/crypto module for goos:"linux"  goarch:"loong64" output [shard 1]](https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8717852551747425281/+/u/step/52/log/2)
* [Shard 1 encountered a non-build/non-test failure, click here for the shard's build page](https://ci.chromium.org/b/8717852551747425281)

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 Apr 14, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- builder == "x_crypto-go1.23-linux-amd64-misccompile" && repo == "crypto" && mode == "build"
2025-04-11 20:55 x_crypto-go1.23-linux-amd64-misccompile crypto@2ebaafcd release-branch.go1.23@96537d50 [build] (log)
[W2025-04-11T13:55:44.015014-07:00 2336 0 json_subtract.go:121] Unknown fields while parsing property namespace "": {"coord_mode":{"builders_to_trigger_after_toolchain_build":[]}, "env":{}, "is_google":true}
2025/04/11 13:55:44 run starting
2025/04/11 13:55:45 installed tools
[E2025-04-11T14:01:12.981097-07:00 2336 0 errors.go:128] set status: FAILURE: shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1
  with SummaryMarkdown:
* go on release-branch.go1.23 ([commit 96537d5](https://go.googlesource.com/go/+/96537d504423f332bfa2e8335a936a041c46206c)) / crypto on master ([commit 2ebaafc](https://go.googlesource.com/crypto/+/2ebaafcdf5677d2f056d0e8b9a8695e58d4feea7))

Error: `shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1`

Additional links for debugging:
* [test golang.org/x/crypto module for goos:"linux"  goarch:"loong64" output [shard 1]](https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8717852551747425281/+/u/step/52/log/2)
* [Shard 1 encountered a non-build/non-test failure, click here for the shard's build page](https://ci.chromium.org/b/8717852551747425281)
2025-04-11 20:55 x_crypto-go1.23-linux-amd64-misccompile crypto@18f77073 release-branch.go1.23@96537d50 [build] (log)
[W2025-04-11T13:55:42.336167-07:00 22441 0 json_subtract.go:121] Unknown fields while parsing property namespace "": {"coord_mode":{"builders_to_trigger_after_toolchain_build":[]}, "env":{}, "is_google":true}
2025/04/11 13:55:42 run starting
2025/04/11 13:55:42 installed tools
[E2025-04-11T13:59:09.413108-07:00 22441 0 errors.go:128] set status: FAILURE: shard 2: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1
  with SummaryMarkdown:
* go on release-branch.go1.23 ([commit 96537d5](https://go.googlesource.com/go/+/96537d504423f332bfa2e8335a936a041c46206c)) / crypto on master ([commit 18f7707](https://go.googlesource.com/crypto/+/18f770732fa01d5d5e1a529a5518d7b70f93d3c6))

Error: `shard 2: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1`

Additional links for debugging:
* [test golang.org/x/crypto module for goos:"linux"  goarch:"loong64" output [shard 2]](https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8717852554750815473/+/u/step/53/log/2)
* [Shard 2 encountered a non-build/non-test failure, click here for the shard's build page](https://ci.chromium.org/b/8717852554750815473)
2025-04-14 03:23 x_crypto-go1.23-linux-amd64-misccompile crypto@953e8095 release-branch.go1.23@96537d50 [build] (log)
[W2025-04-13T20:25:52.973623-07:00 2270 0 json_subtract.go:121] Unknown fields while parsing property namespace "": {"coord_mode":{"builders_to_trigger_after_toolchain_build":[]}, "env":{}, "is_google":true}
2025/04/13 20:25:52 run starting
2025/04/13 20:25:54 installed tools
[E2025-04-13T20:34:42.443232-07:00 2270 0 errors.go:128] set status: FAILURE: shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1
  with SummaryMarkdown:
* go on release-branch.go1.23 ([commit 96537d5](https://go.googlesource.com/go/+/96537d504423f332bfa2e8335a936a041c46206c)) / crypto on master ([commit 953e809](https://go.googlesource.com/crypto/+/953e8095893cd9efe44a90fd07ed3cfc87bfc109))

Error: `shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1`

Additional links for debugging:
* [test golang.org/x/crypto module for goos:"linux"  goarch:"loong64" output [shard 1]](https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8717646810952208193/+/u/step/53/log/2)
* [Shard 1 encountered a non-build/non-test failure, click here for the shard's build page](https://ci.chromium.org/b/8717646810952208193)
2025-04-14 03:23 x_crypto-go1.23-linux-amd64-misccompile crypto@388684e5 release-branch.go1.23@96537d50 [build] (log)
[W2025-04-13T20:25:53.091184-07:00 2274 0 json_subtract.go:121] Unknown fields while parsing property namespace "": {"coord_mode":{"builders_to_trigger_after_toolchain_build":[]}, "env":{}, "is_google":true}
2025/04/13 20:25:53 run starting
2025/04/13 20:25:54 installed tools
[E2025-04-13T20:34:42.296398-07:00 2274 0 errors.go:128] set status: FAILURE: shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1
  with SummaryMarkdown:
* go on release-branch.go1.23 ([commit 96537d5](https://go.googlesource.com/go/+/96537d504423f332bfa2e8335a936a041c46206c)) / crypto on master ([commit 388684e](https://go.googlesource.com/crypto/+/388684e50b26e51e1428afcacb811c0732c45c01))

Error: `shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1`

Additional links for debugging:
* [test golang.org/x/crypto module for goos:"linux"  goarch:"loong64" output [shard 1]](https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8717646811005623313/+/u/step/53/log/2)
* [Shard 1 encountered a non-build/non-test failure, click here for the shard's build page](https://ci.chromium.org/b/8717646811005623313)

watchflakes

@prattmic
Copy link
Member

cc @golang/loong64 https://go.dev/cl/661215 broke the x/crypto build on 1.23 and 1.24. I assume those instructions are newly added at tip? In which case the assembly implementation should be behind a go1.25 build tag.

@prattmic prattmic added NeedsFix The path to resolution is known, but the work has not been done. Soon This needs action soon. (recent regressions, service outages, unusual time-sensitive situations) labels Apr 14, 2025
@prattmic prattmic modified the milestones: Go1.25, Unreleased Apr 14, 2025
@gopherbot gopherbot removed the NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. label Apr 14, 2025
@prattmic prattmic changed the title build: build failure on x_crypto-go1.23-linux-amd64-misccompile [consistent failure] build: build failure on x/crypto GOARCH=loong64 with Go 1.23/1.24 [consistent failure] Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73363 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73362 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73361 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73360 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73359 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73358 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73357 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73356 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73355 Apr 14, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- (builder ~ `x_crypto-go1.2[34]-.*-misccompile` && repo == "crypto" && mode == "build" && `loong64`) || (pkg ~ `golang.org/x/crypto/` && goarch == "loong64" && `build failed`)
2025-04-11 20:55 x_crypto-go1.23-linux-loong64 crypto@2ebaafcd release-branch.go1.23@96537d50 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
2025-04-11 20:55 x_crypto-go1.24-linux-loong64 crypto@2ebaafcd release-branch.go1.24@a9d9b557 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
# golang.org/x/crypto/blake2s
# [golang.org/x/crypto/blake2s]
blake2s/blake2s_loong64.s:110: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:111: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:113: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:114: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:117: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:118: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:120: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:121: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:124: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:125: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:127: unrecognized instruction "VADDW"
asm: too many errors
2025-04-11 20:55 x_crypto-go1.23-linux-loong64 crypto@18f77073 release-branch.go1.23@96537d50 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
2025-04-11 20:55 x_crypto-go1.23-linux-loong64 crypto@18f77073 release-branch.go1.23@96537d50 x/crypto/nacl/box (log)
FAIL	golang.org/x/crypto/nacl/box [build failed]
2025-04-11 20:55 x_crypto-go1.23-linux-loong64 crypto@18f77073 release-branch.go1.23@96537d50 x/crypto/nacl/secretbox (log)
FAIL	golang.org/x/crypto/nacl/secretbox [build failed]
2025-04-11 20:55 x_crypto-go1.24-linux-loong64 crypto@18f77073 release-branch.go1.24@a9d9b557 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
# golang.org/x/crypto/blake2s
# [golang.org/x/crypto/blake2s]
blake2s/blake2s_loong64.s:110: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:111: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:113: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:114: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:117: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:118: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:120: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:121: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:124: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:125: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:127: unrecognized instruction "VADDW"
asm: too many errors
2025-04-11 20:55 x_crypto-go1.24-linux-loong64 crypto@18f77073 release-branch.go1.24@a9d9b557 x/crypto/nacl/box (log)
FAIL	golang.org/x/crypto/nacl/box [build failed]
# golang.org/x/crypto/salsa20/salsa
salsa20/salsa/salsa20_loong64.s:32: unrecognized instruction "VXORV"
salsa20/salsa/salsa20_loong64.s:85: unrecognized instruction "VADDV"
salsa20/salsa/salsa20_loong64.s:86: unrecognized instruction "VADDV"
salsa20/salsa/salsa20_loong64.s:89: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:90: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:91: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:92: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:93: unrecognized instruction "VROTRW"
salsa20/salsa/salsa20_loong64.s:94: unrecognized instruction "VROTRW"
salsa20/salsa/salsa20_loong64.s:95: unrecognized instruction "VROTRW"
salsa20/salsa/salsa20_loong64.s:96: unrecognized instruction "VROTRW"
asm: too many errors
2025-04-11 20:55 x_crypto-go1.24-linux-loong64 crypto@18f77073 release-branch.go1.24@a9d9b557 x/crypto/nacl/secretbox (log)
FAIL	golang.org/x/crypto/nacl/secretbox [build failed]
# golang.org/x/crypto/salsa20/salsa
salsa20/salsa/salsa20_loong64.s:32: unrecognized instruction "VXORV"
salsa20/salsa/salsa20_loong64.s:85: unrecognized instruction "VADDV"
salsa20/salsa/salsa20_loong64.s:86: unrecognized instruction "VADDV"
salsa20/salsa/salsa20_loong64.s:89: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:90: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:91: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:92: unrecognized instruction "VADDW"
salsa20/salsa/salsa20_loong64.s:93: unrecognized instruction "VROTRW"
salsa20/salsa/salsa20_loong64.s:94: unrecognized instruction "VROTRW"
salsa20/salsa/salsa20_loong64.s:95: unrecognized instruction "VROTRW"
salsa20/salsa/salsa20_loong64.s:96: unrecognized instruction "VROTRW"
asm: too many errors
2025-04-14 03:23 x_crypto-go1.23-linux-loong64 crypto@953e8095 release-branch.go1.23@96537d50 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
2025-04-14 03:23 x_crypto-go1.23-linux-loong64 crypto@953e8095 release-branch.go1.23@96537d50 x/crypto/chacha20 (log)
FAIL	golang.org/x/crypto/chacha20 [build failed]
2025-04-14 03:23 x_crypto-go1.23-linux-loong64 crypto@953e8095 release-branch.go1.23@96537d50 x/crypto/chacha20poly1305 (log)
FAIL	golang.org/x/crypto/chacha20poly1305 [build failed]
2025-04-14 03:23 x_crypto-go1.24-linux-loong64 crypto@953e8095 release-branch.go1.24@a9d9b557 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
# golang.org/x/crypto/blake2s
# [golang.org/x/crypto/blake2s]
blake2s/blake2s_loong64.s:110: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:111: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:113: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:114: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:117: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:118: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:120: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:121: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:124: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:125: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:127: unrecognized instruction "VADDW"
asm: too many errors
2025-04-14 03:23 x_crypto-go1.24-linux-loong64 crypto@953e8095 release-branch.go1.24@a9d9b557 x/crypto/chacha20 (log)
FAIL	golang.org/x/crypto/chacha20 [build failed]
# golang.org/x/crypto/chacha20
chacha20/chacha_loong64.s:84: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:89: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:90: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:91: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:92: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:93: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:94: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:95: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:96: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:97: unrecognized instruction "VROTRW"
chacha20/chacha_loong64.s:98: unrecognized instruction "VROTRW"
asm: too many errors
2025-04-14 03:23 x_crypto-go1.24-linux-loong64 crypto@953e8095 release-branch.go1.24@a9d9b557 x/crypto/chacha20poly1305 (log)
FAIL	golang.org/x/crypto/chacha20poly1305 [build failed]
# golang.org/x/crypto/chacha20
chacha20/chacha_loong64.s:84: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:89: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:90: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:91: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:92: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:93: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:94: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:95: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:96: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:97: unrecognized instruction "VROTRW"
chacha20/chacha_loong64.s:98: unrecognized instruction "VROTRW"
asm: too many errors
2025-04-14 03:23 x_crypto-go1.23-linux-loong64 crypto@388684e5 release-branch.go1.23@96537d50 x/crypto/argon2 (log)
FAIL	golang.org/x/crypto/argon2 [build failed]
2025-04-14 03:23 x_crypto-go1.23-linux-loong64 crypto@388684e5 release-branch.go1.23@96537d50 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
2025-04-14 03:23 x_crypto-go1.23-linux-loong64 crypto@388684e5 release-branch.go1.23@96537d50 x/crypto/chacha20 (log)
FAIL	golang.org/x/crypto/chacha20 [build failed]
2025-04-14 03:23 x_crypto-go1.24-linux-loong64 crypto@388684e5 release-branch.go1.24@a9d9b557 x/crypto/argon2 (log)
FAIL	golang.org/x/crypto/argon2 [build failed]
# golang.org/x/crypto/argon2
# [golang.org/x/crypto/argon2]
argon2/blamka_loong64.s:173: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:174: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:175: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:176: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:177: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:178: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:179: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:180: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:182: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:183: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:184: unrecognized instruction "VMULWEVVWU"
asm: too many errors
2025-04-14 03:23 x_crypto-go1.24-linux-loong64 crypto@388684e5 release-branch.go1.24@a9d9b557 x/crypto/blake2s (log)
FAIL	golang.org/x/crypto/blake2s [build failed]
# golang.org/x/crypto/blake2s
# [golang.org/x/crypto/blake2s]
blake2s/blake2s_loong64.s:110: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:111: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:113: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:114: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:117: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:118: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:120: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:121: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:124: unrecognized instruction "VADDW"
blake2s/blake2s_loong64.s:125: unrecognized instruction "VSHUF4IW"
blake2s/blake2s_loong64.s:127: unrecognized instruction "VADDW"
asm: too many errors
2025-04-14 03:23 x_crypto-go1.24-linux-loong64 crypto@388684e5 release-branch.go1.24@a9d9b557 x/crypto/chacha20 (log)
FAIL	golang.org/x/crypto/chacha20 [build failed]
# golang.org/x/crypto/chacha20
chacha20/chacha_loong64.s:84: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:89: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:90: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:91: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:92: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:93: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:94: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:95: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:96: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:97: unrecognized instruction "VROTRW"
chacha20/chacha_loong64.s:98: unrecognized instruction "VROTRW"
asm: too many errors

watchflakes

@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/665295 mentions this issue: blake2s: replace SIMD instructions with WORD

@prattmic
Copy link
Member

@sophie-zhao I didn't notice this at first, but note that the other packages chacha, argon, etc need fixes as well.

@prattmic prattmic marked this as a duplicate of #73366 Apr 14, 2025
@sophie-zhao
Copy link
Contributor

@sophie-zhao I didn't notice this at first, but note that the other packages chacha, argon, etc need fixes as well.

Thanks. I will fix them.

@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- (builder ~ `misccompile` && repo == "crypto" && mode == "build" && `loong64`) || (pkg ~ `golang.org/x/crypto/` && goarch == "loong64" && `build failed`)
2025-04-14 11:06 x_crypto-go1.23-linux-loong64 crypto@0091fc8e release-branch.go1.23@96537d50 x/crypto/argon2 (log)
FAIL	golang.org/x/crypto/argon2 [build failed]
2025-04-14 11:06 x_crypto-go1.23-linux-loong64 crypto@0091fc8e release-branch.go1.23@96537d50 x/crypto/chacha20 (log)
FAIL	golang.org/x/crypto/chacha20 [build failed]
2025-04-14 11:06 x_crypto-go1.23-linux-loong64 crypto@0091fc8e release-branch.go1.23@96537d50 x/crypto/chacha20poly1305 (log)
FAIL	golang.org/x/crypto/chacha20poly1305 [build failed]
2025-04-14 11:06 x_crypto-go1.24-linux-loong64 crypto@0091fc8e release-branch.go1.24@a9d9b557 x/crypto/argon2 (log)
FAIL	golang.org/x/crypto/argon2 [build failed]
# golang.org/x/crypto/argon2
# [golang.org/x/crypto/argon2]
argon2/blamka_loong64.s:173: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:174: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:175: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:176: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:177: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:178: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:179: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:180: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:182: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:183: unrecognized instruction "VMULWEVVWU"
argon2/blamka_loong64.s:184: unrecognized instruction "VMULWEVVWU"
asm: too many errors
2025-04-14 11:06 x_crypto-go1.24-linux-loong64 crypto@0091fc8e release-branch.go1.24@a9d9b557 x/crypto/chacha20 (log)
FAIL	golang.org/x/crypto/chacha20 [build failed]
# golang.org/x/crypto/chacha20
chacha20/chacha_loong64.s:84: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:89: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:90: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:91: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:92: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:93: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:94: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:95: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:96: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:97: unrecognized instruction "VROTRW"
chacha20/chacha_loong64.s:98: unrecognized instruction "VROTRW"
asm: too many errors
2025-04-14 11:06 x_crypto-go1.24-linux-loong64 crypto@0091fc8e release-branch.go1.24@a9d9b557 x/crypto/chacha20poly1305 (log)
FAIL	golang.org/x/crypto/chacha20poly1305 [build failed]
# golang.org/x/crypto/chacha20
chacha20/chacha_loong64.s:84: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:89: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:90: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:91: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:92: unrecognized instruction "VADDW"
chacha20/chacha_loong64.s:93: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:94: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:95: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:96: unrecognized instruction "VXORV"
chacha20/chacha_loong64.s:97: unrecognized instruction "VROTRW"
chacha20/chacha_loong64.s:98: unrecognized instruction "VROTRW"
asm: too many errors

watchflakes

@gopherbot gopherbot marked this as not a duplicate of #73358 Apr 14, 2025
@gopherbot gopherbot marked this as not a duplicate of #73360 Apr 14, 2025
@gopherbot gopherbot marked this as not a duplicate of #73363 Apr 14, 2025
@gopherbot gopherbot marked this as not a duplicate of #73366 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73358 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73360 Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73363 Apr 14, 2025
@dmitshur dmitshur moved this to Active in Test Flakes Apr 14, 2025
@prattmic prattmic marked this as a duplicate of #73366 Apr 14, 2025
@gopherbot
Copy link
Contributor Author

Found new dashboard test flakes for:

#!watchflakes
default <- (builder ~ `misccompile` && repo == "crypto" && mode == "build" && log ~ `loong64`) || (pkg ~ `golang.org/x/crypto/` && goarch == "loong64" && (`build failed` || `unrecognized instruction`))
2025-04-14 11:06 x_crypto-go1.23-linux-amd64-misccompile crypto@0091fc8e release-branch.go1.23@96537d50 [build] (log)
[W2025-04-14T04:07:14.141224-07:00 5643 0 json_subtract.go:121] Unknown fields while parsing property namespace "": {"coord_mode":{"builders_to_trigger_after_toolchain_build":[]}, "env":{}, "is_google":true}
2025/04/14 04:07:14 run starting
2025/04/14 04:07:14 installed tools
[E2025-04-14T04:15:43.452329-07:00 5643 0 errors.go:128] set status: FAILURE: shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1
  with SummaryMarkdown:
* go on release-branch.go1.23 ([commit 96537d5](https://go.googlesource.com/go/+/96537d504423f332bfa2e8335a936a041c46206c)) / crypto on master ([commit 0091fc8](https://go.googlesource.com/crypto/+/0091fc8e7c693be8d8cbfee206c04512cf4f7513))

Error: `shard 1: failed to run test golang.org/x/crypto module for goos:"linux"  goarch:"loong64": exit status 1`

Additional links for debugging:
* [test golang.org/x/crypto module for goos:"linux"  goarch:"loong64" output [shard 1]](https://logs.chromium.org/logs/golang/buildbucket/cr-buildbucket/8717617785219607649/+/u/step/53/log/2)
* [Shard 1 encountered a non-build/non-test failure, click here for the shard's build page](https://ci.chromium.org/b/8717617785219607649)

watchflakes

@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/665555 mentions this issue: Revert "argon2: add loong64 SIMD implementation"

@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/665535 mentions this issue: Revert "salsa20: add loong64 SIMD implementation"

@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/665536 mentions this issue: Revert "chacha20: add loong64 SIMD implementation"

@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/665556 mentions this issue: argon2, chacha20, salsa20: replace SIMD instructions with WORD

gopherbot pushed a commit to golang/crypto that referenced this issue Apr 16, 2025
This reverts CL 657795.

Reason for revert: Does not build on 1.23 or 1.24

For golang/go#73354.

Change-Id: I69498f24b57bd6650c9d1f4c755922cfaaba4a84
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/665555
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Auto-Submit: Michael Pratt <mpratt@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
gopherbot pushed a commit to golang/crypto that referenced this issue Apr 16, 2025
This reverts CL 663375.

Reason for revert: Does not build on 1.23 or 1.24

For golang/go#73354.

Change-Id: I251d598423b83c01cc2e04ddf6f49ae14095fa7c
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/665535
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
gopherbot pushed a commit to golang/crypto that referenced this issue Apr 16, 2025
This reverts CL 636257.

Reason for revert: Does not build on 1.23 or 1.24

For golang/go#73354.

Change-Id: Ie28d5c45930a8eacd5cabed64390ef674b3fb446
Reviewed-on: https://go-review.googlesource.com/c/crypto/+/665536
Reviewed-by: abner chenc <chenguoqi@loongson.cn>
Auto-Submit: Michael Pratt <mpratt@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
@dmitshur
Copy link
Member

These build failures are fixed via revert CLs above. Closing.

@github-project-automation github-project-automation bot moved this from Active to Done in Test Flakes Apr 23, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
NeedsFix The path to resolution is known, but the work has not been done. Soon This needs action soon. (recent regressions, service outages, unusual time-sensitive situations)
Projects
Status: Done
Development

No branches or pull requests

4 participants