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

Issue 764018 link

Starred by 2 users

Issue metadata

Status: Duplicate
Merged: issue 816620
Owner:
Closed: Feb 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Fuchsia
Pri: 2
Type: Bug

Blocking:
issue 738275



Sign in to add a comment

IPCChannelBadMessageTest.BadMessage failed on ipc_tests on Fuchsia

Project Member Reported by scottmg@chromium.org, Sep 11 2017

Issue description

And https://luci-logdog.appspot.com/v/?s=chromium%2Fbb%2Fchromium.fyi%2FFuchsia%2F9302%2F%2B%2Frecipes%2Fsteps%2Fipc_tests%2F0%2Fstdout

[00452.198] 02811.02913> 1 test timed out:
[00452.198] 02811.02913>     IPCChannelProxyTest.BadMessageOnListenerThread (../../ipc/ipc_channel_proxy_unittest.cc:358)

These might have gotten worse recently, perhaps due to timing change after kvm?

Comment 3 by w...@chromium.org, Feb 8 2018

Cc: roc...@chromium.org
Components: Internals>Core
Owner: w...@chromium.org
Status: Assigned (was: Unconfirmed)
IPCChannelBadMessageTest.BadMessage failed again in https://build.chromium.org/p/chromium.fyi/builders/Fuchsia/builds/13437, this time we capture thread dumps for the hang:

[00456.449] 03890.04300> [3:95490091:0130/041156.848388:456449293:ERROR:test_launcher.cc(404)] Dumping threads in process 4427
...
[00456.470] 09439.09465> 2 thread(s)
[00456.471] 09439.09465> dso: id=a3cdd2f1fe5db258b9ef1b3e74e686d31ae2a1fe base=0x7dbbd806c000 name=libc.so
[00456.471] 09439.09465> dso: id=520b8ffffb17b5a555fc4f3cc35a13f22647d515 base=0x5848ad16d000 name=<vDSO>
[00456.472] 09439.09465> dso: id=dec38dac7bab47a972972865c166399055f7305c base=0x444104869000 name=liblaunchpad.so
[00456.472] 09439.09465> dso: id=585b23daf740247e3f6f3f0ee413aba7a91a0f7a base=0x1c49f4afe000 name=libfdio.so
[00456.472] 09439.09465> dso: id=df402646eca930df base=0x113366d7a000 name=app:ipc_tests__exec

[00456.474] 09439.09465> <== Thread initial-thread[4496] ==>
...
#01: pc 0x5848ad17385b sp 0xdc16642b618 (<vDSO>,0x685b)
#02: pc 0x5848ad173579 sp 0xdc16642b620 (<vDSO>,0x6579)
#03: pc 0x7dbbd80b0511 sp 0xdc16642b640 (libc.so,0x44511)
#04: pc 0x7dbbd8083f48 sp 0xdc16642b680 (libc.so,0x17f48)
#05: base::ConditionVariable::Wait() at ??:?
#06: base::WaitableEvent::TimedWaitUntil(base::TimeTicks const&) at ??:?
#07: base::WaitableEvent::Wait() at ??:?
#08: base::MessagePumpDefault::Run(base::MessagePump::Delegate*) at ??:?
#09: base::RunLoop::Run() at ??:?
#10: (anonymous namespace)::IPCChannelBadMessageTest_BadMessage_Test::TestBody() at ??:?
#11: testing::Test::Run() at ??:?
#12: testing::TestInfo::Run() at ??:?
#13: testing::TestCase::Run() at ??:?
#14: testing::internal::UnitTestImpl::RunAllTests() at ??:?
#15: testing::UnitTest::Run() at ??:?
#16: base::TestSuite::Run() at ??:?
#17: base::(anonymous namespace)::LaunchUnitTestsInternal(base::RepeatingCallback<int ()> const&, unsigned long, int, bool, base::RepeatingCallback<void ()> const&) at ??:?
#18: base::LaunchUnitTests(int, char**, base::RepeatingCallback<int ()> const&) at ??:?
#19: main at ??:?
#20: pc 0x7dbbd808710e sp 0xdc16642bfe0 (libc.so,0x1b10e)
#21: pc 0 sp 0xdc16642c000

