Skip to content

Local framework tests failure, Flutter Gold related #89998

@guidezpl

Description

@guidezpl

At HEAD(cd112e5), all tests relying on Flutter Gold fail

Repro with flutter test in packages/flutter

...
00:58 +0 -233: loading /Users/plg/development/flutter-dev/packages/flutter/test/material/text_selection_theme_test.dart                                                                          
Formatting error detected requesting expectations from Flutter Gold.
error: FormatException: Unexpected character (at character 5)
404 page not found
    ^

url: https://flutter-gold.skia.org/json/v1/latestpositivedigest/,CI=luci,Platform=macos,name=,source_type=flutter,
response: 404 page not found

00:58 +0 -234: loading /Users/plg/development/flutter-dev/packages/flutter/test/material/text_selection_theme_test.dart [E]                                                                      
  Failed to load "/Users/plg/development/flutter-dev/packages/flutter/test/material/text_selection_theme_test.dart":
  Unexpected character (at character 5)
  404 page not found
      ^
  
  dart:convert                                            JsonCodec.decode
  package:flutter_goldens_client/skia_client.dart 298:43  SkiaGoldClient.getExpectationForTest.<fn>
  ===== asynchronous gap ===========================
  package:flutter_goldens_client/skia_client.dart 289:5   SkiaGoldClient.getExpectationForTest
  ===== asynchronous gap ===========================
  package:flutter_goldens/flutter_goldens.dart 477:7      FlutterLocalFileComparator.fromDefaultComparator
  ===== asynchronous gap ===========================
  package:flutter_goldens/flutter_goldens.dart 39:28      testExecutable

This may be due to thename part for all URLs being empty, e.g. https://flutter-gold.skia.org/json/v1/latestpositivedigest/,CI=luci,Platform=macos,name=,source_type=flutter,

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work lista: tests"flutter test", flutter_test, or one of our testsc: crashStack traces logged to the consolec: fatal crashCrashes that terminate the processteam-infraOwned by Infrastructure team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions