Skip to content

KeyError in Pkg tests in CI #56516

Open
Open
@jishnub

Description

In https://buildkite.com/julialang/julia-master/builds/42163#01930f61-cde3-463c-85d6-499df61a205a on x86_64-w64-mingw32,

The global RNG seed was 0xc56ac6ecf7a863082d1c60ce56ef533f.
Error in testset Pkg:
Error During Test at C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\resolve.jl:740
  Got exception outside of a @test
  KeyError: key Base.UUID("23338594-aafe-5451-b93e-139f81909106") not found
  Stacktrace:
    [1] getindex
      @ .\dict.jl:477 [inlined]
    [2] check_init_reg()
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.Utils C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\utils.jl:29
    [3] temp_pkg_dir(fn::Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.var"#9#10"; rm::Bool, linked_reg::Bool)
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.Utils C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\utils.jl:140
    [4] temp_pkg_dir(fn::Function)
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.Utils C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\utils.jl:130
    [5] top-level scope
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\resolve.jl:741
    [6] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1707 [inlined]
    [7] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\resolve.jl:742 [inlined]
    [8] include(mapexpr::Function, mod::Module, _path::String)
      @ Base .\Base.jl:301
    [9] IncludeInto
      @ .\Base.jl:302 [inlined]
   [10] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:94 [inlined]
   [11] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1796 [inlined]
   [12] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:72 [inlined]
   [13] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1707 [inlined]
   [14] (::Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.var"#2#3")()
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:71
   [15] with_logstate(f::Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.var"#2#3", logstate::Base.CoreLogging.LogState)
      @ Base.CoreLogging .\logging\logging.jl:522
   [16] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
      @ Base.CoreLogging .\logging\logging.jl:632
   [17] top-level scope
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:38
   [18] include(mod::Module, _path::String)
      @ Base .\Base.jl:300
   [19] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:33 [inlined]
   [20] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1707 [inlined]
   [21] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:26 [inlined]
   [22] macro expansion
      @ .\timing.jl:611 [inlined]
   [23] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:24
   [24] runtests
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:5 [inlined]
   [25] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{seed::UInt128})
      @ Base .\essentials.jl:1049
   [26] (::Distributed.var"#handle_msg##4#handle_msg##5"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Distributed\src\process_messages.jl:287
   [27] run_work_thunk(thunk::Distributed.var"#handle_msg##4#handle_msg##5"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Distributed\src\process_messages.jl:70
   [28] (::Distributed.var"#handle_msg##2#handle_msg##3"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Distributed\src\process_messages.jl:287
Error in testset Pkg:
Error During Test at C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\resolve.jl:787
  Got exception outside of a @test
  KeyError: key Base.UUID("23338594-aafe-5451-b93e-139f81909106") not found
  Stacktrace:
    [1] getindex
      @ .\dict.jl:477 [inlined]
    [2] check_init_reg()
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.Utils C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\utils.jl:29
    [3] temp_pkg_dir(fn::Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.var"#16#17"; rm::Bool, linked_reg::Bool)
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.Utils C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\utils.jl:140
    [4] temp_pkg_dir(fn::Function)
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.ResolveTest.Utils C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\utils.jl:130
    [5] top-level scope
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\resolve.jl:789
    [6] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1707 [inlined]
    [7] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\resolve.jl:789 [inlined]
    [8] include(mapexpr::Function, mod::Module, _path::String)
      @ Base .\Base.jl:301
    [9] IncludeInto
      @ .\Base.jl:302 [inlined]
   [10] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:94 [inlined]
   [11] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1796 [inlined]
   [12] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:72 [inlined]
   [13] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1707 [inlined]
   [14] (::Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.var"#2#3")()
      @ Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:71
   [15] with_logstate(f::Main.Test72Main_Pkg.PkgTestsOuter.PkgTestsInner.var"#2#3", logstate::Base.CoreLogging.LogState)
      @ Base.CoreLogging .\logging\logging.jl:522
   [16] with_logger(f::Function, logger::Base.CoreLogging.ConsoleLogger)
      @ Base.CoreLogging .\logging\logging.jl:632
   [17] top-level scope
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Pkg\test\runtests.jl:38
   [18] include(mod::Module, _path::String)
      @ Base .\Base.jl:300
   [19] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:33 [inlined]
   [20] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Test\src\Test.jl:1707 [inlined]
   [21] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:26 [inlined]
   [22] macro expansion
      @ .\timing.jl:611 [inlined]
   [23] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:24
   [24] runtests
      @ C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\testdefs.jl:5 [inlined]
   [25] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{seed::UInt128})
      @ Base .\essentials.jl:1049
   [26] (::Distributed.var"#handle_msg##4#handle_msg##5"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Distributed\src\process_messages.jl:287
   [27] run_work_thunk(thunk::Distributed.var"#handle_msg##4#handle_msg##5"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Distributed\src\process_messages.jl:70
   [28] (::Distributed.var"#handle_msg##2#handle_msg##3"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\stdlib\v1.12\Distributed\src\process_messages.jl:287
ERROR: LoadError: Test run finished with errors
in expression starting at C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\share\julia\test\runtests.jl:100
ERROR: A test has failed. Please submit a bug report (https://github.com/JuliaLang/julia/issues)
including error messages above and the output of versioninfo():
Julia Version 1.12.0-DEV.1595
Commit c85fac3880 (2024-11-09 05:23 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: 8 × AMD EPYC Processor (with IBPB)
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, znver1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
  JULIA_BINARYDIST_FILENAME =
  JULIA_CMD_FOR_TESTS = julia-c85fac3880/bin/julia.exe .buildkite/utilities/timeout.jl julia-c85fac3880/bin/julia.exe
  JULIA_CPU_TARGET = generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1);x86-64-v4,-rdrnd,base(1)
  JULIA_CPU_THREADS = 8
  JULIA_IMAGE_THREADS = 8
  JULIA_INSTALL_DIR = julia-c85fac3880
  JULIA_NUM_THREADS = 1
  JULIA_SHELL = C:/Program Files/Git/usr/bin/bash
  JULIA_TEST_IS_BASE_CI = true
  JULIA_TEST_MAXRSS_MB = 3800
  JULIA_TEST_VERBOSE_LOGS_DIR = C:\Users\julia\AppData\Local\Temp\jl_3P5ggV
  JULIA_VERSION = 1.12.0-DEV
Stacktrace:
 [1] error(s::String)
   @ Base .\error.jl:44
 [2] runtests(tests::String; ncores::Int64, exit_on_error::Bool, revise::Bool, seed::Nothing)
   @ Base .\util.jl:718
 [3] top-level scope
   @ none:1
 [4] eval(m::Module, e::Any)
   @ Core .\boot.jl:458
 [5] exec_options(opts::Base.JLOptions)
   @ Base .\client.jl:295
 [6] _start()
   @ Base .\client.jl:558

caused by: failed process: Process(setenv(`'C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\bin\julia.exe' -C native '-JC:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\lib\julia\sys.dll' -g1 'C:\buildkite-agent\builds\win2k22-amdci6-4\julialang\julia-master\julia-c85fac3880\bin\..\share\julia\test\runtests.jl' all --ci`,["PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.PY;.PYW", "COMMONPROGRAMW6432=C:\\Program Files\\Common Files", "USERDOMAIN=WIN2K22-AMDCI6-", "JULIA_TESTS=true", "BUILDKITE_PULL_REQUEST_REPO=https://github.com/JuliaLang/julia.git", "BUILDKITE_SOURCE=webhook", "BUILDKITE_GIT_CLONE_FLAGS=-v --dissociate", "BUILDKITE_PLUIGIN_CRYPYTIC_SECRETS_MOUNT_POINT=C:\\secrets", "PLINK_PROTOCOL=ssh", "BUILDKITE_ENV_FILE=C:\\Users\\julia\\AppData\\Local\\Temp\\job-env-01930f61-cde3-463c-85d6-499df61a205a1109275738"  …  "BUILDKITE_PLUGINS=[{\"github.com/JuliaCI/external-buildkite-buildkite-plugin#v1\":{\"version\":\"./.buildkite-external-version\",\"repo_url\":\"https://github.com/JuliaCI/julia-buildkite\"}}]", "PROGRAMFILES(X86)=C:\\Program Files (x86)", "BUILDKITE_GIT_CLEAN_FLAGS=-ffxdq", "DRIVERDATA=C:\\Windows\\System32\\Drivers\\DriverData", "JULIA_TEST_IS_BASE_CI=true", "BUILDKITE_COMMIT=c85fac3880e625796ae1e6ef80b66de2e5f307f1", "JULIA_LOAD_PATH=@;@stdlib", "BUILDKITE_ORGANIZATION_ID=d409823c-5fa7-41c8-9033-7269c5fde4f3", "BUILDKITE_PULL_REQUEST=56483", "EXEPATH=C:\\Program Files\\Git\\bin"]), ProcessExited(1)) [1]
Stacktrace:
 [1] pipeline_error
   @ .\process.jl:598 [inlined]
 [2] run(::Cmd; wait::Bool)
   @ Base .\process.jl:513
 [3] run
   @ .\process.jl:510 [inlined]
 [4] runtests(tests::String; ncores::Int64, exit_on_error::Bool, revise::Bool, seed::Nothing)
   @ Base .\util.jl:710
 [5] top-level scope
   @ none:1
 [6] eval(m::Module, e::Any)
   @ Core .\boot.jl:458
 [7] exec_options(opts::Base.JLOptions)
   @ Base .\client.jl:295
 [8] _start()
   @ Base .\client.jl:558

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    ciContinuous integrationsystem:windowsAffects only Windows

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions