Skip to content

Feature/202403 deps cli #41

Feature/202403 deps cli

Feature/202403 deps cli #41

Triggered via pull request April 4, 2024 14:29
Status Failure
Total duration 4m 49s
Artifacts
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 10 warnings
build
Test Run Failed.
build
Test Name: "GetExifToolByOs"
build
Message: "Test method ***test.***.foundation.writemeta.Helpers.ExifToolDownloadTest.GetExifToolByOs threw exception: System.IO.FileNotFoundException: Could not find file '/home/runner/work/***/***/***/***/bin/Release/net8.0/temp/Image-ExifTool-11.99'."
build
Stack Trace: " at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at ***.foundation.storage.Storage.StorageHostFullPathFilesystem.FileCopy(String fromPath, String toPath) in /home/runner/work/***/***/***/***.foundation.storage/Storage/StorageHostFullPathFilesystem.cs:line 379 at ***.foundation.writemeta.Services.ExifToolDownload.DownloadForUnix(String matchExifToolForUnixName, IEnumerable`1 getChecksumsFromTextFile, Boolean downloadFromMirror) in /home/runner/work/***/***/***/***.foundation.writemeta/Services/ExifToolDownload.cs:line 222 at ***.foundation.writemeta.Services.ExifToolDownload.StartDownloadForUnix() in /home/runner/work/***/***/***/***.foundation.writemeta/Services/ExifToolDownload.cs:line 148 at ***.foundation.writemeta.Services.ExifToolDownload.DownloadExifTool(Boolean isWindows, Int32 minimumSize) in /home/runner/work/***/***/***/***.foundation.writemeta/Services/ExifToolDownload.cs:line 104 at ***test.***.foundation.writemeta.Helpers.ExifToolDownloadTest.GetExifToolByOs() in /home/runner/work/***/***/***/***test/***.foundation.writemeta/Helpers/ExifToolDownloadTest.cs:line 159 "
build
Test Name: "StartDownloadForUnix_2Times"
build
Message: "Test method ***test.***.foundation.writemeta.Helpers.ExifToolDownloadTest.StartDownloadForUnix_2Times threw exception: System.IO.FileNotFoundException: Could not find file '/home/runner/work/***/***/***/***/bin/Release/net8.0/temp/Image-ExifTool-11.99'."
build
Stack Trace: " at Interop.ThrowExceptionForIoErrno(ErrorInfo errorInfo, String path, Boolean isDirError) at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, UnixFileMode openPermissions, Int64& fileLength, UnixFileMode& filePermissions, Boolean failForSymlink, Boolean& wasSymlink, Func`4 createOpenException) at System.IO.FileSystem.CopyFile(String sourceFullPath, String destFullPath, Boolean overwrite) at ***.foundation.storage.Storage.StorageHostFullPathFilesystem.FileCopy(String fromPath, String toPath) in /home/runner/work/***/***/***/***.foundation.storage/Storage/StorageHostFullPathFilesystem.cs:line 379 at ***.foundation.writemeta.Services.ExifToolDownload.DownloadForUnix(String matchExifToolForUnixName, IEnumerable`1 getChecksumsFromTextFile, Boolean downloadFromMirror) in /home/runner/work/***/***/***/***.foundation.writemeta/Services/ExifToolDownload.cs:line 222 at ***.foundation.writemeta.Services.ExifToolDownload.StartDownloadForUnix() in /home/runner/work/***/***/***/***.foundation.writemeta/Services/ExifToolDownload.cs:line 148 at ***test.***.foundation.writemeta.Helpers.ExifToolDownloadTest.StartDownloadForUnix_2Times() in /home/runner/work/***/***/***/***test/***.foundation.writemeta/Helpers/ExifToolDownloadTest.cs:line 493 "
build
Target "SonarBuildTest" has thrown an exception
build
Process completed with exit code 255.
build
/home/runner/work/***/***/***/build/Build.cs(236,3): warning S6664: Reduce the number of Information logging calls within this code block from 11 to the 2 allowed. (https://rules.sonarsource.com/csharp/RSPEC-6664) [/home/runner/work/***/***/***/build/_build.csproj]
build
/home/runner/work/***/***/***/build/helpers/TrxParserHelper.cs(75,4): warning S6664: Reduce the number of Error logging calls within this code block from 3 to the 1 allowed. (https://rules.sonarsource.com/csharp/RSPEC-6664) [/home/runner/work/***/***/***/build/_build.csproj]
build
/home/runner/work/***/***/***/build/helpers/SonarQube.cs(55,4): warning S6664: Reduce the number of Information logging calls within this code block from 3 to the 2 allowed. (https://rules.sonarsource.com/csharp/RSPEC-6664) [/home/runner/work/***/***/***/build/_build.csproj]
build
/home/runner/work/***/***/***/build/helpers/SonarQube.cs(108,5): warning S6664: Reduce the number of Warning logging calls within this code block from 2 to the 1 allowed. (https://rules.sonarsource.com/csharp/RSPEC-6664) [/home/runner/work/***/***/***/build/_build.csproj]
build
/home/runner/work/***/***/***/build/helpers/DotnetGenericHelper.cs(69,4): warning S6664: Reduce the number of Information logging calls within this code block from 3 to the 2 allowed. (https://rules.sonarsource.com/csharp/RSPEC-6664) [/home/runner/work/***/***/***/build/_build.csproj]
build
/home/runner/work/***/***/***/build/helpers/DotnetGenericHelper.cs(89,5): warning S6664: Reduce the number of Information logging calls within this code block from 3 to the 2 allowed. (https://rules.sonarsource.com/csharp/RSPEC-6664) [/home/runner/work/***/***/***/build/_build.csproj]
build
/home/runner/work/***/***/***/build/helpers/DotnetTestHelper.cs(39,5): warning S6664: Reduce the number of Information logging calls within this code block from 4 to the 2 allowed. (https://rules.sonarsource.com/csharp/RSPEC-6664) [/home/runner/work/***/***/***/build/_build.csproj]
build
/home/runner/work/***/***/***/***.foundation.http/Services/HttpClientHelper.cs(13,1): warning IDE0005: Using directive is unnecessary. (https://learn.microsoft.com/dotnet/fundamentals/code-analysis/style-rules/ide0005) [/home/runner/work/***/***/***/***.foundation.http/***.foundation.http.csproj]
build
/home/runner/work/***/***/***/***.foundation.writemeta/Services/ExifToolDownload.cs(164,5): warning S1192: Define a constant instead of using this literal 'exiftool-unix' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [/home/runner/work/***/***/***/***.foundation.writemeta/***.foundation.writemeta.csproj]
build
/home/runner/work/***/***/***/***.foundation.writemeta/Services/ExifToolDownload.cs(219,9): warning S1481: Remove the unused local variable 'exifToolUnixFolderFullFilePath'. (https://rules.sonarsource.com/csharp/RSPEC-1481) [/home/runner/work/***/***/***/***.foundation.writemeta/***.foundation.writemeta.csproj]