New issue
Advanced search Search tips

Issue 879984 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Sep 6
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 1
Type: Bug
Flaky-Test: PostTaskTestWithExecutor.RegisterExecutorTwice



Sign in to add a comment

PostTaskTestWithExecutor.RegisterExecutorTwice is Flaky

Project Member Reported by Findit, Sep 3

Issue description

Test times out with the following message [1]:

[ RUN      ] PostTaskTestWithExecutor.RegisterExecutorTwice
[WARNING] ../../third_party/googletest/src/googletest/src/gtest-death-test.cc:1050:: Death tests use fork(), which is unsafe particularly in a threaded context. For this test, Google Test detected 4 threads. See https://github.com/google/googletest/blob/master/googletest/docs/advanced.md#death-tests-and-threads for more explanation and suggested solutions, especially if this is the last message you see before your test times out.

[1] https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8936438060631285872/+/steps/base_unittests/0/logs/PostTaskTestWithExecutor.RegisterExecutorTwice/0
Cc: a...@chromium.org gab@chromium.org fdoray@chromium.org
Components: Internals>TaskScheduler
Owner: eseckler@chromium.org
Status: Assigned (was: Available)
Disabling test on CrOS in https://crrev.com/c/1201849 and adding original CL author. eseckler@, please take a look.
Labels: -Sheriff-Chromium
Project Member

Comment 4 by bugdroid1@chromium.org, Sep 3

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

commit 7ce2d21f6b923c7b53b4912e4c5f2788d62c88a3
Author: jdoerrie <jdoerrie@chromium.org>
Date: Mon Sep 03 09:02:54 2018

[Sheriffing] Disable PostTaskTestWithExecutor.RegisterExecutorTwice on CrOS

TBR=gab@chromium.org

Bug:  879984 
Change-Id: I994de9e8f5f9ac51fde51e7376b399d271f53181
Reviewed-on: https://chromium-review.googlesource.com/1201849
Reviewed-by: Jan Wilken Dörrie <jdoerrie@chromium.org>
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Cr-Commit-Position: refs/heads/master@{#588355}
[modify] https://crrev.com/7ce2d21f6b923c7b53b4912e4c5f2788d62c88a3/base/task/post_task_unittest.cc

Status: Started (was: Assigned)
Project Member

Comment 6 by bugdroid1@chromium.org, Sep 6

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

commit 461cbc77709a44135a9c9fce4ac2e4d81a7cb1cb
Author: Eric Seckler <eseckler@chromium.org>
Date: Thu Sep 06 15:16:41 2018

base: Make PostTaskTestWithExecutor.RegisterExecutorTwice threadsafe.

Also reenables the test on Chrome OS, where it was previously flaking.

Bug:  879984 
Change-Id: Ida0391c7114afd77b7cb9ec8c2f9b00d8cc275b5
Reviewed-on: https://chromium-review.googlesource.com/1204330
Commit-Queue: François Doray <fdoray@chromium.org>
Reviewed-by: François Doray <fdoray@chromium.org>
Cr-Commit-Position: refs/heads/master@{#589172}
[modify] https://crrev.com/461cbc77709a44135a9c9fce4ac2e4d81a7cb1cb/base/task/post_task_unittest.cc

Status: Fixed (was: Started)

Sign in to add a comment