You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Justin Bertram (Jira)" <ji...@apache.org> on 2021/10/12 00:51:00 UTC
[jira] [Resolved] (ARTEMIS-3458) CuratorDistributedLockTest fails a
lot in CI
[ https://issues.apache.org/jira/browse/ARTEMIS-3458?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram resolved ARTEMIS-3458.
-------------------------------------
Fix Version/s: 2.19.0
Resolution: Fixed
> CuratorDistributedLockTest fails a lot in CI
> --------------------------------------------
>
> Key: ARTEMIS-3458
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3458
> Project: ActiveMQ Artemis
> Issue Type: Test
> Components: Tests
> Affects Versions: 2.18.0
> Reporter: Robbie Gemmell
> Assignee: Francesco Nigro
> Priority: Major
> Fix For: 2.19.0
>
>
> CuratorDistributedLockTest was added in ARTEMIS-2716 / [PR #3680|https://github.com/apache/activemq-artemis/pull/3680]. In addition to creating a lot of log output which made the Travis build error and required some changes, it fails a lot in CI.
> E.g perhaps most often with:
> {noformat}
> org.apache.curator.test.FailedServerStartException: quorumPeer never got set
> at org.apache.activemq.artemis.quorum.zookeeper.CuratorDistributedLockTest.setupEnv(CuratorDistributedLockTest.java:84)
> {noformat}
> [https://github.com/apache/activemq-artemis/runs/3496677873?check_suite_focus=true#step:5:58742]
>
> Or I also saw:
> {noformat}
> java.lang.AssertionError: expected:<1> but was:<0>
> at org.apache.activemq.artemis.quorum.zookeeper.CuratorDistributedLockTest.beNotifiedOfUnavailabilityWhileBlockedOnTimedLock(CuratorDistributedLockTest.java:309)
> {noformat}
> [https://github.com/apache/activemq-artemis/runs/3495287001?check_suite_focus=true#step:5:56488]
>
> Finally, today I saw it fail a completely new way, taking down the test JVM:
> {noformat}
> [QuorumPeerListener] 09:43:44,204 ERROR [org.apache.zookeeper.util.ServiceUtils] Exiting JVM with code 14
> {noformat}
> [https://github.com/apache/activemq-artemis/runs/3504709670?check_suite_focus=true#step:5:35957]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)