Skip to content

Failures on [analysis_server] Move EOL from ChangeBuilder to FileEditBuilder #61255

@dcharkes

Description

@dcharkes

There are new test failures on [analysis_server] Move EOL from ChangeBuilder to FileEditBuilder...Move AnalysisOptionsFile (yaml keys and values) out of validator file..

The tests

pkg/analysis_server/integration_test/edit/import_elements_test RuntimeError (expected Pass)

are failing on configurations

analyzer-unittest-asserts-release-win

log: https://dart-ci.appspot.com/log/analyzer-win-release/analyzer-unittest-asserts-release-win/32421/pkg/analysis_server/integration_test/edit/import_elements_test

--- Command "vm" (took 19.000137s):
set DART_CONFIGURATION=ReleaseX64 & set DART_SUPPRESS_WER=1 & out\ReleaseX64\dart-sdk\bin\dart.exe --enable_asserts -Dtest_runner.configuration=analyzer-unittest-asserts-release-win --ignore-unrecognized-flags --packages=C:\b\s\w\ir\.dart_tool\package_config.json C:\b\s\w\ir\pkg\analysis_server\integration_test\edit\import_elements_test.dart

exit code:
255

stdout:
00:00 �[32m+0�[0m: AnalysisGetImportElementsIntegrationTest | test_importElements_definingUnit�[0m

00:01 �[32m+0�[0m�[31m -1�[0m: AnalysisGetImportElementsIntegrationTest | test_importElements_definingUnit �[1m�[31m[E]�[0m�[0m

  Expected {"offset":0,"length":0,"replacement":"import 'dart:math';\n\n"}; not found

  package:matcher/src/expect/expect.dart 187:31                             fail
  pkg\analysis_server\integration_test\edit\import_elements_test.dart 62:9  AnalysisGetImportElementsIntegrationTest.checkEdits
  ===== asynchronous gap ===========================
  pkg\analysis_server\integration_test\edit\import_elements_test.dart 95:5  AnalysisGetImportElementsIntegrationTest.test_importElements_definingUnit
  ===== asynchronous gap ===========================
  package:test_reflective_loader/test_reflective_loader.dart 264:5          _runTest
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 253:15                         Declarer.test.<fn>.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/declarer.dart 250:11                         Declarer.test.<fn>
  ===== asynchronous gap ===========================
  package:test_api/src/backend/invoker.dart 318:9                           Invoker._waitForOutstandingCallbacks.<fn>
  

00:01 �[32m+0�[0m�[31m -1�[0m: AnalysisGetImportElementsIntegrationTest | test_importElements_noEdits�[0m

00:01 �[32m+1�[0m�[31m -1�[0m: AnalysisGetImportElementsIntegrationTest | test_importElements_part�[0m

00:02 �[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 analyzer-unittest-asserts-release-win pkg/analysis_server/integration_test/edit/import_elements_test

@DanTup Is this your EOL change?

Metadata

Metadata

Assignees

Labels

area-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.gardening

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions