New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cache extension build fails on tests #394

Closed
magnet opened this Issue Dec 27, 2014 · 4 comments

Comments

Projects
None yet
2 participants
@magnet
Contributor

magnet commented Dec 27, 2014

Updated to master, can't seem to get Cache tests to pass (other tests in core & extensions fail sometimes, inconsistently, but end up working).

14:25:24.122 [main] INFO o.w.c.e.CachedActionInterceptor - Returning cached result for null (key:key)
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.101 sec <<< FAILURE! - in org.wisdom.cache.ehcache.CachedActionInterceptorTest
testPeak(org.wisdom.cache.ehcache.CachedActionInterceptorTest) Time elapsed: 0.015 sec <<< ERROR!
net.sf.ehcache.ObjectExistsException: Cache wisdom already exists
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1171)
at org.wisdom.cache.ehcache.EhCacheService.start(EhCacheService.java:79)
at org.wisdom.cache.ehcache.CachedActionInterceptorTest.testPeak(CachedActionInterceptorTest.java:155)

Results :

Tests in error:
CachedActionInterceptorTest.testPeak:155 » ObjectExists Cache wisdom already e...

Tests run: 7, Failures: 0, Errors: 1, Skipped: 0

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Dec 27, 2014

Member

Hum,

This my attempt to reproduce a race condition, which actually does not work. Will get rid of the test.

On 27 décembre 2014 at 14:27:57, Simon Chemouil (notifications@github.com) wrote:

Updated to master, can't seem to get Cache tests to pass (other tests in core & extensions fail sometimes, inconsistently, but end up working).

14:25:24.122 [main] INFO o.w.c.e.CachedActionInterceptor - Returning cached result for null (key:key)
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.101 sec <<< FAILURE! - in org.wisdom.cache.ehcache.CachedActionInterceptorTest
testPeak(org.wisdom.cache.ehcache.CachedActionInterceptorTest) Time elapsed: 0.015 sec <<< ERROR!
net.sf.ehcache.ObjectExistsException: Cache wisdom already exists
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1171)
at org.wisdom.cache.ehcache.EhCacheService.start(EhCacheService.java:79)
at org.wisdom.cache.ehcache.CachedActionInterceptorTest.testPeak(CachedActionInterceptorTest.java:155)

Results :

Tests in error:
CachedActionInterceptorTest.testPeak:155 » ObjectExists Cache wisdom already e...

Tests run: 7, Failures: 0, Errors: 1, Skipped: 0


Reply to this email directly or view it on GitHub.

Member

cescoffier commented Dec 27, 2014

Hum,

This my attempt to reproduce a race condition, which actually does not work. Will get rid of the test.

On 27 décembre 2014 at 14:27:57, Simon Chemouil (notifications@github.com) wrote:

Updated to master, can't seem to get Cache tests to pass (other tests in core & extensions fail sometimes, inconsistently, but end up working).

14:25:24.122 [main] INFO o.w.c.e.CachedActionInterceptor - Returning cached result for null (key:key)
Tests run: 4, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.101 sec <<< FAILURE! - in org.wisdom.cache.ehcache.CachedActionInterceptorTest
testPeak(org.wisdom.cache.ehcache.CachedActionInterceptorTest) Time elapsed: 0.015 sec <<< ERROR!
net.sf.ehcache.ObjectExistsException: Cache wisdom already exists
at net.sf.ehcache.CacheManager.addCache(CacheManager.java:1171)
at org.wisdom.cache.ehcache.EhCacheService.start(EhCacheService.java:79)
at org.wisdom.cache.ehcache.CachedActionInterceptorTest.testPeak(CachedActionInterceptorTest.java:155)

Results :

Tests in error:
CachedActionInterceptorTest.testPeak:155 » ObjectExists Cache wisdom already e...

Tests run: 7, Failures: 0, Errors: 1, Skipped: 0


Reply to this email directly or view it on GitHub.

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Dec 27, 2014

Member

Can you update and retry ?

Member

cescoffier commented Dec 27, 2014

Can you update and retry ?

@cescoffier cescoffier added this to the 0.7 milestone Dec 27, 2014

@cescoffier cescoffier added the infra label Dec 27, 2014

@cescoffier

This comment has been minimized.

Show comment
Hide comment
@cescoffier

cescoffier Dec 27, 2014

Member

Do you have the other tests that fail (especially in core, might be Vertx).

Member

cescoffier commented Dec 27, 2014

Do you have the other tests that fail (especially in core, might be Vertx).

@magnet

This comment has been minimized.

Show comment
Hide comment
@magnet

magnet Dec 27, 2014

Contributor

Thanks, I'll have a look asap and give you the results (hopefully tomorrow).

Contributor

magnet commented Dec 27, 2014

Thanks, I'll have a look asap and give you the results (hopefully tomorrow).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment