Feature/202411 ffmpeg #584
Annotations
10 errors and 2 warnings
build
Test Run Failed.
|
build
Test Name: "RunProcessAsync_WithInvalidFfmpegPath"
|
build
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."
|
build
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 43
at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.SetupFakeFfmpegExecutable() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 55
at starskytest.starsky.foundation.video.Process.FfmpegStreamToStreamRunnerTests.RunProcessAsync_WithInvalidFfmpegPath() in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\Process\FfmpegStreamToStreamRunnerTests.cs:line 124
"
|
build
Test Name: "GetSetFfMpegPath_ReturnsCorrectPath_Found (\"not-found\")"
|
build
Message: "Assert.AreEqual failed. Expected:<not-found\ffmpeg-win-x64\ffmpeg>. Actual:<not-found\ffmpeg-win-x64\ffmpeg.exe>. "
|
build
Stack Trace: " at starskytest.starsky.foundation.video.GetDependencies.FfMpegDownloadTest.GetSetFfMpegPath_ReturnsCorrectPath_Found(String dependenciesFolder) in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\GetDependencies\FfMpegDownloadTest.cs:line 444
at InvokeStub_FfMpegDownloadTest.GetSetFfMpegPath_ReturnsCorrectPath_Found(Object, Span`1)
at System.Reflection.MethodBaseInvoker.InvokeWithOneArg(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
"
|
build
Test Name: "GetSetFfMpegPath_ReturnsCorrectPath_Found (null)"
|
build
Message: "Assert.AreEqual failed. Expected:<ffmpeg-win-x64\ffmpeg>. Actual:<ffmpeg-win-x64\ffmpeg.exe>. "
|
build
Stack Trace: " at starskytest.starsky.foundation.video.GetDependencies.FfMpegDownloadTest.GetSetFfMpegPath_ReturnsCorrectPath_Found(String dependenciesFolder) in D:\a\starsky\starsky\starsky\starskytest\starsky.foundation.video\GetDependencies\FfMpegDownloadTest.cs:line 444
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
"
|
build
D:\a\starsky\starsky\starsky\starskytest\starsky.feature.health\HealthCheck\DiskStorageHealthCheckTest.cs(23,31): warning CS8604: Possible null reference argument for parameter 'options' in 'DiskStorageHealthCheck.DiskStorageHealthCheck(DiskStorageOptions options, IWebLogger logger)'. [D:\a\starsky\starsky\starsky\starskytest\starskytest.csproj]
|
build
D:\a\starsky\starsky\starsky\starskytest\starsky.feature.health\HealthCheck\DiskStorageHealthCheckTest.cs(23,31): warning CS8604: Possible null reference argument for parameter 'options' in 'DiskStorageHealthCheck.DiskStorageHealthCheck(DiskStorageOptions options, IWebLogger logger)'. [D:\a\starsky\starsky\starsky\starskytest\starskytest.csproj]
|