[go] cmd/compile: skip race detector test failure for unsupported VMA

1 view
Skip to first unread message

abner chenc (Gerrit)

unread,
Mar 19, 2026, 2:45:23 AM (yesterday) Mar 19
to goph...@pubsubhelper.golang.org, golang-co...@googlegroups.com

abner chenc has uploaded the change for review

Commit message

cmd/compile: skip race detector test failure for unsupported VMA

Fixes #78219
Updates #77597
Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d

Change diff

diff --git a/src/cmd/compile/internal/test/fixedbugs_test.go b/src/cmd/compile/internal/test/fixedbugs_test.go
index 4730a21..49d4fbb 100644
--- a/src/cmd/compile/internal/test/fixedbugs_test.go
+++ b/src/cmd/compile/internal/test/fixedbugs_test.go
@@ -5,6 +5,7 @@
package test

import (
+ "bytes"
"internal/platform"
"internal/testenv"
"os"
@@ -110,7 +111,13 @@
cmd := testenv.Command(t, testenv.GoToolPath(t), "run", "-race", "-gcflags=all=-N -l", src)
out, err := cmd.CombinedOutput()
if err != nil {
- t.Fatalf("program failed: %v\n%s", err, out)
+ // For details, please refer to CL 160919.
+ unsupportedVMA := []byte("unsupported VMA range")
+ if bytes.Contains(out, unsupportedVMA) {
+ t.Skipf("skipped due to unsupported VMA on %s/%s", runtime.GOOS, runtime.GOARCH)
+ } else {
+ t.Fatalf("program failed: %v\n%s", err, out)
+ }
}
}

Change information

Files:
  • M src/cmd/compile/internal/test/fixedbugs_test.go
Change size: XS
Delta: 1 file changed, 8 insertions(+), 1 deletion(-)
Open in Gerrit

Related details

Attention set is empty
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: newchange
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d
Gerrit-Change-Number: 756780
Gerrit-PatchSet: 1
Gerrit-Owner: abner chenc <chen...@loongson.cn>
unsatisfied_requirement
satisfied_requirement
open
diffy

abner chenc (Gerrit)

unread,
Mar 19, 2026, 3:10:24 AM (24 hours ago) Mar 19
to goph...@pubsubhelper.golang.org, Robert Griesemer, Matthew Dempsky, Martin Möhrmann, Gopher Robot, golang-co...@googlegroups.com
Attention needed from Martin Möhrmann, Matthew Dempsky and Robert Griesemer

abner chenc voted Commit-Queue+1

Commit-Queue+1
Open in Gerrit

Related details

Attention is currently required from:
  • Martin Möhrmann
  • Matthew Dempsky
  • Robert Griesemer
Submit Requirements:
  • requirement is not satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement is not satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d
Gerrit-Change-Number: 756780
Gerrit-PatchSet: 1
Gerrit-Owner: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: Martin Möhrmann <moeh...@google.com>
Gerrit-Reviewer: Matthew Dempsky <mat...@go.dev>
Gerrit-Reviewer: Robert Griesemer <g...@golang.org>
Gerrit-Reviewer: abner chenc <chen...@loongson.cn>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Attention: Matthew Dempsky <mat...@go.dev>
Gerrit-Attention: Martin Möhrmann <moeh...@google.com>
Gerrit-Attention: Robert Griesemer <g...@golang.org>
Gerrit-Comment-Date: Thu, 19 Mar 2026 07:10:15 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
unsatisfied_requirement
satisfied_requirement
open
diffy

Meidan Li (Gerrit)

unread,
Mar 19, 2026, 3:40:16 AM (23 hours ago) Mar 19
to abner chenc, goph...@pubsubhelper.golang.org, Go LUCI, sophie zhao, Robert Griesemer, Matthew Dempsky, Martin Möhrmann, Gopher Robot, golang-co...@googlegroups.com
Attention needed from Martin Möhrmann, Matthew Dempsky, Robert Griesemer, abner chenc and sophie zhao

Meidan Li voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • Martin Möhrmann
  • Matthew Dempsky
  • Robert Griesemer
  • abner chenc
  • sophie zhao
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d
Gerrit-Change-Number: 756780
Gerrit-PatchSet: 1
Gerrit-Owner: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: Martin Möhrmann <moeh...@google.com>
Gerrit-Reviewer: Matthew Dempsky <mat...@go.dev>
Gerrit-Reviewer: Meidan Li <lime...@loongson.cn>
Gerrit-Reviewer: Robert Griesemer <g...@golang.org>
Gerrit-Reviewer: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: sophie zhao <zhaox...@loongson.cn>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Attention: abner chenc <chen...@loongson.cn>
Gerrit-Attention: sophie zhao <zhaox...@loongson.cn>
Gerrit-Attention: Matthew Dempsky <mat...@go.dev>
Gerrit-Attention: Martin Möhrmann <moeh...@google.com>
Gerrit-Attention: Robert Griesemer <g...@golang.org>
Gerrit-Comment-Date: Thu, 19 Mar 2026 07:40:10 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Dmitri Shuralyov (Gerrit)

unread,
Mar 19, 2026, 6:52:23 PM (8 hours ago) Mar 19
to abner chenc, goph...@pubsubhelper.golang.org, Derek Parker, Dmitri Shuralyov, Meidan Li, Go LUCI, sophie zhao, Robert Griesemer, Matthew Dempsky, Martin Möhrmann, Gopher Robot, golang-co...@googlegroups.com
Attention needed from Martin Möhrmann, Matthew Dempsky, Robert Griesemer, abner chenc and sophie zhao

