Skip to content

Failures on [dartdev] contribute a 'dart bug' command #50583

@dcharkes

Description

@dcharkes

There are new test failures on [dartdev] contribute a 'dart bug' command.

The tests

pkg/dartdev/test/commands/bug_linux_test RuntimeError (expected Pass)

are failing on configurations

unittest-asserts-debug-linux
DART_CONFIGURATION=DebugX64 CHROME_PATH=/b/s/w/ir/cache/builder/sdk/third_party/browsers/chrome/chrome/google-chrome out/DebugX64/dart-sdk/bin/dart --enable_asserts -Dtest_runner.configuration=unittest-asserts-debug-linux --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json /b/s/w/ir/cache/builder/sdk/pkg/dartdev/test/commands/bug_linux_test.dart

exit code:
255

stdout:
00:00 �[32m+0�[0m: process listing linux�[0m

00:00 �[32m+0�[0m�[31m -1�[0m: process listing linux �[1m�[31m[E]�[0m�[0m

  Expected: a string starting with 'dart'
    Actual: 'analysis_server.dart.snapshot --suppress-analytics --client-id=dart-fix --disable-server-feature-completion --disable-server-feature-search --sdk <path>/dart-sdk'
  

  package:test_api/src/expect/expect.dart 134:31      fail
  package:test_api/src/expect/expect.dart 129:3       _expect
  package:test_api/src/expect/expect.dart 46:3        expect
  pkg/dartdev/test/commands/bug_linux_test.dart 24:9  main.<fn>.<fn>
  package:test_api/src/backend/declarer.dart 215:19   Declarer.test.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 213:7    Declarer.test.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/invoker.dart 257:7     Invoker._waitForOutstandingCallbacks.<fn>
  

00:00 �[32m+0�[0m�[31m -1�[0m: bug linux shows process info�[0m

00:02 �[32m+1�[0m�[31m -1�[0m: �[31mSome tests failed.�[0m



Consider enabling the flag chain-stack-traces to receive more detailed exceptions.
For example, 'dart test --chain-stack-traces'.

stderr:
Unhandled exception:
Dummy exception to set exit code.

--- Re-run this test:
python3 tools/test.py -n unittest-asserts-debug-linux pkg/dartdev/test/commands/bug_linux_test

log: https://dart-ci.appspot.com/log/pkg-linux-debug/unittest-asserts-debug-linux/15974/pkg/dartdev/test/commands/bug_linux_test

Metadata

Metadata

Assignees

Labels

area-dart-cliUse area-dart-cli for issues related to the 'dart' command like tool.area-testCross-cutting test issues (use area- labels for specific failures; not used for package:test).dart-cli-bugIssues related to the 'dart bug' toolgardening

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions