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

Bundle_can_be_renamed_while_running failed in CI #35068

Closed
jaredpar opened this issue Apr 16, 2020 · 18 comments · Fixed by #38014 or #38300
Closed

Bundle_can_be_renamed_while_running failed in CI #35068

jaredpar opened this issue Apr 16, 2020 · 18 comments · Fixed by #38014 or #38300
Labels
area-Single-File blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Milestone

Comments

@jaredpar
Copy link
Member

Console Log Summary

System.ComponentModel.Win32Exception : Text file busy


Stack trace
   at System.Diagnostics.Process.ForkAndExecProcess(String filename, String[] argv, String[] envp, String cwd, Boolean redirectStdin, Boolean redirectStdout, Boolean redirectStderr, Boolean setCredentials, UInt32 userId, UInt32 groupId, UInt32[] groups, Int32& stdinFd, Int32& stdoutFd, Int32& stderrFd, Boolean usesTerminal, Boolean throwOnNoExec)
   at System.Diagnostics.Process.StartCore(ProcessStartInfo startInfo)
   at System.Diagnostics.Process.Start()
   at Microsoft.DotNet.Cli.Build.Framework.Command.Start() in /_/src/installer/test/TestUtils/Command.cs:line 200
   at AppHost.Bundle.Tests.BundleRename.Bundle_can_be_renamed_while_running(Boolean renameFirstRun) in /_/src/installer/test/Microsoft.NET.HostModel.Tests/AppHost.Bundle.Tests/BundleRename.cs:line 36

Builds

Build Pull Request Test Failure Count
#601707 Rolling 1

Configurations

  • Installer-Linux_x64-Release
@jaredpar jaredpar added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' intermittent labels Apr 16, 2020
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added area-Infrastructure untriaged New issue has not been triaged by the area owner labels Apr 16, 2020
@ghost
Copy link

ghost commented Apr 16, 2020

Tagging subscribers to this area: @ViktorHofer
Notify danmosemsft if you want to be subscribed.

@ghost
Copy link

ghost commented Apr 22, 2020

Tagging subscribers to this area: @swaroop-sridhar
Notify danmosemsft if you want to be subscribed.

@safern
Copy link
Member

safern commented May 29, 2020

@swaroop-sridhar I saw this fail yesterday again, is there any update on this issue?

@swaroop-sridhar swaroop-sridhar removed the untriaged New issue has not been triaged by the area owner label May 29, 2020
@swaroop-sridhar swaroop-sridhar added this to the 5.0 milestone May 29, 2020
@swaroop-sridhar
Copy link
Contributor

@safern can you please point me at the recent failure? Was it the same test that failed?
This kind of failure is very intermittent, and occurs on different test.
(ex: #33675).

@safern
Copy link
Member

safern commented May 29, 2020

It was this exact same failure.

Bundle_can_be_renamed_while_running

Console Log Summary

Builds

Build Pull Request Test Failure Count
#662596 #37128 1
#663426 Rolling 1
#664004 #37166 8

Configurations

  • Installer-coreclr-Linux_musl_x64-Release
  • Installer-coreclr-Linux_x64-Release
  • Installer-coreclr-OSX_x64-Release
  • Installer-coreclr-Windows_NT_x64-Release
  • Installer-coreclr-Windows_NT_x86-Debug

@xtqqczze
Copy link
Contributor

xtqqczze commented Jun 3, 2020

Failure in build #670388, PR #37367

@ManickaP
Copy link
Member

ManickaP commented Jun 5, 2020

PR #37441 as well

@swaroop-sridhar
Copy link
Contributor

@janvorli any ideas on how to debug this failure on Linux?

This test is failing non-deterministically once in a while with the Text File Busy exception on Linux. The test is failing on startup -- and looks like a sharing violation error. Even though the failures are mostly on this test, #33675 shows a similar failure on another test.

Thanks.

@ViktorHofer
Copy link
Member

@swaroop-sridhar
Copy link
Contributor

OK I can disable the bundle_can_be_renamed test for now.
But on Linux, the "text file busy" needs investigation because a few other tests failed on it.

@ViktorHofer
Copy link
Member

Yes please do that. We usually create a tracking issue for such issues to investigate and link to it from the failing test.

@safern
Copy link
Member

safern commented Jun 17, 2020

@swaroop-sridhar
Copy link
Contributor

@safern @ViktorHofer here's the PR to disable the test: #38014

swaroop-sridhar added a commit to swaroop-sridhar/runtime that referenced this issue Jun 17, 2020
This test is randomly failing in the lab: dotnet#35068
Therefore skip this test until the underlying problem is resolved.
Enabling the test is tracked by dotnet#38013

Fixes dotnet#35068.
@ghost ghost closed this as completed in #38014 Jun 17, 2020
ghost pushed a commit that referenced this issue Jun 17, 2020
This test is randomly failing in the lab: #35068
Therefore skip this test until the underlying problem is resolved.
Enabling the test is tracked by #38013

Fixes #35068.
@jaredpar
Copy link
Member Author

jaredpar commented Jun 23, 2020

Here are the recent failures.

Builds

Build Pull Request Test Failure Count
#699878 Rolling 1
#700110 #34948 1

Configurations

  • Installer-coreclr-OSX_x64-Release

@safern safern reopened this Jun 23, 2020
@safern
Copy link
Member

safern commented Jun 23, 2020

The test was just re-enabled in: #38143

@swaroop-sridhar
Copy link
Contributor

The test now failed in a different mode.
Previously, the test failed to start, but now it runs to completion but output wasn't captured properly.
Also, the failures so far are Osx release only.

I'll disable the test again and investigate.

swaroop-sridhar added a commit to swaroop-sridhar/runtime that referenced this issue Jun 29, 2020
Disable the test due to non-deterministic failure in the CI.
Enabling tracked by: dotnet#38013

Fixes: dotnet#35068
swaroop-sridhar added a commit that referenced this issue Jun 30, 2020
Disable the test due to non-deterministic failure in the CI.
Enabling tracked by: #38013

Fixes: #35068
@ghost ghost locked as resolved and limited conversation to collaborators Dec 9, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-Single-File blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms'
Projects
None yet
9 participants