Skip to content

Test failure in InteractiveUtils on a Windows CI run (mutated ENV not restored) #52513

Open
@jishnub

Description

As seen in https://buildkite.com/julialang/julia-master/builds/31155#018c636c-73d1-4f8c-94cd-bb7898a774b8

There appears to be some noise from FileSystems, but I've not trimmed this.

Error in testset InteractiveUtils:
Error During Test at C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\test\testdefs.jl:24
  Got exception outside of a @test
  The `InteractiveUtils` test set mutated ENV and did not restore the original values
  Stacktrace:
    [1] error(s::String)
      @ Base .\error.jl:35
    [2] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\test\testdefs.jl:67 [inlined]
    [3] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\stdlib\v1.11\Test\src\Test.jl:1598 [inlined]
    [4] macro expansion
      @ C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\test\testdefs.jl:26 [inlined]
    [5] macro expansion
      @ .\timing.jl:513 [inlined]
    [6] runtests(name::String, path::String, isolate::Bool; seed::UInt128)
      @ Main C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\test\testdefs.jl:24
    [7] runtests
      @ Main C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\test\testdefs.jl:5 [inlined]
    [8] invokelatest(::Any, ::Any, ::Vararg{Any}; kwargs::@Kwargs{seed::UInt128})
      @ Base .\essentials.jl:957
    [9] (::Distributed.var"#110#112"{Distributed.CallMsg{:call_fetch}})()
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\stdlib\v1.11\Distributed\src\process_messages.jl:286
   [10] run_work_thunk(thunk::Distributed.var"#110#112"{Distributed.CallMsg{:call_fetch}}, print_error::Bool)
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\stdlib\v1.11\Distributed\src\process_messages.jl:70
   [11] (::Distributed.var"#109#111"{Distributed.CallMsg{:call_fetch}, Distributed.MsgHeader, Sockets.TCPSocket})()
      @ Distributed C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\stdlib\v1.11\Distributed\src\process_messages.jl:286
ERROR: LoadError: Test run finished with errors
in expression starting at C:\buildkite-agent\builds\win2k22-amdci6-2\julialang\julia-master\julia-2e6ed67a5e\share\julia\test\runtests.jl:97
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_qebOva"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_qebOva\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_JJD3p0"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_JJD3p0\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_orZrmM"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_orZrmM\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_jtUvyt"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_jtUvyt\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_7OroiS"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_7OroiS\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_0AcUJ7"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_0AcUJ7\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_iIlixd\\jl_8BUA7P"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_iIlixd\\\\jl_8BUA7P\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_ROvznC"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_ROvznC\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_Wla5Qm"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_Wla5Qm\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_rlmjqf"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_rlmjqf\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_XyEx0L"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_XyEx0L\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_X8fAGL"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_X8fAGL\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_TkutEO"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_TkutEO\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_QcTQau"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_QcTQau\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_6TAb3H"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_6TAb3H\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_iIlixd"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_iIlixd\\\\jl_8BUA7P\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_SFY3ge"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_SFY3ge\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_gtnqBV"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_gtnqBV\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_uhOMBO"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_uhOMBO\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_WY2sMY"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_WY2sMY\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_QI4EIH"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_QI4EIH\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_yTym8C"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_yTym8C\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_e0NwSC"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_e0NwSC\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_SDEdYZ"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_SDEdYZ\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_STiLJ7"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_STiLJ7\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_2RT3I7"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_2RT3I7\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_yFgrf6"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_yFgrf6\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
┌ Warning: Failed to clean up temporary path "C:\\Users\\julia\\AppData\\Local\\Temp\\jl_GSEplR"
│ Base.IOError("rm(\"C:\\\\Users\\\\julia\\\\AppData\\\\Local\\\\Temp\\\\jl_GSEplR\\\\compiled\\\\v1.11\"): directory not empty (ENOTEMPTY)", -4051)
└ @ Base.Filesystem file.jl:552
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.11.0-DEV.1091
Commit 2e6ed67a5e (2023-12-13 13:44 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-15.0.7 (ORCJIT, znver1)
  Threads: 1 on 8 virtual cores
Environment:
  JULIA_BINARYDIST_FILENAME =
  JULIA_CMD_FOR_TESTS = julia-2e6ed67a5e/bin/julia.exe .buildkite/utilities/timeout.jl julia-2e6ed67a5e/bin/julia.exe
  JULIA_CPU_TARGET = generic;sandybridge,-xsaveopt,clone_all;haswell,-rdrnd,base(1)
  JULIA_CPU_THREADS = 8
  JULIA_IMAGE_THREADS = 8
  JULIA_INSTALL_DIR = julia-2e6ed67a5e
  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_iVfV3z
  JULIA_VERSION = 1.11.0-DEV

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 integration

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions