Repository navigation
Windows tool_integration_tests_1_6 flakes on android_plugin_example_app_build_test #98085
Description
Activity
- addedtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
on Feb 9, 2022 /cc @zanderso
Routing to @dcharkes who added the test a couple weeks back. My suggestion for debugging the flake would be to land more debugging output from the
testPluginplugin method in that file. In particular, if a call toprocessManager.runSync()fails, it should print the exit code, stdout, and stderr from the subprocess.This is still happening: https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_1_6/784/overview
@dcharkes ptal.
This time it is the platform-channel-plugin that is failing, not the FFI plugin.
And it is failing in the
flutterinvocation which is not run for the FFI plugins, so my last PR did not add extra prints there.Here's a PR which adds prints to the remaining invocations:
This issue happened twice in the past two days:
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_1_6/2256/overview
https://ci.chromium.org/ui/p/flutter/builders/prod/Windows%20tool_integration_tests_1_6/2271/overviewBumping to P1.
- addedc: flakeTests that sometimes, but not always, incorrectly passTests that sometimes, but not always, incorrectly pass
on Jul 22, 2022 @keyonghan both of those failures seem to be saying that the NDK on the bot is malformed. In one case the zip archive failed to be extracted correctly, and in the other, it was missing a file.
- addedteam-infraOwned by Infrastructure teamOwned by Infrastructure teamand removedtoolAffects the "flutter" command-line tool. See also t: labels.Affects the "flutter" command-line tool. See also t: labels.
on Jul 22, 2022 @keyonghan both of those failures seem to be saying that the NDK on the bot is malformed. In one case the zip archive failed to be extracted correctly, and in the other, it was missing a file.
Thanks @zanderso for the triage.
It is indeed with the bot. Both failures happened on https://chromium-swarm.appspot.com/bot?id=flutter-prod-windows-us-central1-a-11-fv9g, which seemed have caused tests failure across other tests.
I clickedSTOP THE BOT GRACEFULLY, and this bot should not be assigned to any tasks for today. Additionally, all bots will be auto re-provisioned tomorrowOn top of that, the original filed flaky issue is not reproducing.
I will monitor this bot issue a bit before closing.
Closing as this didn't repro.
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of
flutter doctor -vand a minimal reproduction of the issue.- locked as resolved and limited conversation to collaborators
on Aug 10, 2022 - addedP0Critical issues such as a build break or regressionCritical issues such as a build break or regressionand removed
on Jun 28, 2023 I'm seeing this in a try bot: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8765048998182417073/+/u/run_test.dart_for_tool_integration_tests_shard_and_subshard_1_6/test_stdout for the PR: #137878
AGP downloads the NDK (the version it wants) on demand, so maybe some bits fell over on the network? I'm not really sure what to do about this.
(Side note: With the native assets,
--template=package_ffiinstead of--template=plugin_ffi, flutter_tools controls what NDK it uses for native builds: the NDK inside the Android SDK detected by flutter doctor. For our bots that means using the NDK from the CIPD package. So hopefully the new way of doing things will not have these kind of install-via-the-network flakes.)
(part of #97036)
Hit one flake today: