Till Toenshoff created MESOS-4644:
-------------------------------------

             Summary: PortMappingIsolatorTest* crashes when ethtool is not 
installed.
                 Key: MESOS-4644
                 URL: https://issues.apache.org/jira/browse/MESOS-4644
             Project: Mesos
          Issue Type: Improvement
            Reporter: Till Toenshoff
            Priority: Minor


{noformat}
[ RUN      ] PortMappingIsolatorTest.ROOT_NC_ContainerToContainerTCP
sh: 1: ethtool: not found
F0210 15:45:23.543251  3956 port_mapping_tests.cpp:441] CHECK_SOME(isolator): 
Check command 'ethtool' failed: Failed to execute 'ethtool -k lo'; the command 
was either not found or exited with a non-zero exit status: 127
*** Check failure stack trace: ***
    @     0x7fb3b0642a1c  google::LogMessage::Fail()
    @     0x7fb3b0642968  google::LogMessage::SendToLog()
    @     0x7fb3b064236a  google::LogMessage::Flush()
    @     0x7fb3b064527e  google::LogMessageFatal::~LogMessageFatal()
    @           0x939020  _CheckFatal::~_CheckFatal()
    @          0x1524fc4  
mesos::internal::tests::PortMappingIsolatorTest_ROOT_NC_ContainerToContainerTCP_Test::TestBody()
    @          0x15ad006  
testing::internal::HandleSehExceptionsInMethodIfSupported<>()
    @          0x15a7f26  
testing::internal::HandleExceptionsInMethodIfSupported<>()
    @          0x158963b  testing::Test::Run()
    @          0x1589dbe  testing::TestInfo::Run()
    @          0x158a404  testing::TestCase::Run()
    @          0x1590b4c  testing::internal::UnitTestImpl::RunAllTests()
    @          0x15adc2b  
testing::internal::HandleSehExceptionsInMethodIfSupported<>()
    @          0x15a8ad2  
testing::internal::HandleExceptionsInMethodIfSupported<>()
    @          0x158f8e8  testing::UnitTest::Run()
    @           0xd6e65c  RUN_ALL_TESTS()
    @           0xd6e281  main
    @     0x7fb3aae13ec5  (unknown)
    @           0x937669  (unknown)
{noformat}

We might  want to consider adding a test for the availability of {{ethtool}} 
into {{src/tests/containerizer/port_mapping_tests.cpp -- 
PortMappingIsolatorTest::SetUpTestCase}}.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to