Skip to content

Add wait steps to TestVideoFormats

Sign in for the full log view
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / Test Results (Linux, SingleThread, Debug) failed Aug 22, 2023 in 1s

Test Results (Linux, SingleThread, Debug) ❌

Tests failed

❌ TestResults-Linux-SingleThread-Debug.trx

3062 tests were completed in 195s with 2985 passed, 3 failed and 74 skipped.

Test suite Passed Failed Skipped Time
osu.Framework.Tests.Visual.Sprites.TestSceneVideo 21✔️ 2❌ 28s
osu.Framework.Tests.Visual.Sprites.TestSceneVideoLayout 1❌ 96ms

❌ osu.Framework.Tests.Visual.Sprites.TestSceneVideo

✔️ TestConstructor
✔️ TestDecodingStopsBeforeStartTime(False)
✔️ TestDecodingStopsBeforeStartTime(True)
✔️ TestDecodingStopsWhenNotPresent
✔️ TestFileFormats
✔️ TestJumpBack("h264.mp4")
✔️ TestJumpBack("hevc.mp4")
✔️ TestJumpBack("vp8.webm")
✔️ TestJumpBack("vp9.webm")
✔️ TestJumpBackAfterEndOfPlayback("h264.mp4")
✔️ TestJumpBackAfterEndOfPlayback("hevc.mp4")
✔️ TestJumpBackAfterEndOfPlayback("vp8.webm")
✔️ TestJumpBackAfterEndOfPlayback("vp9.webm")
✔️ TestJumpForward("h264.mp4")
✔️ TestJumpForward("hevc.mp4")
✔️ TestJumpForward("vp8.webm")
✔️ TestJumpForward("vp9.webm")
✔️ TestShader
✔️ TestStartFromCurrentTime
✔️ TestVideoDoesNotLoopIfDisabled
❌ TestVideoFormats
	TearDown : System.TimeoutException : "decoding stopped" timed out
❌ TestVideoFormatsWithHwAccel
	TearDown : System.TimeoutException : "decoding stopped" timed out
✔️ TestVideoLoopsIfEnabled

❌ osu.Framework.Tests.Visual.Sprites.TestSceneVideoLayout

❌ TestConstructor
	TearDown : System.AggregateException : One or more errors occurred. (Value cannot be null. (Parameter 'stream'))
	  ----> System.ArgumentNullException : Value cannot be null. (Parameter 'stream')

Annotations

Check failure on line 65 in osu.Framework/Testing/Drawables/Steps/UntilStepButton.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (Linux, SingleThread, Debug)

osu.Framework.Tests.Visual.Sprites.TestSceneVideo ► TestVideoFormats

Failed test found in:
  TestResults-Linux-SingleThread-Debug.trx
Error:
  TearDown : System.TimeoutException : "decoding stopped" timed out
Raw output
TearDown : System.TimeoutException : "decoding stopped" timed out
--TearDown
   at osu.Framework.Testing.Drawables.Steps.UntilStepButton.<>c__DisplayClass11_0.<.ctor>b__0() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/UntilStepButton.cs:line 65
   at osu.Framework.Testing.Drawables.Steps.StepButton.PerformStep(Boolean userTriggered) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/StepButton.cs:line 124
   at osu.Framework.Testing.TestScene.runNextStep(Action onCompletion, Action`1 onError, Func`2 stopCondition) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 215
--- End of stack trace from previous location ---
   at osu.Framework.Testing.TestSceneTestRunner.TestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 89
   at osu.Framework.Testing.TestSceneTestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 32
   at osu.Framework.Testing.TestScene.RunTestsFromNUnit() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 481

Check failure on line 65 in osu.Framework/Testing/Drawables/Steps/UntilStepButton.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (Linux, SingleThread, Debug)

osu.Framework.Tests.Visual.Sprites.TestSceneVideo ► TestVideoFormatsWithHwAccel

Failed test found in:
  TestResults-Linux-SingleThread-Debug.trx
Error:
  TearDown : System.TimeoutException : "decoding stopped" timed out
Raw output
TearDown : System.TimeoutException : "decoding stopped" timed out
--TearDown
   at osu.Framework.Testing.Drawables.Steps.UntilStepButton.<>c__DisplayClass11_0.<.ctor>b__0() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/UntilStepButton.cs:line 65
   at osu.Framework.Testing.Drawables.Steps.StepButton.PerformStep(Boolean userTriggered) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/Drawables/Steps/StepButton.cs:line 124
   at osu.Framework.Testing.TestScene.runNextStep(Action onCompletion, Action`1 onError, Func`2 stopCondition) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 215
--- End of stack trace from previous location ---
   at osu.Framework.Testing.TestSceneTestRunner.TestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 89
   at osu.Framework.Testing.TestSceneTestRunner.RunTestBlocking(TestScene test) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 32
   at osu.Framework.Testing.TestScene.RunTestsFromNUnit() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 481

Check failure on line 22 in osu.Framework/Extensions/TaskExtensions.cs

See this annotation in the file changed.

@github-actions github-actions / Test Results (Linux, SingleThread, Debug)

osu.Framework.Tests.Visual.Sprites.TestSceneVideoLayout ► TestConstructor

Failed test found in:
  TestResults-Linux-SingleThread-Debug.trx
Error:
  TearDown : System.AggregateException : One or more errors occurred. (Value cannot be null. (Parameter 'stream'))
    ----> System.ArgumentNullException : Value cannot be null. (Parameter 'stream')
Raw output
TearDown : System.AggregateException : One or more errors occurred. (Value cannot be null. (Parameter 'stream'))
  ----> System.ArgumentNullException : Value cannot be null. (Parameter 'stream')
