runtime: LoadedFiles_NonStaticallyReferencedAssembly fails in CI with NotEmptyException

From https://github.com/dotnet/corefx/pull/28320

OSX.1012.Amd64.Open-x64-Debug https://mc.dot.net/#/user/sputier/pr~2Fjenkins~2Fdotnet~2Fcorefx~2Fmaster~2F/test~2Ffunctional~2Fcli~2F/47503888725962aaad41a7b1384de12938aae16c/workItem/System.ComponentModel.Composition.Tests/analysis/xunit/System.ComponentModel.Composition.DirectoryCatalogTests~2FLoadedFiles_NonStaticallyReferencedAssembly

Unhandled Exception of Type Xunit.Sdk.NotEmptyException
Message :
Assert.NotEmpty() Failure
Stack Trace :
   at System.ComponentModel.Composition.DirectoryCatalogTests.LoadedFiles_NonStaticallyReferencedAssembly() in /Users/dotnet-bot/j/workspace/dotnet_corefx/master/osx-TGroup_netcoreapp+CGroup_Debug+AGroup_x64+TestOuter_false_prtest/src/System.ComponentModel.Composition/tests/System/ComponentModel/Composition/Hosting/DirectoryCatalogTests.cs:line 356

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 17 (17 by maintainers)

Most upvoted comments

This test was just added here: https://github.com/dotnet/corefx/pull/28173/files

@MarcoRossignoli would you mind taking a look?

It seems super flaky, I even tried repro tool and it didn’t repro. I think it has to do with the paths where for some reason it is getting a locked file and not able to load the assembly because of that. So I think moving to 2.2 is fine.

I’ve ran this multiple times on my mac and haven’t been able to repro… also it’s been a week already and we haven’t had any reports of this failing again on CI. I will close it and if we see it again then we can re-open and try to use the repro tool.

I haven’t seen it, and no one has reported it. I will try to repro it locally on my mac, if it doesn’t repro, I’ll close it.