Open tmds opened 3 weeks ago
It's possible the layout for local builds changed with https://github.com/dotnet/aspnetcore/pull/54084. We only run these tests in Helix today, where we have different conditions for locating the data files like PlatformManifest.txt. Are you able to just skip these tests? What scenario are you running your CI for?
It's possible the layout for local builds changed with https://github.com/dotnet/aspnetcore/pull/54084
I think all the tests were passing when I was working on https://github.com/dotnet/aspnetcore/pull/46600, which was merged Feb 14. The PR you referenced was merged Mar 19. It may have regressed there.
Are you able to just skip these tests? What scenario are you running your CI for?
Our CI runs a very broad set of tests by invoking ./eng/build.sh
with the --test
argument. We run the CI jobs on the different distro that we build .NET distro packages for.
I don't know how to skip these particular tests. Perhaps they can be made to work again to when using the --test
argument, or perhaps they can be excluded (since they are known to fail)?
These tests really only provide value in our CI on Helix - we'd accept a PR to skip them elsewhere by adding this attribute to the failing tests:
[SkipNonHelix("https://github.com/dotnet/aspnetcore/issues/57426")]
When we run the tests in our CI, the following tests fail:
Example test failure:
The tests expect the shared framework files and targeting pack files to have been copied over to the DOTNET_ROOT. That did not happen and leads to DirectoryNotFoundException/FileNotFoundException in the tests.
Our CI runs into the issue while executing all tests (
--test
on theeng/build.sh
script). This is a smaller reproducer:@dougbu @wtgodbe do you know what is missing to have the files copied over to DOTNET_ROOT by the time these tests run?
cc @omajid