[00456.494] 09439.09465> <== Thread test_io_thread[4698] ==>
...
#01: pc 0x5848ad173889 sp 0x545079ec6e98 (<vDSO>,0x6889)
#02: pc 0x5848ad1735b7 sp 0x545079ec6ea0 (<vDSO>,0x65b7)
#03: base::MessagePumpFuchsia::Run(base::MessagePump::Delegate*) at ??:?
#04: base::RunLoop::Run() at ??:?
#05: base::Thread::ThreadMain() at ??:?
#06: base::(anonymous namespace)::ThreadFunc(void*) at ??:?
#07: pc 0x7dbbd8084876 sp 0x545079ec6fe0 (libc.so,0x18876)
#08: pc 0x7dbbd80fa6c9 sp 0x545079ec6ff0 (libc.so,0x8e6c9)
#09: pc 0 sp 0x545079ec7000
...
[00456.561] 03890.03926> [73/82] IPCChannelBadMessageTest.BadMessage (TIMED OUT)

Comment 4 by w...@chromium.org, Feb 13 2018

And again in Fuchsia (dbg) https://build.chromium.org/p/chromium.fyi/builders/Fuchsia%20%28dbg%29/builds/16172 with:

[00456.779] 03917.04408> [3:1313867317:0213/095945.906010:456779635:ERROR:test_launcher.cc(404)] Dumping threads in process 4525
[00456.804] 13055.13081> Backtrace of threads of process 4525: ipc_tests__exec
[00456.804] 13055.13081> arch: x86_64
[00456.804] 13055.13081> 2 thread(s)
...

[00456.819] 13055.13081> <== Thread initial-thread[4602] ==>
...
#01: pc 0x654d6812785b sp 0x17baf4a80198 (<vDSO>,0x685b)
#02: pc 0x654d68127579 sp 0x17baf4a801a0 (<vDSO>,0x6579)
#03: pc 0x464ff4cd1511 sp 0x17baf4a801c0 (libc.so,0x44511)
#04: pc 0x464ff4ca4f48 sp 0x17baf4a80200 (libc.so,0x17f48)
#05: base::ConditionVariable::Wait() at ??:?
#06: base::WaitableEvent::TimedWaitUntil(base::TimeTicks const&) at ??:?
#07: base::WaitableEvent::Wait() at ??:?
#08: base::MessagePumpDefault::Run(base::MessagePump::Delegate*) at ??:?
#09: base::MessageLoop::Run(bool) at ??:?
#10: base::RunLoop::Run() at ??:?
#11: (anonymous namespace)::IPCChannelBadMessageTest::SendQuitMessageAndWaitForIdle() at ??:?
#12: (anonymous namespace)::IPCChannelBadMessageTest_BadMessage_Test::TestBody() at ??:?
#13: testing::Test* testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::TestFactoryBase, testing::Test*>(testing::internal::TestFactoryBase*, testing::Test* (testing::internal::TestFactoryBase::*)(), char const*) at ??:?
#14: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) at ??:?
#15: testing::Test::Run() at ??:?
#16: testing::TestInfo::Run() at ??:?
#17: testing::TestCase::Run() at ??:?
#18: testing::internal::UnitTestImpl::RunAllTests() at ??:?
#19: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) at ??:?
#20: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) at ??:?
#21: testing::UnitTest::Run() at ??:?
#22: RUN_ALL_TESTS() at ??:?
#23: base::TestSuite::Run() at ??:?
#24: int base::internal::FunctorTraits<int (base::TestSuite::*)(), void>::Invoke<base::TestSuite*>(int (base::TestSuite::*)(), base::TestSuite*&&) at ??:?
#25: int base::internal::InvokeHelper<false, int>::MakeItSo<int (base::TestSuite::* const&)(), base::TestSuite*>(int (base::TestSuite::* const&)(), base::TestSuite*&&) at ??:?
#26: int base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::RunImpl<int (base::TestSuite::* const&)(), std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > const&, 0ul>(int (base::TestSuite::* const&)(), std::__1::tuple<base::internal::UnretainedWrapper<base::TestSuite> > const&, std::__1::integer_sequence<unsigned long, 0ul>) at ??:?
#27: base::internal::Invoker<base::internal::BindState<int (base::TestSuite::*)(), base::internal::UnretainedWrapper<base::TestSuite> >, int ()>::Run(base::internal::BindStateBase*) at ??:?
#28: base::RepeatingCallback<void ()>::Run() const & at ??:?
#29: base::(anonymous namespace)::LaunchUnitTestsInternal(base::RepeatingCallback<int ()> const&, unsigned long, int, bool, base::RepeatingCallback<void ()> const&) at ??:?
#30: base::LaunchUnitTests(int, char**, base::RepeatingCallback<int ()> const&) at ??:?
#31: main at ??:?
#32: pc 0x464ff4ca810e sp 0x17baf4a81fe0 (libc.so,0x1b10e)
#33: pc 0 sp 0x17baf4a82000

[00456.851] 13055.13081> <== Thread test_io_thread[5445] ==>
...
#01: pc 0x654d68127889 sp 0x153c9197c378 (<vDSO>,0x6889)
#02: pc 0x654d681275b7 sp 0x153c9197c380 (<vDSO>,0x65b7)
#03: base::MessagePumpFuchsia::HandleEvents(unsigned long) at ??:?
#04: base::MessagePumpFuchsia::Run(base::MessagePump::Delegate*) at ??:?
#05: base::MessageLoop::Run(bool) at ??:?
#06: base::RunLoop::Run() at ??:?
#07: base::Thread::Run(base::RunLoop*) at ??:?
#08: base::Thread::ThreadMain() at ??:?
#09: base::(anonymous namespace)::ThreadFunc(void*) at ??:?
#10: pc 0x464ff4ca5876 sp 0x153c9197dfe0 (libc.so,0x18876)
#11: pc 0x464ff4d1b6c9 sp 0x153c9197dff0 (libc.so,0x8e6c9)
#12: pc 0 sp 0x153c9197e000

Comment 5 by w...@chromium.org, Feb 13 2018

Labels: -Pri-3 M-67 Pri-2
Project Member

Comment 6 by bugdroid1@chromium.org, Feb 13 2018

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

commit b5b81ccb0cd7e6da884e902505704c85f09cb4bb
Author: Scott Graham <scottmg@chromium.org>
Date: Tue Feb 13 19:29:56 2018

fuchsia: Disable some flaky tests

base_unittests AddressSpaceRandomizationTest.RandomBitCorrelations23
seems newish, but has failed a couple times.

ipc_tests BadMessage has failed a number of times over the last week.

mojo_system_unittests MultiprocessMessagePipeTestWithPeerSupport is also
very flaky over the last week.

Bug:  764018 ,  810448 , 811881
Change-Id: If010457d69209c6a12d36aa4ffe49ae35600b623
Reviewed-on: https://chromium-review.googlesource.com/916724
Commit-Queue: Scott Graham <scottmg@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#536421}
[modify] https://crrev.com/b5b81ccb0cd7e6da884e902505704c85f09cb4bb/testing/buildbot/filters/fuchsia.base_unittests.filter
[modify] https://crrev.com/b5b81ccb0cd7e6da884e902505704c85f09cb4bb/testing/buildbot/filters/fuchsia.ipc_tests.filter
[modify] https://crrev.com/b5b81ccb0cd7e6da884e902505704c85f09cb4bb/testing/buildbot/filters/fuchsia.mojo_system_unittests.filter

Comment 7 by w...@chromium.org, Feb 26 2018

Mergedinto: 816620
Status: Duplicate (was: Assigned)
Project Member

Comment 8 by bugdroid1@chromium.org, Mar 13 2018

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

commit 6a84b3ed1c97d1fad1ebf401dc937e806cc895b7
Author: Wez <wez@chromium.org>
Date: Tue Mar 13 00:16:23 2018

Un-filter some Mojo and IPC tests under Fuchsia.

These tests were flakey due to messages being dropped by the receiver
occasionally when the underlying plaform-specific Channel was closed.

Bug:  764015 ,  764018 ,  756112 ,  810448 ,  815314 ,  816620 
Change-Id: I2b6cfb105660a570c09b29555da7811541d49ec9
Reviewed-on: https://chromium-review.googlesource.com/959674
Commit-Queue: Wez <wez@chromium.org>
Commit-Queue: John Budorick <jbudorick@chromium.org>
Reviewed-by: John Budorick <jbudorick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#542661}
[modify] https://crrev.com/6a84b3ed1c97d1fad1ebf401dc937e806cc895b7/testing/buildbot/filters/fuchsia.ipc_tests.filter
[modify] https://crrev.com/6a84b3ed1c97d1fad1ebf401dc937e806cc895b7/testing/buildbot/filters/fuchsia.mojo_unittests.filter

Sign in to add a comment