[
https://issues.apache.org/jira/browse/CELIX-325?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Menno van der Graaf updated CELIX-325:
--------------------------------------
Description:
The bundle test seems to randomly fail on travis builds, cannot reproduce it
localy.
travis test output is:
Test command:
/home/travis/build/apache/celix/build/framework/bundle_test
Test timeout computed to be: 9.99988e+06
...........
/home/travis/build/apache/celix/framework/private/test/bundle_test.cpp:633:
error: Failure in TEST(bundle, revise)
Mock Failure: Unexpected call to function: module_getVersion
EXPECTED calls that did NOT happen:
bundleArchive_revise -> void* archive: <0x2>, const char* location: <location>,
const char* inputFile: <inputFile>
bundleArchive_getCurrentRevision -> void* archive: <0x2>const void* revision:
<output>
bundleRevision_getManifest -> void* revision: <0xf1ec50>const void* manifest:
<output>
bundleArchive_getId -> void* archive: <0x2>const void* id: <output>
resolver_addModule -> void* module: <0x0>
ACTUAL calls that did happen (in call order):
bundleArchive_revise -> void* archive: <0x2>, const char* location: <location>,
const char* inputFile: <inputFile>
bundleArchive_getCurrentRevision -> void* archive: <0x2>const void* revision:
<output>
bundleRevision_getManifest -> void* revision: <0xf1ec50>const void* manifest:
<output>
bundleArchive_getId -> void* archive: <0x2>const void* id: <output>
module_create -> void* headerMap: <0xf222d0>, const char* moduleId: <666.0>,
void* bundle: <0xf21d20>
.....................
Errors (1 failures, 32 tests, 32 ran, 244 checks, 0 ignored, 0 filtered out, 2
9/32 Test #9: bundle_test .......................***Failed 0.01 sec
was:
The bundle test seems to randomly fail on travis builds, cannot reproduce it
localy.
travis test output is:
: Test command:
/home/travis/build/apache/celix/build/framework/bundle_test
9: Test timeout computed to be: 9.99988e+06
9: ...........
9:
/home/travis/build/apache/celix/framework/private/test/bundle_test.cpp:633:
error: Failure in TEST(bundle, revise)
9: Mock Failure: Unexpected call to function: module_getVersion
9: EXPECTED calls that did NOT happen:
9: bundleArchive_revise -> void* archive: <0x2>, const char*
location:
<location>, const char* inputFile: <inputFile>
9: bundleArchive_getCurrentRevision -> void* archive: <0x2>const
void*
revision: <output>
9: bundleRevision_getManifest -> void* revision: <0xf1ec50>const
void*
manifest: <output>
9: bundleArchive_getId -> void* archive: <0x2>const void* id:
<output>
9: resolver_addModule -> void* module: <0x0>
ACTUAL calls that did happen (in call order):
bundleArchive_revise -> void* archive: <0x2>, const char* location: <location>,
const char* inputFile: <inputFile>
bundleArchive_getCurrentRevision -> void* archive: <0x2>const void* revision:
<output>
bundleRevision_getManifest -> void* revision: <0xf1ec50>const void* manifest:
<output>
bundleArchive_getId -> void* archive: <0x2>const void* id: <output>
module_create -> void* headerMap: <0xf222d0>, const char* moduleId: <666.0>,
void* bundle: <0xf21d20>
.....................
Errors (1 failures, 32 tests, 32 ran, 244 checks, 0 ignored, 0 filtered out, 2
9/32 Test #9: bundle_test .......................***Failed 0.01 sec
> Bundle test sporadicly fails
> ----------------------------
>
> Key: CELIX-325
> URL: https://issues.apache.org/jira/browse/CELIX-325
> Project: Celix
> Issue Type: Bug
> Components: Framework
> Reporter: Menno van der Graaf
> Priority: Minor
>
> The bundle test seems to randomly fail on travis builds, cannot reproduce it
> localy.
> travis test output is:
> Test command:
> /home/travis/build/apache/celix/build/framework/bundle_test
> Test timeout computed to be: 9.99988e+06
> ...........
> /home/travis/build/apache/celix/framework/private/test/bundle_test.cpp:633:
> error: Failure in TEST(bundle, revise)
> Mock Failure: Unexpected call to function: module_getVersion
> EXPECTED calls that did NOT happen:
> bundleArchive_revise -> void* archive: <0x2>, const char* location:
> <location>, const char* inputFile: <inputFile>
> bundleArchive_getCurrentRevision -> void* archive: <0x2>const void* revision:
> <output>
> bundleRevision_getManifest -> void* revision: <0xf1ec50>const void* manifest:
> <output>
> bundleArchive_getId -> void* archive: <0x2>const void* id: <output>
> resolver_addModule -> void* module: <0x0>
> ACTUAL calls that did happen (in call order):
> bundleArchive_revise -> void* archive: <0x2>, const char* location:
> <location>, const char* inputFile: <inputFile>
> bundleArchive_getCurrentRevision -> void* archive: <0x2>const void* revision:
> <output>
> bundleRevision_getManifest -> void* revision: <0xf1ec50>const void* manifest:
> <output>
> bundleArchive_getId -> void* archive: <0x2>const void* id: <output>
> module_create -> void* headerMap: <0xf222d0>, const char* moduleId: <666.0>,
> void* bundle: <0xf21d20>
> .....................
> Errors (1 failures, 32 tests, 32 ran, 244 checks, 0 ignored, 0 filtered out,
> 2
> 9/32 Test #9: bundle_test .......................***Failed 0.01 sec
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)