-
Notifications
You must be signed in to change notification settings - Fork 272
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
[maui-scenarios] MAUI scenarios and XHarness versions #4574
Comments
@LoopedBard3 please feel free to link the testing CI runs here so we can help if needed investigating the failures. |
Based on the logs from https://dev.azure.com/dnceng/internal/_build/results?buildId=2590246&view=logs&j=efa3ffcd-91e9-5b69-9db7-650958b3131c&t=a635f724-5afe-5774-89bd-de12fd2d4e6e:
it appears that we are executing XHarness and getting the output successfully. However, I did some experiments in my own branch and it appears that the XHarness command is executed but gets stuck inside performance/scripts/performance/common.py Lines 274 to 302 in 9d4bbf4
My guess is that something changed in XHarness + For reference, dotnet/xharness#782 PR that added Update Reproduction tries with
|
From what I recall last time I tried tracking this down, the only place that it repro'd was when running through helix on the machines. We should still try running as Perf Infra on Windows host regardless. |
Thanks for providing the update and additional info on previous attempts to discover the problem.
to narrow down the problem. |
I did some more modification to the running and it seems that the issue may be something with the STDOUT pipes, as my latest test gets caught with trying to close the stdout after the process has returned. I will give it a shot manually on the helix machine to get a better idea of where this issue may be from. |
I was able to run the same python script that is hitting the hang in the pipeline on the machine manually, and it is able to run past the spot that is hanging when run inside helix. Specifically, when running the More recently (above is from a few days ago but didn't get enough testing to send), I modified the workflow of the testing code for testing with the updates being pushed here: https://github.com/LoopedBard3/performance/tree/UpdateXHarnessAndroidNov2024. With the latest updates (manually closing specific streams, etc.) the DNCENGWIN-063 machine is making it past the hang while DNCENGWIN-065 is not (runs: https://dev.azure.com/dnceng/internal/_build/results?buildId=2598361&view=logs&j=efa3ffcd-91e9-5b69-9db7-650958b3131c&t=a635f724-5afe-5774-89bd-de12fd2d4e6e). Interestingly, it seems that the 063 machine is not printing out that it is starting the adb daemon while the 065 machine is. With this being the case, I am not sure if my recent update actually fixed anything. In the next round of testing, I think I am going to restart the 063 machine, or at least kill the ADB service to see if maybe something in that output is causing the hang. |
I see that I think it is a good idea to try to restart he 063 machine and clean the storage to see if the fix works. |
Description
Problem 1: using an outdated version
MAUI scenarios on Android are using an outdated version of XHarness.
More specifically, the version used in perf jobs is:
performance/eng/performance/maui_scenarios_android.proj
Line 7 in acac700
For reference, the current version of XHarness is:
10.0.0-prerelease.24524.9
Problem 2: using outdated commands
Bumping the version manually will not be the only fix/change for this issue as the code in:
performance/src/scenarios/shared/androidhelper.py
Line 25 in acac700
xharness android state --adb
which is not a supported command anymoreProblem 3: mismatch between referenced xharness versions
MAUI scenarios for iOS are using a different xharness version:
performance/eng/performance/maui_scenarios_ios.proj
Line 6 in acac700
It is recommended to align the xharness references.
NOTE
An additional consideration would be to switch from hardcoding xharness versions to use darc subscriptions instead.
Security
While this currently "works" on CI, any changes to the tools or its references (like adb) will not be available for perf testing.
With that, all recent improvements regarding security/SDL work on XHarness will not be included.
/cc: @vitek-karas
The text was updated successfully, but these errors were encountered: