Skip to content

pkg/dartdev/test/commands/info_macos_test failing on unittest-asserts-release-mac-arm64 due to unexpected process information #52658

@sstrickl

Description

@sstrickl

There are new test failures on [pkg/vm] Update test/transformations/type_flow/transformer_test expects..

The tests

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

are failing on configurations

unittest-asserts-release-mac-arm64

Log:

--- Command "vm" (took 02.000100s):
DART_CONFIGURATION=ReleaseARM64 CHROME_PATH="/opt/s/w/ir/cache/builder/sdk/third_party/browsers/chrome/Google Chrome.app/Contents/MacOS/Google Chrome" xcodebuild/ReleaseARM64/dart-sdk/bin/dart --enable_asserts --sound-null-safety -Dtest_runner.configuration=unittest-asserts-release-mac-arm64 --ignore-unrecognized-flags --packages=/opt/s/w/ir/cache/builder/sdk/.dart_tool/package_config.json /opt/s/w/ir/cache/builder/sdk/pkg/dartdev/test/commands/info_macos_test.dart

exit code:
255

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

00:00 �[32m+0�[0m�[31m -1�[0m: process listing macos �[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:matcher/src/expect/expect.dart 149:31        fail
  package:matcher/src/expect/expect.dart 144:3         _expect
  package:matcher/src/expect/expect.dart 56:3          expect
  pkg/dartdev/test/commands/info_macos_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 258:9      Invoker._waitForOutstandingCallbacks.<fn>
  

00:00 �[32m+0�[0m�[31m -1�[0m: process listing parseMacos�[0m

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

00:00 �[32m+2�[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-release-mac-arm64 pkg/dartdev/test/commands/info_macos_test

I can't get this to happen on my local ARM64 Mac laptop, so it might be something specific to the bots that needs to be accounted for in the test?

/cc @devoncarew

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions