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

Flaky failure of corelib_2/list_get_range_test with --optimization-counter-threshold=5 #35342

alexmarkov opened this Issue Dec 6, 2018 · 0 comments


None yet
1 participant

alexmarkov commented Dec 6, 2018

This test failed on vm-kernel-optcounter-threshold-linux-release-ia32 bot:

FAILED: dartk-vm release_ia32 corelib_2/list_get_range_test
Expected: Pass
Actual: RuntimeError

--- Command "vm" (took 04.000389s):
DART_CONFIGURATION=ReleaseIA32 out/ReleaseIA32/dart --optimization-counter-threshold=5 --sync-async --ignore-unrecognized-flags --packages=/b/s/w/ir/.packages /b/s/w/ir/tests/corelib_2/list_get_range_test.dart

exit code:

Unhandled exception:
Concurrent modification during iteration: Instance of 'SubListIterable<int>'.
#0      ListIterator.moveNext (dart:_internal/iterable.dart:337:7)
#1      testGetRange (file:///b/s/w/ir/tests/corelib_2/list_get_range_test.dart:26:27)
#2      main (file:///b/s/w/ir/tests/corelib_2/list_get_range_test.dart:50:3)
#3      _startIsolate.<anonymous closure> (dart:isolate/runtime/libisolate_patch.dart:289:19)
#4      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

--- Re-run this test:
python tools/ -n dartk-optcounter-linux-release-ia32 corelib_2/list_get_range_test

I was able to reproduce the failure using commands

tools/ -m release -a ia32 runtime
tools/ --repeat 1000 -n dartk-optcounter-linux-release-ia32 corelib_2/list_get_range_test

It failed only once per 1000 runs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment