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

[8.0] File used by another process in Wasm.Build.Tests.Blazor.SimpleRunTests.BlazorBuildAndRunForDifferentOutputPaths #92805

Closed
carlossanlop opened this issue Sep 29, 2023 · 5 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
Milestone

Comments

@carlossanlop
Copy link
Member

carlossanlop commented Sep 29, 2023

Error Blob

{
  "ErrorMessage": "Wasm.Build.Tests.Blazor.SimpleRunTests.BlazorBuildAndRunForDifferentOutputPaths(config: \"Debug\", appendRID: False, useArtifacts: True) [FAIL]",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

    Wasm.Build.Tests.Blazor.SimpleRunTests.BlazorBuildAndRunForDifferentOutputPaths(config: "Debug", appendRID: False, useArtifacts: True) [FAIL]
      System.IO.IOException : The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\Debug_1d5edcc3_j20' because it is being used by another process.
      Stack Trace:
           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(576,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)

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=421749
Error message validated: Wasm.Build.Tests.Blazor.SimpleRunTests.BlazorBuildAndRunForDifferentOutputPaths(config: "Debug", appendRID: False, useArtifacts: True) [FAIL]
Result validation: ❌ Known issue did not match with the provided build.
Validation performed at: 9/29/2023 1:15:06 AM UTC

Report

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0
@carlossanlop carlossanlop added arch-wasm WebAssembly architecture blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' untriaged New issue has not been triaged by the area owner area-VM-meta-mono Known Build Error Use this to report build issues in the .NET Helix tab labels Sep 29, 2023
@ghost
Copy link

ghost commented Sep 29, 2023

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

Issue Details

Error Blob

{
  "ErrorMessage": "Wasm.Build.Tests.Blazor.SimpleRunTests.BlazorBuildAndRunForDifferentOutputPaths(config: "Debug", appendRID: False, useArtifacts: True) [FAIL]",
  "BuildRetry": false,
  "ErrorPattern": "",
  "ExcludeConsoleLog": true
}

Reproduction Steps

    Wasm.Build.Tests.Blazor.SimpleRunTests.BlazorBuildAndRunForDifferentOutputPaths(config: "Debug", appendRID: False, useArtifacts: True) [FAIL]
      System.IO.IOException : The process cannot access the file '\\?\C:\helix\work\workitem\e\wbt\Debug_1d5edcc3_j20' because it is being used by another process.
      Stack Trace:
           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(576,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)
Author: carlossanlop
Assignees: -
Labels:

arch-wasm, blocking-clean-ci, untriaged, area-VM-meta-mono, Known Build Error

Milestone: -

@carlossanlop carlossanlop added Known Build Error Use this to report build issues in the .NET Helix tab and removed Known Build Error Use this to report build issues in the .NET Helix tab labels Sep 29, 2023
@SamMonoRT
Copy link
Member

@radical - please triage, and set milestone accordingly.

@radical radical added this to the 9.0.0 milestone Sep 29, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Sep 29, 2023
@build-analysis build-analysis bot removed this from the 9.0.0 milestone Nov 15, 2023
@ghost ghost added the untriaged New issue has not been triaged by the area owner label Nov 15, 2023
@akoeplinger akoeplinger added this to the 9.0.0 milestone Nov 24, 2023
@ghost ghost removed the untriaged New issue has not been triaged by the area owner label Nov 24, 2023
@jeffschwMSFT jeffschwMSFT removed the blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' label Feb 16, 2024
@jeffschwMSFT
Copy link
Member

removing blocking-clean-ci as it has not been hit in 30 days

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 0 0

@radical radical removed their assignment Feb 27, 2024
@pavelsavara
Copy link
Member

cc @maraf

@maraf maraf self-assigned this Mar 4, 2024
@maraf
Copy link
Member

maraf commented Mar 4, 2024

This looks like a failure after test during clean up

@lewing lewing closed this as completed Apr 24, 2024
@github-actions github-actions bot locked and limited conversation to collaborators May 25, 2024
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
Projects
None yet
Development

No branches or pull requests

8 participants