Skip to content

Unexpected package URIs in errors (foo/packages/foo) on Travis Linux #379

@DanTup

Description

@DanTup

I got this failure in my integration tests on Travis:

[12:34:02] <== [{"event":"app.log","params":{"appId":"v2vuA+WRWLh78UEiFsfBvQ==","log":"When the exception was thrown, this was the stack:\n"}}]
[12:34:02] <== [{"event":"app.log","params":{"appId":"v2vuA+WRWLh78UEiFsfBvQ==","log":"dart:sdk_internal 4556:11                                                    throw\n"}}]
[12:34:02] <== [{"event":"app.log","params":{"appId":"v2vuA+WRWLh78UEiFsfBvQ==","log":"package:broken/packages/broken/main.dart 25:5                                methodThatThrows\n"}}]

The URI is package:broken/packages/broken/main.dart, but this should be package:broken/main.dart. I can't reproduce it locally (though the CI failures was Linux and I'm on macOS). The full log is here (search for package:broken/packages/broken/ as there's a lot of logging after the failure, it's not at the end of the file):

https://test-results.dartcode.org/logs/web-tests/c06755497435013724da982a1a987d3ef0eb1398/linux/flutter_web_only_stable_stable/flutter_for_web_debugger_moves_known_files_from_call_stacks_to_metadata.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions