Feature/202411 ffmpeg #557
Annotations
10 errors and 4 warnings
Test (Windows)
Test Run Failed.
|
Test (Windows)
Test Name: "RunProcessAsync_HappyFlow"
|
Test (Windows)
Message: "Test method starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.RunProcessAsync_HappyFlow threw exception:
System.IO.IOException: The pipe is being closed."
|
Test (Windows)
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.RunProcessAsync_HappyFlow() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 79
"
|
Test (Windows)
Test Name: "RunProcessAsync_WithInvalidFfmpegPath"
|
Test (Windows)
Message: "Test method starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.RunProcessAsync_WithInvalidFfmpegPath threw exception:
System.AggregateException: One or more errors occurred. (The process cannot access the file 'D:\a\starsky\starsky\starsky\starskytest\bin\Release\net8.0\read_file' because it is being used by another process.) (The process cannot access the file 'D:\a\starsky\starsky\starsky\starskytest\bin\Release\net8.0\read_file' because it is being used by another process.) (The process cannot access the file 'D:\a\starsky\starsky\starsky\starskytest\bin\Release\net8.0\read_file' because it is being used by another process.) ---> System.IO.IOException: The process cannot access the file 'D:\a\starsky\starsky\starsky\starskytest\bin\Release\net8.0\read_file' because it is being used by another process."
|
Test (Windows)
Stack Trace: " at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at starsky.foundation.storage.Storage.StorageHostFullPathFilesystem.<>c__DisplayClass18_0.<WriteStream>g__LocalRun|0() in D:\a\starsky\starsky\starsky\starsky.foundation.storage\Storage\StorageHostFullPathFilesystem.cs:line 389
at starsky.foundation.platform.Helpers.RetryHelper.Do[T](Func`1 action, TimeSpan retryInterval, Int32 maxAttemptCount) in D:\a\starsky\starsky\starsky\starsky.foundation.platform\Helpers\RetryHelper.cs:line 40
--- End of inner exception stack trace ---
at starsky.foundation.platform.Helpers.RetryHelper.Do[T](Func`1 action, TimeSpan retryInterval, Int32 maxAttemptCount) in D:\a\starsky\starsky\starsky\starsky.foundation.platform\Helpers\RetryHelper.cs:line 47
at starsky.foundation.storage.Storage.StorageHostFullPathFilesystem.WriteStream(Stream stream, String path) in D:\a\starsky\starsky\starsky\starsky.foundation.storage\Storage\StorageHostFullPathFilesystem.cs:line 407
at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.CreateStubFile(String path, String content) in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 33
at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.SetupFakeFfmpegExecutable() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 42
at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.RunProcessAsync_WithInvalidFfmpegPath() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 115
"
|
Test (Windows)
Test Name: "ListSizesByHash_IgnoreRaw"
|
Test (Windows)
Message: "Class Cleanup method FfmpegStreamToStreamRunnerTests.CleanUp failed. Error Message: System.IO.IOException: The process cannot access the file 'D:\a\starsky\starsky\starsky\starskytest\bin\Release\net8.0\read_file' because it is being used by another process.. Stack Trace: at System.IO.FileSystem.DeleteFile(String fullPath)
at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.CleanUp() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 69
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeWithNoArgs(Object obj, BindingFlags invokeAttr)
"
|
Test (Windows)
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 (Windows)
D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs(25,9): warning CS8618: Non-nullable field '_ffmpegExe' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [D:\a\starsky\starsky\starsky\starskytest\starskytest.csproj]
|
Build (Windows)
D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs(25,9): warning CS8618: Non-nullable field '_readFile' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [D:\a\starsky\starsky\starsky\starskytest\starskytest.csproj]
|
Build (Windows)
D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs(25,9): warning CS8618: Non-nullable field '_ffmpegExe' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [D:\a\starsky\starsky\starsky\starskytest\starskytest.csproj]
|
Build (Windows)
D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs(25,9): warning CS8618: Non-nullable field '_readFile' must contain a non-null value when exiting constructor. Consider adding the 'required' modifier or declaring the field as nullable. [D:\a\starsky\starsky\starsky\starskytest\starskytest.csproj]
|
Loading