New issue
Advanced search Search tips

Issue 796311 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Dec 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 0
Type: Bug



Sign in to add a comment

PkpTests are consistently failing on ios-simulator-cronet bots.

Project Member Reported by mmenke@chromium.org, Dec 19 2017

Issue description

It looks like 4 PkpTests are failing consistently on Cronet bots.  Here are 3 failures from different, unrelated CLs:

https://ci.chromium.org/buildbot/tryserver.chromium.mac/ios-simulator-cronet/3125
https://ci.chromium.org/buildbot/tryserver.chromium.mac/ios-simulator-cronet/3126
https://ci.chromium.org/buildbot/tryserver.chromium.mac/ios-simulator-cronet/3127

So it's currently impossible to land anything that touches a file used on ios Cronet.

Misha:  Mind triaging?
 

Comment 1 by mef@chromium.org, Dec 19 2017

Labels: OS-iOS
Owner: kapishnikov@chromium.org

Comment 2 by mef@chromium.org, Dec 19 2017



PkpTest.TestSuccessIfPinSetForDifferentHost:
[33872:1027:1219/114130.869859:31490556741008:INFO:quic_test_server.cc(115)] 0x0
[1219/114130.897123:WARNING:proof_verifier_chromium.cc(501)] Failed to verify certificate chain: net::ERR_CERT_INVALID
[1219/114130.897829:ERROR:crn_http_protocol_handler.mm(814)] HttpProtocolHandlerCore - Network error: net::ERR_QUIC_PROTOCOL_ERROR (-356)
../../components/cronet/ios/test/cronet_pkp_test.mm:70: Failure
Value of: IsResponseSuccessful()
  Actual: false (error in response: Error Domain=NSURLErrorDomain Code=-1004 "(null)" UserInfo={NSUnderlyingError=0x60400005eb40 {Error Domain=net Code=-356 "(null)"}, CreationDate=2017-12-19 19:41:30 +0000, NSErrorFailingURLStringKey=https://test.example.com/simple.txt})
Expected: true
../../components/cronet/ios/test/cronet_pkp_test.mm:127: Failure
Expected: sendRequestAndAssertResult(request_url_, kSuccess) doesn't generate new fatal failures in the current thread.
  Actual: it does.
[1219/114130.902448:WARNING:url_request_context_getter.cc(43)] URLRequestContextGetter leaking due to no owning thread.

Comment 3 by mef@chromium.org, Dec 19 2017

I'll try it locally to see if it is configuration or code issue.

Comment 4 by mef@chromium.org, Dec 19 2017

Owner: mef@chromium.org
It reproduces locally, I'll try to bisect

Comment 5 by mef@chromium.org, Dec 19 2017

Cc: jam@chromium.org rch@chromium.org est...@chromium.org
This is caused by https://chromium-review.googlesource.com/c/chromium/src/+/833749

Should I revert it or can it be fixed forward?

Comment 6 by mmenke@chromium.org, Dec 19 2017

I'd say reverted, if it can't be fixed tonight (Or at least get an ETA on it tonight) - it's blocking the CQ.  And while people can just bypass the bots, that shouldn't be a usual part of the workflow, and people could break more tests without noticing if they do that.

Comment 7 by jam@chromium.org, Dec 19 2017

let me take a look first.

how come this isn't on the cq?

Comment 8 by mmenke@chromium.org, Dec 19 2017

There doesn't even seem to be a non-FYI buildbot, either.  :(

Comment 9 by jam@chromium.org, Dec 19 2017

Owner: jam@chromium.org
Status: Started (was: Assigned)
Micha pointed out that my subsequent cl, https://chromium-review.googlesource.com/c/chromium/src/+/834748/3/components/cronet/ios/test/cronet_pkp_test.mm#b28, fixes this. i'll try to land the one ios change separately first.

Comment 10 by mef@chromium.org, Dec 19 2017

sgtm, thanks!

Comment 12 by jam@chromium.org, Dec 19 2017

Status: Fixed (was: Started)
Project Member

Comment 13 by bugdroid1@chromium.org, Dec 19 2017

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/e71500196b7e172b7c826febe6361e98890ea255

commit e71500196b7e172b7c826febe6361e98890ea255
Author: John Abd-El-Malek <jam@chromium.org>
Date: Tue Dec 19 22:33:02 2017

Fix iOS QUIC unittests on ios-simulator-cronet after r525102.

Bug:  796311 
Cq-Include-Trybots: master.tryserver.chromium.mac:ios-simulator-cronet
Change-Id: I7aeb3767ef4e5b883a8b83e29fe24b786a84f1c1
Reviewed-on: https://chromium-review.googlesource.com/834994
Commit-Queue: John Abd-El-Malek <jam@chromium.org>
Commit-Queue: Misha Efimov <mef@chromium.org>
Reviewed-by: Misha Efimov <mef@chromium.org>
Cr-Commit-Position: refs/heads/master@{#525160}
[modify] https://crrev.com/e71500196b7e172b7c826febe6361e98890ea255/components/cronet/ios/test/cronet_pkp_test.mm

Wow, that was fast.  Thanks!

Comment 15 by mef@chromium.org, Dec 19 2017

We aim to please. :)

Sign in to add a comment