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: Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd #105210

Closed
v-wenyuxu opened this issue Jul 22, 2024 · 1 comment · Fixed by #105234
Closed

Test failure: Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd #105210

v-wenyuxu opened this issue Jul 22, 2024 · 1 comment · Fixed by #105234
Labels
arch-arm32 area-VM-coreclr blocking-clean-ci-optional Blocking optional rolling runs GCStress os-linux Linux OS (any supported distro)

Comments

@v-wenyuxu
Copy link

Failed in: runtime-coreclr gcstress0x3-gcstress0xc 20240721.1

Failed tests:

coreclr linux arm Checked gcstress0xc @ (Debian.12.Arm32.Open)Ubuntu.2004.ArmArch.Open@mcr.microsoft.com/dotnet-buildtools/prereqs:debian-12-helix-arm32v7
    - Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd

Error message:

 Unhandled exception. System.Exception: TrackerObject should be disconnected prior to finalization
   at ComWrappersTests.Common.ITrackerObjectWrapper.Finalize()
   at System.GC.RunFinalizers()
waitpid() returned successfully (wstatus 00000000) WEXITSTATUS 0 WTERMSIG 0
/root/helix/work/workitem/e/Interop/Interop/../COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.sh: line 441:    59 Aborted                 (core dumped) $LAUNCHER $ExePath "${CLRTestExecutionArguments[@]}"

Return code:      1
Raw output file:      /root/helix/work/workitem/uploads/COM/ComWrappers/API/ComWrappersTests/output.txt
Raw output:
BEGIN EXECUTION
/root/helix/work/correlation/corerun -p System.Reflection.Metadata.MetadataUpdater.IsSupported=false -p System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization=true ComWrappersTests.dll ''
Running ValidateComInterfaceCreation...
Running ValidateComInterfaceCreationRoundTrip...
Running ValidateComInterfaceUnwrapWrapperSpecific...
Running ValidateComObjectExtendsManagedLifetime...
Running ValidateCreatingAComInterfaceForObjectAfterTheFirstIsFree...
Running ValidateResurrection...
Running ValidateFallbackQueryInterface...
Running ValidateCreateObjectCachingScenario...
[createdump] Gathering state for process 59 corerun
[createdump] Crashing thread 0040 signal 6 (0006)
[createdump] Writing crash report to file /home/helixbot/dotnetbuild/dumps/coredump.59.dmp.crashreport.json
[createdump] Crash report successfully written
[createdump] Writing minidump with heap to file /home/helixbot/dotnetbuild/dumps/coredump.59.dmp
[createdump] Written 69890048 bytes (17063 pages) to core file
[createdump] Target process is alive
[createdump] Dump successfully written in 150ms
Expected: 100
Actual: 134
END EXECUTION - FAILED
Test failed. Trying to see if dump file was created in /home/helixbot/dotnetbuild/dumps since 7/21/2024 2:33:25 PM
Processing /home/helixbot/dotnetbuild/dumps/coredump.59.dmp.crashreport.json
Printing stacktrace from '/home/helixbot/dotnetbuild/dumps/coredump.59.dmp.crashreport.json'
Invoking llvm-symbolizer --pretty-print
Stack trace:
----------------------------------
Thread Id: 0x3b
      Child SP               IP Call Site
 0xfff1f068 0xf7b97614 libc.so.6!
 0xfff1f070 0xf7bd347e libc.so.6!
 0xfff1f0a8 0xf7bd355c libc.so.6!
 0xfff1f0b8 0xf7bd570a libc.so.6!pthread_cond_wait
 0xfff1f138 0xf7a837e0 libcoreclr.so!CorUnix::CPalSynchronizationManager::ThreadNativeWait(CorUnix::_ThreadNativeWaitData*, unsigned int, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:489:17
 0xfff1f198 0xf7a82ef0 libcoreclr.so!CorUnix::CPalSynchronizationManager::BlockThread(CorUnix::CPalThread*, unsigned int, bool, bool, CorUnix::ThreadWakeupReason*, unsigned int*) at /__w/1/s/src/coreclr/pal/src/synchmgr/synchmanager.cpp:0:0
 0xfff1f1e8 0xf7a8a6d6 libcoreclr.so!CorUnix::InternalWaitForMultipleObjectsEx(CorUnix::CPalThread*, unsigned int, void* const*, int, unsigned int, int, int) at /__w/1/s/src/coreclr/pal/src/synchmgr/wait.cpp:0:45
 0xfff1f2d0 0xf7a8af40 libcoreclr.so!WaitForMultipleObjectsEx at /__w/1/s/src/coreclr/pal/src/synchmgr/wait.cpp:204:5
 0xfff1f318 0xf7733cd4 libcoreclr.so!Thread::DoAppropriateWaitWorker(int, void**, int, unsigned int, WaitMode, void*) at /__w/1/s/src/coreclr/vm/threads.cpp:0:12
 0xfff1f3a8 0xf772e432 libcoreclr.so!Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode, PendingSync*)::$_0::operator()(Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode, PendingSync*)::__EEParam*) const at /__w/1/s/src/coreclr/vm/threads.cpp:3040:23
 (inlined by) Thread::DoAppropriateWait(int, void**, int, unsigned int, WaitMode, PendingSync*) at /__w/1/s/src/coreclr/vm/threads.cpp:3055:5
 0xfff1f420 0xf7846a6c libcoreclr.so!CLREventBase::WaitEx(unsigned int, WaitMode, PendingSync*) at /__w/1/s/src/coreclr/vm/synch.cpp:0:30
 0xfff1f480 0xf77b1c08 libcoreclr.so!FinalizerThread::FinalizerThreadWait() at /__w/1/s/src/coreclr

Stack trace:

   at Xunit.Assert.True(Nullable`1 condition, String userMessage) in /_/src/Microsoft.DotNet.XUnitAssert/src/BooleanAsserts.cs:line 146
   at TestLibrary.OutOfProcessTest.RunOutOfProcessTest(String assemblyPath, String testPathPrefix)
   at Program.<<Main>$>g__TestExecutor203|25_204(StreamWriter tempLogSw, StreamWriter statsCsvSw, <>c__DisplayClass25_0&)
Queued Pipeline Pipeline_Configuration OS Arch Test Outcome Properties BuildReason
2024-07-21T07:28:35.007Z runtime-coreclr crossgen2-composite gcstress Checked-gcstress0xc_disabler2r_jitstress2 windows.11.arm64.open arm64 Interop/COM/ComWrappers/API/ComWrappersTests/ComWrappersTests.cmd Failed {"System.PhaseName":"run_test_p1_Composite_windows_arm64_checked","Reason":"Schedule","configuration":"Checked-gcstress0xc_disabler2r_jitstress2","BuildNumber":"20240720.1","BuildId":"749113","architecture":"arm64","System.JobAttempt":"1","operatingSystem":"Windows.11.Arm64.Open","Project":"public","System.StageAttempt":"1","DefinitionName":"runtime-coreclr crossgen2-composite gcstress","AzurePipelinesTestRunId":"18952478","System.StageName":"Build","CollectionUri":"https://dev.azure.com/dnceng-public/","System.PhaseAttempt":"1","DefinitionId":"141","System.JobId":"c55e12b8-4209-535c-d94d-51b07fc6ab63","System.JobName":"__default"} Schedule
@v-wenyuxu v-wenyuxu added arch-arm32 os-linux Linux OS (any supported distro) GCStress blocking-clean-ci-optional Blocking optional rolling runs labels Jul 22, 2024
@dotnet-policy-service dotnet-policy-service bot added the untriaged New issue has not been triaged by the area owner label Jul 22, 2024
Copy link
Contributor

Tagging subscribers to this area: @mangod9
See info in area-owners.md if you want to be subscribed.

@dotnet-policy-service dotnet-policy-service bot removed the untriaged New issue has not been triaged by the area owner label Jul 22, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
arch-arm32 area-VM-coreclr blocking-clean-ci-optional Blocking optional rolling runs GCStress os-linux Linux OS (any supported distro)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant