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

Microsoft.Extensions.Caching.Memory.Tests hanging in Mono after test execution finishes #35970

Open
jaredpar opened this issue May 7, 2020 · 12 comments
Labels
area-Infrastructure-mono disabled-test The test is disabled in source code against the issue
Milestone

Comments

@jaredpar
Copy link
Member

jaredpar commented May 7, 2020

Builds

Build Pull Request Test Failure Count
#629156 Rolling 1
#629314 Rolling 1
#629997 Rolling 1
#631423 Rolling 1
#632868 Rolling 1
#632967 Rolling 1
#633095 Rolling 1
#634699 Rolling 1

Configurations

  • net5.0-Windows_NT-Release-x64-Mono_release-Windows.81.Amd64.Open
  • netcoreapp5.0-Windows_NT-Release-x64-Mono_release-Windows.10.Amd64.Server19H1.Open
  • netcoreapp5.0-Windows_NT-Release-x64-Mono_release-Windows.10.Amd64.ServerRS5.Open
  • netcoreapp5.0-Windows_NT-Release-x64-Mono_release-Windows.81.Amd64.Open

Helix Logs

Build Pull Request Console Core Test Results Run Client
#629156 Rolling console.log run_client.py
#629314 Rolling console.log run_client.py
#629997 Rolling console.log run_client.py
#631423 Rolling console.log run_client.py
#632868 Rolling console.log run_client.py
#632967 Rolling console.log run_client.py
#633095 Rolling console.log run_client.py
#634699 Rolling console.log run_client.py
@jaredpar jaredpar added blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' area-Infrastructure-mono labels May 7, 2020
@ghost
Copy link

ghost commented May 7, 2020

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

@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label May 7, 2020
@jaredpar
Copy link
Member Author

jaredpar commented May 7, 2020

@steveisok @akoeplinger FYI

@akoeplinger
Copy link
Member

@jaredpar all of the libicui18n.so.50: cannot open shared object file: No such file or directory errors are happening on a single PR, which is working on integrating the ICU shim so those failures are "expected" with the current state of the PR: #35790

The remaining two errors look like hangs since test execution seems to finish: https://helix.dot.net/api/2019-06-17/jobs/cfe744d2-90d6-4002-9304-aa45ea40efd0/workitems/Microsoft.Extensions.Caching.Memory.Tests/files/console.85791f98.log

We should remove the icu failures from this issue.

@safern
Copy link
Member

safern commented May 7, 2020

Yeah, the icu failures are related to the changes of that PR, I confirmed it with @thaystg. We should definitely remove it from here.

The other 2 failures seem like a weird issue as the tests did finish, maybe loop in @MattGal here see if he has any insight there as xunit did finish.

@MattGal
Copy link
Member

MattGal commented May 7, 2020

Taking a look.

@MattGal
Copy link
Member

MattGal commented May 7, 2020

It's a timeout - from the log and where it stops, it looks like the xunit call never actually returns, otherwise it'd have various other things logged.

@safern
Copy link
Member

safern commented May 7, 2020

So it seems like the test is barely finishing before the timeout but there is no timeout for the reporting steps, right?

@safern
Copy link
Member

safern commented May 7, 2020

But XUnit reports that the test finished in 20s which is very weird.

@safern safern changed the title Microsoft.Extensions.Caching.Memory.Tests failing on Mono Microsoft.Extensions.Caching.Memory.Tests hanging in Mono after test execution finishes May 7, 2020
@MattGal
Copy link
Member

MattGal commented May 7, 2020

All that means here is that you made it to the point of writing that to the console. Something ... whether it be an infinite loop in a finalizer, a dialog that pops up that DHandler doesn't know how to click, or otherwise... is preventing that Xunit invocation from finishing.

@safern
Copy link
Member

safern commented May 7, 2020

Updated the issue description, it seems like from 50 builds it has happened a lot more times than just 2.

All that means here is that you made it to the point of writing that to the console. Something ... whether it be an infinite loop in a finalizer, a dialog that pops up that DHandler doesn't know how to click, or otherwise... is preventing that Xunit invocation from finishing.

Yeah I just thought about that, @akoeplinger seems like a runtime hang? Seems like it only happens on Windows.

@safern
Copy link
Member

safern commented May 8, 2020

Seeing this too often. So disabling this on: #36083

@akoeplinger
Copy link
Member

akoeplinger commented May 8, 2020

@lateralusX seems to be a Windows only issue, would you mind trying to repro?

@safern safern added disabled-test The test is disabled in source code against the issue and removed blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' labels May 8, 2020
@steveisok steveisok removed the untriaged New issue has not been triaged by the area owner label Jul 8, 2020
@directhex directhex added this to the 6.0.0 milestone Jul 8, 2020
@steveisok steveisok modified the milestones: 6.0.0, Future Aug 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Infrastructure-mono disabled-test The test is disabled in source code against the issue
Projects
None yet
Development

No branches or pull requests

7 participants