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

**URL:** <https://discourse.julialang.org/t/tests-failing-while-running-base-runtests-pkg/88941>\
**Category:** General Usage\
**Created:** [October 19, 2022, 4:59am UTC](https://discourse.julialang.org/t/tests-failing-while-running-base-runtests-pkg/88941 "2022-10-19T04:59:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Vinod\_Kumar\_K](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vinod_kumar_k/32/43551_2.png) [@Vinod\_Kumar\_K](https://discourse.julialang.org/u/Vinod_Kumar_K)\
**Post date:** [October 19, 2022, 4:59am UTC](https://discourse.julialang.org/t/tests-failing-while-running-base-runtests-pkg/88941/1 "2022-10-19T04:59:03Z")

</div>

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/](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

---

<div class="post-metadata">

**Author:** ![digital\_carver](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/digital_carver/32/33818_2.png) [@digital\_carver](https://discourse.julialang.org/u/digital_carver)\
**Post date:** [October 19, 2022, 10:37am UTC](https://discourse.julialang.org/t/tests-failing-while-running-base-runtests-pkg/88941/2 "2022-10-19T10:37:56Z")

</div>

> [@Vinod\_Kumar\_K](#):
>
> Sys.total\_memory() = 8192.000 PiB  
> Sys.free\_memory() = 8192.000 PiB

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](https://www.memtest86.com/) seems worth running.

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