New issue
Advanced search Search tips

Issue 831024 link

Starred by 2 users

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 3
Type: Bug



Sign in to add a comment

DataPipeTest.SendConsumerAndCloseProducer flakily times-out under Fuchsia/x64/Debug FYI bot

Project Member Reported by w...@chromium.org, Apr 10 2018

Issue description

In https://ci.chromium.org/buildbot/chromium.fyi/Fuchsia%20(dbg)/18123 this failed with:

[00082.008] 04131.04190> [ RUN      ] DataPipeTest.SendConsumerAndCloseProducer
[00082.008] 04131.04190> [12063:637485637:0409/223419.027964:48296307:ERROR:process_fuchsia.cc(168)] going to wait for process 246f469b (deadline=58286245000, now=48296428000)
[00082.009] 04131.04190> [15326:62177587:0409/223425.524197:54792526:WARNING:test_suite.cc(240)] Test launcher output path /tmp/.org.chromium.Chromium.cDbnpE/test_results.xml exists. Not adding test launcher result printer.
[00082.009] 04131.04190> [15226:141009639:0409/223428.912103:58180521:WARNING:test_suite.cc(240)] Test launcher output path /tmp/.org.chromium.Chromium.cDbnpE/test_results.xml exists. Not adding test launcher result printer.
[00082.010] 04131.04190> [12063:637485637:0409/223429.019709:58288037:ERROR:process_fuchsia.cc(184)] zx_object_wait_one timed out, signals=0, deadline=58286245000, now=58287675000, delta=1430000
[00082.010] 04131.04190> ../../mojo/edk/test/mojo_test_base.h:72: Failure
[00082.010] 04131.04190> Expected equality of these values:
[00082.010] 04131.04190>   0
[00082.011] 04131.04190>   RunTestClientAndGetExitCode(client_name, handler)
[00082.011] 04131.04190>     Which is: -1
[00082.011] 04131.04190> [12063:637485637:0409/223429.070558:58338877:ERROR:process_fuchsia.cc(168)] going to wait for process 255f443f (deadline=68338605000, now=58338978000)
[00082.011] 04131.04190> [  FAILED  ] DataPipeTest.SendConsumerAndCloseProducer (11893 ms)
[00082.011] 04131.04190> [254/1016] DataPipeTest.SendConsumerAndCloseProducer (11893 ms)

In successful runs this test takes ~9.4s:

[00076.740] 04033.04094> [284/1016] DataPipeTest.SendConsumerAndCloseProducer (9412 ms)

RunTestClientAndGetExitCode() uses action_timeout(), which defaults to 10s - so this test is always perilously close to flaking, even when it passes.

Will disable this test in Debug, pending a fix for the process-launch performance issues for Debug/component binaries.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Apr 10 2018

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

commit 9ea3e3cf0148a0685ebf8f7af4979e31735d94e5
Author: Wez <wez@chromium.org>
Date: Tue Apr 10 22:29:58 2018

Disable or filter some more tests which often flake under Fuchsia.

- Disable ProcessUtilTest.LaunchWithHandleTransfer under Debug builds,
  since launching the child process is currently too time consuming.
- Modifies that test to distinguish the child process failing to send
  data from the timeout case.
- Disable SecurityTest.NewOverflow, which fails under Fuchsia/Debug
  builds due to the SDK exporting the wrong new[].
- Disable RTCRtpSenderTest.GetStats, which is part of a suite of tests
  which appear to be inherently flaky, but fail most often under Fuchsia.
- Filter DataPipeTest.SendConsumerAndCloseProducer

Bug:  793412 ,  828229 ,  827450 , 831024
Change-Id: Icb655ca91881c3ff7059f333f0e22d9bf2d92468
Reviewed-on: https://chromium-review.googlesource.com/1003996
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Yuri Wiitala <miu@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#549663}
[modify] https://crrev.com/9ea3e3cf0148a0685ebf8f7af4979e31735d94e5/base/process/process_util_unittest.cc
[modify] https://crrev.com/9ea3e3cf0148a0685ebf8f7af4979e31735d94e5/base/security_unittest.cc
[modify] https://crrev.com/9ea3e3cf0148a0685ebf8f7af4979e31735d94e5/content/renderer/media/webrtc/rtc_rtp_sender_unittest.cc
[modify] https://crrev.com/9ea3e3cf0148a0685ebf8f7af4979e31735d94e5/testing/buildbot/filters/fuchsia.mojo_unittests.filter

Comment 2 by w...@chromium.org, Apr 11 2018

Labels: -Pri-2 -M-67 Pri-3
Owner: ----
Status: Available (was: Started)
Cc: -roc...@chromium.org rockot@google.com

Sign in to add a comment