TileGroupTest flaky Strict Mode violation failures |
|||
Issue descriptionSample builds: https://uberchromegw.corp.google.com/i/chromium.android/builders/Lollipop%20Tablet%20Tester/builds/7301 https://uberchromegw.corp.google.com/i/chromium.android/builders/Lollipop%20Tablet%20Tester/builds/7300 [FAIL] org.chromium.chrome.browser.suggestions.TileGroupTest#testDismissTileUndo: android.os.StrictMode$StrictModeViolation: policy=2655 violation=2 at android.os.StrictMode.executeDeathPenalty(StrictMode.java:1379) at android.os.StrictMode.access$1300(StrictMode.java:118) at android.os.StrictMode$AndroidBlockGuardPolicy.handleViolation(StrictMode.java:1372) at android.os.StrictMode$AndroidBlockGuardPolicy$1.run(StrictMode.java:1254) at android.os.Handler.handleCallback(Handler.java:739) at android.os.Handler.dispatchMessage(Handler.java:95) at android.os.Looper.loop(Looper.java:135) at android.app.ActivityThread.main(ActivityThread.java:5254) at java.lang.reflect.Method.invoke(Native Method) at java.lang.reflect.Method.invoke(Method.java:372) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:903) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:698) Similar to issue 574532
,
Mar 27 2017
Can we preload the calendar during the setup phase?
,
Mar 27 2017
Flakiness dashboard link: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=chrome_public_test_apk&tests=TileGroupTest I have 2 CLs pending: - https://codereview.chromium.org/2779593003 - preloads Calendar for all tests to hopefully get rid of these failures everywhere - https://codereview.chromium.org/2778743002 - allows reads in the production code. Ideally I'd prefer not to have to land that as we have no evidence that it's an issue that happens in the wild jbudorick@: Is there a way to check the devices we run the tests on to see their properties? Could we enforce that the time zone data is still available after they get reprovisioned?
,
Mar 27 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/f51dc18c55c7af0bac195c1b507398c5f408f0bf commit f51dc18c55c7af0bac195c1b507398c5f408f0bf Author: dgn <dgn@chromium.org> Date: Mon Mar 27 16:24:13 2017 [Android Tests] Preload Calendar to avoid StrictMode violations In instrumentation tests Calendar#getInstance can trigger ReadFromDisk StrictMode violations when it needs to read system files to obtain the time zone, which make tests fail. This patch preloads Calendar to avoid it happening later on the UI Thread and avoid these flakes. BUG= 705477 Review-Url: https://codereview.chromium.org/2779593003 Cr-Commit-Position: refs/heads/master@{#459798} [modify] https://crrev.com/f51dc18c55c7af0bac195c1b507398c5f408f0bf/chrome/test/android/javatests/src/org/chromium/chrome/test/ChromeActivityTestCaseBase.java
,
Mar 28 2017
flakiness dashboard[1] is now in its longest green since quite a while now, so I'll consider this fixed. [1]: https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=chrome_public_test_apk&tests=TileGroupTest |
|||
►
Sign in to add a comment |
|||
Comment 1 by dgn@chromium.org
, Mar 27 2017Status: Started (was: Assigned)