[DESCRIPTION]
com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions
fail
fail
09-26 10:54:58 I/TestFailureListener: FailureListener.testFailed com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions false false false
09-26 10:54:59 D/GranularRetriableTestWrapper: The test has reached its max number of run attempt: 1 time(s)
09-26 10:54:59 D/TestDevice: Uninstalling com.google.android.webview.gts
09-26 10:55:00 I/ConsoleReporter: [reef00000000001] Starting arm64-v8a GtsWebViewTestCases with 1 test
09-26 10:55:00 I/ConsoleReporter: [1/1 arm64-v8a GtsWebViewTestCases reef00000000001] com.google.android.webview.gts.WebViewTest#testChromeAndWebViewSimilarVersions fail: junit.framework.AssertionFailedError: WebView and Chrome must have the same version codes. expected:<3396> but was:<3497>
[SOLUTION]
google的反馈:
-
Richard (Torne) Coles <torne@google.com> #6
Reassigned to william.chung@mediatek.corp-partner.google.comFollowing another investigation, there's an issue where the test will fail if either Chrome or WebView have been updated by the Play Store prior to running the test. This happens automatically in some cases even if there is no Google account on the device due to a recent Play Store change. We are fixing the test to resolve this issue for a future GTS run, but you can work around this by manually uninstalling any Chrome or WebVIew updates on the device prior to running the test: it will then pass assuming you have the correct versions preinstalled. -
william.chung@mediatek.corp-partner.google.com <william.chung@mediatek.corp-partner.google.com>
Reassigned to isaac.lee@mediatek.corp-partner.google.com -
Rafi Ahmad <rafiahmad@google.com> #7
Marked as FixedThe GTS test is fixed (ag/4847736) for future version.Waiver is approved, but as Torne mentioned in #6, if uninstalling of Chrome can pass the test, please try that first.
理解Google的意思为以下两点:
1、可以waive;
豁免ID Waive Link:https://partnerissuetracker.corp.google.com/u/1/issues/112125067
2、如果卸载chrome可以pass,请优先做这个动作;这个fail由于测试过程中联网过程中,chrome自动升级导致;
那么根据google精神,MTK Lab都是去setting-->app里找到chrome,然后选disable,这里手机会提示是否uninstall,选择OK,然后retry;则可以pass;