-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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/ObjectiveC/ObjectiveCMarshalAPI/ObjectiveCMarshalAPI/ObjectiveCMarshalAPI.sh #53359
Comments
I will take a quick look here and see if anything pops out. /cc @sdmaclea |
I am unable to reproduce this locally. I tried |
They tell me those machines are running macOS 11.3. I have had similar problems reproducing issues locally even when my machine was at 11.3 (it is now 11.5 beta). Jeff suggests using the core dumps from CI... We don't always get those though... |
Okay. I am still unable to reproduce this after running in a loop for 100 iterations. I am trying 1000 next.
Yes, that is the case with the most recent failure - boo. |
Make sure you set the (important) variables used in the CI, especially |
@BruceForstall Yep. I was up to 650 with no issues and then restarted to add the MiniDump variables for the sake of consistency. Still no reproduction with 200 so far. |
I ran this locally on an M1 with the following environment variables with no reproduction. export COMPlus_GCStress=F
export COMPlus_TieredCompilation=0
export COMPlus_DbgEnableMiniDump=1
export COMPlus_DbgMiniDumpName=[ROOT]/runtime/artifacts/tests/coredump.%d.dmp Big Sur 11.4 Please reopen if issue persists. |
Failed again in runtime-coreclr gcstress0x3-gcstress0xc 20210620.1 Failed test:
Error message:
|
@VincentBu I see the same failure for all arm64 but for the x64 the failure is entirely unrelated to the test it would appear – see below. Someone will look into the arm64 failure.
|
Thanks, already edited Historical failures in this comment. |
I have been able to reproduce this locally. This only triggers when |
I've narrowed this down to a single line that can fix the issue:
If I change the above to /cc @jkoritzinsky @elinor-fung Test script#!/bin/bash
export COMPlus_GCStress=0x3
export COMPlus_TieredCompilation=0
export COMPlus_DbgEnableMiniDump=1
export COMPlus_DbgMiniDumpName=/src/runtime/artifacts/tests/coredump.%d.dmp
#export COMPlus_JitDump=Validate_AllocAndFreeAnotherHandle
for i in {1..100}; do
echo $i
/src/runtime/artifacts/tests/coreclr/OSX.arm64.Checked/Tests/Core_Root/corerun ObjectiveCMarshalAPI.dll
# if the return code is not expected, print it and error out.
rc=$?
if [ $rc -ne 100 ]; then
echo Result: $rc
echo Process failed.
exit
fi
done
echo Complete. |
This test failed in a current GCStress0x3 run:
https://dev.azure.com/dnceng/public/_build/results?buildId=1158649&view=ms.vss-test-web.build-test-results-tab&runId=34974862&resultId=101901&paneView=debug
See #52829
The text was updated successfully, but these errors were encountered: