Skip to content

fix: Make MockDirectory.Exists behavior with forward slash on Windows consistent with actual file system #1632

fix: Make MockDirectory.Exists behavior with forward slash on Windows consistent with actual file system

fix: Make MockDirectory.Exists behavior with forward slash on Windows consistent with actual file system #1632

Re-run triggered March 8, 2025 13:14
Status Failure
Total duration 3m 59s
Artifacts 4

ci.yml

on: pull_request
Matrix: Unit tests
Static code analysis
2m 34s
Static code analysis
Publish Tests Results
12s
Publish Tests Results
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 10 warnings
Static code analysis
Process completed with exit code 255.
Static code analysis
Target "CodeAnalysisEnd" has thrown an exception
Static code analysis
13:17:24.148 Post-processing failed. Exit code: 1
Static code analysis
The SonarScanner did not complete successfully
Static code analysis
ERROR:
Static code analysis
ERROR: Project not found. Please check the 'sonar.projectKey' and 'sonar.organization' properties, the 'SONAR_TOKEN' environment variable, or contact the project administrator to check the permissions of the user the token belongs to
Static code analysis
ERROR: Error during SonarScanner execution
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(65,17): warning S4136: All 'Dispose' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemWatcherBase.cs(9,23): warning S3881: Fix this implementation of 'IDisposable' to conform to the dispose pattern. (https://rules.sonarsource.com/csharp/RSPEC-3881) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemInfoBase.cs(14,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileSystemBase.cs(7,23): warning S1694: Convert this 'abstract' class to an interface. (https://rules.sonarsource.com/csharp/RSPEC-1694) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/FileInfoWrapper.cs(17,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoWrapper.cs(23,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DriveInfoBase.cs(12,15): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(33,26): warning S4136: All 'Delete' method overloads should be adjacent. (https://rules.sonarsource.com/csharp/RSPEC-4136) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoWrapper.cs(19,12): warning S5766: Make sure not performing data validation after deserialization is safe here. (https://rules.sonarsource.com/csharp/RSPEC-5766) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]
Static code analysis
/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/DirectoryInfoAclExtensions.cs(23,45): warning S1192: Define a constant instead of using this literal 'The directory info does not support ACL extensions' 4 times. (https://rules.sonarsource.com/csharp/RSPEC-1192) [/home/runner/work/System.IO.Abstractions/System.IO.Abstractions/src/TestableIO.System.IO.Abstractions.Wrappers/TestableIO.System.IO.Abstractions.Wrappers.csproj::TargetFramework=netstandard2.0]

Artifacts

Produced during runtime
Name Size Digest
API-tests Expired
2.84 KB
sha256:4c609651250672a678a499641b74308814862695c64bdb048cd2d799fb58dc1a
Linux-artifacts Expired
670 KB
sha256:eda4fa83d1670b197bc08ec13e8ba9d6891da902acfab6e88b706042f6431297
Windows-artifacts Expired
848 KB
sha256:6c1a4293b6290fa4d7d15b08f75bce05b0783ca4bf00814011b07aecd8d5b25e
macOS-artifacts Expired
666 KB
sha256:46da71d0c0c4f70ba67bcc6e3b560f735194a350803c5a7ddb9cfbd6f98b4014