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

Issue 755848 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

EmbedderTest.MultiprocessBaseSharedMemory failed in mojo_system_unittests on Fuchsia

Project Member Reported by scottmg@chromium.org, Aug 16 2017

Issue description

https://build.chromium.org/p/chromium.fyi/builders/Fuchsia/builds/8818

[00014.660] 03024.03060> [ RUN      ] EmbedderTest.MultiprocessBaseSharedMemory
[00014.660] 03024.03060> [3:2115544733:0816/052113.557075:14476820:WARNING:test_suite.cc(235)] Test launcher output path /tmp/.org.chromium.Chromium.DDkLIO/test_results.xml exists. Not adding test launcher result printer.
[00014.660] 03024.03060> [3:1767470195:0816/052113.626248:14546014:FATAL:mojo_test_base.cc(144)] Check failed: MOJO_RESULT_OK == ReadMessageRaw(MessagePipeHandle(mp), &bytes, &handles, MOJO_READ_MESSAGE_FLAG_NONE) (0 vs. 9)
#00: StackTrace at base/debug/stack_trace_fuchsia.cc:169
#01: std::__1::basic_ostream<char, std::__1::char_traits<char> >& std::__1::endl<char, std::__1::char_traits<char> >(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) at buildtools/third_party/libc++/trunk/include/ostream:1001
      (inlined by) std::__1::basic_ostream<char, std::__1::char_traits<char> >::operator<<(std::__1::basic_ostream<char, std::__1::char_traits<char> >& (*)(std::__1::basic_ostream<char, std::__1::char_traits<char> >&)) at buildtools/third_party/libc++/trunk/include/ostream:195
      (inlined by) ~LogMessage at base/logging.cc:554
#02: std::__1::vector<mojo::ScopedHandleBase<mojo::Handle>, std::__1::allocator<mojo::ScopedHandleBase<mojo::Handle> > >::size() const at buildtools/third_party/libc++/trunk/include/vector:638
      (inlined by) mojo::edk::test::MojoTestBase::ReadMessageWithHandles(unsigned int, unsigned int*, unsigned int) at mojo/edk/test/mojo_test_base.cc:145
#03: mojo::edk::test::MojoTestBase::ReadMessage(unsigned int) at mojo/edk/test/mojo_test_base.cc:175
#04: std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::__is_long() const at buildtools/third_party/libc++/trunk/include/string:1224
      (inlined by) std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >::size() const at buildtools/third_party/libc++/trunk/include/string:892
      (inlined by) bool std::__1::operator==<char, std::__1::char_traits<char>, std::__1::allocator<char> >(char const*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) at buildtools/third_party/libc++/trunk/include/string:3570
      (inlined by) testing::AssertionResult testing::internal::CmpHelperEQ<char [4], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(char const*, char const*, char const (&) [4], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) at third_party/googletest/src/googletest/include/gtest/gtest.h:1392
      (inlined by) testing::AssertionResult testing::internal::EqHelper<false>::Compare<char [4], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(char const*, char const*, char const (&) [4], std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) at third_party/googletest/src/googletest/include/gtest/gtest.h:1421
      (inlined by) operator() at mojo/edk/embedder/embedder_unittest.cc:305
      (inlined by) int mojo::edk::test::MojoTestBase::RunTestClientAndGetExitCode<mojo::edk::(anonymous namespace)::EmbedderTest_MultiprocessBaseSharedMemory_Test::TestBody()::$_1>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, mojo::edk::(anonymous namespace)::EmbedderTest_MultiprocessBaseSharedMemory_Test::TestBody()::$_1) at mojo/edk/test/mojo_test_base.h:78
      (inlined by) void mojo::edk::test::MojoTestBase::RunTestClient<mojo::edk::(anonymous namespace)::EmbedderTest_MultiprocessBaseSharedMemory_Test::TestBody()::$_1>(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, mojo::edk::(anonymous namespace)::EmbedderTest_MultiprocessBaseSharedMemory_Test::TestBody()::$_1) at mojo/edk/test/mojo_test_base.h:71
      (inlined by) mojo::edk::(anonymous namespace)::EmbedderTest_MultiprocessBaseSharedMemory_Test::TestBody() at mojo/edk/embedder/embedder_unittest.cc:278
#05: testing::internal::UnitTestImpl::os_stack_trace_getter() at third_party/googletest/src/googletest/src/gtest.cc:4918
      (inlined by) testing::Test::Run() at third_party/googletest/src/googletest/src/gtest.cc:2478
#06: testing::internal::UnitTestImpl::os_stack_trace_getter() at third_party/googletest/src/googletest/src/gtest.cc:4918
      (inlined by) testing::TestInfo::Run() at third_party/googletest/src/googletest/src/gtest.cc:2657
#07: testing::TestCase::Run() at third_party/googletest/src/googletest/src/gtest.cc:2770
#08: testing::internal::UnitTestImpl::RunAllTests() at third_party/googletest/src/googletest/src/gtest.cc:4647
#09: testing::UnitTest::Run() at third_party/googletest/src/googletest/src/gtest.cc:4256
#10: RUN_ALL_TESTS() at third_party/googletest/src/googletest/include/gtest/gtest.h:2237
      (inlined by) base::TestSuite::Run() at base/test/test_suite.cc:270
#11: base::Callback<int (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1>::Run() const & at base/callback.h:80
      (inlined by) base::(anonymous namespace)::LaunchUnitTestsInternal(base::Callback<int (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&, unsigned long, int, bool, base::Callback<void (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&) at base/test/launcher/unit_test_launcher.cc:216
#12: base::LaunchUnitTests(int, char**, base::Callback<int (), (base::internal::CopyMode)1, (base::internal::RepeatMode)1> const&) at base/test/launcher/unit_test_launcher.cc:475
#13: main at mojo/edk/test/run_all_unittests.cc:46
#14: pc 0x640dc0f5b22e (libc.so,0x1c22e)
[00014.661] 03024.03060>
[00014.661] 03024.03060> [119/204] EmbedderTest.MultiprocessBaseSharedMemory (CRASHED)
 

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

Cc: -w...@chromium.org roc...@chromium.org
Components: Internals>Mojo>Core
Owner: w...@chromium.org
Status: Assigned (was: Unconfirmed)
This test is failing due to a MOJO_RESULT_FAILED_PRECONDITION, as in  issue 810448  - I have that one assigned to investigate, so I'll take this as well.
Project Member

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

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

commit 33f7c5827e11d22a78b62fa6b1d3195aea7b6349
Author: Scott Graham <scottmg@chromium.org>
Date: Thu Feb 22 18:11:03 2018

fuchsia: Disable EmbedderTest.MultiprocessBaseSharedMemory

Flaked at
https://build.chromium.org/p/chromium.fyi/builders/Fuchsia%20ARM64/builds/6241.

TBR: wez@chromium.org
Bug:  755848 
Change-Id: Ice82568e5404d878f30c9a36a2e40ddb743ac6b1
Reviewed-on: https://chromium-review.googlesource.com/931982
Reviewed-by: Scott Graham <scottmg@chromium.org>
Reviewed-by: Wez <wez@chromium.org>
Commit-Queue: Scott Graham <scottmg@chromium.org>
Cr-Commit-Position: refs/heads/master@{#538481}
[modify] https://crrev.com/33f7c5827e11d22a78b62fa6b1d3195aea7b6349/testing/buildbot/filters/fuchsia.mojo_system_unittests.filter

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

Mergedinto: 816620
Status: Duplicate (was: Assigned)

Sign in to add a comment