Skip to content

New flake in FlutterEngineTest.BackgroundIsBlack #115245

@flar

Description

@flar

This has only been seen a couple of times so far, but would seem to point to a race condition in setting up native methods in tests:

[ RUN      ] FlutterEngineTest.BackgroundIsBlack
../../third_party/dart/runtime/vm/native_entry.cc: 246: error: Failed to resolve native function 'SignalNativeTest' in '::.signalNativeTest'

[ERROR:flutter/fml/backtrace.cc(108)] Caught signal SIGABRT during program execution.
Frame 0: 0x10a64659e dart::Assert::Fail()
Frame 1: 0x10a6a64d5 dart::NativeEntry::LinkNativeCall()
Frame 2: 0x10f4dea87 0x0
Frame 3: 0x10f5334b7 0x0

I can't find the build run where I copied that output from, but I found another failure in the same task for the same reason here:
https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8797584134962729281/+/u/test:_Host_Tests_for_host_profile/stdout

Metadata

Metadata

Assignees

Labels

P0Critical issues such as a build break or regressionengineflutter/engine related. See also e: labels.team: presubmit flakesPresubmit flakes found

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions