JuliaLang / julia

The Julia Programming Language
https://julialang.org/
MIT License
45.75k stars 5.49k forks source link

Base.runtests("loading") fails, and Base.runtests("all",1) fails at "loading" #29207

Closed rickhg12hs closed 5 years ago

rickhg12hs commented 6 years ago

Base.runtests("all") succeeds.

The following two Base.runtests have failures.

$ ./julia -e 'versioninfo();Base.runtests("loading")'
Julia Version 0.6.4
Commit 9d11f62 (2018-07-09 19:09 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=16)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
Test (Worker) | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:18 [inlined]
 [4] macro expansion at ./test.jl:860 [inlined]
 [5] macro expansion at ./util.jl:378 [inlined]
 [6] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:17 [inlined]
 [7] anonymous at ./<missing>:?
loading: Test Failed
  Expression: Base.find_in_path(GenericString("test_sourcepath")) == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:18 [inlined]
 [4] macro expansion at ./test.jl:860 [inlined]
 [5] macro expansion at ./util.jl:378 [inlined]
 [6] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:17 [inlined]
 [7] anonymous at ./<missing>:?
loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:18 [inlined]
 [4] macro expansion at ./test.jl:860 [inlined]
 [5] macro expansion at ./util.jl:378 [inlined]
 [6] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:17 [inlined]
 [7] anonymous at ./<missing>:?
Worker 1 failed running test loading:
Some tests did not pass: 20 passed, 3 failed, 0 errored, 0 broken.loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] record(::Base.Test.DefaultTestSet, ::Base.Test.Fail) at ./test.jl:568
 [2] (::##40#46)() at /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl:160
 [3] cd(::##40#46, ::String) at ./file.jl:70
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] process_options(::Base.JLOptions) at ./client.jl:305
 [7] _start() at ./client.jl:371
loading: Test Failed
  Expression: Base.find_in_path(GenericString("test_sourcepath")) == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] record(::Base.Test.DefaultTestSet, ::Base.Test.Fail) at ./test.jl:568
 [2] (::##40#46)() at /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl:160
 [3] cd(::##40#46, ::String) at ./file.jl:70
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] process_options(::Base.JLOptions) at ./client.jl:305
 [7] _start() at ./client.jl:371
loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] record(::Base.Test.DefaultTestSet, ::Base.Test.Fail) at ./test.jl:568
 [2] (::##40#46)() at /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl:160
 [3] cd(::##40#46, ::String) at ./file.jl:70
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] process_options(::Base.JLOptions) at ./client.jl:305
 [7] _start() at ./client.jl:371

Test Summary: | Pass  Fail  Total
  Overall     |   20     3     23
    loading   |   20     3     23
    FAILURE
Error in testset loading:
Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Error in testset loading:
Test Failed
  Expression: Base.find_in_path(GenericString("test_sourcepath")) == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Error in testset loading:
Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
ERROR: LoadError: Test run finished with errors
while loading /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl, in expression starting on line 29
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 0.6.4
Commit 9d11f62 (2018-07-09 19:09 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=16)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)

Stacktrace:
 [1] runtests(::String, ::Int64) at ./interactiveutil.jl:710
 [2] runtests(::String) at ./interactiveutil.jl:699
$ ./julia -e 'versioninfo();Base.runtests("all",1)'
Julia Version 0.6.4
Commit 9d11f62 (2018-07-09 19:09 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=16)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)
Test (Worker)             | Time (s) | GC (s) | GC % | Alloc (MB) | RSS (MB)
WARNING: Method definition ambig(Any, Integer) in module Test48Main_ambiguous at /home/rick/src/julia/julia/usr/share/julia/test/ambiguous.jl:7 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/ambiguous.jl:85.
Skipping Base.<|
Skipping Base.active_repl
Skipping Base.active_repl_backend
Skipping Base.<|
Skipping Base.active_repl
Skipping Base.active_repl_backend
ambiguous (1)             |    1.76  |  0.10  |  5.8 | 38.82      | 213.13  
linalg/triangular (1)     |  251.40  |  6.19  |  2.5 | 8971.26    | 589.70  
linalg/qr (1)             |   51.27  |  1.63  |  3.2 | 2213.24    | 657.96  
linalg/dense (1)          |   98.32  |  1.78  |  1.8 | 2591.94    | 743.60  
linalg/matmul (1)         |   86.47  |  1.49  |  1.7 | 2378.96    | 748.95  
linalg/schur (1)          |    8.82  |  0.19  |  2.1 | 284.03     | 750.55  
linalg/special (1)        |   21.62  |  0.33  |  1.5 | 429.98     | 754.95  
linalg/eigen (1)          |    6.73  |  0.11  |  1.6 | 147.83     | 764.27  
linalg/bunchkaufman (1)   |    4.36  |  0.05  |  1.2 | 71.33      | 765.94  
linalg/svd (1)            |    7.29  |  0.12  |  1.7 | 146.65     | 769.18  
linalg/lapack (1)         |   22.31  |  0.53  |  2.4 | 687.79     | 784.93  
linalg/tridiag (1)        |   17.50  |  0.51  |  2.9 | 426.53     | 799.74  
linalg/bidiag (1)         |   23.78  |  0.31  |  1.3 | 362.46     | 822.52  
linalg/diagonal (1)       |   38.59  |  0.66  |  1.7 | 826.31     | 837.14  
linalg/pinv (1)           |    3.61  |  0.24  |  6.8 | 589.93     | 915.55  
linalg/givens (1)         |    4.96  |  0.07  |  1.5 | 70.18      | 915.55  
linalg/cholesky (1)       |   22.26  |  0.54  |  2.4 | 386.07     | 915.55  
linalg/lu (1)             |   20.44  |  0.84  |  4.1 | 717.83     | 915.55  
linalg/symmetric (1)      |   11.49  |  0.24  |  2.0 | 207.39     | 915.55  
linalg/generic (1)        |    6.53  |  0.11  |  1.7 | 110.96     | 915.55  
linalg/uniformscaling (1) |   11.84  |  0.23  |  1.9 | 247.35     | 922.56  
linalg/lq (1)             |   35.55  |  1.62  |  4.5 | 2779.85    | 988.36  
linalg/hessenberg (1)     |    0.98  |  0.02  |  1.9 | 16.22      | 988.75  
linalg/rowvector (1)      |   15.06  |  0.30  |  2.0 | 358.29     | 1003.37 
linalg/conjarray (1)      |    1.24  |  0.02  |  1.6 | 27.43      | 1003.77 
linalg/arnoldi (1)        |   20.51  |  0.48  |  2.3 | 501.80     | 1026.01 
subarray (1)              |  171.13  |  6.57  |  3.8 | 5020.60    | 1231.77 
sparse/sparse (1)         |  111.14  | 64.66  | 58.2 | 1081.16    | 1330.82 
sparse/sparsevector (1)   |   70.72  |  1.81  |  2.6 | 1320.16    | 1400.59 
sparse/higherorderfns (1) |  112.13  |  4.40  |  3.9 | 3047.14    | 1511.34 
sparse/umfpack (1)        |    4.40  |  0.13  |  3.1 | 80.91      | 1514.45 
sparse/cholmod (1)        |   16.83  |  0.84  |  5.0 | 259.49     | 1527.80 
sparse/spqr (1)           |    1.49  |  0.03  |  2.3 | 28.73      | 1527.80 
strings/basic (1)         |    6.17  |  0.18  |  2.9 | 116.24     | 1527.80 
strings/search (1)        |    1.26  |  0.04  |  3.2 | 15.62      | 1527.80 
strings/util (1)          |    0.53  |  0.00  |  0.0 |  8.75      | 1527.80 
strings/io (1)            |    1.21  |  0.08  |  6.3 | 29.45      | 1527.80 
strings/types (1)         |    9.94  |  0.04  |  0.4 | 18.73      | 1527.80 
unicode/UnicodeError (1)  |    0.02  |  0.00  |  0.0 |  0.17      | 1527.80 
unicode/utf8proc (1)      |    2.41  |  0.03  |  1.4 | 41.25      | 1527.80 
unicode/utf8 (1)          |    2.20  |  1.12  | 50.8 | 930.17     | 1527.80 
dates/accessors (1)       |    7.73  |  3.88  | 50.2 | 3477.88    | 1534.06 
dates/adjusters (1)       |    1.99  |  0.07  |  3.5 | 37.94      | 1534.79 
dates/query (1)           |    0.52  |  0.00  |  0.0 |  9.73      | 1534.93 
dates/periods (1)         |   10.31  |  0.32  |  3.1 | 183.66     | 1537.48 
dates/ranges (1)          |   11.63  |  0.61  |  5.2 | 416.53     | 1571.96 
dates/rounding (1)        |    0.67  |  0.00  |  0.0 |  5.56      | 1571.99 
dates/types (1)           |    0.96  |  0.00  |  0.0 |  9.00      | 1572.11 
dates/io (1)              |    9.83  |  0.30  |  3.1 | 181.56     | 1573.73 
dates/arithmetic (1)      |    4.14  |  0.15  |  3.5 | 100.64     | 1575.20 
dates/conversions (1)     |    1.02  |  0.00  |  0.0 |  5.32      | 1575.25 
WARNING: Method definition f() in module JLCall14301 at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:3427 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:3437.
WARNING: static parameter T does not occur in signature for bad_tvars at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4569.
The method will not be callable.
WARNING: Method definition (::Type{Test4Main_core.A16424})(Any, Any) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4772 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4777.
WARNING: Method definition (::Type{Test4Main_core.B16424{T}})(Any) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4792 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4796.
WARNING: Method definition (::Type{Test4Main_core.C16424{T, S}})(Any, Any) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4804 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4809.
WARNING: Method definition (::Type{Test4Main_core.C16424{T, S} where S where T})(T, S) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4804 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4809.
WARNING: Method definition (::Type{Test4Main_core.D16424{T<:Real, S<:T<:Real}})(Any, Any) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4819 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4824.
WARNING: Method definition (::Type{Test4Main_core.D16424{T, S} where S<:T where T<:Real})(Array{S<:T<:Real, 1}, Array{T<:Real, 1}) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4819 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4824.
WARNING: Method definition (::Type{Test4Main_core.T20999})(Array{T, N} where N where T<:Real) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4835 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4839.
WARNING: Method definition (::Type{Test4Main_core.T20999})(Any) in module Test4Main_core at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4835 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/core.jl:4839.
core (1)                  |  112.56  | 18.11  | 16.1 | 5037.06    | 1943.65 
inference (1)             |    4.18  |  0.08  |  1.9 | 48.25      | 1943.65 
WARNING: Method definition f265a(Any) in module Test17Main_worlds at /home/rick/src/julia/julia/usr/share/julia/test/worlds.jl:12 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/worlds.jl:17.
worlds (1)                |    1.37  |  0.04  |  3.0 | 20.91      | 1943.65 
keywordargs (1)           |    1.76  |  0.04  |  2.3 | 19.53      | 1943.65 
numbers (1)               |   61.79  |  2.16  |  3.5 | 1345.60    | 1943.65 
WARNING: Method definition test(Type{Tuple{V<:Union{Tuple{Int64, Int64}, Tuple{Int32, Int32}, Tuple{UInt64, UInt64}, Tuple{UInt32, UInt32}, Tuple{Int64, Int64, Int64}, Tuple{Int32, Int32, Int32}, Tuple{UInt64, UInt64, UInt64}, Tuple{UInt32, UInt32, UInt32}, Tuple{Int64, Int64, Int64, Int64}, Tuple{Int32, Int32, Int32, Int32}, Tuple{UInt64, UInt64, UInt64, UInt64}, Tuple{UInt32, UInt32, UInt32, UInt32}}, I<:Union{Int64, Int32, UInt64, UInt32}}}) in module Test44Main_subtype at /home/rick/src/julia/julia/usr/share/julia/test/subtype.jl:1111 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/subtype.jl:1112.
subtype (1)               |   16.37  |  1.33  |  8.1 | 602.87     | 1957.85 
printf (1)                |   13.30  |  0.34  |  2.6 | 196.60     | 1960.54 
char (1)                  |    1.13  |  0.00  |  0.0 | 13.03      | 1961.26 
triplequote (1)           |    0.02  |  0.00  |  0.0 |  0.26      | 1961.29 
intrinsics (1)            |    0.43  |  0.04  | 10.0 |  2.92      | 1961.32 
dict (1)                  |   18.51  |  1.95  | 10.5 | 1061.72    | 1965.52 
hashing (1)               |    3.94  |  0.12  |  3.2 | 72.86      | 1965.52 
iobuffer (1)              |    1.62  |  0.08  |  4.6 | 39.27      | 1965.52 
WARNING: Method definition f10178(X) in module Test67Main_staged at /home/rick/src/julia/julia/usr/share/julia/test/staged.jl:218 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/staged.jl:223.
WARNING: Method definition g10178(Any) in module Test67Main_staged at /home/rick/src/julia/julia/usr/share/julia/test/staged.jl:220 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/staged.jl:225.
staged (1)                |    1.23  |  0.03  |  2.7 |  8.95      | 1965.52 
offsetarray (1)           |   41.17  |  2.11  |  5.1 | 1032.83    | 1965.52 
arrayops (1)              |   59.38  |  2.96  |  5.0 | 1303.98    | 2125.34 
tuple (1)                 |    2.58  |  0.09  |  3.6 | 35.56      | 2125.34 
reduce (1)                |    4.38  |  0.18  |  4.1 | 86.44      | 2125.34 
reducedim (1)             |   11.67  |  0.56  |  4.8 | 264.77     | 2125.34 
random (1)                |    9.73  |  0.45  |  4.6 | 210.69     | 2125.34 
abstractarray (1)         |   45.24  |  2.26  |  5.0 | 811.02     | 2125.34 
intfuncs (1)              |    1.07  |  0.00  |  0.0 |  7.71      | 2125.34 
simdloop (1)              |    1.14  |  0.05  |  4.7 | 14.00      | 2125.34 
vecelement (1)            |    7.43  |  0.20  |  2.6 | 90.27      | 2125.34 
blas (1)                  |   15.36  |  0.75  |  4.9 | 358.78     | 2125.34 
bitarray (1)              |  648.65  |  5.27  |  0.8 | 2411.94    | 2174.69 
copy (1)                  |    2.36  |  0.00  |  0.0 | 17.92      | 2174.69 
math (1)                  |   17.80  |  2.02  | 11.4 | 1229.63    | 2174.69 
fastmath (1)              |    3.04  |  0.10  |  3.3 | 47.42      | 2174.69 
functional (1)            |    4.17  |  0.20  |  4.7 | 88.51      | 2174.69 
iterators (1)             |   22.60  |  0.78  |  3.5 | 321.87     | 2196.10 
operators (1)             |    3.58  |  0.15  |  4.2 | 65.47      | 2204.25 
path (1)                  |    1.08  |  0.00  |  0.0 | 15.86      | 2212.82 
ccall (1)                 |    8.59  |  0.22  |  2.6 | 82.66      | 2220.62 
parse (1)                 |    6.00  |  0.10  |  1.7 | 34.25      | 2220.84 
loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:18 [inlined]
 [4] macro expansion at ./test.jl:860 [inlined]
 [5] macro expansion at ./util.jl:378 [inlined]
 [6] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:17 [inlined]
 [7] anonymous at ./<missing>:?
loading: Test Failed
  Expression: Base.find_in_path(GenericString("test_sourcepath")) == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:18 [inlined]
 [4] macro expansion at ./test.jl:860 [inlined]
 [5] macro expansion at ./util.jl:378 [inlined]
 [6] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:17 [inlined]
 [7] anonymous at ./<missing>:?
loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] include_from_node1(::String) at ./loading.jl:576
 [2] include(::String) at ./sysimg.jl:14
 [3] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:18 [inlined]
 [4] macro expansion at ./test.jl:860 [inlined]
 [5] macro expansion at ./util.jl:378 [inlined]
 [6] macro expansion at /home/rick/src/julia/julia/usr/share/julia/test/testdefs.jl:17 [inlined]
 [7] anonymous at ./<missing>:?
bigint (1)                |    5.15  |  0.06  |  1.1 | 19.17      | 2221.32 
bigfloat (1)              |    0.04  |  0.00  |  0.0 |  0.48      | 2221.32 
sorting (1)               |   32.91  |  1.70  |  5.2 | 459.34     | 2237.95 
statistics (1)            |    8.92  |  0.42  |  4.7 | 176.05     | 2237.95 
       [stdio passthrough ok]
spawn (1)                 |   14.37  |  0.20  |  1.4 | 92.96      | 2244.48 
backtrace (1)             |    0.61  |  0.00  |  0.0 |  2.67      | 2244.66 
file (1)                  |   46.13  |  8.02  | 17.4 | 37.83      | 2245.82 
read (1)                  |   15.12  |  0.61  |  4.0 | 309.70     | 2310.51 
mmap (1)                  |   28.28  | 24.21  | 85.6 | 34.58      | 2310.52 
version (1)               |    1.94  |  0.10  |  4.9 | 49.38      | 2316.36 
resolve (1)               |   17.33  |  3.50  | 20.2 | 2068.09    | 2350.80 
pollfd (1)                |    5.50  |  0.77  | 14.0 |  9.99      | 2351.29 
mpfr (1)                  |    2.01  |  0.00  |  0.0 | 17.55      | 2351.29 
broadcast (1)             |   21.95  |  1.03  |  4.7 | 398.96     | 2351.29 
complex (1)               |    7.59  |  0.28  |  3.7 | 109.44     | 2351.29 
socket (1)                |    3.39  |  0.00  |  0.0 | 20.01      | 2351.29 
floatapprox (1)           |    1.01  |  0.06  |  6.3 |  9.52      | 2351.29 
datafmt (1)               |    4.10  |  0.13  |  3.1 | 54.28      | 2351.29 
reflection (1)            |    7.60  |  0.27  |  3.6 | 110.57     | 2351.29 
regex (1)                 |    1.01  |  0.05  |  4.6 | 11.79      | 2351.29 
float16 (1)               |    0.66  |  0.00  |  0.0 |  9.47      | 2351.29 
combinatorics (1)         |    0.55  |  0.06  | 10.8 |  5.51      | 2351.29 
sysinfo (1)               |    0.28  |  0.00  |  0.0 |  8.80      | 2351.29 
env (1)                   |    0.44  |  0.00  |  0.0 |  3.97      | 2351.29 
rounding (1)              |    1.41  |  0.00  |  0.0 |  7.27      | 2353.62 
ranges (1)                |   58.07  | 12.94  | 22.3 | 7033.14    | 2410.14 
mod2pi (1)                |    0.12  |  0.00  |  0.0 |  1.21      | 2413.68 
euler (1)                 |    0.60  |  0.05  |  7.9 | 19.64      | 2414.37 
show (1)                  |   20.80  |  0.84  |  4.0 | 363.79     | 2420.28 
lineedit (1)              |    2.89  |  0.11  |  3.9 | 43.36      | 2420.46 
replcompletions (1)       |    3.97  |  0.17  |  4.2 | 60.79      | 2423.05 
repl (1)                  |    7.91  |  0.23  |  2.8 | 105.80     | 2432.85 
replutil (1)              |    7.63  |  0.25  |  3.3 | 87.77      | 2439.18 
sets (1)                  |    2.97  |  0.11  |  3.8 | 33.42      | 2445.38 
test (1)                  |    9.10  |  0.17  |  1.9 | 62.71      | 2453.29 
goto (1)                  |    0.11  |  0.00  |  0.0 |  0.25      | 2453.29 
llvmcall (1)              |    0.30  |  0.00  |  0.0 |  1.34      | 2453.33 
llvmcall2 (1)             |    0.02  |  0.00  |  0.0 |  0.23      | 2453.33 
grisu (1)                 |    1.89  |  0.06  |  3.1 | 31.25      | 2454.44 
nullable (1)              |   22.12  |  1.37  |  6.2 | 281.72     | 2476.52 
meta (1)                  |    0.42  |  0.00  |  0.0 |  3.12      | 2476.52 
stacktraces (1)           |    2.49  |  0.06  |  2.5 | 15.99      | 2476.52 
profile (1)               |    4.11  |  0.13  |  3.1 | 39.88      | 2476.52 
WARNING: readuntil(IO,AbstractString) will perform poorly with a long string
WARNING: readuntil(IO,AbstractString) will perform poorly with a long string
WARNING: readuntil(IO,AbstractString) will perform poorly with a long string
libgit2 (1)               |   29.31  |  1.31  |  4.5 | 265.97     | 2615.88 
docs (1)                  |    6.66  |  0.44  |  6.6 | 143.22     | 2628.09 
markdown (1)              |    4.27  |  0.18  |  4.1 | 60.19      | 2630.32 
base64 (1)                |    0.34  |  0.00  |  0.0 |  2.55      | 2630.51 
serialize (1)             |    4.26  |  0.18  |  4.3 | 73.64      | 2631.44 
Test Summary: | Pass  Total
@deprecate    |    3      3
misc (1)                  |   79.75  | 10.78  | 13.5 | 2110.49    | 2769.22 
Warning: threaded loop executed in order
threads (1)               |  100.06  |  2.71  |  2.7 | 100.31     | 2769.22 
enums (1)                 |    4.47  |  0.11  |  2.5 | 46.26      | 2769.22 
cmdlineargs (1)           |   96.72  |  0.17  |  0.2 | 48.88      | 2769.22 
i18n (1)                  |    0.01  |  0.00  |  0.0 |  0.06      | 2769.22 
workspace (1)             |    1.17  |  0.00  |  0.0 |  1.61      | 2769.22 
libdl (1)                 |    0.45  |  0.00  |  0.0 |  3.20      | 2769.22 
int (1)                   |    4.67  |  0.14  |  2.9 | 57.59      | 2769.22 
checked (1)               |    6.86  |  0.16  |  2.3 | 49.13      | 2769.22 
intset (1)                |    3.05  |  0.05  |  1.7 | 29.52      | 2769.22 
floatfuncs (1)            |    5.68  |  0.29  |  5.1 | 118.02     | 2769.22 
distributed (1)           |   64.88  |  0.00  |  0.0 |  0.58      | 2769.22 
inline (1)                |    1.10  |  0.06  |  5.4 |  6.41      | 2769.22 
boundscheck (1)           |    4.11  |  0.00  |  0.0 |  0.05      | 2769.22 
error (1)                 |    1.23  |  0.00  |  0.0 |  6.24      | 2769.22 
cartesian (1)             |    0.02  |  0.00  |  0.0 |  0.04      | 2769.22 
asmvariant (1)            |    0.41  |  0.00  |  0.0 |  0.50      | 2769.22 
osutils (1)               |    0.03  |  0.00  |  0.0 |  0.24      | 2769.22 
channels (1)              |   18.15  |  5.58  | 30.7 | 443.03     | 2769.22 
iostream (1)              |    0.14  |  0.00  |  0.0 |  2.50      | 2769.22 
WARNING: Method definition f(Tuple{Vararg{Int64, N}}, AbstractArray{T, N}) in module Test51Main_specificity at /home/rick/src/julia/julia/usr/share/julia/test/specificity.jl:87 overwritten at /home/rick/src/julia/julia/usr/share/julia/test/specificity.jl:93.
specificity (1)           |    0.07  |  0.00  |  0.0 |  0.94      | 2769.22 
fft (1)                   |   15.92  |  1.20  |  7.6 | 469.67     | 2769.22 
dsp (1)                   |    7.49  |  0.60  |  8.0 | 222.38     | 2769.22 
examples (1)              |   12.86  |  1.45  | 11.3 | 629.67     | 2769.22 
Worker 1 failed running test loading:
Some tests did not pass: 20 passed, 3 failed, 0 errored, 0 broken.loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] record(::Base.Test.DefaultTestSet, ::Base.Test.Fail) at ./test.jl:568
 [2] (::##40#46)() at /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl:160
 [3] cd(::##40#46, ::String) at ./file.jl:70
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] process_options(::Base.JLOptions) at ./client.jl:305
 [7] _start() at ./client.jl:371
loading: Test Failed
  Expression: Base.find_in_path(GenericString("test_sourcepath")) == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] record(::Base.Test.DefaultTestSet, ::Base.Test.Fail) at ./test.jl:568
 [2] (::##40#46)() at /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl:160
 [3] cd(::##40#46, ::String) at ./file.jl:70
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] process_options(::Base.JLOptions) at ./client.jl:305
 [7] _start() at ./client.jl:371
loading: Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Stacktrace:
 [1] record(::Base.Test.DefaultTestSet, ::Base.Test.Fail) at ./test.jl:568
 [2] (::##40#46)() at /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl:160
 [3] cd(::##40#46, ::String) at ./file.jl:70
 [4] include_from_node1(::String) at ./loading.jl:576
 [5] include(::String) at ./sysimg.jl:14
 [6] process_options(::Base.JLOptions) at ./client.jl:305
 [7] _start() at ./client.jl:371

Test Summary:           |     Pass  Fail   Broken     Total
  Overall               | 21630907     3  1311352  22942262
    ambiguous           |       51                       51
    linalg/triangular   |    33634                    33634
    linalg/qr           |     3057                     3057
    linalg/dense        |     6324                     6324
    linalg/matmul       |      527                      527
    linalg/schur        |      330                      330
    linalg/special      |      942                      942
    linalg/eigen        |      381                      381
    linalg/bunchkaufman |     2520                     2520
    linalg/svd          |      244                      244
    linalg/lapack       |      628                      628
    linalg/tridiag      |      845                      845
    linalg/bidiag       |     1594                     1594
    linalg/diagonal     |     1196                     1196
    linalg/pinv         |      232                      232
    linalg/givens       |     1552                     1552
    linalg/cholesky     |     2104                     2104
    linalg/lu           |     1149                     1149
    linalg/symmetric    |     1391                     1391
    linalg/generic      |      206                      206
    linalg/uniformscaling |      247                      247
    linalg/lq           |     1374                     1374
    linalg/hessenberg   |       40                       40
    linalg/rowvector    |      136                      136
    linalg/conjarray    |       10                       10
    linalg/arnoldi      |       76                       76
    subarray            |      200                      200
    sparse/sparse       |     1518                     1518
    sparse/sparsevector |     8163                     8163
    sparse/higherorderfns |     6377            584      6961
    sparse/umfpack      |      137                      137
    sparse/cholmod      |      359                      359
    sparse/spqr         |       53                       53
    strings/basic       |    26981                    26981
    strings/search      |      549                      549
    strings/util        |      341                      341
    strings/io          |    12536                    12536
    strings/types       |     8905                     8905
    unicode/UnicodeError |        1                        1
    unicode/utf8proc    |      768                      768
    unicode/utf8        |  1048595                  1048595
    dates/accessors     |  7723858                  7723858
    dates/adjusters     |     3147                     3147
    dates/query         |      988                      988
    dates/periods       |      316                      316
    dates/ranges        |   348530                   348530
    dates/rounding      |      157                      157
    dates/types         |      167                      167
    dates/io            |      241                      241
    dates/arithmetic    |      312                      312
    dates/conversions   |      159                      159
    core                |    35542                    35542
    inference           |      255                      255
    worlds              |       61                       61
    keywordargs         |      109                      109
    numbers             |  1477170                  1477170
    subtype             |   337304             15    337319
    printf              |      596                      596
    char                |     1707                     1707
    triplequote         |       28                       28
    intrinsics          |       34                       34
    dict                |   134174                   134174
    hashing             |    14453                    14453
    iobuffer            |      179                      179
    staged              |       47                       47
    offsetarray         |      733                      733
    arrayops            |     1572                     1572
    tuple               |      383                      383
    reduce              |      242                      242
    reducedim           |      461                      461
    random              |   200711                   200711
    abstractarray       |     2431                     2431
    intfuncs            |     4335                     4335
    simdloop            |      207                      207
    vecelement          |      533                      533
    blas                |      486                      486
    bitarray            |   894965                   894965
    copy                |      312                      312
    math                |   551279                   551279
    fastmath            |      791                      791
    functional          |       61                       61
    iterators           |      918                      918
    operators           |       59                       59
    path                |      219             12       231
    ccall               |     3852                     3852
    parse               |     1158                     1158
    loading             |       20     3                 23
    bigint              |     2396                     2396
    bigfloat            |       24                       24
    sorting             |     4864                     4864
    statistics          |      367                      367
    spawn               |      109              4       113
    backtrace           |       22              1        23
    file                |      804                      804
    read                |     2071                     2071
    mmap                |      131                      131
    version             |   124465                   124465
    resolve             |     2648                     2648
    pollfd              |      344                      344
    mpfr                |      702                      702
    broadcast           |      312                      312
    complex             |     1094                     1094
    socket              |       78                       78
    floatapprox         |       49                       49
    datafmt             |       83                       83
    reflection          |      277                      277
    regex               |       38                       38
    float16             |      124                      124
    combinatorics       |       44                       44
    sysinfo             |        2                        2
    env                 |      122                      122
    rounding            |      327                      327
    ranges              |  6981918        1310720   8292638
    mod2pi              |        9                        9
    euler               |       12                       12
    show                |      147                      147
    lineedit            |      175                      175
    replcompletions     |      268              2       270
    repl                |      113                      113
    replutil            |      167                      167
    sets                |      216                      216
    test                |      201             14       215
    goto                |       13                       13
    llvmcall            |       13                       13
    llvmcall2           |        6                        6
    grisu               |      683                      683
    nullable            |    98030                    98030
    meta                |       38                       38
    stacktraces         |       42                       42
    profile             |        7                        7
    libgit2             |      385                      385
    docs                |      196                      196
    markdown            |      210                      210
    base64              |        9                        9
    serialize           |       91                       91
    misc                |  1279537                  1279537
    threads             |   190563                   190563
    enums               |       79                       79
    cmdlineargs         |      137                      137
    i18n                |        2                        2
    workspace           |        1                        1
    libdl               |       76                       76
    int                 |    10140                    10140
    checked             |     1211                     1211
    intset              |      154                      154
    floatfuncs          |      126                      126
    distributed         |                          No tests
    inline              |       23                       23
    boundscheck         |                          No tests
    error               |       28                       28
    cartesian           |        2                        2
    asmvariant          |        3                        3
    osutils             |       21                       21
    channels            |      187                      187
    iostream            |       21                       21
    specificity         |      114                      114
    fft                 |     2026                     2026
    dsp                 |      365                      365
    examples            |       22                       22
    compile             |       88                       88
    FAILURE
Error in testset loading:
Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Error in testset loading:
Test Failed
  Expression: Base.find_in_path(GenericString("test_sourcepath")) == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
Error in testset loading:
Test Failed
  Expression: Base.find_in_path("test_sourcepath") == joinpath(dir, "test_sourcepath.jl")
   Evaluated: "/home/rick/src/julia/julia/test/test_sourcepath.jl" == "/home/rick/src/julia/julia/usr/share/julia/test/test_sourcepath.jl"
ERROR: LoadError: Test run finished with errors
while loading /home/rick/src/julia/julia/usr/share/julia/test/runtests.jl, in expression starting on line 29
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 0.6.4
Commit 9d11f62 (2018-07-09 19:09 UTC)
Platform Info:
  OS: Linux (x86_64-redhat-linux)
  CPU: Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  BLAS: libopenblas (USE64BITINT DYNAMIC_ARCH NO_AFFINITY Haswell MAX_THREADS=16)
  LAPACK: libopenblas64_
  LIBM: libopenlibm
  LLVM: libLLVM-3.9.1 (ORCJIT, skylake)

Stacktrace:
 [1] runtests(::String, ::Int64) at ./interactiveutil.jl:710
nalimilan commented 6 years ago

Julia 0.6 is unlikely to have fixes backported at this point. You'd better move to 0.7/1.0 as soon as you can. But maybe the error happens there too.

The failure is related to file paths. Can you tell us how you built and installed Julia? Are you setting any special environment variables to change the default install path?

rickhg12hs commented 6 years ago

On Fedora, I built it from the GitHub source (git checkout v0.6.4) with make. I run ./julia from the base source directory.

rickhg12hs commented 6 years ago

I just tried ./julia -e 'using InteractiveUtils;versioninfo();Base.runtests("loading")' for the binary download v1.0.0 and it worked. Perhaps whatever issue there may have been has since been resolved.

When I commit to the new 0.7/1.0, I'll build from source and try the tests again.