Back to build
Raw log | Switch to full mode | Login

/=======================================================================\ | dart2js/codegen/model_test failed again (RuntimeError, expected Pass) | \=======================================================================/ --- Command "vm" (took 57.000993s): DART_CONFIGURATION=ReleaseX64 out/ReleaseX64/dart --enable_asserts --ignore-unrecognized-flags --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/model_test.dart exit code: 255 stdout: unittest-suite-wait-for-done Data dir: tests/compiler/dart2js/codegen/model_data/ ---------------------------------------------------------------- Test file: file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/model_data/regress_36222.dart --from kernel (strong mode)----------------------------------- --from kernel (strong mode, omit-implicit-checks)------------- --use cfe constants--------------------------------------------- --from kernel (strong mode)----------------------------------- --from kernel (strong mode, omit-implicit-checks)------------- ---------------------------------------------------------------- Test file: file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/model_data/constant_folding.dart --from kernel (strong mode)----------------------------------- --from kernel (strong mode, omit-implicit-checks)------------- --use cfe constants--------------------------------------------- --from kernel (strong mode)----------------------------------- --from kernel (strong mode, omit-implicit-checks)------------- ---------------------------------------------------------------- Test file: file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/model_data/static_tearoff.dart --from kernel (strong mode)----------------------------------- memory:sdk/tests/compiler/dart2js_native/main.dart:19:1: Error: UNEXPECTED strong mode DATA for member main: detail : No match found for calls=[call$1(new F.A())] No match found for calls=[call$1(new F.B())] Extra data found calls=[call$1(1),call$1(1)] object : object `#lib1::main` (ShadowProcedure) expected: element: main:calls=[call$1(new F.A()),call$1(new F.B()),foo(1),foo(1),main__bar$closure(0),main__bar$closure(0)],params=0 actual : element: main:calls=[call$1(1),call$1(1),foo(1),foo(1),main__bar$closure(0),main__bar$closure(0)],params=0 main() { ^ --annotations diff [main.dart]------------- // Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file // for details. All rights reserved. Use of this source code is governed by a // BSD-style license that can be found in the LICENSE file. class I1 {} class I2 {} class A implements I1, I2 {} class B implements I1, I2 {} @pragma('dart2js:noInline') void foo(I1 x) {} @pragma('dart2js:noInline') void bar(I2 x) {} /*element: main:calls=[call$1(new F.A()),call$1(new F.B()),foo(1),foo(1),main__bar$closure(0),main__bar$closure(0)],params=0 | element: main:calls=[call$1(1),call$1(1),foo(1),foo(1),main__bar$closure(0),main__bar$closure(0)],params=0*/main() { dynamic f = bar; foo(new A()); foo(new B()); f(new A()); f(new B()); } ---------------------------------------------------------- stderr: Unhandled exception: Expect.fail('Errors found.') #0 Expect._fail (package:expect/expect.dart:655:5) #1 Expect.fail (package:expect/expect.dart:272:5) #2 checkCode (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/equivalence/id_equivalence_helper.dart:944:12) <asynchronous suspension> #3 checkTests.runTests (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/equivalence/id_equivalence_helper.dart:640:19) <asynchronous suspension> #4 checkTests (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/equivalence/id_equivalence_helper.dart:685:19) <asynchronous suspension> #5 main.<anonymous closure> (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/model_test.dart:28:11) <asynchronous suspension> #6 asyncTest (package:async_helper/async_helper.dart:90:11) #7 main (file:///b/s/w/ir/cache/builder/sdk/tests/compiler/dart2js/codegen/model_test.dart:25:3) #8 _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:298:32) #9 _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:171:12) --- Re-run this test: python tools/test.py -n unittest-asserts-no-sdk-linux dart2js/codegen/model_test