Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wasm] SimpleSourceChangeRebuildTest.SimpleStringChangeInSource - Long running test error, cannot access file used by another process #83752

Closed
carlossanlop opened this issue Mar 21, 2023 · 4 comments
Assignees
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Mar 21, 2023

Affected the main PR that bumped the pre-release version number to preview4: #83691

A couple of failure examples:


Output 1 "using .webcil" (expand)
==============================================================================================
=============== Running with Workloads ===============
=============== Using .webcil ===============
==============================================================================================

  Discovered:  Wasm.Build.Tests (found 1 of 87 test case)
  Starting:    Wasm.Build.Tests (parallel test collections = off, max threads = 2)
   Wasm.Build.Tests: Using random seed for test cases: 1490545817
   Wasm.Build.Tests: Using random seed for collections: 1490545817
    Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = False, ProjectFileContents = placeholder, ExtraBuildArgs =  }, nativeRelink: True, invariant: False, host: Chrome, id: "bqsjzk2n.oya") [STARTING]
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:02:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:04:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:06:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:08:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:10:01
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:12:02
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:14:02
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:16:03
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:18:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:20:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:22:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:24:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:26:06
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:28:06
Failed to delete 'C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' during test cleanup: System.IO.IOException: The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' because it is being used by another process.
   at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Wasm.Build.Tests.SharedBuildPerTestClassFixture.RemoveDirectory(String path) in /_/src/mono/wasm/Wasm.Build.Tests/Common/SharedBuildPerTestClassFixture.cs:line 56
    Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = False, ProjectFileContents = placeholder, ExtraBuildArgs =  }, nativeRelink: True, invariant: False, host: Chrome, id: "bqsjzk2n.oya") [FAIL]
      System.AggregateException : One or more errors occurred. (One or more errors occurred. (A task was canceled.)) (The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' because it is being used by another process.)
      ---- System.AggregateException : One or more errors occurred. (A task was canceled.)
      -------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
      ---- System.IO.IOException : The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' because it is being used by another process.
      Stack Trace:
        
        ----- Inner Stack Trace #1 (System.AggregateException) -----
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/NativeRebuildTestsBase.cs(50,0): at Wasm.Build.NativeRebuild.Tests.NativeRebuildTestsBase.FirstNativeBuild(String programText, Boolean nativeRelink, Boolean invariant, BuildArgs buildArgs, String id, String extraProperties)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/SimpleSourceChangeRebuildTest.cs(26,0): at Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(BuildArgs buildArgs, Boolean nativeRelink, Boolean invariant, RunHost host, String id)
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
        ----- Inner Stack Trace -----
           at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/NativeRebuildTestsBase.cs(50,0): at Wasm.Build.NativeRebuild.Tests.NativeRebuildTestsBase.FirstNativeBuild(String programText, Boolean nativeRelink, Boolean invariant, BuildArgs buildArgs, String id, String extraProperties)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/SimpleSourceChangeRebuildTest.cs(26,0): at Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(BuildArgs buildArgs, Boolean nativeRelink, Boolean invariant, RunHost host, String id)
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
           at System.Reflection.RuntimeMethodInfo.InvokeWithManyArguments(RuntimeMethodInfo mi, Int32 argCount, Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
        --- End of stack trace from previous location ---
        
        ----- Inner Stack Trace #2 (System.IO.IOException) -----
           at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
           at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
           at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
        /_/src/mono/wasm/Wasm.Build.Tests/Common/SharedBuildPerTestClassFixture.cs(56,0): at Wasm.Build.Tests.SharedBuildPerTestClassFixture.RemoveDirectory(String path)
        /_/src/mono/wasm/Wasm.Build.Tests/Common/SharedBuildPerTestClassFixture.cs(34,0): at Wasm.Build.Tests.SharedBuildPerTestClassFixture.RemoveFromCache(String buildPath, Boolean keepDir)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(1156,0): at Wasm.Build.Tests.BuildTestBase.Dispose()
        /_/src/xunit.execution/Extensions/ReflectionAbstractionExtensions.cs(79,0): at ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource)

Output 2 (expand)
==============================================================================================
=============== Running with Workloads ===============
==============================================================================================

  Discovered:  Wasm.Build.Tests (found 7 of 87 test cases)
  Starting:    Wasm.Build.Tests (parallel test collections = off, max threads = 2)
   Wasm.Build.Tests: Using random seed for test cases: 2107722552
   Wasm.Build.Tests: Using random seed for collections: 2107722552
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Debug") [STARTING]
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Debug") [FINISHED] Time: 38.9024682s
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Release") [STARTING]
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:02:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:04:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:06:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:08:01
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:10:01
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:12:02
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:14:03
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:16:03
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:18:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:20:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:22:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:24:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:26:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:28:06
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:30:06
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Release") [FAIL]
      System.AggregateException : One or more errors occurred. (A task was canceled.)
      ---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
      Stack Trace:
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/WasmTemplateTests.cs(169,0): at Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(String config)
           at InvokeStub_WasmTemplateTests.ConsoleBuildThenPublish(Object, Object, IntPtr*)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
        ----- Inner Stack Trace -----
           at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/WasmTemplateTests.cs(169,0): at Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(String config)
           at InvokeStub_WasmTemplateTests.ConsoleBuildThenPublish(Object, Object, IntPtr*)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
           at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
        --- End of stack trace from previous location ---
        
      Output:
        [] Executing (Captured Output) - C:\helix\work\workitem\e\dotnet-latest\dotnet.exe new wasmconsole  -  in pwd C:\helix\work\workitem\e\wbt\Release_enfmasai.g24
        [] The template "WebAssembly Console App" was created successfully.
        [] 

{
  "ErrorMessage": "'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}

Report

Build Definition Test Pull Request
244013 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #85022
227453 dotnet/runtime Workloads-Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.WorkItemExecution #84304
227381 dotnet/runtime Workloads-Webcil-Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.WorkItemExecution #84170
224391 dotnet/runtime Workloads-Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.WorkItemExecution #84170
219692 dotnet/runtime Workloads-Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.WorkItemExecution #83624
213444 dotnet/runtime Workloads-Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.WorkItemExecution #83705
213286 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83624
213155 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83755
213064 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83750
213101 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource
212928 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource
212615 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83592
212471 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83675
212475 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource
212398 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83673
211706 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83700
212391 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83592
212168 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #81470
212164 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83716
212160 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83715
212350 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83489
212312 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83301
212290 dotnet/runtime Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource #83722

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 1 23
@carlossanlop carlossanlop added arch-wasm WebAssembly architecture os-windows Known Build Error Use this to report build issues in the .NET Helix tab labels Mar 21, 2023
@dotnet-issue-labeler
Copy link

I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.

@ghost ghost added the untriaged New issue has not been triaged by the area owner label Mar 21, 2023
@ghost
Copy link

ghost commented Mar 21, 2023

Tagging subscribers to 'arch-wasm': @lewing
See info in area-owners.md if you want to be subscribed.

Issue Details

Affected the main PR that bumped the pre-release version number to preview4: #83691

A couple of failure examples:


Output 1 "using .webcil" (expand)
==============================================================================================
=============== Running with Workloads ===============
=============== Using .webcil ===============
==============================================================================================

  Discovered:  Wasm.Build.Tests (found 1 of 87 test case)
  Starting:    Wasm.Build.Tests (parallel test collections = off, max threads = 2)
   Wasm.Build.Tests: Using random seed for test cases: 1490545817
   Wasm.Build.Tests: Using random seed for collections: 1490545817
    Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = False, ProjectFileContents = placeholder, ExtraBuildArgs =  }, nativeRelink: True, invariant: False, host: Chrome, id: "bqsjzk2n.oya") [STARTING]
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:02:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:04:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:06:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:08:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:10:01
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:12:02
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:14:02
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:16:03
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:18:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:20:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:22:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:24:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:26:06
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed: 00:28:06
Failed to delete 'C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' during test cleanup: System.IO.IOException: The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' because it is being used by another process.
   at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
   at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
   at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
   at Wasm.Build.Tests.SharedBuildPerTestClassFixture.RemoveDirectory(String path) in /_/src/mono/wasm/Wasm.Build.Tests/Common/SharedBuildPerTestClassFixture.cs:line 56
    Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(buildArgs: BuildArgs { ProjectName = placeholder, Config = Release, AOT = False, ProjectFileContents = placeholder, ExtraBuildArgs =  }, nativeRelink: True, invariant: False, host: Chrome, id: "bqsjzk2n.oya") [FAIL]
      System.AggregateException : One or more errors occurred. (One or more errors occurred. (A task was canceled.)) (The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' because it is being used by another process.)
      ---- System.AggregateException : One or more errors occurred. (A task was canceled.)
      -------- System.Threading.Tasks.TaskCanceledException : A task was canceled.
      ---- System.IO.IOException : The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\bqsjzk2n.oya' because it is being used by another process.
      Stack Trace:
        
        ----- Inner Stack Trace #1 (System.AggregateException) -----
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/NativeRebuildTestsBase.cs(50,0): at Wasm.Build.NativeRebuild.Tests.NativeRebuildTestsBase.FirstNativeBuild(String programText, Boolean nativeRelink, Boolean invariant, BuildArgs buildArgs, String id, String extraProperties)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/SimpleSourceChangeRebuildTest.cs(26,0): at Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(BuildArgs buildArgs, Boolean nativeRelink, Boolean invariant, RunHost host, String id)
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
        ----- Inner Stack Trace -----
           at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/NativeRebuildTestsBase.cs(50,0): at Wasm.Build.NativeRebuild.Tests.NativeRebuildTestsBase.FirstNativeBuild(String programText, Boolean nativeRelink, Boolean invariant, BuildArgs buildArgs, String id, String extraProperties)
        /_/src/mono/wasm/Wasm.Build.Tests/NativeRebuildTests/SimpleSourceChangeRebuildTest.cs(26,0): at Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource(BuildArgs buildArgs, Boolean nativeRelink, Boolean invariant, RunHost host, String id)
           at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
           at System.Reflection.RuntimeMethodInfo.InvokeWithManyArguments(RuntimeMethodInfo mi, Int32 argCount, Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
        --- End of stack trace from previous location ---
        
        ----- Inner Stack Trace #2 (System.IO.IOException) -----
           at System.IO.FileSystem.RemoveDirectoryInternal(String fullPath, Boolean topLevel, Boolean allowDirectoryNotEmpty)
           at System.IO.FileSystem.RemoveDirectoryRecursive(String fullPath, WIN32_FIND_DATA& findData, Boolean topLevel)
           at System.IO.FileSystem.RemoveDirectory(String fullPath, Boolean recursive)
        /_/src/mono/wasm/Wasm.Build.Tests/Common/SharedBuildPerTestClassFixture.cs(56,0): at Wasm.Build.Tests.SharedBuildPerTestClassFixture.RemoveDirectory(String path)
        /_/src/mono/wasm/Wasm.Build.Tests/Common/SharedBuildPerTestClassFixture.cs(34,0): at Wasm.Build.Tests.SharedBuildPerTestClassFixture.RemoveFromCache(String buildPath, Boolean keepDir)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(1156,0): at Wasm.Build.Tests.BuildTestBase.Dispose()
        /_/src/xunit.execution/Extensions/ReflectionAbstractionExtensions.cs(79,0): at ReflectionAbstractionExtensions.DisposeTestClass(ITest test, Object testClass, IMessageBus messageBus, ExecutionTimer timer, CancellationTokenSource cancellationTokenSource)

Output 2 (expand)
==============================================================================================
=============== Running with Workloads ===============
==============================================================================================

  Discovered:  Wasm.Build.Tests (found 7 of 87 test cases)
  Starting:    Wasm.Build.Tests (parallel test collections = off, max threads = 2)
   Wasm.Build.Tests: Using random seed for test cases: 2107722552
   Wasm.Build.Tests: Using random seed for collections: 2107722552
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Debug") [STARTING]
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Debug") [FINISHED] Time: 38.9024682s
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Release") [STARTING]
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:02:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:04:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:06:00
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:08:01
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:10:01
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:12:02
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:14:03
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:16:03
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:18:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:20:04
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:22:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:24:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:26:05
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:28:06
   Wasm.Build.Tests: [Long Running Test] 'Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish', Elapsed: 00:30:06
    Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(config: "Release") [FAIL]
      System.AggregateException : One or more errors occurred. (A task was canceled.)
      ---- System.Threading.Tasks.TaskCanceledException : A task was canceled.
      Stack Trace:
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/WasmTemplateTests.cs(169,0): at Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(String config)
           at InvokeStub_WasmTemplateTests.ConsoleBuildThenPublish(Object, Object, IntPtr*)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
        ----- Inner Stack Trace -----
           at System.Threading.Tasks.Task.GetExceptions(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
           at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
           at System.Threading.Tasks.Task.Wait()
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(994,0): at Wasm.Build.Tests.BuildTestBase.RunProcess(String path, ITestOutputHelper _testOutput, String args, IDictionary`2 envVars, String workingDir, String label, Boolean logToXUnit, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(817,0): at Wasm.Build.Tests.BuildTestBase.AssertBuild(String args, String label, Boolean expectSuccess, IDictionary`2 envVars, Nullable`1 timeoutMs)
        /_/src/mono/wasm/Wasm.Build.Tests/BuildTestBase.cs(431,0): at Wasm.Build.Tests.BuildTestBase.BuildProject(BuildArgs buildArgs, String id, BuildProjectOptions options)
        /_/src/mono/wasm/Wasm.Build.Tests/WasmTemplateTests.cs(169,0): at Wasm.Build.Tests.WasmTemplateTests.ConsoleBuildThenPublish(String config)
           at InvokeStub_WasmTemplateTests.ConsoleBuildThenPublish(Object, Object, IntPtr*)
           at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
           at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
           at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
           at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
        --- End of stack trace from previous location ---
        
      Output:
        [] Executing (Captured Output) - C:\helix\work\workitem\e\dotnet-latest\dotnet.exe new wasmconsole  -  in pwd C:\helix\work\workitem\e\wbt\Release_enfmasai.g24
        [] The template "WebAssembly Console App" was created successfully.
        [] 

{
  "ErrorMessage": "'Wasm.Build.NativeRebuild.Tests.SimpleSourceChangeRebuildTest.SimpleStringChangeInSource', Elapsed",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": false
}
Author: carlossanlop
Assignees: -
Labels:

arch-wasm, os-windows, Known Build Error

Milestone: -

@lewing lewing added this to the 8.0.0 milestone Mar 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Mar 24, 2023
@lewing
Copy link
Member

lewing commented Mar 24, 2023

it's possible this has been resolved with some other changes so lets just see if it shows up again.

@radical
Copy link
Member

radical commented Apr 20, 2023

The last failing build was a month ago, and the logs are not accessible. This hasn't been seen since either (the top one is an unrelated failure). Closing this.

@radical radical closed this as completed Apr 20, 2023
@ghost ghost locked as resolved and limited conversation to collaborators May 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-wasm WebAssembly architecture area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab os-windows
Projects
None yet
Development

No branches or pull requests

5 participants