Skip to content

Android microbenchmarks fails intermittently in staging #95366

@keyonghan

Description

@keyonghan

The microbenchmarks test is to be migrated to linux from mac, and is being validated in staging pool.
The test keeps passing in current prod pool when running with mac, but it fails intermittently in staging pool with linux:
https://ci.chromium.org/p/flutter/builders/staging/Linux_android_staging%20microbenchmarks

One example: https://ci.chromium.org/ui/p/flutter/builders/staging/Linux_android_staging%20microbenchmarks/33/overview

[microbenchmarks] [STDOUT] [   +2 ms] executing: /opt/s/w/ir/cache/android/platform-tools/adb start-server
[microbenchmarks] [STDOUT] [   +3 ms] Building APK
[microbenchmarks] [STDOUT] [  +12 ms] Running Gradle task 'assembleProfile'...
[microbenchmarks] [STDOUT] [   +3 ms] Using gradle from /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/dev/benchmarks/microbenchmarks/android/gradlew.
[microbenchmarks] [STDOUT] [  +14 ms] executing: [/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/dev/benchmarks/microbenchmarks/android/] /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/dev/benchmarks/microbenchmarks/android/gradlew -Pverbose=true -Ptarget-platform=android-arm -Ptarget=/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/dev/benchmarks/microbenchmarks/lib/foundation/all_elements_bench.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleProfile
[microbenchmarks] [STDOUT] [   +9 ms] I/flutter (15905): :::JSON::: {"combineSemanticsInfoSyncStar_iteration":92842.0,"combineSemanticsInfoList_iteration":70541.0}
[microbenchmarks] [STDOUT] [        ] I/flutter (15905): ================ FORMATTED ==============
[microbenchmarks] [STDOUT] [        ] I/flutter (15905): combineSemanticsInfoSyncStar: 92842.0 ns per iteration
[microbenchmarks] [STDOUT] [        ] I/flutter (15905): combineSemanticsInfoList: 70541.0 ns per iteration
[microbenchmarks] [STDOUT] "/opt/s/w/ir/cache/android/platform-tools/adb" exit code: -15
[microbenchmarks] [STDOUT] 
[microbenchmarks] [STDOUT] 
[microbenchmarks] [STDOUT] ═══════════╡ ••• Checking running Dart processes after task... ••• ╞════════════
[microbenchmarks] [STDOUT] 
[microbenchmarks] [STDOUT] RunningProcesses{pid: 1367, commandLine: bash /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/flutter run -v --profile --no-publish-port -d ZY223HK9P7 lib/language/sync_star_semantics_bench.dart, creationDate: 2021-12-15 14:47:09.000} was leaked by this test.
[microbenchmarks] [STDOUT] Killed process id 1367.
[microbenchmarks] [STDOUT] RunningProcesses{pid: 1389, commandLine: /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/cache/dart-sdk/bin/dart --disable-dart-dev --packages=/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/packages/flutter_tools/.packages /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/cache/flutter_tools.snapshot run -v --profile --no-publish-port -d ZY223HK9P7 lib/language/sync_star_semantics_bench.dart, creationDate: 2021-12-15 14:47:09.000} was leaked by this test.
[microbenchmarks] [STDOUT] "/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/flutter" exit code: -9
[microbenchmarks] [STDOUT] Killed process id 1389.
[microbenchmarks] [STDOUT] RunningProcesses{pid: 1775, commandLine: bash /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/flutter run -v --profile --no-publish-port -d ZY223HK9P7 lib/foundation/all_elements_bench.dart, creationDate: 2021-12-15 14:47:32.000} was leaked by this test.
[microbenchmarks] [STDOUT] "/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/flutter" exit code: -9
[microbenchmarks] [STDOUT] Killed process id 1775.
[microbenchmarks] [STDOUT] RunningProcesses{pid: 1797, commandLine: /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/cache/dart-sdk/bin/dart --disable-dart-dev --packages=/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/packages/flutter_tools/.packages /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/cache/flutter_tools.snapshot run -v --profile --no-publish-port -d ZY223HK9P7 lib/foundation/all_elements_bench.dart, creationDate: 2021-12-15 14:47:32.000} was leaked by this test.
[microbenchmarks] [STDOUT] Killed process id 1797.
[microbenchmarks] [STDOUT] RunningProcesses{pid: 1867, commandLine: /opt/s/w/ir/cache/java/bin/java -Dorg.gradle.daemon=false -Dorg.gradle.appname=gradlew -classpath /opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/dev/benchmarks/microbenchmarks/android/gradle/wrapper/gradle-wrapper.jar org.gradle.wrapper.GradleWrapperMain -Pverbose=true -Ptarget-platform=android-arm -Ptarget=/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/dev/benchmarks/microbenchmarks/lib/foundation/all_elements_bench.dart -Pbase-application-name=android.app.Application -Pdart-defines=RkxVVFRFUl9XRUJfQVVUT19ERVRFQ1Q9dHJ1ZQ== -Pdart-obfuscation=false -Ptrack-widget-creation=true -Ptree-shake-icons=false -Pfilesystem-scheme=org-dartlang-root assembleProfile, creationDate: 2021-12-15 14:47:33.000} was leaked by this test.
[microbenchmarks] [STDOUT] Killed process id 1867.
[microbenchmarks] [STDOUT] Checking for reboot
"/opt/s/w/ir/x/w/recipe_cleanup/tmpyxy1fdit/flutter sdk/bin/cache/dart-sdk/bin/dart" exit code: 0
Task result:
{
  "success": false,
  "reason": "Task failed: Decoding JSON failed (FormatException: Unexpected end of input (at character 1)\n\n^\n). JSON string was: "
}

Related: #74522

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listplatform-androidAndroid applications specificallyteam-infraOwned by Infrastructure team

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions