[ 
https://issues.apache.org/jira/browse/MESOS-2815?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14572842#comment-14572842
 ] 

Bernd Mathiske commented on MESOS-2815:
---------------------------------------

Investigating: there may be a race between starting the scheduler driver and 
awaiting offers. Some refactoring of the fetcher cache test code should avoid 
this. 

Since all other fetcher cache tests reuse this code, they should also be 
affected. But this does not seem to be a non-test-code bug.

> Flaky test: FetcherCacheHttpTest.HttpCachedSerialized
> -----------------------------------------------------
>
>                 Key: MESOS-2815
>                 URL: https://issues.apache.org/jira/browse/MESOS-2815
>             Project: Mesos
>          Issue Type: Bug
>          Components: fetcher
>    Affects Versions: 0.23.0
>            Reporter: Bernd Mathiske
>            Assignee: Bernd Mathiske
>            Priority: Minor
>
> FetcherCacheHttpTest.HttpCachedSerialized has been observed to fail (once  so 
> far), but normally works fine. Here is the failure output:
> [ RUN      ] FetcherCacheHttpTest.HttpCachedSerialized
> GMOCK WARNING:
> Uninteresting mock function call - returning directly.
>     Function call: resourceOffers(0x3cca8e0, @0x2b1053422b20 { 128-byte 
> object <D0-E1 59-49 10-2B 00-00 00-00 00-00 00-00 00-00 10-A1 00-68 10-2B 
> 00-00 A0-DE 00-68 10-2B 00-00 20-DF 00-68 10-2B 00-00 40-9C 00-68 10-2B 00-00 
> 90-2D 00-68 10-2B 00-00 04-00 00-00 04-00 00-00 04-00 00-00 00-00 00-00 00-00 
> 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 
> 00-00 00-00 00-00 00-00 00-00 00-00 00-00 00-00 10-2B 00-00 00-00 00-00 0F-00 
> 00-00> })
> Stack trace:
> F0604 13:08:16.377907  6813 fetcher_cache_tests.cpp:354] CHECK_READY(offers): 
> is PENDING Failed to wait for resource offers
> *** Check failure stack trace: ***
>     @     0x2b10488ff6c0  google::LogMessage::Fail()
>     @     0x2b10488ff60c  google::LogMessage::SendToLog()
>     @     0x2b10488ff00e  google::LogMessage::Flush()
>     @     0x2b1048901f22  google::LogMessageFatal::~LogMessageFatal()
>     @           0x9721e4  _CheckFatal::~_CheckFatal()
>     @           0xb4da86  
> mesos::internal::tests::FetcherCacheTest::launchTask()
>     @           0xb53f8d  
> mesos::internal::tests::FetcherCacheHttpTest_HttpCachedSerialized_Test::TestBody()
>     @          0x116ac21  
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @          0x1165e1e  
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @          0x114e1df  testing::Test::Run()
>     @          0x114e902  testing::TestInfo::Run()
>     @          0x114ee8a  testing::TestCase::Run()
>     @          0x1153b54  testing::internal::UnitTestImpl::RunAllTests()
>     @          0x116ba93  
> testing::internal::HandleSehExceptionsInMethodIfSupported<>()
>     @          0x1166b0f  
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @          0x1152a60  testing::UnitTest::Run()
>     @           0xcbc50f  main
>     @     0x2b104af78ec5  (unknown)
>     @           0x867559  (unknown)
> make[4]: *** [check-local] Aborted
> make[4]: Leaving directory 
> `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.23.0/_build/src'
> make[3]: *** [check-am] Error 2
> make[3]: Leaving directory 
> `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.23.0/_build/src'
> make[2]: *** [check] Error 2
> make[2]: Leaving directory 
> `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.23.0/_build/src'
> make[1]: *** [check-recursive] Error 1
> make[1]: Leaving directory 
> `/home/jenkins/jenkins-slave/workspace/mesos-reviewbot/mesos-0.23.0/_build'
> make: *** [distcheck] Error 1



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

Reply via email to