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

Ian Downes commented on MESOS-1942:
-----------------------------------

Appears to have been introduced by these changes:

[niklas] Added "name" to Modules protobuf.

[niklas] Allowed unloading of a single module.

[~nnielsen] can you please fix these

> Bad test: ModuleTest.ExampleModuleParseStringTest
> -------------------------------------------------
>
>                 Key: MESOS-1942
>                 URL: https://issues.apache.org/jira/browse/MESOS-1942
>             Project: Mesos
>          Issue Type: Bug
>          Components: modules, test
>    Affects Versions: 0.21.0
>            Reporter: Ian Downes
>            Assignee: Niklas Quarfot Nielsen
>
> [ RUN      ] ModuleTest.UnknownModuleInstantiationTest
> Using temporary directory 
> '/tmp/ModuleTest_UnknownModuleInstantiationTest_Cv4jVf'
> tests/module_tests.cpp:230: Failure
> ModuleManager::load(modules): Error verifying module 
> 'org_apache_mesos_TestModule': Module API version mismatch. Mesos has: 1, 
> library requires: ThisIsNotAnAPIVersion!
> tests/module_tests.cpp:234: Failure
> ModuleManager::unload(moduleName): Error unloading module 
> 'org_apache_mesos_TestModule': module not loaded
> [  FAILED  ] ModuleTest.UnknownModuleInstantiationTest (2 ms)
> [ RUN      ] ModuleTest.AuthorInfoTest
> Using temporary directory '/tmp/ModuleTest_AuthorInfoTest_E98lf3'
> [       OK ] ModuleTest.AuthorInfoTest (2 ms)
> [ RUN      ] ModuleTest.UnknownLibraryTest
> Using temporary directory '/tmp/ModuleTest_UnknownLibraryTest_A0nMzQ'
> [       OK ] ModuleTest.UnknownLibraryTest (4 ms)
> [ RUN      ] ModuleTest.ExampleModuleParseStringTest
> Using temporary directory 
> '/tmp/ModuleTest_ExampleModuleParseStringTest_MVESUD'
> tests/module_tests.cpp:75: Failure
> ModuleManager::load(modules): Error verifying module 
> 'org_apache_mesos_TestModule': Module API version mismatch. Mesos has: 1, 
> library requires: ThisIsNotAnAPIVersion!
> tests/module_tests.cpp:78: Failure
> module: Module 'org_apache_mesos_TestModule' unknown
> ABORT: (../3rdparty/libprocess/3rdparty/stout/include/stout/try.hpp:92): 
> Try::get() but state == ERROR: Module 'org_apache_mesos_TestModule' 
> unknown*** Aborted at 1413500769 (unix time) try "date -d @1413500769" if you 
> are using GNU date ***
> PC: @       0x32844359e9 (unknown)
> *** SIGABRT (@0x3e800001634) received by PID 5684 (TID 0x7f69accd9840) from 
> PID 5684; stack trace: ***
>     @       0x3284c0ef90 (unknown)
>     @       0x32844359e9 (unknown)
>     @       0x32844370f8 (unknown)
>     @           0x4fda1d _Abort()
>     @           0x4fd9a9 _Abort()
>     @           0x9bc1a5 Try<>::get()
>     @           0x9b036a 
> ModuleTest_ExampleModuleParseStringTest_Test::TestBody()
>     @           0xcb0a15 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @           0xc996ee testing::Test::Run()
>     @           0xc9a494 testing::TestInfo::Run()
>     @           0xc9a9d7 testing::TestCase::Run()
>     @           0xc9fd56 testing::internal::UnitTestImpl::RunAllTests()
>     @           0xcb18c5 
> testing::internal::HandleExceptionsInMethodIfSupported<>()
>     @           0xc9fa59 testing::UnitTest::Run()
>     @           0x89ccac main
>     @       0x3284421b45 (unknown)
>     @           0x4a4c4d (unknown)
> make[3]: *** [check-local] Aborted (core dumped)



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

Reply via email to