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

Issue 764015 link

Starred by 2 users

Issue metadata

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

Blocking:
issue 738275



Sign in to add a comment

IPCChannelProxyTest.GlobalAndMessageClassFilters and MessageClassFilters flaked on ipc_tests on Fuchsia

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

Issue description

Summary: IPCChannelProxyTest.GlobalAndMessageClassFilters and MessageClassFilters flaked on ipc_tests on Fuchsia (was: IPCChannelProxyTest.GlobalAndMessageClassFilters flaked on ipc_tests on Fuchsia)
Another on this fixture:

https://build.chromium.org/p/chromium.fyi/builders/Fuchsia%20%28dbg%29/builds/16374

[00457.048] 03934.04430> [3:57481313:0216/204232.621014:457048123:ERROR:process_fuchsia.cc(184)] zx_object_wait_one timed out, signals=0, deadline=457046684000, now=457047426000, delta=742000
[00457.050] 03934.04430> [3:57481313:0216/204232.623370:457050129:ERROR:test_launcher.cc(398)] about to process.Terminate() 3bd1b35
[00457.052] 03934.04430> [3:57481313:0216/204232.625853:457052642:ERROR:test_launcher.cc(404)] Dumping threads in process 4517
[00457.085] 12155.12181> Backtrace of threads of process 4517: ipc_tests__exec
[00457.085] 12155.12181> arch: x86_64
[00457.085] 12155.12181> 3 thread(s)
[00457.088] 12155.12181> dso: id=a11f3af982671dcd5f9ec7cc2b9146c555c55a75 base=0x7cf1f35d3000 name=libc.so
[00457.088] 12155.12181> dso: id=8fe79871dc92cd9ca77f5f8ff289edd6e3a5717c base=0x7937d49af000 name=<vDSO>
[00457.088] 12155.12181> dso: id=66d9831689ce40fcf133989057bc26c2be998cd8 base=0x744249aa9000 name=libfdio.so
[00457.089] 12155.12181> dso: id=3662b58439da863c base=0x713530f0d000 name=libicuuc_cr.so
[00457.089] 12155.12181> dso: id=75b0f5cb9f00b3d0 base=0x6de82b2a3000 name=libicui18n_cr.so
[00457.090] 12155.12181> dso: id=97c072644e14c33b base=0x67e85bd0a000 name=libbindings.so
[00457.090] 12155.12181> dso: id=3492090ab8db32cb base=0x64b30d880000 name=libmessage_support.so
[00457.091] 12155.12181> dso: id=29b7df5a4e9d64e9 base=0x5291cf671000 name=libmojo_mojom_bindings_shared.so
[00457.091] 12155.12181> dso: id=6c7e6f31cbd342e6 base=0x5069d50e4000 name=libboringssl.so
[00457.092] 12155.12181> dso: id=c07fdeeef319c9c6 base=0x47d1d6bf5000 name=libipc.so
[00457.092] 12155.12181> dso: id=d70a14593a0f7070 base=0x3d348babd000 name=libmojo_public_system_cpp.so
[00457.093] 12155.12181> dso: id=d8f1840afbcee721 base=0x3c066fade000 name=libbindings_base.so
[00457.093] 12155.12181> dso: id=f931193e5d32724d base=0x32b3cdfae000 name=libbase_i18n.so
[00457.094] 12155.12181> dso: id=bd27a70abdd2eda2 base=0x2e9d6c1c7000 name=libprotobuf_lite.so
[00457.094] 12155.12181> dso: id=80077bd6bd59c733 base=0x2c55d1cb3000 name=libmojo_public_system.so
[00457.095] 12155.12181> dso: id=1fdc529b768554d34e7da45d9e9c58843fc0aad4 base=0x2646e0941000 name=liblaunchpad.so
[00457.096] 12155.12181> dso: id=39d5dd5635a3227f base=0x1c5a69c9f000 name=libmojo_system_impl.so
[00457.096] 12155.12181> dso: id=de9aedbe4814decb base=0x1b844ad6c000 name=app:ipc_tests__exec
[00457.097] 12155.12181> dso: id=94ab68d875a71c0e base=0x1aa510039000 name=libcrcrypto.so
[00457.097] 12155.12181> dso: id=669061e6f81f097b base=0x1713a41d8000 name=libmojo_mojom_bindings.so
[00457.098] 12155.12181> dso: id=af0c466345986223 base=0x13a315261000 name=libipc_mojom.so
[00457.098] 12155.12181> dso: id=e944e3e5404a88ff base=0x1329a6f3d000 name=libc++.so
[00457.098] 12155.12181> dso: id=64030ff520573cf4 base=0xdefdb44f000 name=libbase.so
[00457.099] 12155.12181> dso: id=8020c60d4d95145a base=0xdd61dffa000 name=libipc_mojom_shared.so
[00457.101] 12155.12181> <== Thread initial-thread[4577] ==>
[00457.101] 12155.12181>  CS:                   0 RIP:     0x7937d49b585b EFL:              0x246
[00457.102] 12155.12181>  RAX: 0xfffffffffffffffa RBX: 0xffffffffffffffff RCX:     0x7937d49b585b RDX:                  0
[00457.102] 12155.12181>  RSI:                  0 RDI:                  0 RBP:                0x2 RSP:     0x13e4f52cff08
[00457.103] 12155.12181>   R8:                  0  R9:                  0 R10:                  0 R11:              0x246
[00457.103] 12155.12181>  R12:     0x13e4f52cffc4 R13:     0x58d6c86dccb0 R14:     0x13e4f52cffc4 R15:     0x13e4f52d0240
[00457.104] 12155.12181> bottom of user stack:
[00457.104] 12155.12181> 0x000013e4f52cff08: d49b5579 00007937 f52cffc4 000013e4 |yU..7y....,.....|
[00457.104] 12155.12181> 0x000013e4f52cff18: 00000002 00000000 00000001 00000000 |................|
[00457.105] 12155.12181> 0x000013e4f52cff28: f360f911 00007cf1 f52cff60 000013e4 |..`..|..`.,.....|
[00457.105] 12155.12181> 0x000013e4f52cff38: db546435 00000def 01455fee 00000000 |5dT......_E.....|
[00457.106] 12155.12181> 0x000013e4f52cff48: f52cff88 000013e4 f52cff88 000013e4 |..,.......,.....|
[00457.106] 12155.12181> 0x000013e4f52cff58: f52d0258 000013e4 00000000 00000000 |X.-.............|
[00457.107] 12155.12181> 0x000013e4f52cff68: f35e3348 00007cf1 f52cffb0 000013e4 |H3^..|....,.....|
[00457.107] 12155.12181> 0x000013e4f52cff78: f52d0230 000013e4 f52cffa0 000013e4 |0.-.......,.....|
[00457.108] 12155.12181> 0x000013e4f52cff88: db78356d 00000000 f52d0160 000013e4 |m5x.....`.-.....|
[00457.108] 12155.12181> 0x000013e4f52cff98: db88ce88 00000def f52cffc0 000013e4 |..........,.....|
[00457.108] 12155.12181> 0x000013e4f52cffa8: db5a638d 00000def 00000000 00000000 |.cZ.............|
[00457.109] 12155.12181> 0x000013e4f52cffb8: 00000000 00000000 00000000 00000002 |................|
[00457.109] 12155.12181> 0x000013e4f52cffc8: 00000000 00000000 01455fee 00000000 |........._E.....|
[00457.110] 12155.12181> 0x000013e4f52cffd8: c86dcf70 000058d6 f52d0180 000013e4 |p.m..X....-.....|
[00457.110] 12155.12181> 0x000013e4f52cffe8: 53868f45 00000000 c86dccb0 000058d6 |E..S......m..X..|
[00457.111] 12155.12181> 0x000013e4f52cfff8: 00000010 00000000 0000000f 00000000 |................|
#01: pc 0x7937d49b585b sp 0x13e4f52cff08 (<vDSO>,0x685b)
#02: pc 0x7937d49b5579 sp 0x13e4f52cff10 (<vDSO>,0x6579)
#03: pc 0x7cf1f360f911 sp 0x13e4f52cff30 (libc.so,0x3c911)
#04: pc 0x7cf1f35e3348 sp 0x13e4f52cff70 (libc.so,0x10348)
#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)::IPCChannelProxyTest::SendQuitMessageAndWaitForIdle() at ??:?
#12: (anonymous namespace)::IPCChannelProxyTest_MessageClassFilters_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 0x7cf1f35e650e sp 0x13e4f52d1fe0 (libc.so,0x1350e)
#33: pc 0 sp 0x13e4f52d2000
[00457.644] 12155.12181> <== Thread test_io_thread[5124] ==>
[00457.644] 12155.12181>  CS:                   0 RIP:     0x7937d49b5889 EFL:              0x202
[00457.644] 12155.12181>  RAX: 0xfffffffffffffffa RBX:                  0 RCX:     0x7937d49b5889 RDX:                  0
[00457.644] 12155.12181>  RSI:                  0 RDI:                  0 RBP:     0x2be17e634430 RSP:     0x2be17e634378
[00457.644] 12155.12181>   R8:                  0  R9:                  0 R10:                  0 R11:              0x202
[00457.645] 12155.12181>  R12: 0xffffffffffffffff R13:         0x53868e69 R14:                  0 R15:                  0
[00457.645] 12155.12181> bottom of user stack:
[00457.646] 12155.12181> 0x00002be17e634378: d49b55b7 00007937 8a8a2b38 00000c69 |.U..7y..8+..i...|
[00457.647] 12155.12181> 0x00002be17e634388: 8a8a2b58 00000c69 7e634920 00002be1 |X+..i... Ic~.+..|
[00457.647] 12155.12181> 0x00002be17e634398: 00000000 00000000 00000000 00000000 |................|
[00457.647] 12155.12181> 0x00002be17e6343a8: db860600 00000def 7e6343d0 00000002 |.........Cc~....|
[00457.648] 12155.12181> 0x00002be17e6343b8: db88c3b0 00000def 7e6343e0 00002be1 |.........Cc~.+..|
[00457.648] 12155.12181> 0x00002be17e6343c8: ce263c30 939dc1a3 7e6343f0 00002be1 |0<&......Cc~.+..|
[00457.648] 12155.12181> 0x00002be17e6343d8: db53feb6 00000def b4d55098 00002567 |..S......P..g%..|
[00457.649] 12155.12181> 0x00002be17e6343e8: b4d55098 00002567 7e634410 00002be1 |.P..g%...Dc~.+..|
[00457.649] 12155.12181> 0x00002be17e6343f8: db53fbcb 00000def 7e634468 00002be1 |..S.....hDc~.+..|
[00457.650] 12155.12181> 0x00002be17e634408: 7e634468 00002be1 7e634480 00002be1 |hDc~.+...Dc~.+..|
[00457.650] 12155.12181> 0x00002be17e634418: db77fc14 00000def b4d550b0 00002567 |..w......P..g%..|
[00457.651] 12155.12181> 0x00002be17e634428: db88c380 00000def db5a6f10 00000def |.........oZ.....|
[00457.651] 12155.12181> 0x00002be17e634438: db88c378 00000def b4d550b8 00002567 |x........P..g%..|
[00457.651] 12155.12181> 0x00002be17e634448: b4d55098 00002567 8a8a2b38 00000c69 |.P..g%..8+..i...|
[00457.652] 12155.12181> 0x00002be17e634458: aa34a1a8 00000001 ffffffff ffffffff |..4.............|
[00457.653] 12155.12181> 0x00002be17e634468: b4d55060 00002567 b4d55098 00002567 |`P..g%...P..g%..|
#01: pc 0x7937d49b5889 sp 0x2be17e634378 (<vDSO>,0x6889)
#02: pc 0x7937d49b55b7 sp 0x2be17e634380 (<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 0x7cf1f35e3c76 sp 0x2be17e635fe0 (libc.so,0x10c76)
#11: pc 0x7cf1f3659d19 sp 0x2be17e635ff0 (libc.so,0x86d19)
#12: pc 0 sp 0x2be17e636000
[00457.665] 12155.12181> <== Thread ChannelProxyTestServerThread[10239] ==>
[00457.665] 12155.12181>  CS:                   0 RIP:     0x7937d49b5889 EFL:              0x202
[00457.666] 12155.12181>  RAX: 0xfffffffffffffffa RBX:                  0 RCX:     0x7937d49b5889 RDX:                  0
[00457.666] 12155.12181>  RSI:                  0 RDI:                  0 RBP:     0x350ef4bde430 RSP:     0x350ef4bde378
[00457.666] 12155.12181>   R8:                  0  R9:                  0 R10:                  0 R11:              0x202
[00457.668] 12155.12181>  R12: 0xffffffffffffffff R13:         0x523e895d R14:                  0 R15:                  0
[00457.669] 12155.12181> bottom of user stack:
[00457.669] 12155.12181> 0x0000350ef4bde378: d49b55b7 00007937 ceb92b38 00005626 |.U..7y..8+..&V..|
[00457.669] 12155.12181> 0x0000350ef4bde388: ceb92b58 00005626 f4bde920 0000350e |X+..&V.. ....5..|
[00457.670] 12155.12181> 0x0000350ef4bde398: 00000000 00000000 00000000 00000000 |................|
[00457.670] 12155.12181> 0x0000350ef4bde3a8: db860600 00000def f4bde3d0 00000002 |................|
[00457.671] 12155.12181> 0x0000350ef4bde3b8: db88c3b0 00000def f4bde3e0 0000350e |.............5..|
[00457.671] 12155.12181> 0x0000350ef4bde3c8: ce263c30 939dc1a3 f4bde3f0 0000350e |0<&..........5..|
[00457.672] 12155.12181> 0x0000350ef4bde3d8: db53feb6 00000def cec4d0c8 00002544 |..S.........D%..|
[00457.672] 12155.12181> 0x0000350ef4bde3e8: cec4d0c8 00002544 f4bde410 0000350e |....D%.......5..|
[00457.673] 12155.12181> 0x0000350ef4bde3f8: db53fbcb 00000def f4bde468 0000350e |..S.....h....5..|
[00457.673] 12155.12181> 0x0000350ef4bde408: f4bde468 0000350e f4bde480 0000350e |h....5.......5..|
[00457.673] 12155.12181> 0x0000350ef4bde418: db77fc14 00000def cec4d0e0 00002544 |..w.........D%..|
[00457.674] 12155.12181> 0x0000350ef4bde428: db88c380 00000def db5a6f10 00000def |.........oZ.....|
[00457.674] 12155.12181> 0x0000350ef4bde438: db88c378 00000def cec4d0e8 00002544 |x...........D%..|
[00457.675] 12155.12181> 0x0000350ef4bde448: cec4d0c8 00002544 ceb92b38 00005626 |....D%..8+..&V..|
[00457.675] 12155.12181> 0x0000350ef4bde458: cecc07a8 00000001 ffffffff ffffffff |................|
[00457.675] 12155.12181> 0x0000350ef4bde468: cec4d060 00002544 cec4d0c8 00002544 |`...D%......D%..|
#01: pc 0x7937d49b5889 sp 0x350ef4bde378 (<vDSO>,0x6889)
#02: pc 0x7937d49b55b7 sp 0x350ef4bde380 (<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 0x7cf1f35e3c76 sp 0x350ef4bdffe0 (libc.so,0x10c76)
#11: pc 0x7cf1f3659d19 sp 0x350ef4bdfff0 (libc.so,0x86d19)
#12: pc 0 sp 0x350ef4be0000
[00457.710] 03934.04430> [3:57481313:0216/204233.283533:457710318:ERROR:test_launcher.cc(426)] going to zx_task_kill(job) for 3bd1b35
[00457.712] 03934.04430> [3:57481313:0216/204233.285953:457712729:ERROR:test_launcher.cc(443)] removing 3bd1b35 from live process list
[00457.736] 03934.03972> [72/81] IPCChannelProxyMojoTest.ProxyThreadAssociatedInterface (6957 ms)
[00457.736] 03934.03972> [73/81] IPCChannelProxyMojoTest.ProxyThreadAssociatedInterfaceIndirect (1335 ms)
[00457.736] 03934.03972> [74/81] IPCChannelProxyMojoTest.SyncAssociatedInterface (1322 ms)
[00457.737] 03934.03972> [75/81] IPCChannelProxyMojoTest.Pause (1256 ms)
[00457.737] 03934.03972> [76/81] IPCChannelProxyMojoTest.AssociatedRequestClose (1239 ms)
[00457.737] 03934.03972> [ RUN      ] IPCChannelProxyTest.MessageClassFilters
[00457.738] 03934.03972> [3:22247743:0216/203516.593674:21020450:WARNING:test_suite.cc(237)] Test launcher output path /tmp/.org.chromium.Chromium.IEjFok/test_results.xml exists. Not adding test launcher result printer.
[00457.738] 03934.03972> [77/81] IPCChannelProxyTest.MessageClassFilters (TIMED OUT)
[00457.817] 03934.04430> [3:57481313:0216/204233.391001:457817756:ERROR:test_launcher.cc(369)] adding 3b51b01 to live process list
[00457.820] 03934.04430> [3:57481313:0216/204233.393526:457820282:ERROR:process_fuchsia.cc(168)] going to wait for process 3b51b01 (deadline=502820079000, now=457820389000)
[00457.901] 03934.04503> [3:60627857:0216/204233.474745:457901561:ERROR:test_launcher.cc(369)] adding 23d1d09 to live process list
[00457.906] 03934.04503> [3:60627857:0216/204233.479765:457906509:ERROR:process_fuchsia.cc(168)] going to wait for process 23d1d09 (deadline=502906312000, now=457906604000)
[00458.027] 03934.12285> [3:60103481:0216/204233.600254:458027029:ERROR:test_launcher.cc(369)] adding 3e51a27 to live process list
[00458.031] 03934.12285> [3:60103481:0216/204233.604646:458031419:ERROR:process_fuchsia.cc(168)] going to wait for process 3e51a27 (deadline=503031125000, now=458031545000)
[00458.052] 03934.12327> [3:58006293:0216/204233.625538:458052296:ERROR:test_launcher.cc(369)] adding 37d1d15 to live process list
[00458.056] 03934.12327> [3:58006293:0216/204233.629034:458055787:ERROR:process_fuchsia.cc(168)] going to wait for process 37d1d15 (deadline=503055563000, now=458055938000)
[00461.396] 03934.04430> [3:57481313:0216/204236.969768:461396525:ERROR:test_launcher.cc(426)] going to zx_task_kill(job) for 3b51b01
[00461.413] 03934.04430> [3:57481313:0216/204236.986992:461413748:ERROR:test_launcher.cc(443)] removing 3b51b01 from live process list
[00461.440] 03934.03972> [78/81] IPCChannelProxyTest.GlobalAndMessageClassFilters (1836 ms)
[00461.982] 03934.04503> [3:60627857:0216/204237.555734:461982520:ERROR:test_launcher.cc(426)] going to zx_task_kill(job) for 23d1d09
[00461.988] 03934.04503> [3:60627857:0216/204237.561242:461988029:ERROR:test_launcher.cc(443)] removing 23d1d09 from live process list
[00462.020] 03934.12285> [3:60103481:0216/204237.592639:462019407:ERROR:test_launcher.cc(426)] going to zx_task_kill(job) for 3e51a27
[00462.034] 03934.12285> [3:60103481:0216/204237.607734:462034490:ERROR:test_launcher.cc(443)] removing 3e51a27 from live process list
[00462.063] 03934.12327> [3:58006293:0216/204237.636347:462063099:ERROR:test_launcher.cc(426)] going to zx_task_kill(job) for 37d1d15
[00462.075] 03934.12327> [3:58006293:0216/204237.648775:462075529:ERROR:test_launcher.cc(443)] removing 37d1d15 from live process list
[00462.080] 03934.03972> [79/81] IPCChannelProxyTest.FilterRemoval (1131 ms)
[00462.130] 03934.03972> [80/81] IPCChannelProxyTest.BadMessageOnListenerThread (1218 ms)
[00462.152] 03934.03972> [81/81] IPCChannelProxyTest.BadMessageOnIPCThread (1220 ms)
[00462.152] 03934.03972> 1 test timed out:
[00462.153] 03934.03972>     IPCChannelProxyTest.MessageClassFilters (../../ipc/ipc_channel_proxy_unittest.cc:279)

Comment 2 by w...@chromium.org, Feb 16 2018

Components: Internals>Core
Owner: w...@chromium.org
Status: Assigned (was: Unconfirmed)
Auto-assigning since I think this is the same root-cause as the other IPCChannelProxyTest failures; this may be a broken threading assumption (see https://bugs.chromium.org/p/chromium/issues/detail?id=754755#c2).
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 16 2018

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

commit 7a9e74f5e0fc86a1a4fb9a02bc91e4b35d3eb7e6
Author: Scott Graham <scottmg@chromium.org>
Date: Fri Feb 16 22:07:12 2018

fuchsia: Disable a couple flaky tests

Both from this run:
https://build.chromium.org/p/chromium.fyi/builders/Fuchsia%20%28dbg%29/builds/16374

Bug:  764015 , 811881
Change-Id: If6954f1ded3ad61961dd60c994ef7d1d905351c9
Reviewed-on: https://chromium-review.googlesource.com/923431
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537426}
[modify] https://crrev.com/7a9e74f5e0fc86a1a4fb9a02bc91e4b35d3eb7e6/testing/buildbot/filters/fuchsia.base_unittests.filter
[modify] https://crrev.com/7a9e74f5e0fc86a1a4fb9a02bc91e4b35d3eb7e6/testing/buildbot/filters/fuchsia.ipc_tests.filter

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

IPCChannelProxyTest.GlobalAndMessageClassFilters flaked again on Fuchsia/x64/Debug at https://ci.chromium.org/buildbot/chromium.fyi/Fuchsia%20(dbg)/16501 with a timeout:

[00456.578] 11943.11969> 3 thread(s)
...

[00456.590] 11943.11969> <== Thread initial-thread[4568] ==>
...
#01: pc 0x57fb66c1385b sp 0x7090b4c6e1a8 (<vDSO>,0x685b)
#02: pc 0x57fb66c13579 sp 0x7090b4c6e1b0 (<vDSO>,0x6579)
#03: pc 0x7e23f4a1b911 sp 0x7090b4c6e1d0 (libc.so,0x3c911)
#04: pc 0x7e23f49ef348 sp 0x7090b4c6e210 (libc.so,0x10348)
#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)::IPCChannelProxyTest::SendQuitMessageAndWaitForIdle() at ??:?
#12: (anonymous namespace)::IPCChannelProxyTest_GlobalAndMessageClassFilters_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 0x7e23f49f250e sp 0x7090b4c6ffe0 (libc.so,0x1350e)
#33: pc 0 sp 0x7090b4c70000

[00456.616] 11943.11969> <== Thread test_io_thread[5177] ==>
...
#01: pc 0x57fb66c13889 sp 0x7acdb0707378 (<vDSO>,0x6889)
#02: pc 0x57fb66c135b7 sp 0x7acdb0707380 (<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 0x7e23f49efc76 sp 0x7acdb0708fe0 (libc.so,0x10c76)
#11: pc 0x7e23f4a65d19 sp 0x7acdb0708ff0 (libc.so,0x86d19)
#12: pc 0 sp 0x7acdb0709000

[00456.629] 11943.11969> <== Thread ChannelProxyTestServerThread[10236] ==>
...
#01: pc 0x57fb66c13889 sp 0x668d557d3378 (<vDSO>,0x6889)
#02: pc 0x57fb66c135b7 sp 0x668d557d3380 (<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 0x7e23f49efc76 sp 0x668d557d4fe0 (libc.so,0x10c76)
#11: pc 0x7e23f4a65d19 sp 0x668d557d4ff0 (libc.so,0x86d19)
#12: pc 0 sp 0x668d557d5000


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

Cc: roc...@chromium.org
Components: Internals>Mojo
+rockot: The use of RunLoop() + QuitCurrentWhenIdleDeprecated() seems a little suspect - based on the log output I don't think we're reaching WaitForChildren() in the hang case, so could we be managing to process the OnQuit() on the filter thread before we have actually created and Run() the RunLoop?
Project Member

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

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

commit 6ebb95d13d0646b979ee3de11821c7a5887d0edc
Author: Wez <wez@chromium.org>
Date: Wed Feb 21 03:31:29 2018

Extend filtering of IpcChannelProxyTest.*MessageClassFilters tests.

Bug:  764015 
TBR: scottmg
Change-Id: Ic9581c33033566b4ccf2bdbc2f70faa37800c7f7
Reviewed-on: https://chromium-review.googlesource.com/927615
Commit-Queue: Wez <wez@chromium.org>
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538014}
[modify] https://crrev.com/6ebb95d13d0646b979ee3de11821c7a5887d0edc/testing/buildbot/filters/fuchsia.ipc_tests.filter

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

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

Comment 8 by bugdroid1@chromium.org, Feb 26 2018

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

commit d95d4804ffb0644c2bdc32a1b890a9473b45be1e
Author: Wez <wez@chromium.org>
Date: Mon Feb 26 20:50:47 2018

Add OnChannelError() handler to QuitListener rather than hang on close.

Without an OnChannelError() handler on the QuitListener, the test can
hang if the IPC channel disconnects before the Quit message is received.
Adding an explicit handler will make it easier to diagnose this failure
mode.

Also migrates DCHECK()s in some existing OnChannelError() handlers in
tests to use CHECK(), to avoid those tests potentially hanging in
Release builds.

Bug:  816606 ,  816620 ,  764015 
Change-Id: Ibe6ffc7ecd02f6029c74a7b3c1190030b656056f
Reviewed-on: https://chromium-review.googlesource.com/936427
Reviewed-by: Ken Rockot <rockot@chromium.org>
Commit-Queue: Wez <wez@chromium.org>
Cr-Commit-Position: refs/heads/master@{#539262}
[modify] https://crrev.com/d95d4804ffb0644c2bdc32a1b890a9473b45be1e/ipc/ipc_channel_mojo_unittest.cc
[modify] https://crrev.com/d95d4804ffb0644c2bdc32a1b890a9473b45be1e/ipc/ipc_channel_proxy_unittest.cc

Project Member

Comment 9 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