--TearDown
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at osu.Framework.Extensions.TaskExtensions.WaitSafely(Task task) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Extensions/TaskExtensions.cs:line 22
   at osu.Framework.Testing.TestScene.checkForErrors() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 519
   at osu.Framework.Testing.TestScene.RunTestsFromNUnit() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 482
--ArgumentNullException
   at osu.Framework.Graphics.Video.Video..ctor(Stream stream, Boolean startAtCurrentTime) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Video/Video.cs:line 106
   at osu.Framework.Tests.Visual.Sprites.TestVideo..ctor(Stream videoStream, Boolean startAtCurrentTime) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Visual/Sprites/TestVideo.cs:line 13
   at osu.Framework.Tests.Visual.Sprites.TestSceneVideoLayout.<>c__DisplayClass1_0.<load>b__0() in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Visual/Sprites/TestSceneVideoLayout.cs:line 27
   at osu.Framework.Tests.Visual.Sprites.TestSceneVideoLayout.createTest(String name, Func`1 animationCreationFunc) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Visual/Sprites/TestSceneVideoLayout.cs:line 44
   at osu.Framework.Tests.Visual.Sprites.TestSceneVideoLayout.load(Game game) in /home/runner/work/osu-framework/osu-framework/osu.Framework.Tests/Visual/Sprites/TestSceneVideoLayout.cs:line 27
--- End of stack trace from previous location ---
   at osu.Framework.Allocation.BackgroundDependencyLoaderAttribute.<>c__DisplayClass7_1.<CreateActivator>b__3(Object target, IReadOnlyDependencyContainer dc) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Allocation/BackgroundDependencyLoaderAttribute.cs:line 84
   at osu.Framework.Allocation.DependencyActivator.<Activate>g__activateRecursively|8_0[T](Object obj, IReadOnlyDependencyContainer dependencies, Type currentType) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Allocation/DependencyActivator.cs:line 81
   at osu.Framework.Allocation.DependencyActivator.Activate[T](T obj, IReadOnlyDependencyContainer dependencies) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Allocation/DependencyActivator.cs:line 71
   at osu.Framework.Allocation.DependencyContainer.Inject[T](T instance) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Allocation/DependencyContainer.cs:line 188
   at osu.Framework.Graphics.Drawable.InjectDependencies(IReadOnlyDependencyContainer dependencies) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Drawable.cs:line 300
   at osu.Framework.Graphics.Containers.CompositeDrawable.InjectDependencies(IReadOnlyDependencyContainer dependencies) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 82
   at osu.Framework.Graphics.Drawable.load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Drawable.cs:line 276
   at osu.Framework.Graphics.Drawable.Load(IFrameBasedClock clock, IReadOnlyDependencyContainer dependencies, Boolean isDirectAsyncContext) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Drawable.cs:line 252
   at osu.Framework.Graphics.Containers.CompositeDrawable.loadChild(Drawable child) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 288
   at osu.Framework.Graphics.Containers.CompositeDrawable.AddInternal(Drawable drawable) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 603
   at osu.Framework.Testing.TestSceneTestRunner.TestRunner.<>c__DisplayClass6_0.<RunTestBlocking>b__1() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestSceneTestRunner.cs:line 68
   at osu.Framework.Threading.ScheduledDelegate.InvokeTask() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/ScheduledDelegate.cs:line 106
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/ScheduledDelegate.cs:line 92
   at osu.Framework.Threading.Scheduler.Update() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/Scheduler.cs:line 124
   at osu.Framework.Graphics.Drawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Drawable.cs:line 487
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 910
   at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 956
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 937
   at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 956
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 937
   at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 956
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 937
   at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 956
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 937
   at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 956
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 937
   at osu.Framework.Graphics.Containers.CompositeDrawable.updateChild(Drawable c) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 956
   at osu.Framework.Graphics.Containers.CompositeDrawable.UpdateSubTree() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Graphics/Containers/CompositeDrawable.cs:line 937
   at osu.Framework.Platform.GameHost.UpdateFrame() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Platform/GameHost.cs:line 465
   at osu.Framework.Platform.HeadlessGameHost.UpdateFrame() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Platform/HeadlessGameHost.cs:line 101
   at osu.Framework.Threading.GameThread.processFrame() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/GameThread.cs:line 451
--- End of stack trace from previous location ---
   at osu.Framework.Platform.GameHost.<>c__DisplayClass139_0.<abortExecutionFromException>b__0() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Platform/GameHost.cs:line 403
   at osu.Framework.Threading.ScheduledDelegate.InvokeTask() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/ScheduledDelegate.cs:line 106
   at osu.Framework.Threading.ScheduledDelegate.RunTaskInternal() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/ScheduledDelegate.cs:line 92
   at osu.Framework.Threading.Scheduler.Update() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/Scheduler.cs:line 124
   at osu.Framework.Threading.GameThread.processFrame() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/GameThread.cs:line 446
   at osu.Framework.Threading.GameThread.RunSingleFrame() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Threading/GameThread.cs:line 293
   at osu.Framework.Platform.ThreadRunner.RunMainLoop() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Platform/ThreadRunner.cs:line 111
   at osu.Framework.Platform.GameHost.windowUpdate() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Platform/GameHost.cs:line 1072
   at osu.Framework.Platform.GameHost.Run(Game game) in /home/runner/work/osu-framework/osu-framework/osu.Framework/Platform/GameHost.cs:line 793
   at osu.Framework.Testing.TestScene.<>c__DisplayClass48_0.<SetupGameHostForNUnit>b__0() in /home/runner/work/osu-framework/osu-framework/osu.Framework/Testing/TestScene.cs:line 436
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)