Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "Reland "Reland "Android CCV/CRS: Turn on ChromeRootStoreUsed …
…in fieldtial_testing_config.json""" This reverts commit 7a9033f. Reason for revert: Break chrome_test_apk on the following builders: https://ci.chromium.org/ui/p/chrome/builders/ci/android-arm64-tests/13078/overview https://ci.chromium.org/ui/p/chrome/builders/ci/android-arm-tests/17805/overview Original change's description: > Reland "Reland "Android CCV/CRS: Turn on ChromeRootStoreUsed in fieldtial_testing_config.json"" > > This reverts commit 38ddf3f. > > Reason for revert: https://bugs.chromium.org/p/chromium/issues/detail?id=1446426 was found and fixed, hoping that's the cause. Can't repro anymore locally, and CQ run with android-internal-rel and android-internal-dbg run passed. > > Original change's description: > > Revert "Reland "Android CCV/CRS: Turn on ChromeRootStoreUsed in fieldtial_testing_config.json"" > > > > This reverts commit 212497b. > > > > Reason for revert: Causing android-arm-tests to fail chrome_test_apk with "EmbeddedTestServer$EmbeddedTestServerFailure: Failed to install root certificate" > > > > Original change's description: > > > Reland "Android CCV/CRS: Turn on ChromeRootStoreUsed in fieldtial_testing_config.json" > > > > > > This reverts commit 3cab5ea. > > > > > > Reason for revert: Original change broke internal bots when code was run statically on class load; moving back to a ClassHook implementation. > > > > > > Original change's description: > > > > Revert "Android CCV/CRS: Turn on ChromeRootStoreUsed in fieldtial_testing_config.json" > > > > > > > > This reverts commit c55272f. > > > > > > > > Reason for revert: Broke internal bots > > > > https://bugs.chromium.org/p/chromium/issues/detail?id=1442472 > > > > > > > > Original change's description: > > > > > Android CCV/CRS: Turn on ChromeRootStoreUsed in fieldtial_testing_config.json > > > > > > > > > > This required modifying tests to ensure that the test root is loaded in X509Utils.java via a ClassHook in ContentJUnit4ClassRunner before the user-added roots are pulled in net/cert/internal/trust_store_android.cc, so that the chrome cert verifier would correctly verify trust for connections to the EmbeddedTestServer. Previous attempts to do this did this at other points in the test loading process, but were unsuccessful for a variety of different reasons, usually in loading the root too late. > > > > > > > > > > We also rely on the fact that the root cert for EmbeddedTestServer is a statically checked in file (at net/data/ssl/certificates/root_ca_cert.pem) as the current solution (starting up the EmbeddedTestServer in a separate APK + calling to get the root cert) requires calling into native code which can't be done easily before the chrome cert verifier loads the user-added roots. > > > > > > > > > > This would be easier if the EmbeddedTestServer was run in process instead of in its own APK; I don't know if it would be feasible or how much work it would be to change this. > > > > > > > > > > Change-Id: Ie035190666dfe32ec7b13d66792ff6cbd7b3c1e7 > > > > > Cq-Do-Not-Cancel-Tryjobs: true > > > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4490464 > > > > > Commit-Queue: Hubert Chao <hchao@chromium.org> > > > > > Reviewed-by: Michael Thiessen <mthiesse@chromium.org> > > > > > Reviewed-by: Andrew Grieve <agrieve@chromium.org> > > > > > Reviewed-by: Tommy Nyquist <nyquist@chromium.org> > > > > > Reviewed-by: David Benjamin <davidben@chromium.org> > > > > > Cr-Commit-Position: refs/heads/main@{#1138721} > > > > > > > > Bug: 1442472 > > > > Change-Id: I4dafbcbc606ec6e05161721aaa96c0654bc42a13 > > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4508199 > > > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > > > > Reviewed-by: Tommy Nyquist <nyquist@chromium.org> > > > > Commit-Queue: Andrew Grieve <agrieve@chromium.org> > > > > Owners-Override: Andrew Grieve <agrieve@chromium.org> > > > > Cr-Commit-Position: refs/heads/main@{#1140285} > > > > > > Bug: 1365571 > > > Change-Id: If028ab634564d34881c4af917fbcabc6281132dc > > > Cq-Do-Not-Cancel-Tryjobs: true > > > Include-Ci-Only-Tests: true > > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4512699 > > > Reviewed-by: David Benjamin <davidben@chromium.org> > > > Reviewed-by: Tommy Nyquist <nyquist@chromium.org> > > > Reviewed-by: Andrew Grieve <agrieve@chromium.org> > > > Commit-Queue: Hubert Chao <hchao@chromium.org> > > > Cr-Commit-Position: refs/heads/main@{#1143409} > > > > Bug: 1365571, 1442472 > > Change-Id: I7e6c92d4aea327eb8718d570360085575e6d5699 > > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4540342 > > Auto-Submit: Sky Malice <skym@chromium.org> > > Commit-Queue: Sky Malice <skym@chromium.org> > > Owners-Override: Sky Malice <skym@chromium.org> > > Reviewed-by: Andrew Grieve <agrieve@chromium.org> > > Reviewed-by: Tommy Nyquist <nyquist@chromium.org> > > Cr-Commit-Position: refs/heads/main@{#1144960} > > Bug: 1365571, 1442472 > Change-Id: I2bf4e7f615c4de063b6cb19f2db34bc5f5d12bd6 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4544545 > Reviewed-by: David Benjamin <davidben@chromium.org> > Reviewed-by: Andrew Grieve <agrieve@chromium.org> > Reviewed-by: Tommy Nyquist <nyquist@chromium.org> > Commit-Queue: Hubert Chao <hchao@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1149712} Bug: 1365571, 1442472 Change-Id: I5035ed7d2b368e503961a5ca258c642256cae0eb No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4571879 Reviewed-by: Struan Shrimpton <sshrimp@google.com> Owners-Override: Struan Shrimpton <sshrimp@google.com> Commit-Queue: Haiyang Pan <hypan@google.com> Reviewed-by: Haiyang Pan <hypan@google.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Cr-Commit-Position: refs/heads/main@{#1149974}
- Loading branch information