Issue metadata
Sign in to add a comment
|
AppSearchResultRankerSerializationTest.SaveToDiskSucceed is flaky |
||||||||||||||||||||||||
Issue descriptionSample failed build due to flakiness: https://ci.chromium.org/buildbot/chromium.memory/Linux%20Chromium%20OS%20ASan%20LSan%20Tests%20%281%29/28955 Culprit (100.0% confidence): https://chromium-review.googlesource.com/q/I38bbc0b7efd1ed3576c4c3d170c553ec80dcec93 Analysis: https://findit-for-me.appspot.com/waterfall/flake?key=ag9zfmZpbmRpdC1mb3ItbWVyygELEhdNYXN0ZXJGbGFrZUFuYWx5c2lzUm9vdCKTAWNocm9taXVtLm1lbW9yeS9MaW51eCBDaHJvbWl1bSBPUyBBU2FuIExTYW4gVGVzdHMgKDEpLzI4OTU1L3VuaXRfdGVzdHMvUVhCd1UyVmhjbU5vVW1WemRXeDBVbUZ1YTJWeVUyVnlhV0ZzYVhwaGRHbHZibFJsYzNRdVUyRjJaVlJ2UkdsemExTjFZMk5sWldRPQwLEhNNYXN0ZXJGbGFrZUFuYWx5c2lzGAEM Please revert the culprit, or disable the test and find the appropriate owner. If the culprit above is wrong, please file a bug using this link: https://bugs.chromium.org/p/chromium/issues/entry?status=Unconfirmed&labels=Pri-1,Test-Findit-Wrong&components=Tools%3ETest%3EFindit%3EFlakiness&summary=%5BFindit%5D%20Flake%20Analyzer%20-%20Wrong%20result%20for%20AppSearchResultRankerSerializationTest.SaveToDiskSucceed&comment=Link%20to%20Analysis%3A%20https://findit-for-me.appspot.com/waterfall/flake?key=ag9zfmZpbmRpdC1mb3ItbWVyygELEhdNYXN0ZXJGbGFrZUFuYWx5c2lzUm9vdCKTAWNocm9taXVtLm1lbW9yeS9MaW51eCBDaHJvbWl1bSBPUyBBU2FuIExTYW4gVGVzdHMgKDEpLzI4OTU1L3VuaXRfdGVzdHMvUVhCd1UyVmhjbU5vVW1WemRXeDBVbUZ1YTJWeVUyVnlhV0ZzYVhwaGRHbHZibFJsYzNRdVUyRjJaVlJ2UkdsemExTjFZMk5sWldRPQwLEhNNYXN0ZXJGbGFrZUFuYWx5c2lzGAEM
,
Sep 17
Error message:
[ RUN ] AppSearchResultRankerSerializationTest.SaveToDiskSucceed
../../chrome/browser/ui/app_list/search/search_result_ranker/app_search_result_ranker_unittest.cc:206: Failure
Expected equality of these values:
str_written
Which is: "\n \n\xE\n\aTarget2\x15\0\0\0@\n\xE\n\aTarget1\x15\0\0\x80?"
proto_str_
Which is: "\n \n\xE\n\aTarget1\x15\0\0\x80?\n\xE\n\aTarget2\x15\0\0\0@"
With diff:
@@ -2,5 +2,5 @@
\xE
-\aTarget2\x15\0\0\0@
+\aTarget1\x15\0\0\x80?
\xE
-\aTarget1\x15\0\0\x80?
+\aTarget2\x15\0\0\0@
Stack trace:
#0 0x000008cdd3af (/b/s/w/ir/out/Release/unit_tests+0x8cdd3ae)
#1 0x000008d037a0 (/b/s/w/ir/out/Release/unit_tests+0x8d0379f)
#2 0x000008d0237a (/b/s/w/ir/out/Release/unit_tests+0x8d02379)
[ FAILED ] AppSearchResultRankerSerializationTest.SaveToDiskSucceed (103 ms)
[ RUN ] AppSearchResultRankerSerializationTest.SaveToDiskSucceed
../../chrome/browser/ui/app_list/search/search_result_ranker/app_search_result_ranker_unittest.cc:206: Failure
Expected equality of these values:
str_written
Which is: "\n \n\xE\n\aTarget2\x15\0\0\0@\n\xE\n\aTarget1\x15\0\0\x80?"
proto_str_
Which is: "\n \n\xE\n\aTarget1\x15\0\0\x80?\n\xE\n\aTarget2\x15\0\0\0@"
With diff:
@@ -2,5 +2,5 @@
\xE
-\aTarget2\x15\0\0\0@
+\aTarget1\x15\0\0\x80?
\xE
-\aTarget1\x15\0\0\x80?
+\aTarget2\x15\0\0\0@
Stack trace:
#0 0x000008cdd3af (/b/s/w/ir/out/Release/unit_tests+0x8cdd3ae)
#1 0x000008d037a0 (/b/s/w/ir/out/Release/unit_tests+0x8d0379f)
#2 0x000008d0237a (/b/s/w/ir/out/Release/unit_tests+0x8d02379)
[ FAILED ] AppSearchResultRankerSerializationTest.SaveToDiskSucceed (36 ms)
Looks like some sort of race condition between two messages?
charleszhao@, could you take a look? Thanks!
,
Sep 18
So far SaveToDiskSucceeded is the only test that's flaky in that suite. Since it looks like you are working on it, let's disable that test without reverting the whole CL. WDYT?
,
Sep 18
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/e8327c079a60682035695a35bb84693e6d6175e8 commit e8327c079a60682035695a35bb84693e6d6175e8 Author: Asanka Herath <asanka@chromium.org> Date: Tue Sep 18 17:31:59 2018 Disable AppSearchResultRankerSerializationTest.SaveToDiskSucceed Test is flaky. Bug: 884140 Change-Id: I41f4f3eb084edd56867ffecc437817be8f1bcc1b Reviewed-on: https://chromium-review.googlesource.com/1231037 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Asanka Herath <asanka@chromium.org> Cr-Commit-Position: refs/heads/master@{#592095} [modify] https://crrev.com/e8327c079a60682035695a35bb84693e6d6175e8/chrome/browser/ui/app_list/search/search_result_ranker/app_search_result_ranker_unittest.cc
,
Sep 18
,
Sep 18
Thanks shend for helping on this. I'm taking a look right now.
,
Sep 20
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/6dc28b99abf2a960646313ff896a9b1682426361 commit 6dc28b99abf2a960646313ff896a9b1682426361 Author: Charles Zhao <charleszhao@chromium.org> Date: Thu Sep 20 13:11:02 2018 cros: Fix two flaky tests. Both tests fail because the proto serialization is not deterministic. Change-Id: I3b99faa03c55b3333c1d03e05258985e6f8ddaa5 Bug: 884140 Change-Id: I3b99faa03c55b3333c1d03e05258985e6f8ddaa5 Reviewed-on: https://chromium-review.googlesource.com/1233096 Commit-Queue: Charles . <charleszhao@chromium.org> Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#592776} [modify] https://crrev.com/6dc28b99abf2a960646313ff896a9b1682426361/chrome/browser/ui/app_list/search/search_result_ranker/app_launch_predictor_unittest.cc [modify] https://crrev.com/6dc28b99abf2a960646313ff896a9b1682426361/chrome/browser/ui/app_list/search/search_result_ranker/app_search_result_ranker_unittest.cc
,
Sep 21
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/d8226d35728334bf2eb516795760f64846fb430b commit d8226d35728334bf2eb516795760f64846fb430b Author: Charles Zhao <charleszhao@chromium.org> Date: Fri Sep 21 04:14:03 2018 Add EquivToProtoLite. EquivToProtoLite compares two Message or MessageLite by comparing each subfield. Bug: 884140 Change-Id: Ic9ecf9497a6beafd0c739134fe25f506b618527f Reviewed-on: https://chromium-review.googlesource.com/1236015 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Charles . <charleszhao@chromium.org> Cr-Commit-Position: refs/heads/master@{#593075} [add] https://crrev.com/d8226d35728334bf2eb516795760f64846fb430b/chrome/browser/ui/app_list/search/search_result_ranker/app_launch_predictor_test_util.h [modify] https://crrev.com/d8226d35728334bf2eb516795760f64846fb430b/chrome/browser/ui/app_list/search/search_result_ranker/app_launch_predictor_unittest.cc [modify] https://crrev.com/d8226d35728334bf2eb516795760f64846fb430b/chrome/browser/ui/app_list/search/search_result_ranker/app_search_result_ranker_unittest.cc [modify] https://crrev.com/d8226d35728334bf2eb516795760f64846fb430b/chrome/test/BUILD.gn
,
Sep 26
,
Sep 27
,
Sep 28
,
Oct 22
This bug is resolved and verified.
,
Oct 22
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by dtapu...@chromium.org
, Sep 14