Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failures on "[cfe] Add runtime/tests/vm/dart to the list of opt-out tests" #41325

Closed
alexmarkov opened this issue Apr 3, 2020 · 1 comment
Closed
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. NNBD Issues related to NNBD Release

Comments

@alexmarkov
Copy link
Contributor

There are new test failures on [cfe] Add runtime/tests/vm/dart to the list of opt-out tests.

The tests

vm/dart/use_save_debugging_info_flag_test RuntimeError (expected Pass)

are failing on configurations

dartkp-weak-asserts-linux-release-x64

That test was failing due to a compile-time error before my CL (because CFE considered it opted-in to NNBD). After the fixing opted-in status this test starts failing with RuntimeError.

Log:

================================================================================================================================================\
| dartkp-weak-asserts-linux-release-x64:vm/dart/use_save_debugging_info_flag_test failed again (CompileTimeError -> RuntimeError, expected Pass) |
\================================================================================================================================================/

--- Command "vm_compile_to_kernel []" (took 06.000520s):
DART_CONFIGURATION=ReleaseX64NNBD /b/s/w/ir/pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64NNBD/vm_platform_strong.dill -o /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.dill /b/s/w/ir/runtime/tests/vm/dart/use_save_debugging_info_flag_test.dart --enable-experiment=non-nullable --packages=/b/s/w/ir/.packages -Ddart.developer.causal_async_stacks=true --enable-asserts

exit code:
0

--- Command "precompiler" (took 06.000131s):
DART_CONFIGURATION=ReleaseX64NNBD out/ReleaseX64NNBD/gen_snapshot --enable-experiment=non-nullable --snapshot-kind=app-aot-assembly --assembly=/b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.S --enable_asserts --enable-experiment=non-nullable --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.dill

exit code:
0

--- Command "remove_kernel_file" (took 5ms):
DART_CONFIGURATION=ReleaseX64NNBD rm /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.dill

exit code:
0

--- Command "assemble" (took 01.000965s):
DART_CONFIGURATION=ReleaseX64NNBD gcc -m64 -shared -nostdlib -o /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.aotsnapshot /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.S

exit code:
0

--- Command "remove_assembly" (took 14ms):
DART_CONFIGURATION=ReleaseX64NNBD rm /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.S

exit code:
0

--- Command "vm" (took 33.000768s):
DART_CONFIGURATION=ReleaseX64NNBD out/ReleaseX64NNBD/dart_precompiled_runtime --enable_asserts --enable-experiment=non-nullable --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/out.aotsnapshot

exit code:
255

stdout:
Running out/ReleaseX64NNBD/gen_snapshot --version
Subcommand stderr:
Dart VM version: 2.8.0-edge.8eab8bfc0c32af167060a3faf4963033cef0608f (be) (Thu Apr 2 22:16:59 2020 +0000) on "linux_x64"

Running out/ReleaseX64NNBD/dart_precompiled_runtime --version
Subcommand stderr:
Dart VM version: 2.8.0-edge.8eab8bfc0c32af167060a3faf4963033cef0608f (be) (Thu Apr 2 22:16:59 2020 +0000) on "linux_x64"

Running ./pkg/vm/tool/gen_kernel --aot --platform=out/ReleaseX64NNBD/vm_platform_strong.dill -o /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/flag_program.dill /b/s/w/ir/out/ReleaseX64NNBD/generated_compilations/dartkp/runtime_tests_vm_dart_use_save_debugging_info_flag_test/use_dwarf_stack_traces_flag_program.dart
Running out/ReleaseX64NNBD/gen_snapshot --dwarf-stack-traces --snapshot-kind=app-aot-elf --elf=/b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/whole.so /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/flag_program.dill
Running out/ReleaseX64NNBD/gen_snapshot --dwarf-stack-traces --snapshot-kind=app-aot-elf --elf=/b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/stripped_only.so --strip /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/flag_program.dill
Subcommand stderr:
Warning: Generating ELF library without DWARF debugging information.

