[WIP] Improve File.Copy
by using the block copy operation for ReFS on Windows
#88695
Build Analysis / Build Analysis
failed
Jul 14, 2023 in 0s
.NET Result Analysis
Details
Known Repository Errors
Build Failures
runtime / Build / linux-arm64 Release NativeAOT_Libraries / Build product
[:construction: Report infrastructure issue] [:page_facing_up: Report repository issue]-
❌src/libraries/Common/src/Interop/Windows/Kernel32/Interop.FILE_SET_SPARSE_BUFFER.cs(11,22): error CS0246: The type or namespace name 'BOOLEAN' could not be found (are you missing a using directive or an assembly reference?)
runtime / Build / osx-arm64 Release NativeAOT_Libraries / Build product
[:construction: Report infrastructure issue] [:page_facing_up: Report repository issue]-
❌src/libraries/Common/src/Interop/Windows/Kernel32/Interop.FILE_SET_SPARSE_BUFFER.cs(11,22): error CS0246: The type or namespace name 'BOOLEAN' could not be found (are you missing a using directive or an assembly reference?)
runtime / Build / windows-arm64 Release NativeAOT_Libraries / Build product
[:construction: Report infrastructure issue] [:page_facing_up: Report repository issue]-
❌src\libraries\Common\src\Interop\Windows\Kernel32\Interop.FILE_SET_SPARSE_BUFFER.cs(11,30): error CS0649: Field 'Interop.Kernel32.FILE_SET_SPARSE_BUFFER.SetSparse' is never assigned to, and will always have its default value
3 other jobs are failing and were not displayed due to space limitations.
Builds with failures: [runtime]
Known test errors
-
❌System.Tests.TimeZoneInfoTests.TimeZoneDisplayNames_Unix - [7.0] Failed USB connection via port 54050, error 61, in tvOS arm64 Release AllSubsets_Mono
-
❌System.Runtime.Tests.WorkItemExecution - [7.0] Failed USB connection via port 54050, error 61, in tvOS arm64 Release AllSubsets_Mono
Test Failures (3 tests failed)
• [All failing tests from runtime]
❌ Interop.WorkItemExecution [Console] [Details] [Artifacts] [3.68% failure rate]
-
[:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]
- coreclr windows x64 Checked @ Windows.10.Amd64.Open
This is a helix work item crash with status: BadExit. To investigate look the [Console log] / navigate to [Helix Artifacts]
Failing Configuration
❌ Interop\\DllImportAttribute\\DllImportPath\\DllImportPathTest\\DllImportPathTest.cmd [Console] [Details] [Artifacts] [0.18% failure rate]
-
[:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]
- coreclr windows x64 Checked @ Windows.10.Amd64.Open
- Exception Message
Return code: 1 Raw output file: C:\h\w\BC760A41\w\AD0C08FE\uploads\Reports\Interop.DllImportAttribute\DllImportPath\DllImportPathTest\DllImportPathTest.output.txt Raw output: BEGIN EXECUTION call C:\h\w\BC760A41\p\nativeaottest.cmd C:\h\w\BC760A41\w\AD0C08FE\e\Interop\DllImportAttribute\DllImportPath\DllImportPathTest\ DllImportPathTest.dll System.Exception: D at System.IO.FileSystem.TryCloneFile(String, String, Boolean) + 0x13c at System.IO.FileSystem.CopyFile(String, String, Boolean) + 0x2a at System.IO.FileInfo.CopyTo(String, Boolean) + 0x36 at Test.SetupUnicodeTest() + 0xea at Test.Main() + 0x19 Expected: 100 Actual: 101 END EXECUTION - FAILED FAILED Test failed. Trying to see if dump file was created in C:\cores since 7/14/2023 12:43:26 AM Test Harness Exitcode is : 1 To run the test: > set CORE_ROOT=C:\h\w\BC760A41\p > C:\h\w\BC760A41\w\AD0C08FE\e\Interop\DllImportAttribute\DllImportPath\DllImportPathTest\DllImportPathTest.cmd Expected: True Actual: False
- CallStack
at Interop_DllImportAttribute._DllImportPath_DllImportPathTest_DllImportPathTest_._DllImportPath_DllImportPathTest_DllImportPathTest_cmd() in D:\a\_work\1\s\artifacts\tests\coreclr\windows.x64.Checked\TestWrappers\Interop.DllImportAttribute\Interop.DllImportAttribute.XUnitWrapper.cs:line 149 at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
Failing Configuration
❌ Mono.Linker.Tests.TestCases.All.DynamicDependencies [Details] [8.79% failure rate]
-
[:construction: Report test infrastructure issue] [:page_facing_up: Report test repository issue]
- build_linux_x64_checked_CLR_Tools_Tests-xunit_3
- Data Driven SubResults
- Exception Message
System.AggregateException : One or more errors occurred. (Roslyn compilation errors: (196,36): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)\n(197,29): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)\n(25,8): warning CS0169: The field 'DynamicDependencyMethod.B.field' is never used\n(134,19): warning CS0649: Field 'C.field' is never assigned to, and will always have its default value null\n)\n---- System.Exception : Roslyn compilation errors: (196,36): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)\n(197,29): error CS1061: 'Type' does not contain a definition for 'RequiresPublicMethods' and no accessible extension method 'RequiresPublicMethods' accepting a first argument of type 'Type' could be found (are you missing a using directive or an assembly reference?)\n(25,8): warning CS0169: The field 'DynamicDependencyMethod.B.field' is never used\n(134,19): warning CS0649: Field 'C.field' is never assigned to, and will always have its default value null\n
- Stack Trace
at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification) at Mono.Linker.Tests.TestCasesRunner.TestRunner.GetResultOfTaskThatMakesXUnitAssertions[T](Task`1 task) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 152 at Mono.Linker.Tests.TestCasesRunner.TestRunner.Compile(TestCaseSandbox sandbox, TestCaseCompilationMetadataProvider metadataProvider) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 83 at Mono.Linker.Tests.TestCasesRunner.TestRunner.Run(TestCase testCase) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 33 at Mono.Linker.Tests.TestCases.All.Run(String testName) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCases/TestSuites.cs:line 101 at Mono.Linker.Tests.TestCases.All.DynamicDependencies(String t) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCases/TestSuites.cs:line 23 at InvokeStub_All.DynamicDependencies(Object, Object, IntPtr*) at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr) ----- Inner Stack Trace ----- at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssemblyWithRoslyn(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 328 at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssemblyWithDefaultCompiler(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 228 at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileCSharpAssembly(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 405 at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileAssembly(CompilerOptions options) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 217 at Mono.Linker.Tests.TestCasesRunner.TestCaseCompiler.CompileTestIn(NPath outputDirectory, String outputName, IEnumerable`1 sourceFiles, String[] commonReferences, String[] mainAssemblyReferences, IEnumerable`1 defines, NPath[] resources, String[] additionalArguments) in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestCaseCompiler.cs:line 60 at Mono.Linker.Tests.TestCasesRunner.TestRunner.<>c__DisplayClass5_0.<Compile>b__1() in /_/src/coreclr/tools/aot/Mono.Linker.Tests/TestCasesRunner/TestRunner.cs:line 77 at System.Threading.Tasks.Task`1.InnerInvoke() at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) --- End of stack trace from previous location --- at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state) at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
Failing Configuration
-
❌ Mono.Linker.Tests.TestCases.All.DynamicDependencies(t: \"DynamicDependencyMethod\")
Loading