You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Gary Tully (Jira)" <ji...@apache.org> on 2021/10/29 08:14:00 UTC

[jira] [Commented] (ARTEMIS-3489) JdbcLeaseLockTest fails sporadically in CI

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

Gary Tully commented on ARTEMIS-3489:
-------------------------------------

another example in case links go stale:
{code:java}
Error:  Tests run: 26, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 7.333 s <<< FAILURE! - in org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLockTest
6514Error:  shouldRenewExpiredLockNotAcquiredByOthers[create_tables_prior_test=true](org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLockTest)  Time elapsed: 0.554 s  <<< FAILURE!
6515java.lang.AssertionError: lock is owned
6516	at org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLockTest.shouldRenewExpiredLockNotAcquiredByOthers(JdbcLeaseLockTest.java:257)
6517
6518[INFO] Running org.apache.activemq.artemis.core.server.impl.jdbc.JdbcNodeManagerTest
6519[main] 08:07:27,099 WARN  [org.apache.activemq.artemis.core.server.impl.jdbc.JdbcNodeManager] jdbc-network-timeout isn't properly configured: the recommended value is <= jdbc-lock-expiration
6520[main] 08:07:27,161 WARN  [org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLock] queryTimeoutMillis is too low: it's suggested to configure a multi-seconds value. Disabling it because too low.
6521[main] 08:07:27,161 WARN  [org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLock] queryTimeoutMillis is too low: it's suggested to configure a multi-seconds value. Disabling it because too low.
6522[main] 08:07:27,170 WARN  [org.apache.activemq.artemis.core.server.impl.jdbc.JdbcNodeManager] jdbc-network-timeout isn't properly configured: the recommended value is <= jdbc-lock-expiration
6523[main] 08:07:27,243 WARN  [org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLock] queryTimeoutMillis is too low: it's suggested to configure a multi-seconds value. Disabling it because too low.
6524[main] 08:07:27,243 WARN  [org.apache.activemq.artemis.core.server.impl.jdbc.JdbcLeaseLock] queryTimeoutMillis is too low: it's suggested to configure a multi-seconds value. Disabling it because too low.
6525*********************************************************************************
6526LEAKING THREADS
6527=============================================================================
6528Thread Thread[pool-54-thread-1,5,main] is still alive with the following stackTrace:
6529sun.misc.Unsafe.unpark(Native Method)
6530java.util.concurrent.locks.LockSupport.unpark(LockSupport.java:141)
6531java.util.concurrent.locks.AbstractQueuedSynchronizer.unparkSuccessor(AbstractQueuedSynchronizer.java:662)
6532java.util.concurrent.locks.AbstractQueuedSynchronizer.doReleaseShared(AbstractQueuedSynchronizer.java:689)
6533java.util.concurrent.locks.AbstractQueuedSynchronizer.releaseShared(AbstractQueuedSynchronizer.java:1342)
6534java.util.concurrent.CountDownLatch.countDown(CountDownLatch.java:291)
6535org.apache.activemq.artemis.core.server.impl.jdbc.JdbcNodeManagerTest$$Lambda$282/826717657.run(Unknown Source)
6536java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
6537java.util.concurrent.FutureTask.run(FutureTask.java:266)
6538java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:180)
6539java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
6540java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
6541java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
6542java.lang.Thread.run(Thread.java:748)
6543*********************************************************************************
6544******************** Threads cleared after retries ******************** {code}

> JdbcLeaseLockTest fails sporadically in CI
> ------------------------------------------
>
>                 Key: ARTEMIS-3489
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3489
>             Project: ActiveMQ Artemis
>          Issue Type: Test
>    Affects Versions: 2.18.0
>            Reporter: Robbie Gemmell
>            Priority: Major
>
> JdbcLeaseLockTest fails sporadically in CI:
> E.g:
> [https://app.travis-ci.com/github/apache/activemq-artemis/jobs/538004665#L3201]
> [https://github.com/apache/activemq-artemis/runs/3531185223?check_suite_focus=true#step:5:2094]
> https://github.com/apache/activemq-artemis/runs/3507926162?check_suite_focus=true#step:5:2256



--
This message was sent by Atlassian Jira
(v8.3.4#803005)