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 new nnbd VM builders on simarm targets #43614

Closed
a-siva opened this issue Sep 30, 2020 · 5 comments
Closed

Failures new nnbd VM builders on simarm targets #43614

a-siva opened this issue Sep 30, 2020 · 5 comments
Assignees
Labels
area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. NNBD Issues related to NNBD Release

Comments

@a-siva
Copy link
Contributor

a-siva commented Sep 30, 2020

There are new test failures on [infra] Add additional nnbd VM builders

language/mixin_constructor_forwarding/const_constructor_test/issue38304 (crashes instead of RuntimeError)
language/mixin_constructor_forwarding/mixin_constructor_parameter_forwarding_test (crashes instead of RuntimeError)

standalone/http_launch_test/0
standalone/http_launch_test/1
standalone/http_launch_test/2
standalone/http_launch_test/3

@a-siva a-siva added area-vm Use area-vm for VM related issues, including code coverage, FFI, and the AOT and JIT backends. NNBD Issues related to NNBD Release labels Sep 30, 2020
@a-siva a-siva added this to Needs triage in Dart VM support for Null Safe feature via automation Sep 30, 2020
@alexmarkov alexmarkov self-assigned this Oct 1, 2020
@alexmarkov
Copy link
Contributor

language/mixin_constructor_forwarding/const_constructor_test and language/mixin_constructor_forwarding/mixin_constructor_parameter_forwarding_test are currently passing (https://logs.chromium.org/logs/dart/buildbucket/cr-buildbucket.appspot.com/8867760015291470256/+/steps/test_results/0/logs/tests_that_began_passing/0).

The fix for standalone/http_launch_test failures: https://dart-review.googlesource.com/c/sdk/+/165406

@a-siva
Copy link
Contributor Author

a-siva commented Oct 1, 2020

We have some tests timing out

co19/LibTest/collection/ListMixin/ListMixin_class_A01_t05
co19/LibTest/collection/ListBase/ListBase_class_A01_t05
co19/LibTest/collection/ListBase/ListBase_class_A01_t06
co19/LibTest/collection/ListMixin/ListMixin_class_A01_t04
co19/LibTest/collection/ListMixin/ListMixin_class_A01_t06

dart-bot pushed a commit that referenced this issue Oct 1, 2020
The test should mention .dart_tool/package_config.json in the
'OtherResources' comment so it is properly copied by the test tool.

Issue: #43614
Change-Id: I98420e0abb2751f518d69b21ade194d9a715266c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/165406
Reviewed-by: Régis Crelier <regis@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
@mkustermann
Copy link
Member

The tests

co19/LibTest/collection/ListBase/ListBase_class_A01_t03 Timeout (expected Pass)
co19/LibTest/collection/ListBase/ListBase_class_A01_t04 Timeout (expected Pass)
co19/LibTest/collection/ListMixin/ListMixin_class_A01_t03 Timeout (expected Pass)
co19/LibTest/core/List/List_all_t03 Timeout (expected Pass)
co19/LibTest/core/List/List_all_t04 Timeout (expected Pass)
co19/LibTest/core/List/List_all_t05 Timeout (expected Pass)
co19/LibTest/core/List/List_all_t06 Timeout (expected Pass)

are failing on configurations

dartkp-strong-linux-debug-x64
dartkp-weak-asserts-linux-debug-x64

dart-bot pushed a commit that referenced this issue Oct 5, 2020
This test takes 16 to 32mins on bots before timing out without producing
a result.

Possibly related issue:
#43614

Change-Id: Ic0bf79e6d1b5276c7dae99b7c8f719e0f706e1a4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/166000
Reviewed-by: Karl Klose <karlklose@google.com>
@alexmarkov
Copy link
Contributor

The tests in co19/LibTest/collection/ListMixin/, co19/LibTest/collection/ListBase/ and co19/LibTest/core/List/ mentioned above perform sorting of large lists specified by enormous list literals (they include co19/src/LibTest/core/List/sort_A01_t05.test.dart, co19/src/LibTest/core/List/sort_A01_t06.test.dart, co19/src/LibTest/core/List/sort_A01_t07.test.dart or co19/src/LibTest/core/List/sort_A01_t08.test.dart).

I saw 2 kinds of timeouts on those tests:

  • Timeouts at run time on simulated architectures (-simarm, -simarm64). Simulator is inherently slower than native architectures.
  • Timeouts in gen_snapshot on AOT/debug configurations (dartkp-*-debug-*). In this case it looks like we have too heavy assertions in debug mode which slow down compilation considerably.

I wasn't able to reproduce some of these timeouts locally (although running those tests takes considerable time).
For timeouts which I could reproduce, corresponding co19_2 legacy test also times out.

These timeouts seems to be unrelated to NNBD. We just don't currently run legacy co19_2 tests on these configurations.

I think we can do one of the following:

  • Skip those tests on the simulated and aot/debug configurations. This would make bots faster but potentially reduce test coverage.
  • Mark them as Pass, Slow. This may or may not work depending on the test, and would result in slower bots and higher probability of flaky timeouts on these tests.
  • Ask co19 folks to cut down those tests.

I'm leaning towards skipping those tests if $arch == simarm || $arch == simarm64 || ($runtime == dart_precompiled && $mode == debug).

@a-siva @mkustermann What do you think?

@mkustermann
Copy link
Member

@alexmarkov As a general rule, we should avoid skipping tests or polluting status files / approval database. So if we can reduce the runtime of those tests by making them do less work without sacrificing what the test is actually testing, I would suggest to file a co19 issue to make them faster.

Dart VM support for Null Safe feature automation moved this from Needs triage to Done Oct 22, 2020
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, FFI, and the AOT and JIT backends. NNBD Issues related to NNBD Release
Development

No branches or pull requests

3 participants