Running out/ReleaseX64NNBD/gen_snapshot --dwarf-stack-traces --snapshot-kind=app-aot-elf --elf=/b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/stripped.so --strip --save-debugging-info=/b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/debug.so /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/flag_program.dill
Running out/ReleaseX64NNBD/dart_precompiled_runtime /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/whole.so /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/flag_program.dill
Subcommand stderr:
Unhandled exception:
NoSuchMethodError: Class 'C' has no instance method '*'.
Receiver: Instance of 'C'
Tried calling: *(4)
Warning: This VM has been configured to produce stack traces that violate the Dart standard.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 31877, tid: 139652138219392, name Dart_Initialize
isolate_instructions: 7f034bfa9000 vm_instructions: 7f034bfa5000
    #00 abs 00007f034c0bd2ad virt 000000000011a2ad _kDartIsolateSnapshotInstructions+0x1142ad
    #01 abs 00007f034c07b2e1 virt 00000000000d82e1 _kDartIsolateSnapshotInstructions+0xd22e1
    #02 abs 00007f034c0b557b virt 000000000011257b _kDartIsolateSnapshotInstructions+0x10c57b
    #03 abs 00007f034c0b5541 virt 0000000000112541 _kDartIsolateSnapshotInstructions+0x10c541
    #04 abs 00007f034c0b54a0 virt 00000000001124a0 _kDartIsolateSnapshotInstructions+0x10c4a0
    #05 abs 00007f034c0b5512 virt 0000000000112512 _kDartIsolateSnapshotInstructions+0x10c512
    #06 abs 00007f034c0bceac virt 0000000000119eac _kDartIsolateSnapshotInstructions+0x113eac
    #07 abs 00007f034c09cde4 virt 00000000000f9de4 _kDartIsolateSnapshotInstructions+0xf3de4
    #08 abs 00007f034c0bcf5b virt 0000000000119f5b _kDartIsolateSnapshotInstructions+0x113f5b
    #09 abs 00007f034c0056d0 virt 00000000000626d0 _kDartIsolateSnapshotInstructions+0x5c6d0

Running out/ReleaseX64NNBD/dart_precompiled_runtime /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/stripped_only.so /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/flag_program.dill
Subcommand stderr:
Unhandled exception:
NoSuchMethodError: Class 'C' has no instance method '*'.
Receiver: Instance of 'C'
Tried calling: *(4)
Warning: This VM has been configured to produce stack traces that violate the Dart standard.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 31882, tid: 139639110453120, name Dart_Initialize
isolate_instructions: 7f004376a000 vm_instructions: 7f0043766000
    #00 abs 00007f004387e2ad virt 000000000011a2ad _kDartIsolateSnapshotInstructions+0x1142ad
    #01 abs 00007f004383c2e1 virt 00000000000d82e1 _kDartIsolateSnapshotInstructions+0xd22e1
    #02 abs 00007f004387657b virt 000000000011257b _kDartIsolateSnapshotInstructions+0x10c57b
    #03 abs 00007f0043876541 virt 0000000000112541 _kDartIsolateSnapshotInstructions+0x10c541
    #04 abs 00007f00438764a0 virt 00000000001124a0 _kDartIsolateSnapshotInstructions+0x10c4a0
    #05 abs 00007f0043876512 virt 0000000000112512 _kDartIsolateSnapshotInstructions+0x10c512
    #06 abs 00007f004387deac virt 0000000000119eac _kDartIsolateSnapshotInstructions+0x113eac
    #07 abs 00007f004385dde4 virt 00000000000f9de4 _kDartIsolateSnapshotInstructions+0xf3de4
    #08 abs 00007f004387df5b virt 0000000000119f5b _kDartIsolateSnapshotInstructions+0x113f5b
    #09 abs 00007f00437c66d0 virt 00000000000626d0 _kDartIsolateSnapshotInstructions+0x5c6d0

Running out/ReleaseX64NNBD/dart_precompiled_runtime /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/stripped.so /b/s/w/ityCSTXn/save-debug-info-flag-testKGSHQO/flag_program.dill
Subcommand stderr:
Unhandled exception:
NoSuchMethodError: Class 'C' has no instance method '*'.
Receiver: Instance of 'C'
Tried calling: *(4)
Warning: This VM has been configured to produce stack traces that violate the Dart standard.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 31886, tid: 140364457949056, name Dart_Initialize
isolate_instructions: 7fa9258b1000 vm_instructions: 7fa9258ad000
    #00 abs 00007fa9259c52ad virt 000000000011a2ad _kDartIsolateSnapshotInstructions+0x1142ad
    #01 abs 00007fa9259832e1 virt 00000000000d82e1 _kDartIsolateSnapshotInstructions+0xd22e1
    #02 abs 00007fa9259bd57b virt 000000000011257b _kDartIsolateSnapshotInstructions+0x10c57b
    #03 abs 00007fa9259bd541 virt 0000000000112541 _kDartIsolateSnapshotInstructions+0x10c541
    #04 abs 00007fa9259bd4a0 virt 00000000001124a0 _kDartIsolateSnapshotInstructions+0x10c4a0
    #05 abs 00007fa9259bd512 virt 0000000000112512 _kDartIsolateSnapshotInstructions+0x10c512
    #06 abs 00007fa9259c4eac virt 0000000000119eac _kDartIsolateSnapshotInstructions+0x113eac
    #07 abs 00007fa9259a4de4 virt 00000000000f9de4 _kDartIsolateSnapshotInstructions+0xf3de4
    #08 abs 00007fa9259c4f5b virt 0000000000119f5b _kDartIsolateSnapshotInstructions+0x113f5b
    #09 abs 00007fa92590d6d0 virt 00000000000626d0 _kDartIsolateSnapshotInstructions+0x5c6d0


Original stack trace:
Unhandled exception:
NoSuchMethodError: Class 'C' has no instance method '*'.
Receiver: Instance of 'C'
Tried calling: *(4)
Warning: This VM has been configured to produce stack traces that violate the Dart standard.
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 31886, tid: 140364457949056, name Dart_Initialize
isolate_instructions: 7fa9258b1000 vm_instructions: 7fa9258ad000
    #00 abs 00007fa9259c52ad virt 000000000011a2ad _kDartIsolateSnapshotInstructions+0x1142ad
    #01 abs 00007fa9259832e1 virt 00000000000d82e1 _kDartIsolateSnapshotInstructions+0xd22e1
    #02 abs 00007fa9259bd57b virt 000000000011257b _kDartIsolateSnapshotInstructions+0x10c57b
    #03 abs 00007fa9259bd541 virt 0000000000112541 _kDartIsolateSnapshotInstructions+0x10c541
    #04 abs 00007fa9259bd4a0 virt 00000000001124a0 _kDartIsolateSnapshotInstructions+0x10c4a0
    #05 abs 00007fa9259bd512 virt 0000000000112512 _kDartIsolateSnapshotInstructions+0x10c512
    #06 abs 00007fa9259c4eac virt 0000000000119eac _kDartIsolateSnapshotInstructions+0x113eac
    #07 abs 00007fa9259a4de4 virt 00000000000f9de4 _kDartIsolateSnapshotInstructions+0xf3de4
    #08 abs 00007fa9259c4f5b virt 0000000000119f5b _kDartIsolateSnapshotInstructions+0x113f5b
    #09 abs 00007fa92590d6d0 virt 00000000000626d0 _kDartIsolateSnapshotInstructions+0x5c6d0

stderr:
Unhandled exception:
'package:native_stack_traces/src/reader.dart': Failed assertion: line -1: '<optimized out>': is not true.
#0      _AssertionError._doThrowNew (dart:core-patch/errors_patch.dart:40)
#1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36)
#2      Reader.readBytes (package:native_stack_traces/src/reader.dart:68)
#3      _readElfBytes (package:native_stack_traces/src/elf.dart:15)
#4      _readElfXword (package:native_stack_traces/src/elf.dart:44)
#5      _readElfNative (package:native_stack_traces/src/elf.dart:62)
#6      ProgramHeaderEntry._read (package:native_stack_traces/src/elf.dart:268)
#7      new ProgramHeaderEntry.fromReader (package:native_stack_traces/src/elf.dart:251)
#8      ProgramHeader._read (package:native_stack_traces/src/elf.dart:330)
#9      new ProgramHeader.fromReader (package:native_stack_traces/src/elf.dart:320)
#10     Elf._read (package:native_stack_traces/src/elf.dart:806)
#11     Elf.fromReader (package:native_stack_traces/src/elf.dart:754)
#12     Dwarf.fromReader (package:native_stack_traces/src/dwarf.dart:1189)
#13     Dwarf.fromFile (package:native_stack_traces/src/dwarf.dart:1203)
#14     main.<anonymous closure> (file:///b/s/w/ir/runtime/tests/vm/dart/use_save_debugging_info_flag_test.dart:117)
<asynchronous suspension>
#15     main.<anonymous closure> (file:///b/s/w/ir/runtime/tests/vm/dart/use_save_debugging_info_flag_test.dart:0)
#16     withTempDir (file:///b/s/w/ir/runtime/tests/vm/dart/use_flag_test_helper.dart:175)
#17     main (file:///b/s/w/ir/runtime/tests/vm/dart/use_save_debugging_info_flag_test.dart:41)
<asynchronous suspension>
#18     _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:298)
#19     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:167)

--- Re-run this test:
python tools/test.py -n dartkp-weak-asserts-linux-release-x64 vm/dart/use_save_debugging_info_flag_test

/cc @sstrickl

@alexmarkov alexmarkov added area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. NNBD Issues related to NNBD Release labels Apr 3, 2020
@sstrickl sstrickl self-assigned this Apr 3, 2020
@sstrickl
Copy link
Contributor

sstrickl commented Apr 3, 2020

Thanks for the heads up, looking into it now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. NNBD Issues related to NNBD Release
Projects
None yet
Development

No branches or pull requests

2 participants