vert-x3 / vertx-infinispan

Infinispan Cluster Manager for Vert.x
Apache License 2.0
14 stars 16 forks source link

Session store failures on Mac #104

Closed vietj closed 10 months ago

vietj commented 2 years ago

On my machine I get these failures:

Tests in error: 
io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest.testInvalidation(io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest)
  Run 1: InfinispanSessionHandlerTest>SessionHandlerTestBase.testInvalidation:422->WebTestBase.testRequest:178->WebTestBase.testRequestBuffer:201->WebTestBase.testRequestBuffer:219->WebTestBase.testRequestBuffer:250->AsyncTestBase.awaitLatch:598->AsyncTestBase.awaitLatch:602->AsyncTestBase.assertTrue:378 null
  Run 2: InfinispanSessionHandlerTest>AsyncTestBase.after:83->WebTestBase.tearDown:96->VertxTestBase.tearDown:93->AsyncTestBase.tearDown:73->AsyncTestBase.afterAsyncTestBase:163 » IllegalState

io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest.testSession(io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest)
  Run 1: InfinispanSessionHandlerTest>SessionHandlerTestBase.testSession:156->WebTestBase.testRequest:178->WebTestBase.testRequestBuffer:201->WebTestBase.testRequestBuffer:219->WebTestBase.testRequestBuffer:250->AsyncTestBase.awaitLatch:598->AsyncTestBase.awaitLatch:602->AsyncTestBase.assertTrue:378 null
  Run 2: InfinispanSessionHandlerTest>AsyncTestBase.after:83->WebTestBase.tearDown:96->VertxTestBase.tearDown:93->AsyncTestBase.tearDown:73->AsyncTestBase.afterAsyncTestBase:163 » IllegalState

io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest.testSessionCookieInvalidatedOnError(io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest)
  Run 1: InfinispanSessionHandlerTest>SessionHandlerTestBase.testSessionCookieInvalidatedOnError:353->WebTestBase.testRequest:178->WebTestBase.testRequestBuffer:201->WebTestBase.testRequestBuffer:219->WebTestBase.testRequestBuffer:250->AsyncTestBase.awaitLatch:598->AsyncTestBase.awaitLatch:602->AsyncTestBase.assertTrue:378 null
  Run 2: InfinispanSessionHandlerTest>AsyncTestBase.after:83->WebTestBase.tearDown:96->VertxTestBase.tearDown:93->AsyncTestBase.tearDown:73->AsyncTestBase.afterAsyncTestBase:163 » IllegalState

io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest.testSessionFixation(io.vertx.ext.web.sstore.infinispan.impl.InfinispanSessionHandlerTest)
  Run 1: InfinispanSessionHandlerTest>SessionHandlerTestBase.testSessionFixation:455->WebTestBase.testRequest:178->WebTestBase.testRequestBuffer:201->WebTestBase.testRequestBuffer:219->WebTestBase.testRequestBuffer:250->AsyncTestBase.awaitLatch:598->AsyncTestBase.awaitLatch:602->AsyncTestBase.assertTrue:378 null
  Run 2: InfinispanSessionHandlerTest>AsyncTestBase.after:83->WebTestBase.tearDown:96->VertxTestBase.tearDown:93->AsyncTestBase.tearDown:73->AsyncTestBase.afterAsyncTestBase:163 » IllegalState
tsegismont commented 2 years ago

It works on my machine and on CI. I guess this fails on your Mac?

Can you provide some more details? E.g. logs?

vietj commented 2 years ago

yes it does

On Wed, Oct 27, 2021 at 11:11 AM Thomas Segismont @.***> wrote:

It works on my machine and on CI. I guess this fails on your Mac?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vert-x3/vertx-infinispan/issues/104#issuecomment-952705812, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXDCTOLGYDFKK6BY4R3Q3UI7F3NANCNFSM5GZXCRIA .

tsegismont commented 2 years ago

Sorry I tried to reproduce but wasn't able to do so (I don't have a working setup on the Mac I have own).

vietj commented 2 years ago

I think the simpler would be that you use my mac to investigate next time we meet.

On Wed, Nov 17, 2021 at 6:35 PM Thomas Segismont @.***> wrote:

Sorry I tried to reproduce but wasn't able to do so (I don't have a working setup on the Mac I have own).

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/vert-x3/vertx-infinispan/issues/104#issuecomment-971803968, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXDCRW3Q43XFVY32ME2JDUMPRWJANCNFSM5GZXCRIA .

tsegismont commented 2 years ago

In the meantime, could you apply this change to your local copy of the code? https://github.com/tsegismont/vertx-infinispan/commit/97a75a19c7b0b57d002c97294359744c87294d67

This should tell us what's going on inside the container.

Thank you.

tsegismont commented 10 months ago

@vietj is this still a problem?