dart-lang / sdk

The Dart SDK, including the VM, JS and Wasm compilers, analysis, core libraries, and more.
https://dart.dev
BSD 3-Clause "New" or "Revised" License
10.27k stars 1.58k forks source link

Flaky co19/LibTest/convert/ByteConversionSink/ByteConversionSink_class_A01_t01 turned RuntimeError on vm-win-debug-x64c #54472

Open aam opened 10 months ago

aam commented 10 months ago

builder log

--- Command "vm" (took 04.000297s):
set DART_CONFIGURATION=DebugX64C & set DART_SUPPRESS_WER=1 & set DART_CRASHPAD_HANDLER=C:\b\s\w\ir\out\DebugX64C\crashpad_handler.exe & out\DebugX64C\dart.exe --sound-null-safety -Dtest_runner.configuration=vm-win-debug-x64c --ignore-unrecognized-flags --packages=C:\b\s\w\ir\.dart_tool\package_config.json C:\b\s\w\ir\tests\co19\src\LibTest\convert\ByteConversionSink\ByteConversionSink_class_A01_t01.dart

exit code:
255

stderr:
Unhandled exception:
deepEquals([[208, 154, 208, 184, 209, 128, 208, 184, 208, 187, 208, 187, 208, 184, 209, 134, 208, 176]], [[208, 154, 208, 184, 209, 128, 208, 184, 208, 187, 208, 187, 208, 184, 209, 134, 208, 176], [208, 191, 209, 128, 208, 181, 208, 186, 209, 128, 208, 176, 209, 129, 208, 189, 208, 176]], ) fails
   [cause: Expect.equals(expected: <1>, actual: <2>Collection lengths are not equal: expected length=1, actual length=2) fails.]
#0      _fail (file:///C:/b/s/w/ir/tests/co19/src/Utils/expect.dart:18:5)
#1      Expect.deepEquals (file:///C:/b/s/w/ir/tests/co19/src/Utils/expect_common.dart:303:7)
#2      Expect.listEquals (file:///C:/b/s/w/ir/tests/co19/src/Utils/expect_common.dart:224:7)
#3      test.<anonymous closure> (file:///C:/b/s/w/ir/tests/co19/src/LibTest/convert/ChunkedConversionSink/close_A01_t01.test.dart:27:12)
#4      _SimpleCallbackSink.close (dart:convert/chunked_conversion.dart:45:14)
#5      _ByteAdapterSink.close (dart:convert/byte_conversion.dart:53:11)
#6      _Utf8EncoderSink.close (dart:convert/utf.dart:251:11)
#7      _Utf8ConversionSink.close (dart:convert/string_conversion.dart:295:20)
#8      test (file:///C:/b/s/w/ir/tests/co19/src/LibTest/convert/ChunkedConversionSink/close_A01_t01.test.dart:41:10)
#9      test (file:///C:/b/s/w/ir/tests/co19/src/LibTest/convert/ChunkedConversionSink/allTests.lib.dart:21:17)
#10     test (file:///C:/b/s/w/ir/tests/co19/src/LibTest/convert/ByteConversionSink/inherited_tests.lib.dart:17:33)
#11     test (file:///C:/b/s/w/ir/tests/co19/src/LibTest/convert/ByteConversionSink/allTests.lib.dart:23:19)
#12     main (file:///C:/b/s/w/ir/tests/co19/src/LibTest/convert/ByteConversionSink/ByteConversionSink_class_A01_t01.dart:22:13)
#13     _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#14     _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

--- Re-run this test:
python3 tools/test.py -n vm-win-debug-x64c co19/LibTest/convert/ByteConversionSink/ByteConversionSink_class_A01_t01
a-siva commented 10 months ago

This appears to fail on all backends, potentially a bad test or we have an issue in the implementation, need to route to co19 if it is a bad test.