Skip to content

Linux web_tests_4 is 2.00% flaky #99004

Closed

Description

@fluttergithubbot

The post-submit test builder Linux web_tests_4 had a flaky ratio 2.00% for the past (up to) 100 commits, which is above our 2.00% threshold.

One recent flaky example for a same commit: https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20web_tests_4/3729,%203730
Commit: 617de91

Flaky builds:
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20web_tests_4/3730
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20web_tests_4/3729
https://ci.chromium.org/ui/p/flutter/builders/prod/Linux%20web_tests_4/3721

Recent test runs:
https://flutter-dashboard.appspot.com/#/build?taskFilter=Linux%20web_tests_4

Please follow https://github.com/flutter/flutter/wiki/Reducing-Test-Flakiness#fixing-flaky-tests to fix the flakiness and enable the test back after validating the fix (internal dashboard to validate: go/flutter_test_flakiness).

Activity

  1. keyonghan commented on Mar 1, 2022

    @keyonghan
    Contributor

    Hit below error on both test/material/text_form_field_restoration_test.dart: State Restoration (No Form ancestor) - validator sets the error text only when validate is called and test/widgets/unique_widget_test.dart: Unique widget control test

    ===== CRASH =====
    si_signo=Segmentation fault(11), si_code=1, si_addr=0xa7
    version=2.17.0-125.0.dev (dev) (Fri Feb 18 14:45:02 2022 -0800) on "linux_x64"
    pid=17437, thread=17500, isolate_group=main(0x5627ece79000), isolate=main(0x5627ece7a800)
    isolate_instructions=5627ea708360, vm_instructions=5627ea708360
      pc 0x00005627ea901133 fp 0x00007ff191ffe1d0 dart::Class::EnsureIsFinalized(dart::Thread*) const+0x13
      pc 0x00005627ea9c562f fp 0x00007ff191ffe230 dart::PatchableCallHandler::ResolveTargetFunction(dart::Object const&)+0x16f
      pc 0x00005627ea9c5740 fp 0x00007ff191ffe2a0 dart::PatchableCallHandler::ResolveSwitchAndReturn(dart::Object const&)+0x20
      pc 0x00005627ea9c6379 fp 0x00007ff191ffe4c0 dart::DRT_SwitchableCallMiss(dart::NativeArguments)+0x2d9
      pc 0x00007ff1927025d3 fp 0x00007ff191ffe500 Unknown symbol
      pc 0x00007ff192702ade fp 0x00007ff191ffe540 Unknown symbol
      pc 0x00007ff187d70fec fp 0x00007ff191ffe590 Unknown symbol
    
  2. yjbanov commented on Mar 2, 2022

    @yjbanov
    Contributor

    Web code doesn't run on the Dart VM but in the JavaScript VM. This is Flutter Tool crashing with a segfault.

    The command that crashes:

    "$DART" --disable-dart-dev --packages="$FLUTTER_TOOLS_DIR/.packages" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
    

    Full segfault stack trace:

    ===== CRASH =====
    si_signo=Segmentation fault(11), si_code=1, si_addr=0xa7
    version=2.17.0-125.0.dev (dev) (Fri Feb 18 14:45:02 2022 -0800) on "linux_x64"
    pid=17437, thread=17500, isolate_group=main(0x5627ece79000), isolate=main(0x5627ece7a800)
    isolate_instructions=5627ea708360, vm_instructions=5627ea708360
      pc 0x00005627ea901133 fp 0x00007ff191ffe1d0 dart::Class::EnsureIsFinalized(dart::Thread*) const+0x13
      pc 0x00005627ea9c562f fp 0x00007ff191ffe230 dart::PatchableCallHandler::ResolveTargetFunction(dart::Object const&)+0x16f
      pc 0x00005627ea9c5740 fp 0x00007ff191ffe2a0 dart::PatchableCallHandler::ResolveSwitchAndReturn(dart::Object const&)+0x20
      pc 0x00005627ea9c6379 fp 0x00007ff191ffe4c0 dart::DRT_SwitchableCallMiss(dart::NativeArguments)+0x2d9
      pc 0x00007ff1927025d3 fp 0x00007ff191ffe500 Unknown symbol
      pc 0x00007ff192702ade fp 0x00007ff191ffe540 Unknown symbol
      pc 0x00007ff187d70fec fp 0x00007ff191ffe590 Unknown symbol
      pc 0x00007ff18c80d0e4 fp 0x00007ff191ffe618 Unknown symbol
      pc 0x00007ff18c80e99b fp 0x00007ff191ffe668 Unknown symbol
      pc 0x00007ff18c80d760 fp 0x00007ff191ffe718 Unknown symbol
      pc 0x00007ff18c80f926 fp 0x00007ff191ffe750 Unknown symbol
      pc 0x00007ff18c80d087 fp 0x00007ff191ffe7d8 Unknown symbol
      pc 0x00007ff18c80e99b fp 0x00007ff191ffe828 Unknown symbol
      pc 0x00007ff18c80d760 fp 0x00007ff191ffe8d8 Unknown symbol
      pc 0x00007ff18c80f926 fp 0x00007ff191ffe910 Unknown symbol
      pc 0x00007ff18c81e224 fp 0x00007ff191ffe978 Unknown symbol
      pc 0x00007ff18c8186d3 fp 0x00007ff191ffe9a0 Unknown symbol
      pc 0x00007ff18c819cc0 fp 0x00007ff191ffe9e0 Unknown symbol
      pc 0x00007ff192702a1f fp 0x00007ff191ffea58 Unknown symbol
      pc 0x00005627ea886f6d fp 0x00007ff191ffeb00 dart::DartEntry::InvokeCode(dart::Code const&, unsigned long, dart::Array const&, dart::Array const&, dart::Thread*)+0x14d
      pc 0x00005627ea886dac fp 0x00007ff191ffeb60 dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)+0x14c
      pc 0x00005627ea8891af fp 0x00007ff191ffebb0 dart::DartLibraryCalls::HandleMessage(long, dart::Instance const&)+0x16f
      pc 0x00005627ea8b0935 fp 0x00007ff191ffec90 dart::IsolateMessageHandler::HandleMessage(std::__2::unique_ptr<dart::Message, std::__2::default_delete<dart::Message> >)+0x375
      pc 0x00005627ea8d9e1c fp 0x00007ff191ffed00 dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)+0x14c
      pc 0x00005627ea8da51f fp 0x00007ff191ffed50 dart::MessageHandler::TaskCallback()+0x1df
      pc 0x00005627ea9fbe28 fp 0x00007ff191ffede0 dart::ThreadPool::WorkerLoop(dart::ThreadPool::Worker*)+0x138
      pc 0x00005627ea9fc2cd fp 0x00007ff191ffee10 dart::ThreadPool::Worker::Main(unsigned long)+0x6d
      pc 0x00005627ea96fe68 fp 0x00007ff191ffeed0 /b/s/w/ir/x/w/flutter/bin/cache/dart-sdk/bin/dart+0x2113e68
    -- End of DumpStackTrace
      pc 0x0000000000000000 fp 0x00007ff191ffe500 sp 0x0000000000000000 [Stub] CallToRuntime
      pc 0x00007ff192702ade fp 0x00007ff191ffe540 sp 0x00007ff191ffe510 [Stub] SwitchableCallMiss
      pc 0x00007ff187d70fec fp 0x00007ff191ffe590 sp 0x00007ff191ffe550 [Unoptimized] [email protected].<anonymous closure>
      pc 0x00007ff18c80d0e4 fp 0x00007ff191ffe618 sp 0x00007ff191ffe5a0 [Optimized] _rootRun@4048458
      pc 0x00007ff18c80e99b fp 0x00007ff191ffe668 sp 0x00007ff191ffe628 [Optimized] _rootRun@4048458
      pc 0x00007ff18c80d760 fp 0x00007ff191ffe718 sp 0x00007ff191ffe678 [Optimized] [email protected]
      pc 0x00007ff18c80f926 fp 0x00007ff191ffe750 sp 0x00007ff191ffe728 [Optimized] [email protected].<anonymous closure>
      pc 0x00007ff18c80d087 fp 0x00007ff191ffe7d8 sp 0x00007ff191ffe760 [Optimized] _rootRun@4048458
      pc 0x00007ff18c80e99b fp 0x00007ff191ffe828 sp 0x00007ff191ffe7e8 [Optimized] _rootRun@4048458
      pc 0x00007ff18c80d760 fp 0x00007ff191ffe8d8 sp 0x00007ff191ffe838 [Optimized] [email protected]
      pc 0x00007ff18c80f926 fp 0x00007ff191ffe910 sp 0x00007ff191ffe8e8 [Optimized] [email protected].<anonymous closure>
      pc 0x00007ff18c81e224 fp 0x00007ff191ffe978 sp 0x00007ff191ffe920 [Optimized] _startMicrotaskLoop@4048458
      pc 0x00007ff18c8186d3 fp 0x00007ff191ffe9a0 sp 0x00007ff191ffe988 [Optimized] _startMicrotaskLoop@4048458
      pc 0x00007ff18c819cc0 fp 0x00007ff191ffe9e0 sp 0x00007ff191ffe9b0 [Optimized] _RawReceivePortImpl@1026248._handleMessage@1026248
      pc 0x00007ff192702a1f fp 0x00007ff191ffea58 sp 0x00007ff191ffe9f0 [Stub] InvokeDartCode
    /b/s/w/ir/x/w/flutter/bin/internal/shared.sh: line 221: 17437 Aborted                 "$DART" --disable-dart-dev --packages="$FLUTTER_TOOLS_DIR/.packages" $FLUTTER_TOOL_ARGS "$SNAPSHOT_PATH" "$@"
    

    Redirecting to the Dart team.

  3. removed their assignment
    on Mar 2, 2022
  4. zanderso commented on Mar 7, 2022

    @zanderso
    Member

    Looks similar to #97381

  5. fluttergithubbot commented on Mar 9, 2022

    @fluttergithubbot
    ContributorAuthor

    [prod pool] current flaky ratio for the past (up to) 100 commits is 0.00%. Flaky number: 0; total number: 100.

  6. aam commented on Mar 9, 2022

    @aam
    Member

    [prod pool] current flaky ratio for the past (up to) 100 commits is 0.00%. Flaky number: 0; total number: 100.

    I was not able to reproduce it locally: I've been running failed test command from https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8821603213214833425/+/u/run_test.dart_for_web_tests_shard_and_subshard_4/test_stdout in several shells for several hours - worked fine(just exhausted my disk space)

  7. github-actions commented on Mar 23, 2022

    @github-actions

    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 -v and a minimal reproduction of the issue.

  8. locked as resolved and limited conversation to collaborators on Mar 23, 2022
  9. added
    P0Critical issues such as a build break or regression
    and removed on Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionc: flakeTests that sometimes, but not always, incorrectly passdependency: dartDart team may need to help usplatform-webWeb applications specifically

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions