Skip to content

Failures on [lib] Avoid empty stack-traces in Stream methods #61711

@alexmarkov

Description

@alexmarkov

There are new test failures on [lib] Avoid empty stack-traces in Stream methods.

The tests

vm/dart/awaiter_stacks/stream_methods_test/0 RuntimeError (expected Pass)
vm/dart/awaiter_stacks/stream_methods_test/1 RuntimeError (expected Pass)

are failing on configurations

vm-aot-dwarf-linux-product-x64
vm-aot-linux-product-x64
vm-aot-mac-product-arm64
stdout:
STACK TRACE MISMATCH -----------------
GOT:
#0    Stream.single.<anonymous closure> (stream.dart)
<asynchronous suspension>
#1    runTest (%test%)
<asynchronous suspension>
#2    main (%test%)
<asynchronous suspension>
EXPECTED:
#0    Stream.last.<anonymous closure> (stream.dart)
<asynchronous suspension>
#1    runTest (%test%)
<asynchronous suspension>
#2    main (%test%)
<asynchronous suspension>
--------------------------------------
To regenate expectations run:
$ out/ProductX64/dartaotruntime -Dupdate.expectations=true file:///b/s/w/ir/out/ProductX64/generated_compilations/vm-aot-linux-product-x64/runtime_tests_vm_dart_awaiter_stacks_stream_methods_test/libout.so
--------------------------------------

stderr:
Unhandled exception:
Expect.equals(at index 7: Expected <...Stream.last.<anonymous closure>...>, Found: <...Stream.single.<anonymous closure>...>, 'at frame #0 mismatched function name') fails.
#0      Expect._fail (package:expect/expect.dart:891)
#1      Expect._failNotEqual (package:expect/expect.dart:169)
#2      Expect.equals (package:expect/expect.dart:157)
#3      checkExpectedStack (file:///b/s/w/ir/runtime/tests/vm/dart/awaiter_stacks/harness.dart:193)
<asynchronous suspension>
#4      runTest (file:///b/s/w/ir/runtime/tests/vm/dart/awaiter_stacks/stream_methods_test.dart:51)
<asynchronous suspension>
#5      main (file:///b/s/w/ir/runtime/tests/vm/dart/awaiter_stacks/stream_methods_test.dart:88)
<asynchronous suspension>

--- Re-run this test:
python3 tools/test.py -n vm-aot-linux-product-x64 vm/dart/awaiter_stacks/stream_methods_test/0

It looks like the new test case added in 505f08b is failing in product mode.

@mraleph Could you take a look?

Metadata

Metadata

Assignees

Labels

area-vmUse area-vm for VM related issues, including code coverage, and the AOT and JIT backends.gardening

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions