Skip to content

cov(A, A) test failure on neoverse-v2 CPU #194

@giordano

Description

@giordano
julia> Base.runtests(["Statistics"])
Running parallel tests with:
  getpid() = 4055299
  nworkers() = 1
  nthreads() = 1
  Sys.CPU_THREADS = 36
  Sys.total_memory() = 477.556 GiB
  Sys.free_memory() = 317.340 GiB

Test   (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
Statistics  (1) |        started at 2025-09-26T14:18:15.898
Statistics  (1) |         failed at 2025-09-26T14:18:58.077
Test Failed at /data/cceamgi/julia-depot/juliaup/julia-1.11.7+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/Statistics/test/runtests.jl:477
  Expression: cov(A) ≈ cov(A, A) ≈ (cov(reshape(A, :, 1)))[1] ≈ (cov(reshape(A, :, 1)))[1] ≈ var(A)
   Evaluated: 400.0748f0 ≈ 399.82156f0 ≈ 400.07483f0 ≈ 400.07483f0 ≈ 400.0748f0



Test Summary:  | Pass  Fail  Total   Time
  Overall      |  838     1    839  43.6s
    Statistics |  838     1    839  43.0s
    FAILURE

The global RNG seed was 0x57895fed49e65e1f3d0e86c30f372f74.

Error in testset Statistics:
Test Failed at /data/cceamgi/julia-depot/juliaup/julia-1.11.7+0.aarch64.linux.gnu/share/julia/stdlib/v1.11/Statistics/test/runtests.jl:477
  Expression: cov(A) ≈ cov(A, A) ≈ (cov(reshape(A, :, 1)))[1] ≈ (cov(reshape(A, :, 1)))[1] ≈ var(A)
   Evaluated: 400.0748f0 ≈ 399.82156f0 ≈ 400.07483f0 ≈ 400.07483f0 ≈ 400.0748f0

ERROR: LoadError: Test run finished with errors
in expression starting at /data/cceamgi/julia-depot/juliaup/julia-1.11.7+0.aarch64.linux.gnu/share/julia/test/runtests.jl:100
ERROR: A test has failed. Please submit a bug report (https://github.com/JuliaLang/julia/issues)
including error messages above and the output of versioninfo():
Julia Version 1.11.7
Commit f2b3dbda30a (2025-09-08 12:10 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (aarch64-linux-gnu)
  CPU: 72 × unknown
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, neoverse-v2)
Threads: 1 default, 0 interactive, 1 GC (on 72 virtual cores)

First reported in JuliaLang/julia#59664.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions