|
|
Chromium Code Reviews|
Created:
4 years, 3 months ago by stanisc Modified:
4 years, 3 months ago Reviewers:
ncarter (slow) CC:
chromium-reviews Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionTwo TaskManager tests are flaky on debug due to a DCHECK in SharedSampler.
This is happening due to a Refresh called from a task group
which process_id is zero.
I am not sure if calling Refresh when process_id is still
zero should be supported. Perhaps that is an issue in
TaskManagerImpl / TaskGroup code, I think
https://crbug.com/521197 might be related. For now the
quick fix is move the DCHECK a bit further in the code so
it doesn't get triggered in that case.
BUG=642482
Committed: https://crrev.com/15ee7f73c882bb282d80225c50dd50c678438696
Cr-Commit-Position: refs/heads/master@{#415663}
Patch Set 1 #
Messages
Total messages: 17 (12 generated)
The CQ bit was checked by stanisc@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Description was changed from ========== TaskManagerBrowserTest.DevToolsNewUndockedWindow and AppBackgroundPageApiTest.NoJsBackgroundPage flaky on debug BUG=642482 ========== to ========== TaskManagerBrowserTest.DevToolsNewUndockedWindow and AppBackgroundPageApiTest.NoJsBackgroundPage flaky on debug This is happenning due to a Refresh called from a task group which process_id is zero. I am not sure if it is a problem with TaskManagerImpl / TaskGroup implementation, but for now I am fixing it locally by moving a DCHECK to a different line, after the condition for zero process_id is checked. BUG=642482 ==========
Description was changed from ========== TaskManagerBrowserTest.DevToolsNewUndockedWindow and AppBackgroundPageApiTest.NoJsBackgroundPage flaky on debug This is happenning due to a Refresh called from a task group which process_id is zero. I am not sure if it is a problem with TaskManagerImpl / TaskGroup implementation, but for now I am fixing it locally by moving a DCHECK to a different line, after the condition for zero process_id is checked. BUG=642482 ========== to ========== TaskManagerBrowserTest.DevToolsNewUndockedWindow and AppBackgroundPageApiTest.NoJsBackgroundPage flaky on debug This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if it is a problem with TaskManagerImpl / TaskGroup implementation, but for now I am fixing it locally by moving a DCHECK to a different line, after the condition for zero process_id is checked. BUG=642482 ==========
Description was changed from ========== TaskManagerBrowserTest.DevToolsNewUndockedWindow and AppBackgroundPageApiTest.NoJsBackgroundPage flaky on debug This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if it is a problem with TaskManagerImpl / TaskGroup implementation, but for now I am fixing it locally by moving a DCHECK to a different line, after the condition for zero process_id is checked. BUG=642482 ========== to ========== Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. SharedSampler::Refresh is already checking for that but there is a DCHECK ealier in the code that fails in that case. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 ==========
Description was changed from ========== Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. SharedSampler::Refresh is already checking for that but there is a DCHECK ealier in the code that fails in that case. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 ========== to ========== Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 ==========
stanisc@chromium.org changed reviewers: + nick@chromium.org
PTAL!
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
lgtm to fix the bug. I was mucking with this a few weeks ago; the pid==0 case can happen in the period of time between (a) when a renderer process is successfully launched and (b) we hear back its pid on the ui thread. in this period of time, the process exists and we may actually be communicating with it, but we can't measure its stats. It's gross.
The CQ bit was checked by stanisc@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 ========== to ========== Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 ==========
Message was sent while issue was closed.
Committed patchset #1 (id:1)
Message was sent while issue was closed.
Description was changed from ========== Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 ========== to ========== Two TaskManager tests are flaky on debug due to a DCHECK in SharedSampler. This is happening due to a Refresh called from a task group which process_id is zero. I am not sure if calling Refresh when process_id is still zero should be supported. Perhaps that is an issue in TaskManagerImpl / TaskGroup code, I think https://crbug.com/521197 might be related. For now the quick fix is move the DCHECK a bit further in the code so it doesn't get triggered in that case. BUG=642482 Committed: https://crrev.com/15ee7f73c882bb282d80225c50dd50c678438696 Cr-Commit-Position: refs/heads/master@{#415663} ==========
Message was sent while issue was closed.
Patchset 1 (id:??) landed as https://crrev.com/15ee7f73c882bb282d80225c50dd50c678438696 Cr-Commit-Position: refs/heads/master@{#415663} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
