Skip to content

testing: TestRunParallel failures [consistent failure] #73173

Description

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

Activity

  1. added
    NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.
    on Apr 4, 2025
  2. gopherbot commented on Apr 4, 2025

    @gopherbot
    ContributorAuthor

    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

  3. randall77 commented on Apr 4, 2025

    @randall77
    Contributor

    Fix is at CL 663015

  4. self-assigned this
    on Apr 4, 2025
  5. gopherbot commented on Apr 5, 2025

    @gopherbot
    ContributorAuthor

    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

  6. added a commit that references this issue on Apr 5, 2025
    1647896
  7. locked and limited conversation to collaborators on Apr 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

FrozenDueToAgeNeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions