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

testing: TestRunParallel failures [consistent failure] #73173

Closed
gopherbot opened this issue Apr 4, 2025 · 3 comments
Closed

testing: TestRunParallel failures [consistent failure] #73173

gopherbot opened this issue Apr 4, 2025 · 3 comments
Assignees
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Comments

@gopherbot
Copy link
Contributor

#!watchflakes
default <- pkg == "testing" && test == "TestRunParallel"

Issue created automatically to collect these failures.

Example (log):

=== RUN   TestRunParallel
panic: unaligned 64-bit atomic operation

goroutine 512 gp=0xa4838c8 m=8 mp=0xa402008 [running]:
panic({0x8225ba0, 0x82a4898})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x144 fp=0xa534f98 sp=0xa534f44 pc=0x80bfd74
internal/runtime/atomic.panicUnaligned()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/unaligned.go:8 +0x2d fp=0xa534fa4 sp=0xa534f98 pc=0x804b01d
internal/runtime/atomic.Xadd64(0xa4121a4, 0x1)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/atomic_386.s:127 +0x11 fp=0xa534fa8 sp=0xa534fa4 pc=0x804b1e1
...
created by testing.(*B).RunParallel in goroutine 492
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188

goroutine 526 gp=0xa706a28 m=nil [runnable]:
testing.(*B).RunParallel.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 fp=0xa68aff0 sp=0xa68afec pc=0x815d920
runtime.goexit({})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_386.s:1386 +0x1 fp=0xa68aff4 sp=0xa68aff0 pc=0x80c6591
created by testing.(*B).RunParallel in goroutine 492
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188

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

Found new dashboard test flakes for:

#!watchflakes
default <- pkg == "testing" && test == "TestRunParallel"
2025-04-04 17:53 gotip-linux-386-longtest go@5fc596eb testing.TestRunParallel [ABORT] (log)
=== RUN   TestRunParallel
panic: unaligned 64-bit atomic operation

goroutine 512 gp=0xa4838c8 m=8 mp=0xa402008 [running]:
panic({0x8225ba0, 0x82a4898})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x144 fp=0xa534f98 sp=0xa534f44 pc=0x80bfd74
internal/runtime/atomic.panicUnaligned()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/unaligned.go:8 +0x2d fp=0xa534fa4 sp=0xa534f98 pc=0x804b01d
internal/runtime/atomic.Xadd64(0xa4121a4, 0x1)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/atomic_386.s:127 +0x11 fp=0xa534fa8 sp=0xa534fa4 pc=0x804b1e1
...
created by testing.(*B).RunParallel in goroutine 492
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188

goroutine 526 gp=0xa706a28 m=nil [runnable]:
testing.(*B).RunParallel.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 fp=0xa68aff0 sp=0xa68afec pc=0x815d920
runtime.goexit({})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_386.s:1386 +0x1 fp=0xa68aff4 sp=0xa68aff0 pc=0x80c6591
created by testing.(*B).RunParallel in goroutine 492
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188
2025-04-04 21:00 gotip-linux-386-longtest go@7e60bdd7 testing.TestRunParallel [ABORT] (log)
=== RUN   TestRunParallel
panic: unaligned 64-bit atomic operation

goroutine 446 gp=0x9264128 m=6 mp=0x9100808 [running]:
panic({0x8225ba0, 0x82a48f8})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x144 fp=0x90e1798 sp=0x90e1744 pc=0x80bfd74
internal/runtime/atomic.panicUnaligned()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/unaligned.go:8 +0x2d fp=0x90e17a4 sp=0x90e1798 pc=0x804b01d
internal/runtime/atomic.Xadd64(0x90121a4, 0x1)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/atomic_386.s:127 +0x11 fp=0x90e17a8 sp=0x90e17a4 pc=0x804b1e1
...
created by testing.(*B).RunParallel in goroutine 499
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188

