runtime icon indicating copy to clipboard operation
runtime copied to clipboard

Corefx test hangs but it finishes with sudo

Open sejongoh opened this issue 10 years ago • 5 comments

Configuration: Debug CoreCLR runtime: coreclr.dll, corerun.exe and mscorlib.dll CoreFX assemblies and CoreFX tests: release

Linux environment: Ubuntu 14.04 LTS on Hyper-V

  • run-test.sh hangs after most or a lot of test suites are executed.
  • From top or ps, there is no coreclr process.
  • However, 'sudo run-test.sh ...' doesn't hang.

sejongoh avatar Dec 16 '15 22:12 sejongoh

Are you able to tell if the process is hanging at any particular test (from the console output maybe)?

mellinoe avatar Dec 17 '15 01:12 mellinoe

@sejongoh Is this the same issue as https://github.com/dotnet/corefx/issues/5002? I suspect it might be that Ping test. Ping uses a different codepath if you have elevated privileges, so that may be why it behaves differently using sudo.

mellinoe avatar Dec 17 '15 01:12 mellinoe

This issue might be different from dotnet/runtime#15943 since there is no running coreclr process, but run-test.sh hangs. So, I cannot find any particular test. I will provide the console output.

sejongoh avatar Dec 17 '15 01:12 sejongoh

I cannot reproduce this problem anymore although it consistently hung before trying with sudo. What I did is just to run run-test.sh with sudo. After that, run-test.sh finishes well without sudo.

sejongoh avatar Dec 19 '15 01:12 sejongoh

I believe this was fixed with dotnet/corefx#4983, so I'm closing. If this still repros with that fix, please reopen.

stephentoub avatar Jan 04 '16 17:01 stephentoub