Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Ignore some MTLCompiler failures in impeller unit tests#40391

Merged
zanderso merged 1 commit into
flutter-team-archive:mainfrom
zanderso:ignore-mtlcompiler-failure
Mar 17, 2023
Merged

Ignore some MTLCompiler failures in impeller unit tests#40391
zanderso merged 1 commit into
flutter-team-archive:mainfrom
zanderso:ignore-mtlcompiler-failure

Conversation

@zanderso

@zanderso zanderso commented Mar 17, 2023

Copy link
Copy Markdown
Contributor

This also re-enables the tests.

Related flutter/flutter#117122

@zanderso zanderso force-pushed the ignore-mtlcompiler-failure branch from 9bc32f7 to b849a5c Compare March 17, 2023 18:26
@zanderso zanderso force-pushed the ignore-mtlcompiler-failure branch from b849a5c to 5d17962 Compare March 17, 2023 18:40
@zanderso

Copy link
Copy Markdown
Contributor Author

One of the presubmit checks caught an instance of this and the new code in run_tests.py appears to be doing the right thing: https://logs.chromium.org/logs/flutter/buildbucket/cr-buildbucket/8786351834451420033/+/u/test:_Host_Tests_for_host_profile/stdout?format=raw

@zanderso zanderso merged commit fc57995 into flutter-team-archive:main Mar 17, 2023
@zanderso zanderso deleted the ignore-mtlcompiler-failure branch March 17, 2023 20:05

@gaaclarke gaaclarke left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

A couple nits about variable naming to make working with dynamic typing a bit easier and a note about logging allowed failures. Otherwise, lgtm.

Comment thread testing/run_tests.py
'Command "%s" exited with code %d.' %
(command_string, process.returncode)
)
allowed_failure = False

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
allowed_failure = False
is_allowed_failure = False

Comment thread testing/run_tests.py
allowed_string in stderr):
allowed_failure = True

if not allowed_failure:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should probably log allowed failures, right?

Comment thread testing/run_tests.py
forbidden_output=None,
expect_failure=False,
env=None,
allowed_failure_output=None,

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
allowed_failure_output=None,
failure_allow_list=None,

Comment thread testing/run_tests.py
start_time = time.time()
stdout_pipe = sys.stdout if not forbidden_output else subprocess.PIPE
stderr_pipe = sys.stderr if not forbidden_output else subprocess.PIPE
collect_output = forbidden_output or allowed_failure_output

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
collect_output = forbidden_output or allowed_failure_output
should_collect_output = forbidden_output or allowed_failure_output

@gaaclarke

Copy link
Copy Markdown
Contributor

Doh.

zanderso pushed a commit to flutter/flutter that referenced this pull request Mar 18, 2023
* e6334f1 [web] Remove image codecs from Canvaskit Chromium (flutter-team-archive/engine#40309)

* 56727d6 Revert "[Impeller] mark decoded images as optimized for GPU access (#40356)" (flutter-team-archive/engine#40387)

* 2cd19e3 Wrap the iOS platform message handler in an autorelease pool block (flutter-team-archive/engine#40373)

* bab7853 Update analyzer for api_conform_test (flutter-team-archive/engine#40386)

* 87b2e82 Roll Fuchsia Mac SDK from z32cF6YFs6CvZbY3g... to 4ZrEK2uzGdp_Gz3DU... (flutter-team-archive/engine#40385)

* fc57995 Ignore some MTLCompiler failures in impeller unit tests (flutter-team-archive/engine#40391)

* 2398c52 Add doc comment to Pipeline (flutter-team-archive/engine#40388)

* f585d4b [macOS] Remove a single accessibility root assumption (flutter-team-archive/engine#40316)

* 940cf3c remove temporary flag and make FlutterTest the default font for real (flutter-team-archive/engine#40352)

* a1bf9fd drawTextBlob should not be compatible with opacity inheritance (flutter-team-archive/engine#40396)

* 55bf0d8 Use bundled analyzer everywhere (flutter-team-archive/engine#40398)

* 8e58041 Roll Skia from 9bfb45d3e065 to 49b902e5fb91 (11 revisions) (flutter-team-archive/engine#40397)

* 77c53d2 Default the CanvasKit base URL to local artifacts. (flutter-team-archive/engine#40293)

* 625ea53 Roll Skia from 49b902e5fb91 to aa983f5486f0 (7 revisions) (flutter-team-archive/engine#40404)

* 867679f [Impeller] Add playground flag to render for a specific amount of time. (flutter-team-archive/engine#40377)

* d741696 [Impeller] Remove unused bounds method from typographer interface (flutter-team-archive/engine#40406)

* 941323d Provisional iOS impeller flag flip (flutter-team-archive/engine#40405)

* bb971ab Revert "Default the CanvasKit base URL to local artifacts. (#40293)" (flutter-team-archive/engine#40415)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants