Greetings from the Javis.jl team (ping @wikunia) ! We are currently working on a test case utilizing VideoIO and are having a strange error manifesting on Windows machines. Our test case currently has the simple line VideoIO.get_duration. This has been causing our tests to fail as well as the GitHub CI to fail with the error message:
IOError: unlink: resource busy or locked (EBUSY)
Any idea what this is and how to address this issue?
Additional Information:
Here is the test we have constructed that is giving us troubles:
Dancing circles (mp4): Error During Test at D:aJavis.jlJavis.jl estanimations.jl:69
Got exception outside of a @test
IOError: unlink: resource busy or locked (EBUSY)
Stacktrace:
[1] uv_error at .libuv.jl:97 [inlined]
[2] unlink(::String) at .file.jl:888
[3] rm(::String; force::Bool, recursive::Bool) at .file.jl:268
[4] rm(::String) at .file.jl:260
[5] top-level scope at D:aJavis.jlJavis.jl estanimations.jl:89
[6] top-level scope at D:buildbotworkerpackage_win64buildusrsharejuliastdlibv1.5TestsrcTest.jl:1115
[7] top-level scope at D:aJavis.jlJavis.jl estanimations.jl:70
[8] include(::String) at .client.jl:457
[9] top-level scope at D:aJavis.jlJavis.jl estruntests.jl:15
[10] top-level scope at D:buildbotworkerpackage_win64buildusrsharejuliastdlibv1.5TestsrcTest.jl:1115
[11] top-level scope at D:aJavis.jlJavis.jl estruntests.jl:15
[12] include(::String) at .client.jl:457
[13] top-level scope at none:6
[14] eval(::Module, ::Any) at .boot.jl:331
[15] exec_options(::Base.JLOptions) at .client.jl:272
[16] _start() at .client.jl:506
Here is the stacktrace from running test Javis on a Windows machine (thanks @merckxiaan):
Test Summary: | Pass Total
Unit | 23 23
┌ Warning: `latex(text::LaTeXString, fsize::Real)` is deprecated, use `begin
│ fontsize(fsize)
│ latex(text)
│ end` instead.
│ caller = (::var"#foreground#45")(::LaTeXString) at svg.jl:57
└ @ Main C:\Users\jules\.julia\packages\Javis\7kNk1\test\svg.jl:57
Test Summary: | Pass Total
SVG LaTeX tests | 3 3
Dancing circles (mp4): Error During Test at C:\Users\jules\.julia\packages\Javis\7kNk1\test\animations.jl:92
Got exception outside of a @test
IOError: unlink: resource busy or locked (EBUSY)
Stacktrace:
[1] uv_error at .\libuv.jl:97 [inlined]
[2] unlink(::String) at .\file.jl:888
[3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
[4] rm(::String) at .\file.jl:260
[5] top-level scope at C:\Users\jules\.julia\packages\Javis\7kNk1\test\animations.jl:135
[6] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Test\src\Test.jl:1113
[7] top-level scope at C:\Users\jules\.julia\packages\Javis\7kNk1\test\animations.jl:93
[8] include(::String) at .\client.jl:439
[9] top-level scope at C:\Users\jules\.julia\packages\Javis\7kNk1\test\runtests.jl:15
[10] top-level scope at D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.4\Test\src\Test.jl:1113
[11] top-level scope at C:\Users\jules\.julia\packages\Javis\7kNk1\test\runtests.jl:15
[12] include(::String) at .\client.jl:439
[13] top-level scope at none:6
[14] eval(::Module, ::Any) at .\boot.jl:331
[15] exec_options(::Base.JLOptions) at .\client.jl:264
[16] _start() at .\client.jl:484
Test Summary: | Pass Error Total
Animations | 22 1 23
Dancing circles (gif) | 2 2
Dancing circles (mp4) | 1 1 2
Dancing circles layered | 1 1
Dancing circles layered return Transformation | 1 1
Drawing grid | 4 4
Use returned angle | 1 1
morphing star2circle and back | 2 2
House of Nicholas line_width | 3 3
Circle/square appear opacity | 4 4
test default kwargs | 2 2
test @error .mp3 | 1 1
ERROR: LoadError: Some tests did not pass: 22 passed, 0 failed, 1 errored, 0 broken.
in expression starting at C:\Users\jules\.julia\packages\Javis\7kNk1\test\runtests.jl:14
ERROR: Package Javis errored during testing
Julia Version: 1.5
Platform(s): Linux (Fedora 32)
Bug Description:
Greetings from the
Javis.jl
team (ping @wikunia) ! We are currently working on a test case utilizingVideoIO
and are having a strange error manifesting on Windows machines. Our test case currently has the simple lineVideoIO.get_duration
. This has been causing our tests to fail as well as the GitHub CI to fail with the error message:IOError: unlink: resource busy or locked (EBUSY)
Any idea what this is and how to address this issue?
Additional Information:
Here is the test we have constructed that is giving us troubles:
Here is the stacktrace from the GitHub CI:
Here is the stacktrace from running
test Javis
on a Windows machine (thanks @merckxiaan):Attempted PR in Javis at Wikunia/Javis.jl#101