Dmitri Shuralyov voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Martin Möhrmann
  • Matthew Dempsky
  • Robert Griesemer
  • abner chenc
  • sophie zhao
Submit Requirements:
  • requirement satisfiedCode-Review
  • requirement satisfiedNo-Unresolved-Comments
  • requirement is not satisfiedReview-Enforcement
  • requirement satisfiedTryBots-Pass
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: go
Gerrit-Branch: master
Gerrit-Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d
Gerrit-Change-Number: 756780
Gerrit-PatchSet: 1
Gerrit-Owner: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Martin Möhrmann <moeh...@google.com>
Gerrit-Reviewer: Matthew Dempsky <mat...@go.dev>
Gerrit-Reviewer: Meidan Li <lime...@loongson.cn>
Gerrit-Reviewer: Robert Griesemer <g...@golang.org>
Gerrit-Reviewer: abner chenc <chen...@loongson.cn>
Gerrit-Reviewer: sophie zhao <zhaox...@loongson.cn>
Gerrit-CC: Derek Parker <parker...@gmail.com>
Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-CC: Gopher Robot <go...@golang.org>
Gerrit-Attention: abner chenc <chen...@loongson.cn>
Gerrit-Attention: sophie zhao <zhaox...@loongson.cn>
Gerrit-Attention: Matthew Dempsky <mat...@go.dev>
Gerrit-Attention: Martin Möhrmann <moeh...@google.com>
Gerrit-Attention: Robert Griesemer <g...@golang.org>
Gerrit-Comment-Date: Thu, 19 Mar 2026 22:52:20 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Robert Griesemer (Gerrit)

unread,
Mar 19, 2026, 7:21:00 PM (8 hours ago) Mar 19
to abner chenc, goph...@pubsubhelper.golang.org, Dmitri Shuralyov, Derek Parker, Dmitri Shuralyov, Meidan Li, Go LUCI, sophie zhao, Robert Griesemer, Matthew Dempsky, Martin Möhrmann, Gopher Robot, golang-co...@googlegroups.com
Attention needed from Martin Möhrmann, Matthew Dempsky, Robert Griesemer, abner chenc and sophie zhao

Robert Griesemer voted Code-Review+2

Code-Review+2
Open in Gerrit

Related details

Attention is currently required from:
  • Martin Möhrmann
  • Matthew Dempsky
  • Robert Griesemer
  • abner chenc
  • sophie zhao
Submit Requirements:
    • requirement satisfiedCode-Review
    • requirement satisfiedNo-Unresolved-Comments
    • requirement satisfiedReview-Enforcement
    • requirement satisfiedTryBots-Pass
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d
    Gerrit-Change-Number: 756780
    Gerrit-PatchSet: 1
    Gerrit-Owner: abner chenc <chen...@loongson.cn>
    Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
    Gerrit-Reviewer: Martin Möhrmann <moeh...@google.com>
    Gerrit-Reviewer: Matthew Dempsky <mat...@go.dev>
    Gerrit-Reviewer: Meidan Li <lime...@loongson.cn>
    Gerrit-Reviewer: Robert Griesemer <g...@golang.org>
    Gerrit-Reviewer: Robert Griesemer <g...@google.com>
    Gerrit-Reviewer: abner chenc <chen...@loongson.cn>
    Gerrit-Reviewer: sophie zhao <zhaox...@loongson.cn>
    Gerrit-CC: Derek Parker <parker...@gmail.com>
    Gerrit-CC: Dmitri Shuralyov <dmit...@golang.org>
    Gerrit-CC: Gopher Robot <go...@golang.org>
    Gerrit-Attention: abner chenc <chen...@loongson.cn>
    Gerrit-Attention: sophie zhao <zhaox...@loongson.cn>
    Gerrit-Attention: Matthew Dempsky <mat...@go.dev>
    Gerrit-Attention: Martin Möhrmann <moeh...@google.com>
    Gerrit-Attention: Robert Griesemer <g...@golang.org>
    Gerrit-Comment-Date: Thu, 19 Mar 2026 23:20:54 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Robert Griesemer (Gerrit)

    unread,
    Mar 19, 2026, 7:21:09 PM (8 hours ago) Mar 19
    to abner chenc, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Derek Parker, Dmitri Shuralyov, Meidan Li, Go LUCI, sophie zhao, Robert Griesemer, Matthew Dempsky, Martin Möhrmann, Gopher Robot, golang-co...@googlegroups.com

    Robert Griesemer submitted the change

    Change information

    Commit message:
    cmd/compile: skip race detector test failure for unsupported VMA

    Fixes #78219
    Updates #77597
    Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d
    Reviewed-by: Meidan Li <lime...@loongson.cn>
    Reviewed-by: Robert Griesemer <g...@google.com>
    Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
    Files:
    • M src/cmd/compile/internal/test/fixedbugs_test.go
    Change size: XS
    Delta: 1 file changed, 8 insertions(+), 1 deletion(-)
    Branch: refs/heads/master
    Submit Requirements:
    • requirement satisfiedCode-Review: +2 by Meidan Li, +2 by Robert Griesemer, +1 by Dmitri Shuralyov
    • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
    Open in Gerrit
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: merged
    Gerrit-Project: go
    Gerrit-Branch: master
    Gerrit-Change-Id: I021df668bfc18081e71faaab2e4bad607873bf4d
    Gerrit-Change-Number: 756780
    Gerrit-PatchSet: 2
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages