[go: nahoru, domu]

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

Adjust Android emulator test timeouts #51004

Merged
merged 1 commit into from
Feb 27, 2024

Conversation

zanderso
Copy link
Member
@zanderso zanderso commented Feb 27, 2024

This reduces the scenario app test timeout from 30 minutes to 15 minutes (passing runs seem to take about 5 minutes), and limits the scenario app tests from 2 retries to only 1 retry.

These changes will hopefully allow logs collection to be successful when the tests timeout.

.ci.yaml Outdated
@@ -55,6 +55,7 @@ targets:
recipe: engine_v2/engine_v2
properties:
config_name: linux_android_emulator
test_timeout_secs: "5400" # 90 minutes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The test will timeout after at most 60 mins, as the subbuild's execution timeout is 60 mins. And the subbuild's timeout number is consistent with orchestrator's. Where do you see the 90 mins?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

On line 63, timeout: 90.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If this doesn't change the subbuilds execution time, then what does? I don't see any other way to do it.

Copy link
Contributor
@keyonghan keyonghan Feb 27, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My bad using an outdate local config repo (which missed the recent change: #50954)

Subbuild's execution_timeout is not controllable from .ci.yaml side as of now. All subbuilds of different targets are sharing the same Drone builder. We can change it to 90, but it will affect all drone builds. This should work for other targets (whose orchestrator is with 60), the subbuild will be killed anyway after 60 mins, but it may cause confusion where subbuild's timeout is bigger than the orchestrator's.

As in this PR, we are reducing test step timeout from 30 to 15mins, and the retry from 3 to 2, do we still need the 90 timeout for subbuild?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there an issue filed for allowing controlling subbuild execution timeout? That seems like a pretty basic feature, and the existing ci properties lead one to believe that it is controllable.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the test_timeout_secs field.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@zanderso zanderso added the autosubmit Merge PR when tree becomes green via auto submit App label Feb 27, 2024
@zanderso zanderso merged commit 249daf5 into flutter:main Feb 27, 2024
30 checks passed
@zanderso zanderso deleted the android-emulator-timeouts branch February 27, 2024 18:44
auto-submit bot pushed a commit to flutter/flutter that referenced this pull request Feb 28, 2024
2461280c38 Roll Fuchsia Linux SDK from JCdhkDSFXzHyPuP4I... to T1xAi_ww_mWEiDkVN... (flutter/engine#51011)
8940ea0887 Code consistency fixes in FlScrollingManager (flutter/engine#50959)
21474ee4a4 [macOS] Use CVDisplayLink to drive repaint (flutter/engine#49159)
6f7b939568 Fail lazily when 1+ Skia gold comparions fail. (flutter/engine#51010)
249daf5512 Adjust Android emulator test timeouts (flutter/engine#51004)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App
Projects
None yet
4 participants