Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Issue 3002933003: Enable installing test CA on Android & add test for it (Closed)

Created:
3 years, 4 months ago by nednguyen
Modified:
3 years, 3 months ago
Reviewers:
xunjieli
CC:
catapult-reviews_chromium.org, telemetry-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
catapult
Visibility:
Public.

Description

Enable installing test CA on Android & add test for it This CL also enable "--ignore-certificate-errors" even if test CA is installed. Later work will remove "--ignore-certificate-errors" if test CA is installed to mitigate the risk of breaking perf waterfall. BUG=chromium:753948

Patch Set 1 #

Patch Set 2 : Specify key & cert files #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -9 lines) Patch
M telemetry/telemetry/internal/backends/chrome/chrome_browser_backend.py View 1 chunk +8 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/platform/android_platform_backend.py View 1 chunk +1 line, -5 lines 0 comments Download
M telemetry/telemetry/internal/platform/platform_backend_unittest.py View 2 chunks +33 lines, -0 lines 0 comments Download
M telemetry/telemetry/internal/util/webpagereplay_go_server.py View 1 4 chunks +10 lines, -4 lines 0 comments Download

Messages

Total messages: 34 (19 generated)
nednguyen
3 years, 4 months ago (2017-08-18 19:05:01 UTC) #3
nednguyen
On 2017/08/18 19:05:01, nednguyen wrote: And.. the added test is failing. Helen, I think this ...
3 years, 4 months ago (2017-08-18 19:42:00 UTC) #9
xunjieli
On 2017/08/18 19:42:00, nednguyen wrote: > On 2017/08/18 19:05:01, nednguyen wrote: > > And.. the ...
3 years, 4 months ago (2017-08-18 20:05:57 UTC) #10
nednguyen
On 2017/08/18 20:05:57, xunjieli wrote: > On 2017/08/18 19:42:00, nednguyen wrote: > > On 2017/08/18 ...
3 years, 4 months ago (2017-08-21 20:52:52 UTC) #15
xunjieli
On 2017/08/21 20:52:52, nednguyen wrote: > On 2017/08/18 20:05:57, xunjieli wrote: > > On 2017/08/18 ...
3 years, 4 months ago (2017-08-21 21:25:24 UTC) #16
nednguyen
On 2017/08/21 21:25:24, xunjieli wrote: > On 2017/08/21 20:52:52, nednguyen wrote: > > On 2017/08/18 ...
3 years, 4 months ago (2017-08-21 21:31:45 UTC) #17
nednguyen
On 2017/08/21 21:25:24, xunjieli wrote: > On 2017/08/21 20:52:52, nednguyen wrote: > > On 2017/08/18 ...
3 years, 4 months ago (2017-08-21 21:59:31 UTC) #18
xunjieli
On 2017/08/21 21:59:31, nednguyen wrote: > On 2017/08/21 21:25:24, xunjieli wrote: > > On 2017/08/21 ...
3 years, 4 months ago (2017-08-21 22:43:35 UTC) #19
nednguyen
On 2017/08/21 22:43:35, xunjieli wrote: > On 2017/08/21 21:59:31, nednguyen wrote: > > On 2017/08/21 ...
3 years, 4 months ago (2017-08-21 22:55:42 UTC) #20
xunjieli
On 2017/08/21 22:55:42, nednguyen wrote: > On 2017/08/21 22:43:35, xunjieli wrote: > > On 2017/08/21 ...
3 years, 4 months ago (2017-08-21 23:00:13 UTC) #21
nednguyen
On 2017/08/21 23:00:13, xunjieli wrote: > On 2017/08/21 22:55:42, nednguyen wrote: > > On 2017/08/21 ...
3 years, 4 months ago (2017-08-21 23:13:56 UTC) #22
xunjieli
On 2017/08/21 23:13:56, nednguyen wrote: > On 2017/08/21 23:00:13, xunjieli wrote: > > On 2017/08/21 ...
3 years, 4 months ago (2017-08-22 00:21:06 UTC) #23
nednguyen
On 2017/08/22 00:21:06, xunjieli wrote: > On 2017/08/21 23:13:56, nednguyen wrote: > > On 2017/08/21 ...
3 years, 4 months ago (2017-08-22 13:57:03 UTC) #28
xunjieli
On 2017/08/22 13:57:03, nednguyen wrote: > On 2017/08/22 00:21:06, xunjieli wrote: > > On 2017/08/21 ...
3 years, 4 months ago (2017-08-22 14:09:41 UTC) #29
nednguyen
3 years, 4 months ago (2017-08-22 15:47:02 UTC) #34
Now the failure log get quite interesting. It seems like we fail to increase the
number of certificate in the log

[Omit a lot due to the log limit]

  Traceback (most recent call last):
    File
"/b/build/slave/Catapult_Android_Tryserver/build/catapult/telemetry/telemetry/testing/browser_test_case.py",
line 41, in WrappedMethod
      method(self)
    File
"/b/build/slave/Catapult_Android_Tryserver/build/catapult/telemetry/telemetry/internal/platform/platform_backend_unittest.py",
line 67, in testCAInstallation
      len(self._GetRootCertificates()))
  AssertionError: 158 != 157

Powered by Google App Engine
This is Rietveld 408576698