Disabled flaky SingleClientSessionsSyncTest.CookieJarMismatch test |
||||||||||||||
Issue descriptionIt's flaking again, assigning to owner who previously dealt with this. E.g. https://uberchromegw.corp.google.com/i/chromium.linux/builders/Linux%20Tests/builds/65016
,
Nov 29 2017
,
Dec 5 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/34683f17ddf749befcc482135f68f397f8809ec0 commit 34683f17ddf749befcc482135f68f397f8809ec0 Author: Pavel Yatsuk <pavely@chromium.org> Date: Tue Dec 05 01:43:03 2017 [Sync] Verify that correct value of CookieJarMismatch is passed to SyncCycleContext SingleClientSessionsSyncTest.CookieJarMismatch test is flaky. It fails on the step when signed in account gets included in the list of accounts in cookie jar. In this case value of cookie_jar_mismatch should turn to false. I wasn't able to reproduce this bug, nor I was able to find scenario how this test could fail. I'm adding a check that ensures correct value of cookie_jar_mismatch is passed to sync engine. The next time this test fails it will be clear if failure caused by incorrect value or the value wasn't delivered to the server. R=pnoland@chromium.org BUG= 789129 Change-Id: I508e5d37083e98b2c02e1bf3a35917dad3a9645f Reviewed-on: https://chromium-review.googlesource.com/804556 Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Reviewed-by: Patrick Noland <pnoland@google.com> Cr-Commit-Position: refs/heads/master@{#521583} [modify] https://crrev.com/34683f17ddf749befcc482135f68f397f8809ec0/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc [modify] https://crrev.com/34683f17ddf749befcc482135f68f397f8809ec0/components/browser_sync/profile_sync_service.cc [modify] https://crrev.com/34683f17ddf749befcc482135f68f397f8809ec0/components/browser_sync/profile_sync_service.h
,
Dec 5 2017
I've added some more checks to the test to isolate the failure the next time it happens. I'm lowering priority of this bug. Will investigate failures when they occur.
,
Dec 5 2017
Issue 786867 has been merged into this issue.
,
Dec 8 2017
a few more flakes: https://ci.chromium.org/buildbot/chromium.linux/Linux%20Tests/65337 https://ci.chromium.org/buildbot/chromium.linux/Linux%20Tests/65304 https://ci.chromium.org/buildbot/chromium.linux/Linux%20Tests/65296 Also this is still causing bots on the CQ to fail, potentially blocking devs from landing CLs. Hence raising the priority again.
,
Dec 12 2017
I'm going to disable the test again based on "I'm lowering priority of this bug. Will investigate failures when they occur." There are new failures to investigate in c#6, and probably more since then.
,
Dec 13 2017
Had the wrong bug on the CL so bugdroid didn't pick it up. CL has landed as https://chromium-review.googlesource.com/q/Id9775baf2e5f82e7c5b7a9bd3194cf24dd3ad74e
,
Dec 13 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9f4ce7cb311351aecae213234812df8d7f1b9b4d commit 9f4ce7cb311351aecae213234812df8d7f1b9b4d Author: Pavel Yatsuk <pavely@chromium.org> Date: Wed Dec 13 18:10:36 2017 [Sync] Add logging to diagnose SingleClientSessionsSyncTest.CookieJarMismatch flakines I'm logging contents of FakeServer before the call to UpdateCookieJarAccountsAndWait to ensure that later call to NavigateTab will indeed trigger commit. I'm adding logging of last commit message to ensure that navigation to kURL2 triggered sync cycle. R=pnoland@chromium.org BUG= 789129 Change-Id: I7adb3750f5aa2c5e4611fc32b37df461dc744d49 Reviewed-on: https://chromium-review.googlesource.com/823562 Reviewed-by: Patrick Noland <pnoland@google.com> Commit-Queue: Pavel Yatsuk <pavely@chromium.org> Cr-Commit-Position: refs/heads/master@{#523818} [modify] https://crrev.com/9f4ce7cb311351aecae213234812df8d7f1b9b4d/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc [modify] https://crrev.com/9f4ce7cb311351aecae213234812df8d7f1b9b4d/components/sync/test/fake_server/fake_server_verifier.cc
,
Jan 16 2018
,
Jan 17 2018
,
Apr 27 2018
,
Jun 7 2018
Lowering prio: I believe Dice will make this functionality (detecting cookie jar mismatch) and thus the test obsolete.
,
Sep 6
Looks like it won't be so easy: Even Chrome versions that have DICE still report non-trivial numbers of mismatches to UMA. (It's unclear whether there are real mismatches, or there's something wrong with how we detect them.) The cookie_jar_mismatch flag is also sent to the server. So we probably can't get rid of this for the foreseeable future after all :(
,
Sep 6
,
Dec 10
,
Dec 10
,
Dec 10
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/b4fc383409e81c48285ef1de7c08a6fdc1311a4f commit b4fc383409e81c48285ef1de7c08a6fdc1311a4f Author: Mikel Astiz <mastiz@chromium.org> Date: Mon Dec 10 16:23:05 2018 Reenable SingleClientSessionsSyncTest.CookieJarMismatch The test has been historically flaky but many things have changed since the last reported flakes (in particular, migration of SESSIONS to USS) so chances are that we no longer repro the flakes. We also do some related code cleanup. Bug: 789129 Change-Id: I7f70d8d0d1c96232ffe07197e8e1982759e8af02 Reviewed-on: https://chromium-review.googlesource.com/c/1369855 Commit-Queue: Mikel Astiz <mastiz@chromium.org> Reviewed-by: Marc Treib <treib@chromium.org> Cr-Commit-Position: refs/heads/master@{#615138} [modify] https://crrev.com/b4fc383409e81c48285ef1de7c08a6fdc1311a4f/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc
,
Dec 11
Here's a recent flake (https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8927475642799000112/+/steps/sync_integration_tests/0/stdout): ../../chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc:668: Failure Value of: message.commit().config_params().cookie_jar_mismatch() Actual: true Expected: false { "client_status": { "hierarchy_conflict_detected": false }, "commit": { "cache_guid": "wzo0ggZ7J/KpLvl+/P0E7Q==", "config_params": { "cookie_jar_mismatch": true, "enabled_type_ids": [ "32904", "37702", "45873", "63951", "31729", "306270", "330441", "41210", "40781", "48119", "88610", "50119", "48364", "103656", "96159", "150251", "170540", "182019", "181534", "154522", "163425", "455206", "556014", "47745", "161496" ], "tabs_datatype_enabled": true }, "entries": [ { "specifics": { "user_event": { "event_time_usec": "13188966756772762", "language_detection_event": { "detected_languages": [ { "is_reliable": false, "language_code": "und" } ] }, "navigation_id": "13188966756622378", "session_id": "2817817161013833761" } } } ] }, "debug_info": { "cryptographer_has_pending_keys": false, "cryptographer_ready": true, "events_dropped": false }, "protocol_version": "52", "share": "user@gmail.com", "store_birthday": "0" }
,
Dec 11
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/9b8a1977e84b471e42a6b6798dc2a607dfb28e91 commit 9b8a1977e84b471e42a6b6798dc2a607dfb28e91 Author: Mikel Astiz <mastiz@chromium.org> Date: Tue Dec 11 12:54:45 2018 Fix flakiness in SingleClientSessionsSyncTest.CookieJarMismatch Unless something is done about it, there is a race between signin code trying to fetch "real" cookiejar information using GaiaAuthFetcher, and the test faking equivalent information and injecting it via ProfileSyncService::OnGaiaAccountsInCookieUpdatedWithCallback(). Usually, signin logic is fast enough to avoid test failures, but occasionally the fetching takes long and an empty list of accounts is injected at a last stage (after navigations to kURL2), interfering with test expectations. Bug: 789129 Change-Id: I95b0f691bd047216309888d345c68e1eb26ab869 Reviewed-on: https://chromium-review.googlesource.com/c/1371386 Reviewed-by: Marc Treib <treib@chromium.org> Commit-Queue: Mikel Astiz <mastiz@chromium.org> Cr-Commit-Position: refs/heads/master@{#615504} [modify] https://crrev.com/9b8a1977e84b471e42a6b6798dc2a607dfb28e91/chrome/browser/sync/test/integration/single_client_sessions_sync_test.cc
,
Dec 13
All green except for Win10 Tests x64 (dbg) where was have issues with most sync tests in general. |
||||||||||||||
►
Sign in to add a comment |
||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Nov 28 2017