Skip to content

Heisenbug in "test guarded Random.seed!" #42752

Closed
@tkf

Description

@tkf

Just as a record, I saw:

Error in testset Test:
Test Failed at /buildworker/worker/tester_linuxaarch64/build/share/julia/stdlib/v1.8/Test/test/runtests.jl:777
  Expression: orig == Random.default_rng()
   Evaluated: Xoshiro(0x947b9af2ba269897, 0x95ae8d9a31382b32, 0x8a532dc2baa61f2e, 0x7213512241a4dfbd) == TaskLocalRNG()
Error in testset Test:
Test Failed at /buildworker/worker/tester_linuxaarch64/build/share/julia/stdlib/v1.8/Test/test/runtests.jl:778
  Expression: rand(orig) == rand()
   Evaluated: 0.6209946085911393 == 0.7846500004305739

https://build.julialang.org/#/builders/7/builds/4863/steps/5/logs/stdio

in #42725. It vanished after re-running the test by merging master even though there doesn't seem a change that could fix the result a4903fd...76c2431.

Metadata

Metadata

Assignees

Labels

bugIndicates an unexpected problem or unintended behaviorciContinuous integrationheisenbugThis bug occurs unpredictablyrandomnessRandom number generation and the Random stdlibrr trace included

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions