-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Revert "Fix pal tests build on osx-arm64" #82053
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
Conversation
This reverts commit 6e68f56.
|
/azp list |
|
/azp run runtime-coreclr outerloop |
|
Azure Pipelines successfully started running 1 pipeline(s). |
|
/cc @trylek |
|
@am11 All legs appear to be passing here after being reverted. Am I missing something? |
One of two reasons: 1) CI doesn't run PAL tests on osx-arm64 or 2) CI is using Xcode version < 14.2. |
Okay. I run an osx-arm64. I will give it a shot. |
|
The error #81604 (comment) which I was getting while building This |
|
@janvorli yup, I commented here yesterday: #82052 (comment) it's failing on arm{64} and linux-musl (all arch). So yes, it is not failing "everywhere". e.g. linux-x64 is green, but linux-musl-x64 isn't in this run: https://dev.azure.com/dnceng-public/public/_build/results?buildId=169947&view=results (both pipelines executed PAL tests) |
|
@am11 I am looking into why it fails. |
|
I have tried Ubuntu arm64 debug / checked and x64 Alpine debug/checked. I cannot repro the issue (neither the test failure nor the |
|
Neither Release build reproes that for me. For Alpine, I was using the very same container that the CI uses. So I wonder if the fact that I am using the |
|
Ok, so downloading the build artifacts from CI and running the test with them finally reproduced the problem (both the strange message and the error). I keep investigating. |
I would agree with this sentiment. The only scenario I think we need to continue to validate for printf APIs are those involving the "secure" (that is, |
|
This is wrong: 196 processCommandLinePathLength += test_snprintf(&g_processCommandLinePath[processCommandLinePathLength], processCommandLinePathLength, "%s ", "threading/NamedMutex/test1/paltest_namedmutex_test1");The length passed to that is not correct, it should be The funny thing is that the reason why it failed only for the artifacts from the CI and not my local build from the same checkin on the same platform is the path length. I've put the CI artifacts to /home/helixbot/test while my build had them in /home/helixbot/runtime/artifacts/bin/coreclr/linux.x64.Debug/. When I copied my build artifacts to /home/helixbot/test, the issue started to repro too. |
|
Deferring to proposed fix in #82122 |
Checking #82052 regression.
Reverts #81604