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

Issue 791208 link

Starred by 1 user

Issue metadata

Status: Available
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 1
Type: Bug

Blocking:
issue 641708



Sign in to add a comment

HostPortPairTest.HostForURL flaky in net_unittests on ios-simulator

Project Member Reported by kbr@chromium.org, Dec 2 2017

Issue description

Failure seen here:

https://ci.chromium.org/buildbot/tryserver.chromium.mac/ios-simulator/352703

Log excerpt:

[----------] 7 tests from HostPortPairTest
[ RUN      ] HostPortPairTest.Parsing
[       OK ] HostPortPairTest.Parsing (0 ms)
[ RUN      ] HostPortPairTest.BadString
[       OK ] HostPortPairTest.BadString (0 ms)
[ RUN      ] HostPortPairTest.Emptiness
[       OK ] HostPortPairTest.Emptiness (0 ms)
[ RUN      ] HostPortPairTest.ToString
[       OK ] HostPortPairTest.ToString (0 ms)
[ RUN      ] HostPortPairTest.HostForURL
[14374:771:1201/160032.747066:10851513072768:FATAL:host_port_pair.cc(68)] Host has a null char: a%00.%00com
0   net_unittests                       0x000000010c4441bd base::debug::StackTrace::StackTrace(unsigned long) + 157
1   net_unittests                       0x000000010c4441fd base::debug::StackTrace::StackTrace(unsigned long) + 29
2   net_unittests                       0x000000010c44266c base::debug::StackTrace::StackTrace() + 28
3   net_unittests                       0x000000010c4ac73f logging::LogMessage::~LogMessage() + 479
4   net_unittests                       0x000000010c4aa0e5 logging::LogMessage::~LogMessage() + 21
5   net_unittests                       0x000000010b678c4f net::HostPortPair::HostForURL() const + 351
6   net_unittests                       0x00000001089c19a3 net::(anonymous namespace)::HostPortPairTest_HostForURL_Test::TestBody() + 1587
7   net_unittests                       0x000000010b65935e void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) + 126

These tests must be reliable. I see that a bug about net_unittests is open in  Issue 641708  with no action for months! Will someone please investigate this?

 
Able to repro on my mbp. Will start working on it but not claiming it due to heading for airport soon - if someone can get to it faster great.
Cc: cbentzel@chromium.org
ah, it looks like this is hanging on EXPECT_DFATAL on iOS - I inadvertantly thought the FATAL I was seeing on MBP was the issue, but it's the expected behavior. The hang still needs to be addressed but wondering if it's how EXPECT_DFATAL handled in iOS test harness.
Labels: M-65
Owner: cbentzel@chromium.org
Status: Assigned (was: Untriaged)
Cc: -cbentzel@chromium.org
Owner: ----
Status: Untriaged (was: Assigned)
Status: Available (was: Untriaged)
Not sure if this test is still failing. Can someone check?
Labels: -M-65

Sign in to add a comment