Skip to content

Feature/202411 ffmpeg #602

Feature/202411 ffmpeg

Feature/202411 ffmpeg #602

Triggered via pull request January 23, 2025 08:34
Status Failure
Total duration 4m 24s
Artifacts

webapp-build-net-windows.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors
build
Test Run Failed.
build
Test Name: "GenerateZip_GenerateWebHtml_RealFsTest"
build
Message: "Class Cleanup method FfmpegStreamToStreamRunnerTests.Ffmpeg_CleanUp failed. Error Message: System.IO.IOException: The process cannot access the file 'D:\a\starsky\starsky\starsky\starskytest\bin\Release\net8.0\FfmpegStreamToStreamRunnerTests\read_file.0' because it is being used by another process.. Stack Trace: at System.IO.FileSystem.DeleteFile(String fullPath) at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.Ffmpeg_CleanUp() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 79 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr) "
build
Stack Trace: " at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.TestClassInfo.ExecuteClassCleanup() in /_/src/Adapter/MSTest.TestAdapter/Execution/TestClassInfo.cs:line 639 at Microsoft.VisualStudio.TestPlatform.MSTest.TestAdapter.Execution.UnitTestRunner.RunAssemblyCleanupIfNeeded(ITestContext testContext, ClassCleanupManager classCleanupManager, TypeCache typeCache, UnitTestResult[] results) in /_/src/Adapter/MSTest.TestAdapter/Execution/UnitTestRunner.cs:line 261"
build
Test Name: "Ffmpeg_RunProcessAsync_HappyFlow"
build
Message: "Test method starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.Ffmpeg_RunProcessAsync_HappyFlow threw exception: System.IO.IOException: The pipe is being closed."
build
Stack Trace: " at System.IO.RandomAccess.WriteAtOffset(SafeFileHandle handle, ReadOnlySpan`1 buffer, Int64 fileOffset) at System.IO.RandomAccess.<>c.<WriteAtOffsetAsync>b__21_0(ValueTuple`4 state) at System.Threading.AsyncOverSyncWithIoCancellation.InvokeAsync[TState](Action`1 action, TState state, CancellationToken cancellationToken) at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource.GetResult(Int16 token) at System.IO.Strategies.BufferedFileStreamStrategy.WriteToNonSeekableAsync(ReadOnlyMemory`1 source, CancellationToken cancellationToken) at Medallion.Shell.Streams.PipeHelpers.CopyToAsyncWithAutoFlush(Stream source, Stream destination) at Medallion.Shell.Streams.PipeHelpers.CopyToAsyncWithAutoFlush(Stream source, Stream destination) at Medallion.Shell.Streams.ProcessStreamWriter.<>c__DisplayClass7_0.<<PipeFromAsync>b__0>d.MoveNext() --- End of stack trace from previous location --- at Medallion.Shell.Streams.PipeHelpers.PipeAsync(IDisposable this, Func`1 pipeTaskFactory, Boolean leaveOpen, Action extraDisposeAction) at Medallion.Shell.IOCommand.CreateTask(Task ioTask) at Medallion.Shell.IOCommand.CreateTask(Task ioTask) at starsky.foundation.video.Process.FfmpegStreamToStreamRunner.RunProcessAsync(String ffmpegInputArguments, String format, String referenceInfoAndPath) in D:\a\starsky\starsky\starsky\starsky.foundation.video\Process\FfmpegStreamToStreamRunner.cs:line 41 at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.Ffmpeg_RunProcessAsync_HappyFlow() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 98 "
build
Target "TestNetCore" has thrown an exception
build
Process completed with exit code 1.