Skip to content

Runtest issues when running on Arm HPC cluster #59664

@green-br

Description

@green-br

A few findings when running tests on HPC cluster (this case checking for any ARM issues)

  1. Test seems to be incorrectly failing - looks like PB is defined as 2**44 when it should be 2**50.
Test Failed at julia-1.11.7/share/julia/test/file.jl:1821
  Expression: dstat.total < 32PB
   Evaluated: 2623670942244864 < 562949953421312
  1. Some comparison issues
Test Failed at julia-1.11.7/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 Failed at julia-1.11.7/share/julia/stdlib/v1.11/Profile/test/runtests.jl:72
  Expression: data_without[1] == data_with[1]
   Evaluated: 0x0000000000000000 == 0x0000000000000001
...

  1. Memory mapping issue - original reason I ran tests due to known issue with LLVM and memory mapping with user hitting it. e.g. https://docs.julialang.org/en/v1/devdocs/build/arm/#Known-issues - reran with increased limit which helped but see 4.
Error During Test at julia-1.11.7/share/julia/test/testdefs.jl:24
  Got exception outside of a @test
  LoadError: SystemError: memory mapping failed: Invalid argument
  Stacktrace:
   [1] systemerror(p::String, errno::Int32; extrainfo::Nothing)
     @ Base ./error.jl:176
   [2] systemerror
     @ ./error.jl:175 [inlined]
   [3] mmap(io::IOStream, ::Type{Matrix{Int64}}, dims::Tuple{Int64, Int64}, offset::Int64; grow::Bool, shared::Bool)
     @ Mmap julia_mem_bug/julia-1.11.7/share/julia/stdlib/v1.11/Mmap/src/Mmap.jl:240
   [4] mmap(io::IOStream, ::Type{Matrix{Int64}}, dims::Tuple{Int64, Int64}, offset::Int64)
     @ Mmap julia_mem_bug/julia-1.11.7/share/julia/stdlib/v1.11/Mmap/src/Mmap.jl:188
   [5] top-level scope
     @ julia-1.11.7/share/julia/stdlib/v1.11/Mmap/test/runtests.jl:269
  in expression starting at julia_mem_bug/julia-1.11.7/share/julia/stdlib/v1.11/Mmap/test/runtests.jl:269
  1. Had to interrupt since it seem to have got stuck even with increasing sysctl -w vm.max_map_count=262144
Error in testset Pkg:
Interrupted
Error in testset ccall:
Interrupted
Error in testset precompile:
Interrupted
Error in testset SharedArrays:
Interrupted
Error in testset threads:
Interrupted
Error in testset Distributed:
Interrupted
Error in testset gc:
Interrupted
Error in testset stress:
Interrupted

System information:

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: 144 × unknown
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, neoverse-v2)
Threads: 1 default, 0 interactive, 1 GC (on 144 virtual cores)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions