Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
George9000 opened this issue Dec 5, 2021 · 8 comments
Labels
system:apple silicon rosetta Affects Apple Silicon (e.g. M1), but only when running under Rosetta 2 system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips

Comments

@George9000
Copy link
Contributor

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

@ViralBShah ViralBShah added system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips system:apple silicon rosetta Affects Apple Silicon (e.g. M1), but only when running under Rosetta 2 labels Dec 5, 2021
@ViralBShah
Copy link
Member

The M1 port is not complete (Tier 3), and I believe I read in one of the issues that Rosetta doesn't like FMA instructions.

@giordano
Copy link
Contributor

giordano commented Dec 5, 2021

I believe I read in one of the issues that Rosetta doesn't like FMA instructions.

My understanding of https://developer.apple.com/documentation/apple-silicon/about-the-rosetta-translation-environment

Rosetta translates all x86_64 instructions, but it doesn’t support the execution of some newer instruction sets and processor features, such as AVX, AVX2, and AVX512 vector instructions.

Is that Rosetta translates (almost?) only the generic x86_64 instructions.

@George9000
Copy link
Contributor Author

Saw the segfault issues raised here on M1 native 1.7 and decided to stick with 1.7 on Rosetta for now. The errors above are in Pkg (3), stacktrace (1), and misc(1). Not as many and, perhaps, not as serious as the errors reported earlier with make testall following the M1 native build of the 1.7.-rc3.

@dnadlinger
Copy link
Member

The stacktraces issue was fixed in 7f27dea. I'm somewhat surprised by the other issues, though – does the test suite pass on macOS 12.1 when natively running on x86_64?

@George9000
Copy link
Contributor Author

@dnadlinger Here are my results with the release-1.7 branch built in a Rosetta2 terminal after upgrading to macOS 12.1 on the M1 Max.

More (!) errors than before with most under libgit2

(I'll try building natively under ARM and LLVM 14 using master which seems to have merged in your changes including #43664. I did notice the LLVM folks reverted your suggested __eh_frame changes due to test breaks on Windows.)

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

versioninfo(;verbose=true)
Julia Version 1.7.2-pre.0
Commit 3f024fd0ab (2021-12-23 18:27 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin21.2.0)
  uname: Darwin 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 x86_64 i386
  CPU: Apple M1 Max:
                 speed         user         nice          sys         idle          irq
       #1-10    24 MHz     218235 s          0 s      83713 s    2372445 s          0 s

  Memory: 64.0 GB (9495.078125 MB free)
  Uptime: 26834.0 sec
  Load Avg:  5.521484375  8.75146484375  6.48486328125
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, westmere)
Environment:
  JULIA_EDITOR = Emacs
  HOME = /Users/foo
  PATH = /opt/homebrew/opt/grep/libexec/gnubin:~/.local/bin:/Users/foo/.pyenv/bin:/opt/homebrew/bin:/Users/foo/Library/Python/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/foo/perl5/perlbrew/bin:/Users/foo/perl5/perlbrew/perls/perl-5.35.5/bin:/Users/foo/.local/bin:/opt/homebrew/opt/fzf/bin:/Users/foo/.emacs.d/bin
  TERM = xterm-256color
  XPC_FLAGS = 0x0
  PERLBREW_HOME = /Users/foo/.perlbrew
  PERLBREW_MANPATH = /Users/foo/perl5/perlbrew/perls/perl-5.35.5/man
  PERLBREW_PATH = /Users/foo/perl5/perlbrew/bin:/Users/foo/perl5/perlbrew/perls/perl-5.35.5/bin
  MANPATH = /opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Library/TeX/Distributions/.DefaultTeX/Contents/Man:/opt/X11/share/man:/Users/foo/perl5/perlbrew/perls/perl-5.35.5/man:/Library/Apple/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:
  HOMEBREW_PREFIX = /opt/homebrew
  HOMEBREW_CELLAR = /opt/homebrew/Cellar
  HOMEBREW_REPOSITORY = /opt/homebrew
  INFOPATH = /opt/homebrew/share/info:
Test Results
Test Summary:                       |     Pass  Fail  Error  Broken     Total
  Overall                           | 38319064    18      4  352644  38671730
    LinearAlgebra/schur             |      496                            496
    LinearAlgebra/lapack            |      801                            801
    LinearAlgebra/bunchkaufman      |     5688                           5688
    LinearAlgebra/eigen             |      497                            497
    LinearAlgebra/svd               |      559                            559
    LinearAlgebra/qr                |     4614                           4614
    LinearAlgebra/tridiag           |     1442                           1442
    LinearAlgebra/special           |     3159                           3159
    LinearAlgebra/generic           |      565                            565
    LinearAlgebra/cholesky          |     2417                           2417
    LinearAlgebra/uniformscaling    |      524                            524
    LinearAlgebra/lu                |     1287                           1287
    LinearAlgebra/lq                |     2938                           2938
    LinearAlgebra/blas              |      684                            684
    LinearAlgebra/givens            |     1847                           1847
    LinearAlgebra/matmul            |     1106                           1106
    LinearAlgebra/pinv              |      292                            292
    LinearAlgebra/bidiag            |     3601                           3601
    LinearAlgebra/ldlt              |        8                              8
    LinearAlgebra/factorization     |       53                   16        69
    LinearAlgebra/hessenberg        |      620                   17       637
    compiler/validation             |       26                             26
    ambiguous                       |      106                    2       108
    compiler/ssair                  |       39                             39
    LinearAlgebra/adjtrans          |      345                            345
    compiler/irpasses               |       25                             25
    compiler/inline                 |       65                    1        66
    LinearAlgebra/dense             |     8595                           8595
    compiler/contextual             |       12                             12
    compiler/codegen                |      165                            165
    strings/search                  |      692                            692
    strings/io                      |    12764                          12764
    strings/basic                   |    87674                          87674
    unicode/utf8                    |       19                             19
    compiler/inference              |     1012                    2      1014
    worlds                          |       83                             83
    strings/util                    |      619                            619
    strings/types                   |  2302691                        2302691
    keywordargs                     |      151                            151
    atomics                         |     3444                           3444
    LinearAlgebra/structuredbroadcast |      670                            670
    triplequote                     |       29                             29
    subtype                         |   337674                   19    337693
    char                            |     1623                           1623
    intrinsics                      |      301                            301
    iobuffer                        |      205                            205
    staged                          |       64                             64
    hashing                         |    12519                          12519
    LinearAlgebra/diagonal          |     2711                           2711
    LinearAlgebra/symmetric         |     2803                           2803
    dict                            |   144420                         144420
    tuple                           |      606                            606
    numbers                         |  1578627                    1   1578628
    reduce                          |     8580                           8580
    offsetarray                     |      485                    3       488
    simdloop                        |      240                            240
    core                            |  8445882                    3   8445885
    vecelement                      |      678                            678
    copy                            |      533                            533
    intfuncs                        |   215864                         215864
    fastmath                        |      946                            946
    functional                      |       98                             98
    rational                        |    98634                    1     98635
    reducedim                       |      865                            865
    operators                       |    13039                          13039
    path                            |      373                   12       385
    ordering                        |       35                             35
    parse                           |    16098                          16098
    math                            |   148810                         148810
    gmp                             |     2324                           2324
    arrayops                        |     2013                    2      2015
    loading                         |   157972                         157972
    backtrace                       |       38                    1        39
    exceptions                      |       70                             70
    abstractarray                   |    55360                24795     80155
    file                            |     1063                           1063
    version                         |     2452                           2452
    namedtuple                      |      214                            214
    subarray                        |   318299                         318299
    spawn                           |      217                    4       221
    ccall                           |     5351                           5351
    floatapprox                     |       49                             49
    mpfr                            |     1127                    1      1128
    regex                           |      130                            130
    complex                         |     8432                    5      8437
    reflection                      |      411                            411
    sysinfo                         |        4                              4
    env                             |       88                             88
    float16                         |   762091                         762091
    combinatorics                   |      170                            170
    mod2pi                          |       80                             80
    rounding                        |   112720                         112720
    euler                           |       12                             12
    client                          |        4                              4
    iterators                       |    10080                          10080
    errorshow                       |      223                            223
    goto                            |       19                             19
    llvmcall                        |       19                             19
    llvmcall2                       |        7                              7
    ryu                             |    31215                          31215
    some                            |       71                             71
    sorting                         |    12709                   10     12719
    meta                            |       69                             69
    stacktraces                     |       47     1                       48
    docs                            |      236                            236
    read                            |     3727                           3727
    sets                            |     3514                    1      3515
    binaryplatforms                 |      341                            341
    enums                           |       99                             99
    show                            |   128869                    8    128877
    interpreter                     |        3                              3
    broadcast                       |      508                            508
    atexit                          |       40                             40
    int                             |   524693                         524693
    bitset                          |      195                            195
    error                           |       31                             31
    checked                         |     1239                           1239
    osutils                         |       43                             43
    ranges                          | 12110525               327682  12438207
    cartesian                       |      238                    3       241
    misc                            |  1282186     1                  1282187
    iostream                        |       50                             50
    specificity                     |      175                            175
    boundscheck                     |                                No tests
    secretbuffer                    |       27                             27
    corelogging                     |      231                            231
    syntax                          |     1509                    1      1510
    smallarrayshrink                |       36                             36
    opaque_closure                  |       41                    1        42
    filesystem                      |        4                              4
    bitarray                        |   913310                         913310
    reinterpretarray                |      232                            232
    asyncmap                        |      304                            304
    LinearAlgebra/triangular        |    37739                          37739
    missing                         |      565                    1       566
    channels                        |      244                            244
    Dates/accessors                 |  7723858                        7723858
    Dates/adjusters                 |     3149                           3149
    Dates/query                     |     1004                           1004
    LibGit2/online                  |       10                             10
    download                        |                                No tests
    Dates/rounding                  |      315                            315
    Dates/periods                   |      946                            946
    Dates/types                     |      232                            232
    Dates/ranges                    |   350637                         350637
    Dates/conversions               |      161                            161
    Dates/arithmetic                |      377                            377
    Dates/io                        |      331                            331
    Base64                          |     2022                           2022
    CRC32c                          |      664                            664
    Artifacts                       |     1452                           1452
    CompilerSupportLibraries_jll    |        4                              4
    ArgTools                        |      180                            180
    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
    FileWatching                    |      510                            510
    Logging                         |       39                             39
    MPFR_jll                        |        1                              1
    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
    LibGit2/libgit2                 |      711    13      2               726
    Mmap                            |      139                            139
    SparseArrays/higherorderfns     |     7121                    1      7122
    Profile                         |       24                             24
    Printf                          |     1009                           1009
    Downloads                       |      219                            219
    REPL                            |     1278                    4      1282
    floatfuncs                      |      221                            221
    Serialization                   |      119                    1       120
    Sockets                         |      164                            164
    SuiteSparse_jll                 |        1                              1
    TOML                            |      415                    8       423
    Random                          |   204277                         204277
    cmdlineargs                     |      249                    3       252
    UUIDs                           |     1029                           1029
    Unicode                         |      764                            764
    Zlib_jll                        |        1                              1
    Statistics                      |      801                            801
    dSFMT_jll                       |        1                              1
    libblastrampoline_jll           |        1                              1
    nghttp2_jll                     |        1                              1
    p7zip_jll                       |        1                              1
    libLLVM_jll                     |        1                              1
    SHA                             |        1                              1
    Test                            |      406                   17       423
    Tar                             |     2968                   11      2979
    SuiteSparse                     |      921                            921
    SparseArrays/sparsevector       |    10322                    4     10326
    SparseArrays/sparse             |     3826                           3826
    LinearAlgebra/addmul            |     8082                           8082
    Pkg                             |     2253     3      2       2      2260
    precompile                      |      117                            117
    SharedArrays                    |      114                            114
    threads                         |        1                              1
    Distributed                     |       12                             12
    stress                          |      118                            118
    FAILURE

The global RNG seed was 0x313bfe69026f1a9667c946a28453a4e.

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 LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:961
  Expression: LibGit2.name(brref) == "refs/heads/master"
   Evaluated: "refs/heads/trunk" == "refs/heads/master"
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:962
  Expression: LibGit2.shortname(brref) == master_branch
   Evaluated: "trunk" == "master"
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:969
  Expression: show_strs[2] == "Branch with name refs/heads/master"
   Evaluated: "Branch with name refs/heads/trunk" == "Branch with name refs/heads/master"
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:972
  Expression: brnch == master_branch
   Evaluated: "trunk" == "master"
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:973
  Expression: LibGit2.headname(repo) == master_branch
   Evaluated: "trunk" == "master"
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:994
  Expression: master_branch in branches
   Evaluated: "master" in ["test_branch", "trunk"]
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1053
  Expression: refs == ["refs/heads/master", "refs/heads/test_branch", "refs/tags/tag1", "refs/tags/tag2"]
   Evaluated: ["refs/heads/test_branch", "refs/heads/trunk", "refs/tags/tag1", "refs/tags/tag2"] == ["refs/heads/master", "refs/heads/test_branch", "refs/tags/tag1", "refs/tags/tag2"]
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1353
  Expression: !(LibGit2.merge!(repo, [upst_ann], true))
   Evaluated: Test.LogRecord[]
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1355
  Expression: LibGit2.merge!(repo, [upst_ann], false)
   Evaluated: Test.LogRecord[]
Error in testset LibGit2/libgit2:
Error During Test at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1404
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:Reference, revspec 'master' not found)
  Stacktrace:
    [1] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitObject(repo::LibGit2.GitRepo, spec::String)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/repository.jl:142
    [3] LibGit2.GitAnnotated(repo::LibGit2.GitRepo, committish::String)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/merge.jl:44
    [4] (::LibGit2.var"#148#149"{LibGit2.GitRepo, String, String})(head_ref::LibGit2.GitReference)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/LibGit2.jl:827
    [5] with(f::LibGit2.var"#148#149"{LibGit2.GitRepo, String, String}, obj::LibGit2.GitReference)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/types.jl:1150
    [6] rebase! (repeats 2 times)
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/LibGit2.jl:813 [inlined]
    [7] (::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#65#189"{String, String, String, String, String})(repo::LibGit2.GitRepo)
      @ Main.Test91Main_LibGit2_libgit2.LibGit2Tests ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1441
    [8] with(f::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#65#189"{String, String, String, String, String}, obj::LibGit2.GitRepo)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/types.jl:1150
    [9] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1405 [inlined]
   [10] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [11] (::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#23#144")(dir::String)
      @ Main.Test91Main_LibGit2_libgit2.LibGit2Tests ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1405
   [12] mktempdir(fn::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#23#144", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:750
   [13] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:748
   [14] top-level scope
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:622
   [15] include
      @ ./Base.jl:418 [inlined]
   [16] macro expansion
      @ ~/applications/julia/test/testdefs.jl:24 [inlined]
   [17] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [18] macro expansion
      @ ~/applications/julia/test/testdefs.jl:23 [inlined]
   [19] macro expansion
      @ ./timing.jl:380 [inlined]
   [20] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/applications/julia/test/testdefs.jl:21
   [21] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278
   [22] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:63
   [23] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278 [inlined]
   [24] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:423
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1476
  Expression: read(joinpath(test_repo, test_file), String) == read(joinpath(cache_repo, test_file), String)
   Evaluated: "7s0RWPittb\n7s0RWPittb\n" == "7s0RWPittb\n7s0RWPittb\ntTJQqmJ3Hu\nzzzz\n"
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1488
  Expression: master_branch in branches
   Evaluated: "master" in ["test_branch", "trunk"]
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1522
  Expression: cache_oids[i] == test_oids[i]
   Evaluated: "8263e6e960ea151e640417fd08b822f41dc2ba04" == "327e0c967a4b4ac7930ea5eac83712714830d124"
Error in testset LibGit2/libgit2:
Error During Test at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1658
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:Reference, revspec 'master' not found)
  Stacktrace:
    [1] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitObject(repo::LibGit2.GitRepo, spec::String)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/repository.jl:142
    [3] LibGit2.GitAnnotated(repo::LibGit2.GitRepo, committish::String)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/merge.jl:44
    [4] (::LibGit2.var"#148#149"{LibGit2.GitRepo, String, String})(head_ref::LibGit2.GitReference)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/LibGit2.jl:829
    [5] with(f::LibGit2.var"#148#149"{LibGit2.GitRepo, String, String}, obj::LibGit2.GitReference)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/types.jl:1150
    [6] rebase!
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/LibGit2.jl:813 [inlined]
    [7] (::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#87#211"{Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#add_and_commit_file#180"})(repo::LibGit2.GitRepo)
      @ Main.Test91Main_LibGit2_libgit2.LibGit2Tests ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1686
    [8] with(f::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#87#211"{Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#add_and_commit_file#180"}, obj::LibGit2.GitRepo)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/types.jl:1150
    [9] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1659 [inlined]
   [10] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [11] (::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#23#144")(dir::String)
      @ Main.Test91Main_LibGit2_libgit2.LibGit2Tests ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1659
   [12] mktempdir(fn::Main.Test91Main_LibGit2_libgit2.LibGit2Tests.var"#23#144", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:750
   [13] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:748
   [14] top-level scope
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:622
   [15] include
      @ ./Base.jl:418 [inlined]
   [16] macro expansion
      @ ~/applications/julia/test/testdefs.jl:24 [inlined]
   [17] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [18] macro expansion
      @ ~/applications/julia/test/testdefs.jl:23 [inlined]
   [19] macro expansion
      @ ./timing.jl:380 [inlined]
   [20] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/applications/julia/test/testdefs.jl:21
   [21] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278
   [22] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:63
   [23] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278 [inlined]
   [24] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:423
Error in testset LibGit2/libgit2:
Test Failed at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/test/libgit2.jl:1754
  Expression: LibGit2.headname(repo) == master_branch
   Evaluated: "trunk" == "master"
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-0fae7809dbaa400d99cbe3a5b39c82332a1381d1/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-0fae7809dbaa400d99cbe3a5b39c82332a1381d1/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-0fae7809dbaa400d99cbe3a5b39c82332a1381d1/test/test_packages/A/dev/D" == "/Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/test_packages/A/dev/D"
Error in testset Pkg:
Error During Test at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:2154
  Got exception outside of a @test
  GitError(Code:ENOTFOUND, Class:Reference, revspec 'refs/heads/master' not found)
  Stacktrace:
    [1] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/error.jl:110 [inlined]
    [2] LibGit2.GitObject(repo::LibGit2.GitRepo, spec::String)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/repository.jl:142
    [3] (::Main.Test87Main_Pkg.PkgTests.NewTests.var"#604#619")(repo::LibGit2.GitRepo)
      @ Main.Test87Main_Pkg.PkgTests.NewTests ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:2213
    [4] with(f::Main.Test87Main_Pkg.PkgTests.NewTests.var"#604#619", obj::LibGit2.GitRepo)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/types.jl:1150
    [5] (::Main.Test87Main_Pkg.PkgTests.NewTests.var"#603#618")(pkg::Pkg.API.PackageInfo)
      @ Main.Test87Main_Pkg.PkgTests.NewTests ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:2212
    [6] dependencies
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/API.jl:90 [inlined]
    [7] (::Main.Test87Main_Pkg.PkgTests.NewTests.var"#602#617")(tempdir::String)
      @ Main.Test87Main_Pkg.PkgTests.NewTests ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:2207
    [8] mktempdir(fn::Main.Test87Main_Pkg.PkgTests.NewTests.var"#602#617", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:750
    [9] mktempdir (repeats 2 times)
      @ ./file.jl:748 [inlined]
   [10] #601
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:2201 [inlined]
   [11] (::Main.Test87Main_Pkg.PkgTests.Utils.var"#6#7"{Bool, Main.Test87Main_Pkg.PkgTests.NewTests.var"#601#616"})()
      @ Main.Test87Main_Pkg.PkgTests.Utils ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/utils.jl:76
   [12] withenv(::Main.Test87Main_Pkg.PkgTests.Utils.var"#6#7"{Bool, Main.Test87Main_Pkg.PkgTests.NewTests.var"#601#616"}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}})
      @ Base ./env.jl:172
   [13] isolate(fn::Main.Test87Main_Pkg.PkgTests.NewTests.var"#601#616"; loaded_depot::Bool, linked_reg::Bool)
      @ Main.Test87Main_Pkg.PkgTests.Utils ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/utils.jl:67
   [14] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:2201 [inlined]
   [15] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [16] top-level scope
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/new.jl:2156
   [17] include(mod::Module, _path::String)
      @ Base ./Base.jl:418
   [18] include(x::String)
      @ Main.Test87Main_Pkg.PkgTests ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/runtests.jl:3
   [19] top-level scope
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/runtests.jl:24
   [20] include
      @ ./Base.jl:418 [inlined]
   [21] macro expansion
      @ ~/applications/julia/test/testdefs.jl:24 [inlined]
   [22] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [23] macro expansion
      @ ~/applications/julia/test/testdefs.jl:23 [inlined]
   [24] macro expansion
      @ ./timing.jl:380 [inlined]
   [25] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/applications/julia/test/testdefs.jl:21
   [26] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278
   [27] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:63
   [28] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278 [inlined]
   [29] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:423
Error in testset Pkg:
Error During Test at /Users/foo/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/subdir.jl:111
  Got exception outside of a @test
  Did not find rev master in repository
  Stacktrace:
    [1] pkgerror(msg::String)
      @ Pkg.Types ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/Types.jl:68
    [2] (::Pkg.Types.var"#42#43"{Pkg.Types.Context, Pkg.Types.PackageSpec, String})(repo::LibGit2.GitRepo)
      @ Pkg.Types ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/Types.jl:691
    [3] with(f::Pkg.Types.var"#42#43"{Pkg.Types.Context, Pkg.Types.PackageSpec, String}, obj::LibGit2.GitRepo)
      @ LibGit2 ~/applications/julia/usr/share/julia/stdlib/v1.7/LibGit2/src/types.jl:1150
    [4] handle_repo_add!(ctx::Pkg.Types.Context, pkg::Pkg.Types.PackageSpec)
      @ Pkg.Types ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/Types.jl:676
    [5] handle_repos_add!(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec})
      @ Pkg.Types ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/Types.jl:743
    [6] add(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; preserve::Pkg.Types.PreserveLevel, platform::Base.BinaryPlatforms.Platform, kwargs::Base.Pairs{Symbol, IOBuffer, Tuple{Symbol}, NamedTuple{(:io,), Tuple{IOBuffer}}})
      @ Pkg.API ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/API.jl:248
    [7] add(pkgs::Vector{Pkg.Types.PackageSpec}; io::IOBuffer, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ Pkg.API ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/API.jl:149
    [8] add(pkgs::Vector{Pkg.Types.PackageSpec})
      @ Pkg.API ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/API.jl:144
    [9] do_cmd!(command::Pkg.REPLMode.Command, repl::Pkg.REPLMode.MiniREPL)
      @ Pkg.REPLMode ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:407
   [10] do_cmd(repl::Pkg.REPLMode.MiniREPL, input::String; do_rethrow::Bool)
      @ Pkg.REPLMode ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/src/REPLMode/REPLMode.jl:385
   [11] (::Main.Test87Main_Pkg.PkgTests.SubdirTests.var"#1#2")(depot::String)
      @ Main.Test87Main_Pkg.PkgTests.SubdirTests ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/subdir.jl:153
   [12] (::Main.Test87Main_Pkg.PkgTests.Utils.var"#14#15"{Bool, Main.Test87Main_Pkg.PkgTests.SubdirTests.var"#1#2"})()
      @ Main.Test87Main_Pkg.PkgTests.Utils ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/utils.jl:144
   [13] withenv(::Main.Test87Main_Pkg.PkgTests.Utils.var"#14#15"{Bool, Main.Test87Main_Pkg.PkgTests.SubdirTests.var"#1#2"}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}})
      @ Base ./env.jl:172
   [14] temp_pkg_dir(fn::Main.Test87Main_Pkg.PkgTests.SubdirTests.var"#1#2"; rm::Bool, linked_reg::Bool)
      @ Main.Test87Main_Pkg.PkgTests.Utils ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/utils.jl:136
   [15] temp_pkg_dir(fn::Function)
      @ Main.Test87Main_Pkg.PkgTests.Utils ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/utils.jl:116
   [16] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/subdir.jl:112 [inlined]
   [17] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [18] top-level scope
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/subdir.jl:112
   [19] include(mod::Module, _path::String)
      @ Base ./Base.jl:418
   [20] include(x::String)
      @ Main.Test87Main_Pkg.PkgTests ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/runtests.jl:3
   [21] top-level scope
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Pkg/test/runtests.jl:29
   [22] include
      @ ./Base.jl:418 [inlined]
   [23] macro expansion
      @ ~/applications/julia/test/testdefs.jl:24 [inlined]
   [24] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [25] macro expansion
      @ ~/applications/julia/test/testdefs.jl:23 [inlined]
   [26] macro expansion
      @ ./timing.jl:380 [inlined]
   [27] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/applications/julia/test/testdefs.jl:21
   [28] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278
   [29] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:63
   [30] macro expansion
      @ ~/applications/julia/usr/share/julia/stdlib/v1.7/Distributed/src/process_messages.jl:278 [inlined]
   [31] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:423
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
foo@yak s001 ~/applications/julia
% git branch                                                                                                                                              20:44
* release-1.7

@George9000
Copy link
Contributor Author

Looking more closely at the libgit2 errors, they may have been caused by a recent change in my global git config file: git config --global init.defaultBranch trunk. Many of the tests are comparing a ref named master against the local primary branch. Since these primary branch renames may become more common, it's probably worth rewriting the tests to take that inot account.

@dnadlinger
Copy link
Member

dnadlinger commented Jan 24, 2022

I did notice the LLVM folks reverted your suggested __eh_frame changes due to test breaks on Windows.

Lang Hames fixed and re-committed it after that. Just FYI, the test should pass (apart from #41820) building natively also with the default BinaryBuilder.jl LLVM 13 build now, though.

@George9000
Copy link
Contributor Author

George9000 commented Jan 24, 2022

@dnadlinger

the test should pass (apart from #41820) building natively also with the default BinaryBuilder.jl LLVM 13

Indeed!

Results of make testall below after a native ARM build on Julia HEAD on macOS 12.1. A few Pkg errors and a codegen error. All but one involve string manipulation: readchomp and joinpath. Additionally, for Pkg, there was a getindex(::Nothing, ::String) method error and a harder to decipher, Package ArtifactInstallation error.

Libgit errors disappeared after changing my git config above.

Because of the default use of libLLVM 13.0 by BinaryBuilder, I didn't have to install LLVM 14 — which had errored out for me.

Thank you for all the work!

versioninfo
versioninfo(;verbose=true)
Julia Version 1.8.0-DEV.1376
Commit 99f028433c (2022-01-24 15:05 UTC)
Platform Info:
  OS: macOS (arm64-apple-darwin21.2.0)
  uname: Darwin 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64 arm
  CPU: Apple M1 Max:
                 speed         user         nice          sys         idle          irq
       #1-10    24 MHz     593302 s          0 s     179868 s    5033699 s          0 s
  Memory: 64.0 GB (37795.703125 MB free)
  Uptime: 85040.0 sec
  Load Avg:  1.3701171875  1.4541015625  2.0146484375
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.0 (ORCJIT, cyclone)
Environment:
  JULIA_EDITOR = Emacs
  HOME = /Users/foo
  PATH = /Users/foo/.pyenv/bin:/opt/homebrew/opt/grep/libexec/gnubin:~/.local/bin:/opt/homebrew/bin:/Users/foo/Library/Python/3.9/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin:/Users/foo/perl5/perlbrew/bin:/Users/foo/perl5/perlbrew/perls/perl-5.35.5/bin:/Users/foo/.local/bin:/opt/homebrew/opt/fzf/bin:/Users/foo/.emacs.d/bin
  TERM = xterm-256color
  XPC_FLAGS = 0x0
  PERLBREW_HOME = /Users/foo/.perlbrew
  PERLBREW_MANPATH = /Users/foo/perl5/perlbrew/perls/perl-5.35.5/man
  PERLBREW_PATH = /Users/foo/perl5/perlbrew/bin:/Users/foo/perl5/perlbrew/perls/perl-5.35.5/bin
  MANPATH = /opt/homebrew/share/man:/usr/share/man:/usr/local/share/man:/Library/TeX/Distributions/.DefaultTeX/Contents/Man:/opt/X11/share/man:/Users/foo/perl5/perlbrew/perls/perl-5.35.5/man:/Library/Apple/usr/share/man:/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/share/man:/Applications/Xcode.app/Contents/Developer/usr/share/man:/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/share/man:
  HOMEBREW_PREFIX = /opt/homebrew
  HOMEBREW_CELLAR = /opt/homebrew/Cellar
  HOMEBREW_REPOSITORY = /opt/homebrew
  INFOPATH = /opt/homebrew/share/info:
Test results
Test Summary:                       |     Pass  Fail  Error  Broken     Total      Time
  Overall                           | 40080870     4      3  352652  40433529  16m37.0s
    LinearAlgebra/special           |     2911                           2911     45.5s
    LinearAlgebra/qr                |     4700                           4700     53.8s
    LinearAlgebra/bunchkaufman      |     5688                           5688     18.2s
    LinearAlgebra/eigen             |      512                            512     33.6s
    LinearAlgebra/schur             |      496                            496   1m20.7s
    LinearAlgebra/lapack            |      803                            803     16.2s
    LinearAlgebra/svd               |      566                            566     24.9s
    LinearAlgebra/tridiag           |     1540                           1540     27.9s
    LinearAlgebra/matmul            |     1106                           1106   1m58.4s
    LinearAlgebra/dense             |     8475                           8475   2m08.7s
    LinearAlgebra/cholesky          |     2476                           2476     45.6s
    LinearAlgebra/bidiag            |     3768                           3768   1m04.5s
    LinearAlgebra/lu                |     1367                           1367     52.5s
    LinearAlgebra/generic           |      585                            585     17.6s
    LinearAlgebra/uniformscaling    |      446                            446     30.2s
    LinearAlgebra/lq                |     2938                           2938     19.4s
    LinearAlgebra/hessenberg        |      604                   11       615     25.7s
    LinearAlgebra/blas              |      756                            756      9.7s
    LinearAlgebra/adjtrans          |      347                            347     11.4s
    LinearAlgebra/givens            |     1847                           1847      2.3s
    LinearAlgebra/pinv              |      292                            292      5.6s
    LinearAlgebra/ldlt              |        8                              8      0.3s
    LinearAlgebra/factorization     |       80                   16        96      1.7s
    ambiguous                       |      107                    2       109      2.4s
    compiler/inference              |     1177                    2      1179      7.3s
    compiler/validation             |       28                             28      0.1s
    compiler/ssair                  |       40                             40      1.5s
    compiler/irpasses               |      101                    2       103      1.0s
    LinearAlgebra/diagonal          |     2768                           2768   2m05.5s
    compiler/inline                 |      108                            108      1.5s
    LinearAlgebra/structuredbroadcast |      670                            670     23.1s
    compiler/contextual             |       12                             12      1.2s
    compiler/codegen                |      168            1               169      8.3s
    strings/basic                   |    87676                          87676      4.7s
    strings/search                  |      876                            876      2.6s
    LinearAlgebra/symmetric         |     2823                           2823   1m42.7s
    strings/io                      |    12764                          12764      1.7s
    unicode/utf8                    |       19                             19      0.1s
    strings/types                   |  2302691                        2302691      1.7s
    worlds                          |       88                             88      1.0s
    strings/util                    |     1147                           1147      4.9s
    keywordargs                     |      151                            151      0.8s
    atomics                         |     3448                           3448      8.1s
    LinearAlgebra/triangular        |    37870                          37870   4m07.2s
    char                            |     1628                           1628      1.2s
    triplequote                     |       29                             29      0.1s
    intrinsics                      |      301                            301      1.3s
    subtype                         |   337674                   19    337693     11.2s
    hashing                         |    12519                          12519      7.1s
    iobuffer                        |      209                            209      0.6s
    dict                            |   144420                         144420     11.9s
    staged                          |       64                             64      1.3s
    numbers                         |  1578758                    2   1578760     30.0s
    core                            |  8445918                    3   8445921     34.4s
    tuple                           |      631                            631      3.8s
    reduce                          |     8588                           8588      9.8s
    offsetarray                     |      487                    3       490     18.2s
    subarray                        |   318316                         318316   1m17.8s
    reducedim                       |     1089                    6      1095     34.2s
    simdloop                        |      240                            240      1.0s
    vecelement                      |      678                            678      3.8s
    arrayops                        |     2023                    2      2025     49.8s
    copy                            |      533                            533      1.0s
    rational                        |    98639                    1     98640     11.5s
    intfuncs                        |   227902                         227902     38.0s
    fastmath                        |      946                            946      3.2s
    functional                      |       98                             98      2.9s
    operators                       |    13040                          13040      3.3s
    ordering                        |       37                             37      1.1s
    abstractarray                   |    57514                24795     82309     49.2s
    path                            |      373                   12       385      0.6s
    parse                           |    16098                          16098      2.2s
    math                            |  1722140                        1722140     17.0s
    gmp                             |     2357                           2357      2.6s
    ccall                           |   165113                    1    165114     13.6s
    loading                         |   166707                         166707     19.8s
    backtrace                       |       38                    1        39      1.4s
    exceptions                      |       70                             70      1.8s
    spawn                           |      248                    4       252     16.1s
    file                            |     1073                           1073      5.7s
    version                         |     2452                           2452      0.5s
    namedtuple                      |      215                            215      1.3s
    mpfr                            |     1135                    1      1136      8.2s
    iterators                       |    10164                          10164     54.0s
    complex                         |     8432                    5      8437      5.5s
    floatapprox                     |       49                             49      0.4s
    read                            |     3872                           3872     26.2s
    reflection                      |      415                            415      3.5s
    regex                           |      130                            130      1.1s
    sorting                         |    16098                    9     16107     50.9s
    sysinfo                         |        4                              4      0.1s
    env                             |       88                             88      0.2s
    float16                         |   762093                         762093      2.6s
    combinatorics                   |      170                            170      3.7s
    rounding                        |   112720                         112720      2.3s
    mod2pi                          |       80                             80      0.3s
    euler                           |       12                             12      0.5s
    client                          |        5                              5      0.7s
    errorshow                       |      237                            237      3.4s
    sets                            |     3594                    1      3595     10.1s
    goto                            |       19                             19      0.0s
    llvmcall                        |       19                             19      0.3s
    llvmcall2                       |        7                              7      0.0s
    ryu                             |    31215                          31215      0.9s
    some                            |       72                             72      0.5s
    show                            |   128881                    8    128889     16.6s
    meta                            |       69                             69      0.6s
    stacktraces                     |       48                             48      0.8s
    docs                            |      238                            238      2.0s
    broadcast                       |      511                            511     39.8s
    binaryplatforms                 |      341                            341      2.6s
    ranges                          | 12110653               327682  12438335     24.2s
    enums                           |       99                             99      1.5s
    atexit                          |       40                             40      7.5s
    int                             |   524698                         524698      4.9s
    interpreter                     |        3                              3      1.0s
    bitset                          |      195                            195      1.3s
    checked                         |     1239                           1239      4.4s
    misc                            |  1282217                        1282217     19.2s
    boundscheck                     |                                    None      5.1s
    error                           |       31                             31      1.1s
    osutils                         |       43                             43      0.1s
    cartesian                       |      343                    3       346      4.3s
    iostream                        |       50                             50      0.6s
    secretbuffer                    |       27                             27      0.9s
    specificity                     |      175                            175      0.1s
    bitarray                        |   914534                         914534   2m07.8s
    reinterpretarray                |      317                            317      7.7s
    corelogging                     |      231                            231      2.6s
    syntax                          |     1560                    1      1561      5.5s
    channels                        |      258                            258     17.5s
    smallarrayshrink                |       36                             36      0.2s
    opaque_closure                  |       42                    1        43      0.5s
    filesystem                      |        6                              6      0.1s
    asyncmap                        |      307                            307      7.2s
    missing                         |      574                    1       575      9.3s
    download                        |                                    None     30.9s
    SparseArrays/higherorderfns     |     7145                    1      7146   1m17.1s
    LibGit2/online                  |       10                             10      2.9s
    cmdlineargs                     |      270                    3       273   2m21.0s
    Dates/accessors                 |  7723858                        7723858      4.4s
    Dates/adjusters                 |     3149                           3149      2.7s
    Dates/query                     |     1004                           1004      0.5s
    floatfuncs                      |      232                            232   2m26.3s
    Dates/periods                   |      953                            953      9.0s
    Dates/rounding                  |      315                            315      1.0s
    Dates/types                     |      232                            232      0.8s
    SparseArrays/sparsevector       |    10348                    4     10352   1m36.6s
    Dates/ranges                    |   350637                         350637      9.8s
    Dates/conversions               |      161                            161      0.6s
    Dates/io                        |      331                            331      6.1s
    Dates/arithmetic                |      385                            385      4.6s
    Base64                          |     2022                           2022      1.1s
    CRC32c                          |      664                            664      0.4s
    CompilerSupportLibraries_jll    |        4                              4      0.6s
    Artifacts                       |     1452                           1452      4.3s
    DelimitedFiles                  |       89                             89      2.4s
    ArgTools                        |      180                            180     10.3s
    Future                          |                                    None      0.0s
    GMP_jll                         |        1                              1      0.4s
    InteractiveUtils                |      279                            279     14.0s
    LLVMLibUnwind_jll               |        7                              7      0.2s
    LibGit2/libgit2                 |      754                            754   1m11.3s
    LazyArtifacts                   |        4                              4      2.1s
    LibCURL_jll                     |        1                              1      0.0s
    LibCURL                         |        6                              6      1.4s
    LibGit2_jll                     |        2                              2      0.7s
    LibSSH2_jll                     |                                    None      0.4s
    LibUV_jll                       |        1                              1      0.4s
    LibUnwind_jll                   |                                    None      0.2s
    Libdl                           |       77                    1        78      0.5s
    LinearAlgebra/addmul            |     4986                           4986   6m39.7s
    MPFR_jll                        |        1                              1      0.3s
    MbedTLS_jll                     |        1                              1      0.0s
    Logging                         |       40                             40      1.0s
    MozillaCACerts_jll              |        1                              1      0.0s
    NetworkOptions                  |     3518                           3518      0.6s
    OpenBLAS_jll                    |        1                              1      0.3s
    OpenLibm_jll                    |        1                              1      0.2s
    PCRE2_jll                       |        2                              2      0.3s
    Markdown                        |      257                            257      2.6s
    Printf                          |     1014                           1014      7.2s
    Mmap                            |      140                            140     10.5s
    FileWatching                    |      513                            513     34.1s
    REPL                            |     1346                    4      1350     13.2s
    Random                          |   204291                         204291     22.2s
    Serialization                   |      126                    1       127      2.9s
    Profile                         |      107                            107     30.5s
    Sockets                         |      172                            172      4.4s
    Downloads                       |      238                            238   1m06.8s
    SuiteSparse_jll                 |        1                              1      1.1s
    TOML                            |      415                    8       423      5.1s
    SparseArrays/sparse             |     4299                           4299   3m22.5s
    Test                            |      453                   17       470     14.7s
    UUIDs                           |     1029                           1029      0.2s
    SHA                             |      107                            107     42.9s
    Zlib_jll                        |        1                              1      0.3s
    Unicode                         |      776                            776      1.9s
    dSFMT_jll                       |        1                              1      0.3s
    libblastrampoline_jll           |        1                              1      0.0s
    nghttp2_jll                     |        1                              1      0.0s
    p7zip_jll                       |        1                              1      0.0s
    libLLVM_jll                     |        1                              1      0.3s
    Statistics                      |      801                            801     30.3s
    Tar                             |     3014                   11      3025     44.5s
    SuiteSparse                     |     1285                           1285     57.9s
    Pkg                             |     2359     4      2       2      2367   6m26.5s
    precompile                      |      133                    6       139     15.6s
    SharedArrays                    |      114                            114     10.8s
    threads                         |       16                             16   1m19.9s
    Distributed                     |       12                             12   1m17.2s
    stress                          |      118                            118      7.1s
    FAILURE

The global RNG seed was 0xc46894c3df0c31f6ed4b5ecdc296d60c.

Error in testset compiler/codegen:
Error During Test at /Users/foo/applications/juliad/test/compiler/codegen.jl:681
  Test threw exception
  Expression: readchomp(`$pfx/bin/$(Base.julia_exename()) -e 'print("no codegen!\n")'`) == "no codegen!"
  failed process: Process(`/var/folders/mh/d010xh0j5ss8yws8rknh568c0000gn/T/jl_bugXoJ/bin/julia -e 'print("no codegen!\n")'`, ProcessExited(1)) [1]

  Stacktrace:
   [1] pipeline_error
     @ ./process.jl:542 [inlined]
   [2] read(cmd::Cmd)
     @ Base ./process.jl:429
   [3] read(cmd::Cmd, #unused#::Type{String})
     @ Base ./process.jl:438
   [4] readchomp
     @ ./io.jl:961 [inlined]
   [5] macro expansion
     @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:463 [inlined]
   [6] (::Main.Test35Main_compiler_codegen.var"#36#38")(pfx::String)
     @ Main.Test35Main_compiler_codegen ~/applications/juliad/test/compiler/codegen.jl:681
Error in testset Pkg:
Test Failed at /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:1048
  Expression: pkg.source == joinpath(#= /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:1048 =# @__DIR__(), "test_packages", "A", "dev", "C")
   Evaluated: "/Users/foo/applications/juliad/stdlib/Pkg-66482586effc01a5c82b107e4e8f8a688407acdc/test/test_packages/A/dev/C" == "/Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/test_packages/A/dev/C"
Error in testset Pkg:
Test Failed at /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:1051
  Expression: pkg.source == joinpath(#= /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:1051 =# @__DIR__(), "test_packages", "A", "dev", "B")
   Evaluated: "/Users/foo/applications/juliad/stdlib/Pkg-66482586effc01a5c82b107e4e8f8a688407acdc/test/test_packages/A/dev/B" == "/Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/test_packages/A/dev/B"
Error in testset Pkg:
Test Failed at /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:1054
  Expression: pkg.source == joinpath(#= /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:1054 =# @__DIR__(), "test_packages", "A", "dev", "D")
   Evaluated: "/Users/foo/applications/juliad/stdlib/Pkg-66482586effc01a5c82b107e4e8f8a688407acdc/test/test_packages/A/dev/D" == "/Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/test_packages/A/dev/D"
Error in testset Pkg:
Test Failed at /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:2804
  Expression: meta !== nothing
   Evaluated: nothing !== nothing
Error in testset Pkg:
Error During Test at /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:2767
  Got exception outside of a @test
  MethodError: no method matching getindex(::Nothing, ::String)
  Stacktrace:
    [1] (::Main.Test40Main_Pkg.PkgTests.NewTests.var"#714#719"{Main.Test40Main_Pkg.PkgTests.NewTests.var"#get_manifest_block#718", String, String})()
      @ Main.Test40Main_Pkg.PkgTests.NewTests ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:2806
    [2] (::Main.Test40Main_Pkg.PkgTests.Utils.var"#6#7"{Bool, Main.Test40Main_Pkg.PkgTests.NewTests.var"#714#719"{Main.Test40Main_Pkg.PkgTests.NewTests.var"#get_manifest_block#718", String, String}})()
      @ Main.Test40Main_Pkg.PkgTests.Utils ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/utils.jl:79
    [3] withenv(::Main.Test40Main_Pkg.PkgTests.Utils.var"#6#7"{Bool, Main.Test40Main_Pkg.PkgTests.NewTests.var"#714#719"{Main.Test40Main_Pkg.PkgTests.NewTests.var"#get_manifest_block#718", String, String}}, ::Pair{String, Nothing}, ::Vararg{Pair{String, Nothing}})
      @ Base ./env.jl:172
    [4] isolate(fn::Main.Test40Main_Pkg.PkgTests.NewTests.var"#714#719"{Main.Test40Main_Pkg.PkgTests.NewTests.var"#get_manifest_block#718", String, String}; loaded_depot::Bool, linked_reg::Bool)
      @ Main.Test40Main_Pkg.PkgTests.Utils ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/utils.jl:70
    [5] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:2783 [inlined]
    [6] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1356 [inlined]
    [7] top-level scope
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/new.jl:2769
    [8] include(mod::Module, _path::String)
      @ Base ./Base.jl:421
    [9] include
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:3 [inlined]
   [10] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:51 [inlined]
   [11] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1432 [inlined]
   [12] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:33 [inlined]
   [13] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1356 [inlined]
   [14] (::Main.Test40Main_Pkg.PkgTests.var"#1#2")()
      @ Main.Test40Main_Pkg.PkgTests ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:33
   [15] with_logstate(f::Function, logstate::Any)
      @ Base.CoreLogging ./logging.jl:511
   [16] with_logger(f::Function, logger::Base.CoreLogging.NullLogger)
      @ Base.CoreLogging ./logging.jl:623
   [17] top-level scope
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:31
   [18] include
      @ ./Base.jl:421 [inlined]
   [19] macro expansion
      @ ~/applications/juliad/test/testdefs.jl:24 [inlined]
   [20] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1356 [inlined]
   [21] macro expansion
      @ ~/applications/juliad/test/testdefs.jl:23 [inlined]
   [22] macro expansion
      @ ./timing.jl:439 [inlined]
   [23] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/applications/juliad/test/testdefs.jl:21
   [24] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, UInt128, Tuple{Symbol}, NamedTuple{(:seed,), Tuple{UInt128}}})
      @ Base ./essentials.jl:733
   [25] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/applications/juliad/usr/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:285
   [26] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/applications/juliad/usr/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:70
   [27] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:285 [inlined]
   [28] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:476
Error in testset Pkg:
Error During Test at /Users/foo/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/artifacts.jl:313
  Got exception outside of a @test
  Package ArtifactInstallation errored during testing
  Stacktrace:
    [1] pkgerror(msg::String)
      @ Pkg.Types ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/Types.jl:67
    [2] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, julia_args::Cmd, test_args::Cmd, test_fn::Nothing, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool)
      @ Pkg.Operations ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/Operations.jl:1736
    [3] test(ctx::Pkg.Types.Context, pkgs::Vector{Pkg.Types.PackageSpec}; coverage::Bool, test_fn::Nothing, julia_args::Cmd, test_args::Cmd, force_latest_compatible_version::Bool, allow_earlier_backwards_compatible_versions::Bool, allow_reresolve::Bool, kwargs::Base.Pairs{Symbol, Base.BufferStream, Tuple{Symbol}, NamedTuple{(:io,), Tuple{Base.BufferStream}}})
      @ Pkg.API ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:431
    [4] test(pkgs::Vector{Pkg.Types.PackageSpec}; io::Base.BufferStream, kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ Pkg.API ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:156
    [5] test(pkgs::Vector{Pkg.Types.PackageSpec})
      @ Pkg.API ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:146
    [6] #test#87
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:144 [inlined]
    [7] test
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:144 [inlined]
    [8] #test#86
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:143 [inlined]
    [9] test
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/src/API.jl:143 [inlined]
   [10] (::Main.Test40Main_Pkg.PkgTests.ArtifactTests.var"#78#88"{String})()
      @ Main.Test40Main_Pkg.PkgTests.ArtifactTests ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/artifacts.jl:328
   [11] with_pkg_env(fn::Main.Test40Main_Pkg.PkgTests.ArtifactTests.var"#78#88"{String}, path::String; change_dir::Bool)
      @ Main.Test40Main_Pkg.PkgTests.Utils ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/utils.jl:230
   [12] with_pkg_env
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/utils.jl:224 [inlined]
   [13] #77
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/artifacts.jl:318 [inlined]
   [14] mktempdir(fn::Main.Test40Main_Pkg.PkgTests.ArtifactTests.var"#77#87", parent::String; prefix::String)
      @ Base.Filesystem ./file.jl:763
   [15] mktempdir(fn::Function, parent::String) (repeats 2 times)
      @ Base.Filesystem ./file.jl:761
   [16] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/artifacts.jl:317 [inlined]
   [17] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1356 [inlined]
   [18] top-level scope
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/artifacts.jl:317
   [19] include(mod::Module, _path::String)
      @ Base ./Base.jl:421
   [20] include
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:3 [inlined]
   [21] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:51 [inlined]
   [22] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1432 [inlined]
   [23] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:33 [inlined]
   [24] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1356 [inlined]
   [25] (::Main.Test40Main_Pkg.PkgTests.var"#1#2")()
      @ Main.Test40Main_Pkg.PkgTests ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:33
   [26] with_logstate(f::Function, logstate::Any)
      @ Base.CoreLogging ./logging.jl:511
   [27] with_logger(f::Function, logger::Base.CoreLogging.NullLogger)
      @ Base.CoreLogging ./logging.jl:623
   [28] top-level scope
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Pkg/test/runtests.jl:31
   [29] include
      @ ./Base.jl:421 [inlined]
   [30] macro expansion
      @ ~/applications/juliad/test/testdefs.jl:24 [inlined]
   [31] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Test/src/Test.jl:1356 [inlined]
   [32] macro expansion
      @ ~/applications/juliad/test/testdefs.jl:23 [inlined]
   [33] macro expansion
      @ ./timing.jl:439 [inlined]
   [34] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main ~/applications/juliad/test/testdefs.jl:21
   [35] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::Base.Pairs{Symbol, UInt128, Tuple{Symbol}, NamedTuple{(:seed,), Tuple{UInt128}}})
      @ Base ./essentials.jl:733
   [36] (::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed ~/applications/juliad/usr/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:285
   [37] run_work_thunk(thunk::Distributed.var"#106#108"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed ~/applications/juliad/usr/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:70
   [38] macro expansion
      @ ~/applications/juliad/usr/share/julia/stdlib/v1.8/Distributed/src/process_messages.jl:285 [inlined]
   [39] (::Distributed.var"#105#107"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed ./task.jl:476
ERROR: LoadError: Test run finished with errors
in expression starting at /Users/foo/applications/juliad/test/runtests.jl:93
make[1]: *** [all] Error 1
make: *** [testall] Error 2

Closing out this issue as the focus going forward re: ARM should be native builds on Julia 1.8.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
system:apple silicon rosetta Affects Apple Silicon (e.g. M1), but only when running under Rosetta 2 system:apple silicon Affects Apple Silicon only (Darwin/ARM64) - e.g. M1 and other M-series chips
Projects
None yet
Development

No branches or pull requests

4 participants