Repository navigation
Closed
Labels
Description
I just saw a couple of failures on a PR on iOS, with:
[16:59:08] dbug: 16:59:08.5015570 Xamarin.Hosting: Simulator watchdogs are already disabled for 'iOS 13.5 (17F61) - iPhone X'.
[16:59:08] dbug: 16:59:08.5075460 Xamarin.Hosting: Device 'iOS 13.5 (17F61) - iPhone X' is already booted and the simulator is running.
[16:59:08] dbug: 16:59:08.5182020 Xamarin.Hosting: No need to boot (already booted): iPhone X (iOS 13.5) - created by XHarness
[16:59:08] dbug: 16:59:08.5218370 Xamarin.Hosting: Installing /tmp/helix/working/9F630914/w/A3C008F7/e/Microsoft.Extensions.Configuration.Functional.Tests.app with Bundle Identifier net.dot.Microsoft.Extensions.Configuration.Functional.Tests on 'iOS 13.5 (17F61) - iPhone X'...
[17:28:44] dbug: 17:28:44.9031320 Killing process 14971 as it was cancelled
[17:28:44] dbug: 17:28:44.9088890 Process exited with 137
[17:28:44] dbug: 17:28:44.9095210 Test run failed
[17:28:44] dbug: 17:28:44.9175530 Could not find pid in mtouch output.
[17:28:44] dbug: 17:28:44.9224100 Test run started
[17:28:46] dbug: 17:28:46.0798530 Test run failed to launch
[17:28:46] dbug: 17:28:46.0844090 No crash reports, waiting a second to see if the crash report service just didn't complete in time (4)
[17:28:47] dbug: 17:28:47.2295520 No crash reports, waiting a second to see if the crash report service just didn't complete in time (3)
[17:28:48] dbug: 17:28:48.3149390 No crash reports, waiting a second to see if the crash report service just didn't complete in time (2)
[17:28:49] dbug: 17:28:49.4627860 No crash reports, waiting a second to see if the crash report service just didn't complete in time (1)
[17:28:50] dbug: 17:28:50.5966390 No crash reports, waiting a second to see if the crash report service just didn't complete in time (0)
[17:28:51] fail: Failed to launch the application:
Launch failure
Check logs for more information.
XHarness exit code: 83
+ exit_code=83
#45172
https://dev.azure.com/dnceng/public/_build/results?buildId=898906&view=results
https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-45172-merge-f3086f428107446aa7/Microsoft.Extensions.Configuration.Functional.Tests/console.c96502f5.log?sv=2019-07-07&se=2020-12-15T00%3A55%3A49Z&sr=c&sp=rl&sig=i1uWKdwS6iGhcUW0XoWG5uWfxxQF%2FwXqK6V6beKh6YM%3D
cc: @premun @dotnet/runtime-infrastructure
Activity
Dotnet-GitSync-Bot commentedon Nov 25, 2020
I couldn't figure out the best area label to add to this issue. If you have write-permissions please help me learn by adding exactly one area label.
premun commentedon Nov 25, 2020
Having a look. This happened before when the MacOS sometimes slows down and I was waiting for this to prepare a final fix.
Usually it's tied to a specific machine, so I will take them offline to unblock runtime and prepare the fix.
premun commentedon Nov 25, 2020
@safern I took these machines offline:
dci-mac-build-133dci-mac-build-136dci-mac-build-146The rest looked healthy from a quick Kusto search.
I will add work item retry + machine reboot for these cases and that should resolve this for good.
radical commentedon Dec 9, 2020
Another instance of this, IIUC, on #45839:
https://dnceng.visualstudio.com/public/_build/results?buildId=914235&view=logs&j=8580ecfb-912a-5dbd-35ce-e64d0d51ddbf&t=ebd4788e-80c8-5104-29f3-a1792da138c8
console: https://helixre107v0xdeko0k025g8.blob.core.windows.net/dotnet-runtime-refs-pull-45839-merge-13b48d1686ba4343b7/Microsoft.Bcl.AsyncInterfaces.Tests/console.fa2f6cc5.log?sv=2019-07-07&se=2020-12-29T16%3A46%3A22Z&sr=c&sp=rl&sig=tn4cgwt0brU45SKlzBlHEbsrbDNIhpZNsqrQkidt7Ss%3D
This is for
Microsoft.Bcl.AsyncInterfaces.Tests. Also, I see an extra message before the process gets killed (2nd line):radical commentedon Dec 9, 2020
And two more library test runs fail with the same issue, on the PR #45839 from the last comment:
System.Data.Odbc.Tests, and System.Runtime.Serialization.Json.ReflectionOnly.Tests.
steveisok commentedon Dec 9, 2020
dci-mac-build-133, dci-mac-build-145, and dci-mac-build-068.local are the 3 machines that have any badexits in the last 24 hours.
premun commentedon Dec 10, 2020
We have a fix in Arcade that was supposed to retry the test on another machine in this case and reboot the machine.
However, the fix seems to have failed:
I disabled the machines and will have a look at the retry
ViktorHofer commentedon Dec 10, 2020
Happened again in https://dev.azure.com/dnceng/public/_build/results?buildId=915078&view=ms.vss-test-web.build-test-results-tab&runId=29120420&resultId=142002&paneView=attachments
Forward PYTHONPATH to XHarness iOS script (#6675)
30 remaining items
steveisok commentedon Dec 23, 2020
Fine by me. Thanks for validating.
safern commentedon Dec 23, 2020
Is there something we can do to improve this? The building the tests on iOS takes a while, right?
premun commentedon Dec 30, 2020
We are building one iOS app at a time (times 160 or how many these days) so I can imagine we could parallelize this but I guess a question for @akoeplinger
akoeplinger commentedon Dec 30, 2020
Building the tests in parallel is one option but to get build time really down we need to pack multiple test assemblies in one or at least a few iOS app(s).
We've talked about this in the past but I'm not 100% sure how much work it'd be in the libraries tests build, we'd need to have a step that runs after the normal tests build that can take a subset of the tests and package them into an iOS app and we'd pick the entrypoint assembly when we start the app via xharness like we already do for the runtime tests.
safern commentedon Jan 5, 2021
reopened as we need to track this getting back from runtime-staging into the main pipeline.
premun commentedon Jan 14, 2021
Fix for the exit code detection was merged yesterday and runtime has the new version since this morning.
Let's give it a couple of days but iOS leg should be stable now, so let's see.
premun commentedon Jan 18, 2021
Looks like if the issue for which we're doing retry+reboot happens for
ios runinstead ofios testtogether with--expecited-exit-code, we don't get back the right return code and the retry+reboot won't happen. So this needs to be fixed as it happened at least once since the latest fix.ViktorHofer commentedon Feb 23, 2021
@premun what's the current status on this? Unsure what the remaining work this issue is tracking for xHarness.
premun commentedon Feb 23, 2021
@ViktorHofer the pipeline has been green for a long time then it wasn't but not because of infrastructure issues but because of actual failing tests. I believe those were fixed and moving the pipeline back to the official build was just the matter if we want to and it would bring us value at the moment or we don't care about the platform enough yet. But infrastracture-wise, I don't know about any issues now.
Moving it back is totally up to @steveisok and we discuss it on our regular syncs. However, I am not monitoring it at the moment because I don't believe we reached a decision to move it back.
ViktorHofer commentedon Feb 23, 2021
Sounds to me like we can close the issue then.
@steveisok would it make sense to open new issues to track the platforms that should run as part of the main runtime pipeline instead of in runtime-staging?
steveisok commentedon Feb 23, 2021
Yes, however, they are on hold to move to the main runtime until we have more resiliency options.