Skip to content

When built from source, make testall fails with Julia 1.7-release on macOS ARM (both built and running under Rosetta2) #43335

Closed
@George9000

Description

@George9000

The earlier issues I posted involved Julia built and tested natively on M1. This time I built release-1.7 under Rosetta2 and ran make testall also under Rosetta2. There were 5 failures. This is an M1 Max with Monterey 12.0.1

% make -v                                                                                                                                                                                                                      
GNU Make 3.81
This program built for i386-apple-darwin11.3.0


julia> versioninfo()
Julia Version 1.7.0
Commit 3bf9d17731 (2021-11-30 12:12 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin21.1.0)
  CPU: Apple M1 Max
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, westmere)
Environment:
  JULIA_EDITOR = Emacs
Test results
Test Summary:                       |     Pass  Fail  Broken     Total
  Overall                           | 38305387     5  352644  38658036
    LinearAlgebra/schur             |      496                     496
    LinearAlgebra/bunchkaufman      |     5688                    5688
    LinearAlgebra/lapack            |      801                     801
    LinearAlgebra/eigen             |      497                     497
    LinearAlgebra/svd               |      559                     559
    LinearAlgebra/qr                |     4614                    4614
    LinearAlgebra/special           |     3159                    3159
    LinearAlgebra/tridiag           |     1442                    1442
    LinearAlgebra/generic           |      565                     565
    LinearAlgebra/cholesky          |     2417                    2417
    LinearAlgebra/uniformscaling    |      524                     524
    LinearAlgebra/blas              |      684                     684
    LinearAlgebra/lu                |     1287                    1287
    LinearAlgebra/bidiag            |     3601                    3601
    LinearAlgebra/pinv              |      292                     292
    LinearAlgebra/lq                |     2938                    2938
    LinearAlgebra/givens            |     1847                    1847
    LinearAlgebra/ldlt              |        8                       8
    LinearAlgebra/factorization     |       53            16        69
    LinearAlgebra/adjtrans          |      345                     345
    LinearAlgebra/matmul            |     1106                    1106
    compiler/validation             |       26                      26
    compiler/ssair                  |       39                      39
    compiler/irpasses               |       25                      25
    ambiguous                       |      106             2       108
    compiler/inline                 |       65             1        66
    LinearAlgebra/dense             |     8595                    8595
    compiler/contextual             |       12                      12
    LinearAlgebra/hessenberg        |      620            17       637
    compiler/codegen                |      162                     162
    strings/search                  |      692                     692
    strings/io                      |    12764                   12764
    compiler/inference              |     1012             2      1014
    unicode/utf8                    |       19                      19
    strings/util                    |      619                     619
    strings/basic                   |    87674                   87674
    worlds                          |       83                      83
    strings/types                   |  2302691                 2302691
    keywordargs                     |      151                     151
    LinearAlgebra/structuredbroadcast |      670                     670
    char                            |     1623                    1623
    triplequote                     |       29                      29
    atomics                         |     3444                    3444
    intrinsics                      |      301                     301
    subtype                         |   337674            19    337693
    iobuffer                        |      205                     205
    staged                          |       64                      64
    LinearAlgebra/symmetric         |     2803                    2803
    LinearAlgebra/diagonal          |     2711                    2711
    hashing                         |    12519                   12519
    dict                            |   144420                  144420
    tuple                           |      606                     606
    reduce                          |     8580                    8580
    numbers                         |  1578627             1   1578628
    simdloop                        |      240                     240
    offsetarray                     |      485             3       488
    vecelement                      |      678                     678
    intfuncs                        |   215864                  215864
    core                            |  8445882             3   8445885
    copy                            |      533                     533
    fastmath                        |      946                     946
    functional                      |       98                      98
    reducedim                       |      865                     865
    operators                       |    13039                   13039
    rational                        |    98634             1     98635
    ordering                        |       35                      35
    path                            |      373            12       385
    parse                           |    16098                   16098
    math                            |   148810                  148810
    arrayops                        |     2013             2      2015
    gmp                             |     2324                    2324
    loading                         |   146016                  146016
    backtrace                       |       38             1        39
    abstractarray                   |    55924         24795     80719
    exceptions                      |       70                      70
    spawn                           |      217             4       221
    version                         |     2452                    2452
    namedtuple                      |      214                     214
    subarray                        |   318299                  318299
    file                            |     1063                    1063
    mpfr                            |     1127             1      1128
    floatapprox                     |       49                      49
    ccall                           |     5351                    5351
    regex                           |      130                     130
    complex                         |     8432             5      8437
    reflection                      |      411                     411
    sysinfo                         |        4                       4
    env                             |       83                      83
    float16                         |   762091                  762091
    rounding                        |   112720                  112720
    mod2pi                          |       80                      80
    euler                           |       12                      12
    combinatorics                   |      170                     170
    client                          |        4                       4
    iterators                       |    10080                   10080
    read                            |     3727                    3727
    goto                            |       19                      19
    llvmcall                        |       19                      19
    llvmcall2                       |        7                       7
    ryu                             |    31215                   31215
    some                            |       71                      71
    errorshow                       |      223                     223
    meta                            |       69                      69
    stacktraces                     |       47     1                48
    docs                            |      236                     236
    sorting                         |    12709            10     12719
    sets                            |     3529             1      3530
    binaryplatforms                 |      341                     341
    enums                           |       99                      99
    show                            |   128869             8    128877
    interpreter                     |        3                       3
    broadcast                       |      508                     508
    bitset                          |      195                     195
    atexit                          |       40                      40
    int                             |   524693                  524693
    ranges                          | 12110559        327682  12438241
    error                           |       31                      31
    osutils                         |       43                      43
    checked                         |     1239                    1239
    iostream                        |       50                      50
    secretbuffer                    |       27                      27
    specificity                     |      175                     175
    misc                            |  1282195     1           1282196
    cartesian                       |      238             3       241
    boundscheck                     |                         No tests
    bitarray                        |   915262                  915262
    corelogging                     |      231                     231
    syntax                          |     1509             1      1510
    smallarrayshrink                |       36                      36
    filesystem                      |        4                       4
    opaque_closure                  |       41             1        42
    reinterpretarray                |      232                     232
    asyncmap                        |      304                     304
    missing                         |      565             1       566
    LinearAlgebra/triangular        |    37739                   37739
    channels                        |      244                     244
    LibGit2/online                  |       10                      10
    Dates/adjusters                 |     3149                    3149
    Dates/query                     |     1004                    1004
    Dates/accessors                 |  7723858                 7723858
    download                        |                         No tests
    Dates/periods                   |      946                     946
    Dates/ranges                    |   350637                  350637
    Dates/types                     |      232                     232
    Dates/rounding                  |      315                     315
    Dates/conversions               |      161                     161
    Dates/arithmetic                |      377                     377
    Dates/io                        |      331                     331
    Artifacts                       |     1452                    1452
    CRC32c                          |      664                     664
    Base64                          |     2022                    2022
    ArgTools                        |      180                     180
    CompilerSupportLibraries_jll    |        4                       4
    DelimitedFiles                  |       89                      89
    Future                          |                         No tests
    GMP_jll                         |        1                       1
    InteractiveUtils                |      276                     276
    LLVMLibUnwind_jll               |        7                       7
    LazyArtifacts                   |        4                       4
    LibCURL                         |        6                       6
    LibCURL_jll                     |        1                       1
    LibGit2_jll                     |        2                       2
    LibSSH2_jll                     |                         No tests
    LibUV_jll                       |        1                       1
    LibUnwind_jll                   |                         No tests
    Libdl                           |       77             1        78
    Logging                         |       39                      39
    MPFR_jll                        |        1                       1
    LinearAlgebra/addmul            |     3672                    3672
    MbedTLS_jll                     |        1                       1
    Markdown                        |      255                     255
    MozillaCACerts_jll              |        1                       1
    NetworkOptions                  |     3518                    3518
    OpenBLAS_jll                    |        1                       1
    OpenLibm_jll                    |        1                       1
    PCRE2_jll                       |        2                       2
    FileWatching                    |      510                     510
    Mmap                            |      139                     139
    SparseArrays/higherorderfns     |     7121             1      7122
    Profile                         |       24                      24
    Printf                          |     1009                    1009
    LibGit2/libgit2                 |      754                     754
    Serialization                   |      119             1       120
    REPL                            |     1278             4      1282
    Sockets                         |      164                     164
    Downloads                       |      219                     219
    SuiteSparse_jll                 |        1                       1
    floatfuncs                      |      221                     221
    TOML                            |      415             8       423
    Random                          |   204277                  204277
    UUIDs                           |     1029                    1029
    Unicode                         |      764                     764
    Zlib_jll                        |        1                       1
    dSFMT_jll                       |        1                       1
    libLLVM_jll                     |        1                       1
    libblastrampoline_jll           |        1                       1
    nghttp2_jll                     |        1                       1
    p7zip_jll                       |        1                       1
    Statistics                      |      801                     801
    Test                            |      406            17       423
    SHA                             |        1                       1
    cmdlineargs                     |      249             3       252
    Tar                             |     2968            11      2979
    SuiteSparse                     |      921                     921
    SparseArrays/sparsevector       |    10322             4     10326
    SparseArrays/sparse             |     3826                    3826
    Pkg                             |     2333     3       2      2338
    precompile                      |      117                     117
    SharedArrays                    |      114                     114
    threads                         |        1                       1
    Distributed                     |       12                      12
    stress                          |      118                     118
    FAILURE

The global RNG seed was 0x4fd2bcb15c54a934c9445ac68d440e1.

Error in testset stacktraces:
Test Failed at /Users/foo/applications/julia/test/stacktraces.jl:51
  Expression: StackTraces.lookup(C_NULL) == [StackTraces.UNKNOWN] == StackTraces.lookup(C_NULL + 1) == StackTraces.lookup(C_NULL - 1)
   Evaluated: Base.StackTraces.StackFrame[ip:0x0] == Base.StackTraces.StackFrame[ip:0x0] == Base.StackTraces.StackFrame[ip:0x1] == Base.StackTraces.StackFrame[ip:0xffffffffffffffff at julia:?]
Error in testset misc:
Test Failed at /Users/foo/applications/julia/test/misc.jl:575
  Expression: Libc.errno() == 0x00c0ffee
   Evaluated: 0 == 0x00c0ffee
Error in testset Pkg:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:1017
  Expression: pkg.source == joinpath(#= /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:1017 =# @__DIR__(), "test_packages", "A", "dev", "C")
   Evaluated: "/Users/foo/applications/julia/stdlib/Pkg-0779de5302e03bf768f9167fa4aad4d78ba3af96/test/test_packages/A/dev/C" == "/Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/test_packages/A/dev/C"
Error in testset Pkg:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:1020
  Expression: pkg.source == joinpath(#= /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:1020 =# @__DIR__(), "test_packages", "A", "dev", "B")
   Evaluated: "/Users/foo/applications/julia/stdlib/Pkg-0779de5302e03bf768f9167fa4aad4d78ba3af96/test/test_packages/A/dev/B" == "/Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/test_packages/A/dev/B"
Error in testset Pkg:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:1023
  Expression: pkg.source == joinpath(#= /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:1023 =# @__DIR__(), "test_packages", "A", "dev", "D")
   Evaluated: "/Users/foo/applications/julia/stdlib/Pkg-0779de5302e03bf768f9167fa4aad4d78ba3af96/test/test_packages/A/dev/D" == "/Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/test_packages/A/dev/D"
ERROR: LoadError: Test run finished with errors
in expression starting at /Users/foo/applications/julia/test/runtests.jl:93
make[1]: *** [all] Error 1
make: *** [testall] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    system:apple siliconAffects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chipssystem:apple silicon rosettaAffects Apple Silicon (e.g. M1), but only when running under Rosetta 2

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions