Skip to content

Fix folder cache to reduce flakiness #1358

Fix folder cache to reduce flakiness

Fix folder cache to reduce flakiness #1358

Triggered via pull request November 13, 2024 03:02
Status Failure
Total duration 4m 30s
Artifacts 13

ci.yml

on: pull_request
compute_package_version
4s
compute_package_version
Matrix: build_and_test
check_documentation
36s
check_documentation
create_release
0s
create_release
Fit to window
Zoom out
Zoom in

Annotations

23 errors
Meziantou.Analyzer.Test.Rules.LoggerParameterTypeAnalyzerTests.BeginScope_InvalidParameterType: _/tests/Meziantou.Analyzer.Test/Rules/LoggerParameterTypeAnalyzerTests.cs#L26
System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\Microsoft.CSharp.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.LoggerParameterTypeAnalyzerTests.LogInformation_InvalidParameterType: _/tests/Meziantou.Analyzer.Test/Rules/LoggerParameterTypeAnalyzerTests.cs#L62
System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\Microsoft.Win32.Primitives.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.LoggerParameterTypeAnalyzerTests.DeniedParameterWithoutSemiColon: _/tests/Meziantou.Analyzer.Test/Rules/LoggerParameterTypeAnalyzerTests.cs#L441
System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\Microsoft.Win32.Primitives.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.LoggerParameterTypeAnalyzerTests.Logger_LogInformation_Int32DoesNotAllowNullableInt32: _/tests/Meziantou.Analyzer.Test/Rules/LoggerParameterTypeAnalyzerTests.cs#L350
System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\mscorlib.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.LoggerParameterTypeAnalyzerTests.DeniedParameter: _/tests/Meziantou.Analyzer.Test/Rules/LoggerParameterTypeAnalyzerTests.cs#L421
System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\netstandard.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.DoNotUseUnknownParameterForRazorComponentAnalyzerTests.InvalidParameterInChildContent: _/tests/Meziantou.Analyzer.Test/Rules/DoNotUseUnknownParameterForRazorComponentAnalyzerTests.cs#L259
System.AggregateException : One or more errors occurred. ---- System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\System.Data.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.LoggerParameterTypeAnalyzerTests.Logger_LogTrace_ValidParameterType_NullableGuid: _/tests/Meziantou.Analyzer.Test/Rules/LoggerParameterTypeAnalyzerTests.cs#L241
System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\System.ComponentModel.TypeConverter.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.LoggerParameterTypeAnalyzerTests.Logger_LogTrace_ValidParameterType_StringArray: _/tests/Meziantou.Analyzer.Test/Rules/LoggerParameterTypeAnalyzerTests.cs#L258
System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\System.Data.Common.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.DoNotUseUnknownParameterForRazorComponentAnalyzerTests.ComponentWithCaptureUnmatchedValues_AnyLowercaseParameterIsValid(parameterName: "Param1"): _/tests/Meziantou.Analyzer.Test/Rules/DoNotUseUnknownParameterForRazorComponentAnalyzerTests.cs#L137
System.AggregateException : One or more errors occurred. ---- System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\System.Data.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.DoNotUseUnknownParameterForRazorComponentAnalyzerTests.ComponentWithCaptureUnmatchedValues_AnyLowercaseParameterIsValid(parameterName: "Param2"): _/tests/Meziantou.Analyzer.Test/Rules/DoNotUseUnknownParameterForRazorComponentAnalyzerTests.cs#L137
System.AggregateException : One or more errors occurred. ---- System.IO.IOException : The process cannot access the file 'C:\Users\runneradmin\AppData\Local\Meziantou.AnalyzerTests\ref\A_3hvn_yVsniz4u1CkXUsmMS6iBEkB1aysJq+zJ4_l4=\System.Data.dll' because it is being used by another process.
Meziantou.Analyzer.Test.Rules.UseConfigureAwaitAnalyzerTests.AfterConfigureAwaitFalseInANonAccessibleBranch_ShouldNotReportDiagnostic: _/tests/Meziantou.Analyzer.Test/Rules/UseConfigureAwaitAnalyzerTests.cs#L471
The code doesn't compile. Test0.cs(2,17): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(4,11): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(9,19): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(13,15): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. using System.Threading.Tasks; class MyClass : System.Windows.Window { async Task Test() { bool a = true; if (a) { await Task.Delay(1).ConfigureAwait(false); return; } await Task.Delay(1); } }
Meziantou.Analyzer.Test.Rules.UseConfigureAwaitAnalyzerTests.MissingConfigureAwaitInWpfWindowClass_ShouldNotReportError: _/tests/Meziantou.Analyzer.Test/Rules/UseConfigureAwaitAnalyzerTests.cs#L396
The code doesn't compile. Test0.cs(2,17): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(4,11): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(6,15): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. using System.Threading.Tasks; class MyClass : System.Windows.Window { async Task Test() { await Task.Delay(1); } }
Meziantou.Analyzer.Test.Rules.UseConfigureAwaitAnalyzerTests.AfterConfigureAwaitFalseInNonAccessibleBranch2_ShouldReportDiagnostic: _/tests/Meziantou.Analyzer.Test/Rules/UseConfigureAwaitAnalyzerTests.cs#L496
The code doesn't compile. Test0.cs(2,17): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(4,11): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(9,19): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(13,19): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. using System.Threading.Tasks; class MyClass : System.Windows.Window { async Task Test() { bool a = true; if (a) { await Task.Delay(1).ConfigureAwait(false); } else { await Task.Delay(1); } } }
Meziantou.Analyzer.Test.Rules.UseConfigureAwaitAnalyzerTests.AfterConfigureAwaitFalse_AllAwaitShouldUseConfigureAwait: _/tests/Meziantou.Analyzer.Test/Rules/UseConfigureAwaitAnalyzerTests.cs#L446
The code doesn't compile. Test0.cs(2,17): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(4,11): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(6,15): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(7,15): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. Test0.cs(8,15): error CS0012: The type 'DependencyObject' is defined in an assembly that is not referenced. You must add a reference to assembly 'WindowsBase, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'. using System.Threading.Tasks; class MyClass : System.Windows.Window { async Task Test() { await Task.Delay(1); await Task.Delay(1).ConfigureAwait(false); await Task.Delay(1); } }
Meziantou.Analyzer.Test.Rules.OptimizeLinqUsageAnalyzerUseIndexerTests.Last_Array_CSharp8_IndexNotAvailable: _/tests/Meziantou.Analyzer.Test/Rules/OptimizeLinqUsageAnalyzerUseIndexerTests.cs#L176
The code doesn't compile. Test0.cs(7,13): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. Test0.cs(8,9): error CS0012: The type 'ValueType' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. using System.Linq; class Test { public Test() { var list = new int[5]; _ = list.Last(); list.First(x=> x == 0); } }
build_and_test (windows-latest, Release, roslyn4.8)
Process completed with exit code 1.
Meziantou.Analyzer.Test.Rules.MakeMethodStaticAnalyzerTests_Methods.AspNetCore_Middleware_Convention_Invoke: _/tests/Meziantou.Analyzer.Test/Rules/MakeMethodStaticAnalyzerTests_Methods.cs#L499
The code doesn't compile. Test0.cs(4,28): error CS0234: The type or namespace name 'Http' does not exist in the namespace 'Microsoft.AspNetCore' (are you missing an assembly reference?) Test0.cs(12,24): error CS0246: The type or namespace name 'HttpContext' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(8,29): error CS0246: The type or namespace name 'RequestDelegate' could not be found (are you missing a using directive or an assembly reference?) using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; public class CustomMiddleware { public CustomMiddleware(RequestDelegate next) { } public Task Invoke(HttpContext httpContext) { throw null; } }
Meziantou.Analyzer.Test.Rules.MakeMethodStaticAnalyzerTests_Methods.AspNetCore_Startup: _/tests/Meziantou.Analyzer.Test/Rules/MakeMethodStaticAnalyzerTests_Methods.cs#L474
The code doesn't compile. Test0.cs(4,28): error CS0234: The type or namespace name 'Builder' does not exist in the namespace 'Microsoft.AspNetCore' (are you missing an assembly reference?) Test0.cs(9,35): error CS0246: The type or namespace name 'IServiceCollection' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(13,27): error CS0246: The type or namespace name 'IApplicationBuilder' could not be found (are you missing a using directive or an assembly reference?) using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Builder; using Microsoft.Extensions.DependencyInjection; public class Startup { public void ConfigureServices(IServiceCollection services) { } public void Configure(IApplicationBuilder app) { } }
Meziantou.Analyzer.Test.Rules.MakeMethodStaticAnalyzerTests_Methods.AspNetCore_Middleware_Convention_Interface: _/tests/Meziantou.Analyzer.Test/Rules/MakeMethodStaticAnalyzerTests_Methods.cs#L520
The code doesn't compile. Test0.cs(4,28): error CS0234: The type or namespace name 'Http' does not exist in the namespace 'Microsoft.AspNetCore' (are you missing an assembly reference?) Test0.cs(6,33): error CS0246: The type or namespace name 'IMiddleware' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(8,29): error CS0246: The type or namespace name 'HttpContext' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(8,54): error CS0246: The type or namespace name 'RequestDelegate' could not be found (are you missing a using directive or an assembly reference?) using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; public class CustomMiddleware : IMiddleware { public Task InvokeAsync(HttpContext httpContext, RequestDelegate next) { throw null; } }
Meziantou.Analyzer.Test.Rules.MakeMethodStaticAnalyzerTests_Methods.AspNetCore_Middleware_Convention_ExplicitInterface: _/tests/Meziantou.Analyzer.Test/Rules/MakeMethodStaticAnalyzerTests_Methods.cs#L541
The code doesn't compile. Test0.cs(4,28): error CS0234: The type or namespace name 'Http' does not exist in the namespace 'Microsoft.AspNetCore' (are you missing an assembly reference?) Test0.cs(6,33): error CS0246: The type or namespace name 'IMiddleware' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(8,10): error CS0246: The type or namespace name 'IMiddleware' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(8,34): error CS0246: The type or namespace name 'HttpContext' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(8,59): error CS0246: The type or namespace name 'RequestDelegate' could not be found (are you missing a using directive or an assembly reference?) Test0.cs(8,10): error CS0538: 'IMiddleware' in explicit interface declaration is not an interface using System; using System.Threading.Tasks; using Microsoft.AspNetCore.Http; public class CustomMiddleware : IMiddleware { Task IMiddleware.InvokeAsync(HttpContext httpContext, RequestDelegate next) { throw null; } }
Meziantou.Analyzer.Test.Rules.DoNotUseBlockingCallInAsyncContextAnalyzer_AsyncContextTests.CreateAsyncScope_net5: _/tests/Meziantou.Analyzer.Test/Rules/DoNotUseBlockingCallInAsyncContextAnalyzer_AsyncContextTests.cs#L735
The code doesn't compile. Test0.cs(11,36): error CS1061: 'IServiceProvider' does not contain a definition for 'CreateScope' and no accessible extension method 'CreateScope' accepting a first argument of type 'IServiceProvider' could be found (are you missing a using directive or an assembly reference?) using System; using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; class demo { public async Task a() { IServiceProvider provider = null; using var scope = provider.CreateScope(); } }
Meziantou.Analyzer.Test.Rules.DoNotUseBlockingCallInAsyncContextAnalyzer_AsyncContextTests.DbContext_Add: _/tests/Meziantou.Analyzer.Test/Rules/DoNotUseBlockingCallInAsyncContextAnalyzer_AsyncContextTests.cs#L757
System.AggregateException : One or more errors occurred. (Assert.NotEmpty() Failure: Collection was empty) ---- Assert.NotEmpty() Failure: Collection was empty
build_and_test (windows-latest, Release, roslyn3.8)
Process completed with exit code 1.

Artifacts

Produced during runtime
Name Size
nuget Expired
3.48 MB
test-results-ubuntu-latest-default-Release Expired
823 KB
test-results-ubuntu-latest-roslyn3.8-Release Expired
800 KB
test-results-ubuntu-latest-roslyn4.2-Release Expired
805 KB
test-results-ubuntu-latest-roslyn4.4-Release Expired
810 KB
test-results-ubuntu-latest-roslyn4.6-Release Expired
810 KB
test-results-ubuntu-latest-roslyn4.8-Release Expired
816 KB
test-results-windows-latest-default-Release Expired
1.67 MB
test-results-windows-latest-roslyn3.8-Release Expired
1.63 MB
test-results-windows-latest-roslyn4.2-Release Expired
1.69 MB
test-results-windows-latest-roslyn4.4-Release Expired
1.65 MB
test-results-windows-latest-roslyn4.6-Release Expired
1.65 MB
test-results-windows-latest-roslyn4.8-Release Expired
1.66 MB