Tests failing while running Base.runtests("Pkg")

julia> Base.runtests(“Pkg”)
Running parallel tests with:
nworkers() = 1
nthreads() = 1
Sys.CPU_THREADS = 4
Sys.total_memory() = 8192.000 PiB
Sys.free_memory() = 8192.000 PiB

Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
Pkg (1) | started at 2022-10-19T04:28:05.314
┌ Info: Pkg Server metadata:
│ HTTP/2 301
│ server: Varnish
│ retry-after: 0
│ location: https://us-west.pkg.julialang.org/
│ x-geo-continent: NA
│ x-geo-country: US
│ x-geo-region: WA
│ accept-ranges: bytes
│ date: Wed, 19 Oct 2022 04:28:05 GMT
│ via: 1.1 varnish
│ x-served-by: cache-lga21945-LGA
│ x-cache: HIT
│ x-cache-hits: 0
│ x-timer: S1666153686.786009,VS0,VE0
│ content-length: 0

│ HTTP/2 200
│ server: nginx/1.23.1
│ date: Wed, 19 Oct 2022 04:28:06 GMT
│ content-type: text/html
│ content-length: 402
│ accept-ranges: bytes
│ x-lb-strategy: pkgservers_roundrobin

signal (11): Segmentation fault
in expression starting at REPL[4]:1
cd at ./file.jl:115
_run_precompilation_script_setup at /julia/juliabuild/usr/share/julia/stdlib/v1.8/Pkg/src/Pkg.jl:752
jfptr__run_precompilation_script_setup_70299 at /julia/juliabuild/usr/lib/julia/sys.so (unknown line)
_jl_invoke at /julia/julia/src/gf.c:2367 [inlined]
ijl_apply_generic at /julia/julia/src/gf.c:2549
jl_apply at /julia/julia/src/julia.h:1839 [inlined]
do_call at /julia/julia/src/interpreter.c:126
eval_value at /julia/julia/src/interpreter.c:215
eval_stmt_value at /julia/julia/src/interpreter.c:166 [inlined]
eval_body at /julia/julia/src/interpreter.c:612
jl_interpret_toplevel_thunk at /julia/julia/src/interpreter.c:750
jl_toplevel_eval_flex at /julia/julia/src/toplevel.c:906
jl_toplevel_eval_flex at /julia/julia/src/toplevel.c:850
ijl_toplevel_eval_in at /julia/julia/src/toplevel.c:965
eval at ./boot.jl:368 [inlined]
eval_user_input at /julia/juliabuild/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:151
repl_backend_loop at /julia/juliabuild/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:247
start_repl_backend at /julia/juliabuild/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:232
#run_repl#47 at /julia/juliabuild/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:369
run_repl at /julia/juliabuild/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:355 [inlined]
run_repl at /julia/juliabuild/usr/share/julia/stdlib/v1.8/REPL/src/REPL.jl:355 [inlined]
#10 at ./task.jl:484
unknown function (ip: 0x7ffeffb514af)
_jl_invoke at /julia/julia/src/gf.c:2367 [inlined]
ijl_apply_generic at /julia/julia/src/gf.c:2549
jl_apply at /julia/julia/src/julia.h:1839 [inlined]
start_task at /julia/julia/src/task.c:931
Allocations: 170219286 (Pool: 170053160; Big: 166126); GC: 123

That seems a bit suspect. What computer are you running this on, and how much RAM does your OS report having? I’m not sure what could cause the RAM size itself to be wrongly reported (as 8 petabytes!) like this, but a memtest seems worth running.

(The tests run fine on my computer btw, with an overall SUCCESS result.)