goroutine 538 gp=0x91379e8 m=nil [runnable]:
testing.(*B).RunParallel.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 fp=0x9161ff0 sp=0x9161fec pc=0x815d920
runtime.goexit({})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_386.s:1386 +0x1 fp=0x9161ff4 sp=0x9161ff0 pc=0x80c6591
created by testing.(*B).RunParallel in goroutine 499
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188
2025-04-04 22:04 gotip-linux-386-longtest go@2d050e91 testing.TestRunParallel [ABORT] (log)
=== RUN   TestRunParallel
panic: unaligned 64-bit atomic operation

goroutine 529 gp=0x94db8c8 m=7 mp=0x9481008 [running]:
panic({0x8225ba0, 0x82a49f8})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x144 fp=0x94c4f98 sp=0x94c4f44 pc=0x80bfd74
internal/runtime/atomic.panicUnaligned()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/unaligned.go:8 +0x2d fp=0x94c4fa4 sp=0x94c4f98 pc=0x804b01d
internal/runtime/atomic.Xadd64(0x94121a4, 0x1)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/atomic_386.s:127 +0x11 fp=0x94c4fa8 sp=0x94c4fa4 pc=0x804b1e1
...
testing_test.TestRunParallel.func1(0x950c548)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark_test.go:82 +0xc1 fp=0x9534f8c sp=0x9534f50 pc=0x81f1e11
testing.(*B).runN(0x950c548, 0x1)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:219 +0x177 fp=0x9534fd4 sp=0x9534f8c pc=0x8159d57
testing.(*B).run1.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:245 +0x51 fp=0x9534ff0 sp=0x9534fd4 pc=0x815a3a1
runtime.goexit({})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_386.s:1386 +0x1 fp=0x9534ff4 sp=0x9534ff0 pc=0x80c6591
created by testing.(*B).run1 in goroutine 461
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:238 +0x8e
2025-04-04 22:26 gotip-linux-386-longtest go@e3737714 testing.TestRunParallel [ABORT] (log)
=== RUN   TestRunParallel
panic: unaligned 64-bit atomic operation

goroutine 547 gp=0x9981568 m=6 mp=0x987e808 [running]:
panic({0x8225ba0, 0x82a49f8})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/panic.go:802 +0x144 fp=0x98f5f98 sp=0x98f5f44 pc=0x80bfd74
internal/runtime/atomic.panicUnaligned()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/unaligned.go:8 +0x2d fp=0x98f5fa4 sp=0x98f5f98 pc=0x804b01d
internal/runtime/atomic.Xadd64(0x98121a4, 0x1)
	/home/swarming/.swarming/w/ir/x/w/goroot/src/internal/runtime/atomic/atomic_386.s:127 +0x11 fp=0x98f5fa8 sp=0x98f5fa4 pc=0x804b1e1
...
created by testing.(*B).RunParallel in goroutine 499
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188

goroutine 480 gp=0x99837a8 m=nil [runnable]:
testing.(*B).RunParallel.func1()
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 fp=0x9999ff0 sp=0x9999fec pc=0x815d9c0
runtime.goexit({})
	/home/swarming/.swarming/w/ir/x/w/goroot/src/runtime/asm_386.s:1386 +0x1 fp=0x9999ff4 sp=0x9999ff0 pc=0x80c6591
created by testing.(*B).RunParallel in goroutine 499
	/home/swarming/.swarming/w/ir/x/w/goroot/src/testing/benchmark.go:968 +0x188

watchflakes

@randall77
Copy link
Contributor

randall77 commented Apr 4, 2025

Fix is at CL 663015

@randall77 randall77 self-assigned this Apr 4, 2025
@gopherbot
Copy link
Contributor Author

Change https://go.dev/cl/663015 mentions this issue: cmd/compile: on 32-bit, bump up align for values that may contain 64-bit fields

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
Status: Done
Development

No branches or pull requests

2 participants