New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 822256 link

Starred by 4 users

Issue metadata

Status: Fixed
Owner: ----
Closed: Mar 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

net_unittests failing on Mac-10.10 builder

Project Member Reported by rogerta@chromium.org, Mar 15 2018

Issue description

net_unittests have failed on Mac-10.10 builder:

https://uberchromegw.corp.google.com/i/chromium.mac/builders/Mac10.10%20Tests

The two latest builds:

https://uberchromegw.corp.google.com/i/chromium.mac/builders/Mac10.10%20Tests/builds/30244
https://uberchromegw.corp.google.com/i/chromium.mac/builders/Mac10.10%20Tests/builds/30245

For example:

[ RUN      ] SSLClientSocketReadTest.Read/0
[E2018-03-15T06:42:06.532107-07:00 29490 0 config.go:310] Failed to get runtime information:
         {"error":"exit status 1"}
[E2018-03-15T06:42:06.532534-07:00 29490 0 annotate.go:242] original error: exit status 1
[E2018-03-15T06:42:06.532577-07:00 29490 0 annotate.go:242] 
[E2018-03-15T06:42:06.532615-07:00 29490 0 annotate.go:242] goroutine 1:
[E2018-03-15T06:42:06.532642-07:00 29490 0 annotate.go:242] #0 go.chromium.org/luci/vpython/venv/config.go:311 - venv.fillRuntime()
[E2018-03-15T06:42:06.532672-07:00 29490 0 annotate.go:242]   reason: failed to get runtime information
[E2018-03-15T06:42:06.532706-07:00 29490 0 annotate.go:242] 
[E2018-03-15T06:42:06.532740-07:00 29490 0 annotate.go:242] #1 go.chromium.org/luci/vpython/venv/config.go:194 - venv.(*Config).makeEnv()
[E2018-03-15T06:42:06.532768-07:00 29490 0 annotate.go:242] #2 go.chromium.org/luci/vpython/venv/venv.go:150 - venv.With()
[E2018-03-15T06:42:06.532795-07:00 29490 0 annotate.go:242]   reason: failed to initialize empty probe environment
[E2018-03-15T06:42:06.532819-07:00 29490 0 annotate.go:242] 
[E2018-03-15T06:42:06.532852-07:00 29490 0 annotate.go:242] #3 go.chromium.org/luci/vpython/run.go:63 - vpython.Run()
[E2018-03-15T06:42:06.532887-07:00 29490 0 annotate.go:242] #4 go.chromium.org/luci/vpython/application/application.go:318 - application.(*application).mainImpl()
[E2018-03-15T06:42:06.532918-07:00 29490 0 annotate.go:242] #5 go.chromium.org/luci/vpython/application/application.go:402 - application.(*Config).Main.func1()
[E2018-03-15T06:42:06.532951-07:00 29490 0 annotate.go:242] #6 go.chromium.org/luci/vpython/application/support.go:47 - application.run()
[E2018-03-15T06:42:06.532977-07:00 29490 0 annotate.go:242] #7 go.chromium.org/luci/vpython/application/application.go:401 - application.(*Config).Main()
[E2018-03-15T06:42:06.533008-07:00 29490 0 annotate.go:242] #8 vpython/main.go:92 - main.mainImpl()
[E2018-03-15T06:42:06.533036-07:00 29490 0 annotate.go:242] #9 vpython/main.go:98 - main.main()
[E2018-03-15T06:42:06.533062-07:00 29490 0 annotate.go:242] #10 runtime/proc.go:195 - runtime.main()
[E2018-03-15T06:42:06.533086-07:00 29490 0 annotate.go:242] #11 runtime/asm_amd64.s:2337 - runtime.goexit()
[29483:779:0315/064206.535424:15668301511308:ERROR:local_test_server_posix.cc(168)] Could not read server_data_len
[29483:779:0315/064206.535886:15668301947879:ERROR:ssl_client_socket_unittest.cc(855)] Could not start SpawnedTestServer
../../net/socket/ssl_client_socket_unittest.cc:1336: Failure
Value of: StartTestServer(SpawnedTestServer::SSLOptions())
  Actual: false
Expected: true

[ RUN      ] HTTPSCRLSetTest.CRLSetRevokedBySubject
[18774:779:0315/062228.748569:7780141209159:ERROR:local_test_server_posix.cc(81)] poll() timed out; bytes_read=0
[18774:779:0315/062228.748913:7780141538466:ERROR:local_test_server_posix.cc(168)] Could not read server_data_len
../../net/url_request/url_request_unittest.cc:10732: Failure
Value of: test_server.Start()
  Actual: false
Expected: true
../../net/url_request/url_request_unittest.cc:10754: Failure
Expected: DoConnectionWithDelegate(ssl_options, &d, &ssl_info) doesn't generate new fatal failures in the current thread.
  Actual: it does.
../../net/url_request/url_request_unittest.cc:11866: Failure
Expected equality of these values:
  CERT_STATUS_REVOKED
    Which is: 64
  cert_status & CERT_STATUS_ALL_ERRORS
    Which is: 0
[18774:779:0315/062238.763580:7790156660015:ERROR:local_test_server_posix.cc(81)] poll() timed out; bytes_read=0
[18774:779:0315/062238.763639:7790156708413:ERROR:local_test_server_posix.cc(168)] Could not read server_data_len
../../net/url_request/url_request_unittest.cc:10732: Failure
Value of: test_server.Start()
  Actual: false
Expected: true
../../net/url_request/url_request_unittest.cc:10754: Failure
Expected: DoConnectionWithDelegate(ssl_options, &d, &ssl_info) doesn't generate new fatal failures in the current thread.
  Actual: it does.
[  FAILED  ] HTTPSCRLSetTest.CRLSetRevokedBySubject (20028 ms)
[25439/25440] HTTPSCRLSetTest.CRLSetRevokedBySubject (20028 ms)

[ RUN      ] HTTPSCRLSetTest.CRLSetRevoked
[18807:779:0315/062249.389250:7800782782464:ERROR:local_test_server_posix.cc(81)] poll() timed out; bytes_read=0
[18807:779:0315/062249.389511:7800783026231:ERROR:local_test_server_posix.cc(168)] Could not read server_data_len
../../net/url_request/url_request_unittest.cc:10732: Failure
Value of: test_server.Start()
  Actual: false
Expected: true
../../net/url_request/url_request_unittest.cc:10754: Failure
Expected: DoConnectionWithDelegate(ssl_options, &d, &ssl_info) doesn't generate new fatal failures in the current thread.
  Actual: it does.
../../net/url_request/url_request_unittest.cc:11839: Failure
Expected equality of these values:
  CERT_STATUS_REVOKED
    Which is: 64
  cert_status & CERT_STATUS_ALL_ERRORS
    Which is: 0
[  FAILED  ] HTTPSCRLSetTest.CRLSetRevoked (10021 ms)

 

Comment 1 by mmenke@chromium.org, Mar 15 2018

Cc: iannucci@chromium.org mmenke@chromium.org
Components: Internals>Network>SSL
Owner: ----
Status: Untriaged (was: Assigned)
[+iannucci]:  Maybe this is related to issue 804174, or at least the switch to vpython?

Regardless, I know nothing about Python, the Python test environment, OSX, SSL, nor why the SpawnedTestServer is still being used for SSL tests, so not a good owner for this.
mmenke: I'm not sure I understand your remark re: "nor why the SpawnedTestServer is still being used for SSL tests" - the SpawnedTestServer precisely exists for a set of SSL tests for which the EmbeddedTestServer is not appropriate.

Comment 3 by mmenke@chromium.org, Mar 15 2018

rsleevi:  "It's needed because it's needed" doesn't exactly explain why it's needed.  I accept that it's needed, but that acceptance doesn't make me a good person to evaluate what to do about that need and python issues causing tests that I'm unfamiliar with to timeout.
Fair enough. Definitely this seems related to vpython, which hopefully ian can help with.
Cc: crouleau@chromium.org
 Issue 822316  has been merged into this issue.
Labels: Infra-Troopers Sheriff-Chromium
Relanded it since net_unittests is working again and the revert hadn't gone through: https://chromium-review.googlesource.com/c/chromium/src/+/963853
(EmbeddedTestServer doesn't support all the features provided by SpawnedTestServer for the low-level SSL tests since it, well, tests some lower-level SSL behavior. It's probably fixable, but we're extremely short-staffed and overloaded right now---to that point that I'm on a pseudovacation right now due to burnout, so you'll need to talk to Brad if you want this prioritized.)
Status: Fixed (was: Untriaged)
It is no longer failing.

Sign in to add a comment