New issue
Advanced search Search tips

Issue 702411 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 1
Type: Feature

Blocked on:
issue 700617



Sign in to add a comment

Separate/add more NetLogs for QuicStreamFactory::Job

Project Member Reported by zhongyi@chromium.org, Mar 16 2017

Issue description

Most of QUIC logs are in QUIC_SESSION where QUIC session has already been created. 

Need to add more NetLogs so that we could connect from HttpStreamFactoryImpl::Job to QuicStreamFactory::Job. Currently QuicStreamFactory::Job events are logged in HTTP_STREAM_JOB if the HttpStreamFactiryImpl::Job(alt job) needs to create a new QuicStreamFactory::Job to serve the server id.

It will be nicer to have separate QUIC_STREAM_FACTORY_JOB netlogs, connecting to those HTTP_STREAM_JOB which depends on this QUIC job so that if a HttpStreamFactiryImpl::Job(alt job) binds to an existing QUIC job, we might have QUIC job net log available.

I did this for a instrumented build in order to help debug  crbug.com/700617  and felt this might also be useful in the future. 
 

Comment 1 by mmenke@chromium.org, Mar 17 2017

Summary: Separate/add more NetLogs for QuicStreamFactory::Job (was: Sepate/add more NetLogs for QuicStreamFactory::Job)

Comment 2 by mge...@chromium.org, Mar 17 2017

Status: Available (was: Unconfirmed)
Changing to available to remove from the triager queue.
Owner: zhongyi@chromium.org
Status: Assigned (was: Available)
Labels: -Pri-2 Pri-1
Blockedon: 700617
Components: -Internals>Network Internals>Network>Logging
Cherie, do you think we can get this one in time for M59 cut? It will be nice to have some logging in case we run into this again in the new release. 
We should be, I will send out the CL for review ASAP.
Project Member

Comment 8 by bugdroid1@chromium.org, Apr 6 2017

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

commit 069464ff67c5ba19b7a0aff04cd88cb646872d81
Author: zhongyi <zhongyi@chromium.org>
Date: Thu Apr 06 19:53:37 2017

Add NetLog for HttpStreamFactoryImpl::Job::DoInitConnection
so that if the connection initialization hangs NetLog will log the
behavior. This will help investigate bugs similar to  crbug.com/700617  in
the future.

BUG= 702411 

Review-Url: https://codereview.chromium.org/2798243006
Cr-Commit-Position: refs/heads/master@{#462594}

[modify] https://crrev.com/069464ff67c5ba19b7a0aff04cd88cb646872d81/net/http/http_stream_factory_impl_job.cc
[modify] https://crrev.com/069464ff67c5ba19b7a0aff04cd88cb646872d81/net/log/net_log_event_type_list.h

Project Member

Comment 10 by bugdroid1@chromium.org, Apr 8 2017

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

commit fc46696ff2d37c43d4604cc2e996c8f2e3d2dcf0
Author: zhongyi <zhongyi@chromium.org>
Date: Sat Apr 08 01:33:51 2017

Add QUIC_STREAM_FACTORY_JOB specific logs to track the Job's state machine.

BUG= 702411 

Review-Url: https://codereview.chromium.org/2806883002
Cr-Commit-Position: refs/heads/master@{#463099}

[modify] https://crrev.com/fc46696ff2d37c43d4604cc2e996c8f2e3d2dcf0/net/log/net_log_event_type_list.h
[modify] https://crrev.com/fc46696ff2d37c43d4604cc2e996c8f2e3d2dcf0/net/quic/chromium/quic_stream_factory.cc

Labels: sr-pm-5
Project Member

Comment 12 by bugdroid1@chromium.org, Apr 11 2017

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

commit 011ef8d97d0b06877ca4cfc621d2e56f19aeef8c
Author: zhongyi <zhongyi@chromium.org>
Date: Tue Apr 11 05:01:06 2017

Link NetLogs for HttpStreamFactoryImpl::Job and existing QuicStreamFactory::Job

When HttpStreamFactoryImpl::Job init connection to QUIC server, in some
cases, it might not result in QuicStreamFactory creating a new
QuicStreamFactory::Job to serve the QuicRequest but use an exisitng
QuicStreamFactory::Job. Link the HttpStreamFactoryImpl::Job and
QuicStreamFactory::Job so that the HttpStreamFactoryImpl::Job::DoInitConnection
is traceable.

BUG= 702411 

Review-Url: https://codereview.chromium.org/2811573003
Cr-Commit-Position: refs/heads/master@{#463536}

[modify] https://crrev.com/011ef8d97d0b06877ca4cfc621d2e56f19aeef8c/net/quic/chromium/quic_stream_factory.cc

Status: Fixed (was: Assigned)
With the new NetLogs added, we should be able to track QUIC connecting status for a HttpStreamFactoryImpl::Job. I am going to mark this as fixed. 

Comment 14 by rch@chromium.org, Apr 12 2017

\o/

Sign in to add a comment