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

Tests fail on ubuntu 22.04: IOError: stream is closed or unusable #105

Closed
IanButterworth opened this issue May 24, 2022 · 1 comment · Fixed by #106
Closed

Tests fail on ubuntu 22.04: IOError: stream is closed or unusable #105

IanButterworth opened this issue May 24, 2022 · 1 comment · Fixed by #106

Comments

@IanButterworth
Copy link
Contributor

I suspect the issue is

[695484:0524/133859.994352:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
pkg> test Electron
     Testing Electron
      Status `/tmp/jl_pOwOQr/Project.toml`
  [a1bb12fb] Electron v3.1.2
  [8fc22ac5] FilePaths v0.8.3
  [682c06a0] JSON v0.21.3
  [30578b45] URIParser v0.4.1
  [2a0f44e3] Base64 `@stdlib/Base64`
  [44cfe95a] Pkg `@stdlib/Pkg`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
      Status `/tmp/jl_pOwOQr/Manifest.toml`
  [34da2185] Compat v3.44.0
  [a1bb12fb] Electron v3.1.2
  [8fc22ac5] FilePaths v0.8.3
  [48062228] FilePathsBase v0.9.18
  [682c06a0] JSON v0.21.3
  [1914dd2f] MacroTools v0.5.9
  [69de0a69] Parsers v2.3.1
  [189a3867] Reexport v1.2.2
  [ae029012] Requires v1.3.0
  [30578b45] URIParser v0.4.1
  [0dad84c5] ArgTools `@stdlib/ArgTools`
  [56f22d72] Artifacts `@stdlib/Artifacts`
  [2a0f44e3] Base64 `@stdlib/Base64`
  [ade2ca70] Dates `@stdlib/Dates`
  [8bb1440f] DelimitedFiles `@stdlib/DelimitedFiles`
  [8ba89e20] Distributed `@stdlib/Distributed`
  [f43a241f] Downloads `@stdlib/Downloads`
  [b77e0a4c] InteractiveUtils `@stdlib/InteractiveUtils`
  [b27032c2] LibCURL `@stdlib/LibCURL`
  [76f85450] LibGit2 `@stdlib/LibGit2`
  [8f399da3] Libdl `@stdlib/Libdl`
  [37e2e46d] LinearAlgebra `@stdlib/LinearAlgebra`
  [56ddb016] Logging `@stdlib/Logging`
  [d6f4376e] Markdown `@stdlib/Markdown`
  [a63ad114] Mmap `@stdlib/Mmap`
  [ca575930] NetworkOptions `@stdlib/NetworkOptions`
  [44cfe95a] Pkg `@stdlib/Pkg`
  [de0858da] Printf `@stdlib/Printf`
  [3fa0cd96] REPL `@stdlib/REPL`
  [9a3f8284] Random `@stdlib/Random`
  [ea8e919c] SHA `@stdlib/SHA`
  [9e88b42a] Serialization `@stdlib/Serialization`
  [1a1011a3] SharedArrays `@stdlib/SharedArrays`
  [6462fe0b] Sockets `@stdlib/Sockets`
  [2f01184e] SparseArrays `@stdlib/SparseArrays`
  [10745b16] Statistics `@stdlib/Statistics`
  [fa267f1f] TOML `@stdlib/TOML`
  [a4e569a6] Tar `@stdlib/Tar`
  [8dfed614] Test `@stdlib/Test`
  [cf7118a7] UUIDs `@stdlib/UUIDs`
  [4ec0a83e] Unicode `@stdlib/Unicode`
  [e66e0078] CompilerSupportLibraries_jll `@stdlib/CompilerSupportLibraries_jll`
  [deac9b47] LibCURL_jll `@stdlib/LibCURL_jll`
  [29816b5a] LibSSH2_jll `@stdlib/LibSSH2_jll`
  [c8ffd9c3] MbedTLS_jll `@stdlib/MbedTLS_jll`
  [14a3606d] MozillaCACerts_jll `@stdlib/MozillaCACerts_jll`
  [4536629a] OpenBLAS_jll `@stdlib/OpenBLAS_jll`
  [83775a58] Zlib_jll `@stdlib/Zlib_jll`
  [8e850b90] libblastrampoline_jll `@stdlib/libblastrampoline_jll`
  [8e850ede] nghttp2_jll `@stdlib/nghttp2_jll`
  [3f19e933] p7zip_jll `@stdlib/p7zip_jll`
     Testing Running tests...
[695484:0524/133859.994352:FATAL:gpu_data_manager_impl_private.cc(439)] GPU process isn't usable. Goodbye.
┌ Warning: `URIParser` is deprecated, use `URIs` instead.
│   caller = ip:0x0
└ @ Core :-1
Core: Error During Test at /home/ian/.julia/packages/Electron/ILvWR/test/runtests.jl:10
  Got exception outside of a @test
  TaskFailedException
  Stacktrace:
    [1] wait
      @ ./task.jl:334 [inlined]
    [2] fetch
      @ ./task.jl:349 [inlined]
    [3] req_response(app::Application, cmd::Dict{String, Any})
      @ Electron ~/.julia/packages/Electron/ILvWR/src/Electron.jl:241
    [4] Window(app::Application, options::Dict{String, Any})
      @ Electron ~/.julia/packages/Electron/ILvWR/src/Electron.jl:326
    [5] #Window#16
      @ ~/.julia/packages/Electron/ILvWR/src/Electron.jl:344 [inlined]
    [6] #Window#17
      @ ~/.julia/packages/Electron/ILvWR/src/Electron.jl:357 [inlined]
    [7] Window
      @ ~/.julia/packages/Electron/ILvWR/src/Electron.jl:357 [inlined]
    [8] Window(args::PosixPath; kwargs::Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}})
      @ Electron ~/.julia/packages/Electron/ILvWR/src/Electron.jl:374
    [9] Window(args::PosixPath)
      @ Electron ~/.julia/packages/Electron/ILvWR/src/Electron.jl:374
   [10] macro expansion
      @ ~/.julia/packages/Electron/ILvWR/test/runtests.jl:35 [inlined]
   [11] macro expansion
      @ ~/Documents/julia-1.7.2/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [12] macro expansion
      @ ~/.julia/packages/Electron/ILvWR/test/runtests.jl:12 [inlined]
   [13] macro expansion
      @ ~/Documents/julia-1.7.2/share/julia/stdlib/v1.7/Test/src/Test.jl:1283 [inlined]
   [14] top-level scope
      @ ~/.julia/packages/Electron/ILvWR/test/runtests.jl:10
   [15] include(fname::String)
      @ Base.MainInclude ./client.jl:451
   [16] top-level scope
      @ none:6
   [17] eval
      @ ./boot.jl:373 [inlined]
   [18] exec_options(opts::Base.JLOptions)
      @ Base ./client.jl:268
   [19] _start()
      @ Base ./client.jl:495
  
      nested task error: IOError: stream is closed or unusable
      Stacktrace:
        [1] check_open
          @ ./stream.jl:386 [inlined]
        [2] uv_write_async(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64)
          @ Base ./stream.jl:1018
        [3] uv_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64)
          @ Base ./stream.jl:981
        [4] unsafe_write(s::Base.PipeEndpoint, p::Ptr{UInt8}, n::UInt64)
          @ Base ./stream.jl:1064
        [5] write
          @ ./strings/io.jl:244 [inlined]
        [6] print
          @ ./strings/io.jl:246 [inlined]
        [7] print(::Base.PipeEndpoint, ::String, ::String)
          @ Base ./strings/io.jl:46
        [8] println
          @ ./strings/io.jl:75 [inlined]
        [9] macro expansion
          @ ~/.julia/packages/Electron/ILvWR/src/Electron.jl:233 [inlined]
       [10] (::Electron.var"#14#15"{Condition, String, Base.PipeEndpoint})()
          @ Electron ./task.jl:423
Test Summary: | Pass  Error  Total
Electron      |   12      1     13
  Core        |    8      1      9
  ElectronAPI |    4             4
ERROR: LoadError: Some tests did not pass: 12 passed, 0 failed, 1 errored, 0 broken.
in expression starting at /home/ian/.julia/packages/Electron/ILvWR/test/runtests.jl:8
ERROR: Package Electron errored during testing
@IanButterworth
Copy link
Contributor Author

Seems to be that Electron needs updating ebkr/r2modmanPlus#735

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant