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

Test failure: Loader/AssemblyDependencyResolver/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests.sh #34881

Closed
v-haren opened this issue Apr 13, 2020 · 6 comments · Fixed by #34903
Labels
area-Host blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' test-bug Problem in test source code (most likely) untriaged New issue has not been triaged by the area owner

Comments

@v-haren
Copy link

v-haren commented Apr 13, 2020

failed in job: runtime-coreclr outerloop 20200412.3

Error message

Unhandled exception. System.ArgumentNullException: Value cannot be null. (Parameter 't')
at System.Runtime.InteropServices.Marshal.GetDelegateForFunctionPointer(IntPtr ptr, Type t)
at TestLibrary.HostPolicyMock.MockValues_corehost_set_error_writer.get_LastSetErrorWriter() in /__w/1/s/src/coreclr/tests/src/Common/CoreCLRTestLibrary/HostPolicyMock.cs:line 132
at AssemblyDependencyResolverTests.AssemblyDependencyResolverTests.<>c__DisplayClass4_0.<TestComponentLoadFailure>b__0(String componentAssemblyPath) in /__w/1/s/src/coreclr/tests/src/Loader/AssemblyDependencyResolver/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests.cs:line 55
/root/helix/work/workitem/Loader/AssemblyDependencyResolver/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests.sh: line 275: 3758 Aborted $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"
Return code: 1
Raw output file: /root/helix/work/workitem/Loader/AssemblyDependencyResolver/Reports/Loader.AssemblyDependencyResolver/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests.output.txt
Raw output:
BEGIN EXECUTION
in takeLock
Microsoft (R) CoreCLR Native Image Generator - Version 4.5.30319.0
Copyright (c) Microsoft Corporation. All rights reserved.
Native image AssemblyDependencyResolverTests.dll generated successfully.
in ReleaseLock
in takeLock
/root/helix/work/correlation/corerun AssemblyDependencyResolverTests.dll ''
TestComponentLoadFailure Start
Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.3758.dmp
Written 26902528 bytes (6568 pages) to core file
in ReleaseLock
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test Harness Exitcode is : 1
To run the test:
> set CORE_ROOT=/root/helix/work/correlation
> /root/helix/work/workitem/Loader/AssemblyDependencyResolver/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests.sh
Expected: True
Actual: False


Stack trace
   at Loader_AssemblyDependencyResolver._AssemblyDependencyResolverTests_AssemblyDependencyResolverTests_AssemblyDependencyResolverTests_._AssemblyDependencyResolverTests_AssemblyDependencyResolverTests_AssemblyDependencyResolverTests_sh() in /__w/1/s/artifacts/tests/coreclr/Linux.arm64.Checked/TestWrappers/Loader.AssemblyDependencyResolver/Loader.AssemblyDependencyResolver.XUnitWrapper.cs:line 140
@Dotnet-GitSync-Bot Dotnet-GitSync-Bot added the untriaged New issue has not been triaged by the area owner label Apr 13, 2020
@Dotnet-GitSync-Bot
Copy link
Collaborator

I couldn't figure out the best area label to add to this issue. Please help me learn by adding exactly one area label.

@v-haren v-haren changed the title TestF Test failure: Loader/AssemblyDependencyResolver/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests/AssemblyDependencyResolverTests.sh Apr 13, 2020
@jkotas
Copy link
Member

jkotas commented Apr 13, 2020

The test depends on internal implementation details that got changed by #34813

@ghost
Copy link

ghost commented Apr 13, 2020

Tagging @vitek-karas, @swaroop-sridhar as an area owner. If you would like to be tagged for a label, please notify danmosemsft.

@jkotas jkotas added test-bug Problem in test source code (most likely) blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' and removed area-Interop-coreclr labels Apr 13, 2020
@jkotas
Copy link
Member

jkotas commented Apr 13, 2020

@EgorBo Could you please take a look? This test is failing in all CoreCLR jobs.

@jaredpar
Copy link
Member

How was #34813 green given that it broke CI after merge? Did it conflict with a different green PR post merge?

@jkotas
Copy link
Member

jkotas commented Apr 13, 2020

It did not run CoreCLR tests. I do not understand why.

The CoreCLR tests should run for any changes under src/libraries/System.Private.CoreLib : https://github.com/dotnet/runtime/blob/master/eng/pipelines/coreclr/ci.yml#L9
https://github.com/dotnet/runtime/blob/master/eng/pipelines/runtime.yml#L58

@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-Host blocking-clean-ci Blocking PR or rolling runs of 'runtime' or 'runtime-extra-platforms' test-bug Problem in test source code (most likely) untriaged New issue has not been triaged by the area owner
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants