You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2015/11/04 12:00:30 UTC
[jira] [Reopened] (SLING-5244)
discovery.impl.cluster.voting.VotingHandlerTest.testConcurrentVotesTwoNodes
failed on jenkins
[ https://issues.apache.org/jira/browse/SLING-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Stefan Egli reopened SLING-5244:
--------------------------------
Reopening, VotingHandlerTest still failing on jenkins, eg:
https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/1931/
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/2647/testReport/
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/2650/testReport/
The pattern for all being as in the following example:
{code}
03.11.2015 21:36:25.900 *INFO * [pool-5-thread-2] VotingHandlerTest: asyncVote[k=1] analyzeVotings...
03.11.2015 21:36:25.905 *INFO * [pool-5-thread-1] VotingHandlerTest: asyncVote[k=0] done, asserting results...
03.11.2015 21:36:25.905 *INFO * [pool-5-thread-1] VotingHandlerTest: asyncVote[k=0] marking done.
03.11.2015 21:38:25.903 *INFO * [main] DefaultThreadPool: Shutting down thread pool [testing] ...
03.11.2015 21:38:25.904 *INFO * [main] DefaultThreadPool: Thread pool [testing] is shut down.
{code}
* one thread wants to do an {{analyzeVotings}}
* but the log output just finishes there and doesn't show any progress
* likely the thread ran into some exception - but that's not showing in the log file - or it is blocked in synchronized ..
only the following failure had a different pattern:
https://builds.apache.org/job/sling-trunk-1.7/org.apache.sling$org.apache.sling.discovery.impl/2648/testReport/
> discovery.impl.cluster.voting.VotingHandlerTest.testConcurrentVotesTwoNodes failed on jenkins
> ---------------------------------------------------------------------------------------------
>
> Key: SLING-5244
> URL: https://issues.apache.org/jira/browse/SLING-5244
> Project: Sling
> Issue Type: Bug
> Components: Extensions
> Affects Versions: Discovery Impl 1.1.8
> Reporter: Stefan Egli
> Assignee: Stefan Egli
> Fix For: Discovery Impl 1.2.2
>
> Attachments: VotingHandlerTest.testConcurrentVotesTwoNodes.failure1918.full.txt.gz, VotingHandlerTest.testConcurrentVotesTwoNodes.failure1918.txt, loop-i-3.txt
>
>
> https://builds.apache.org/job/sling-trunk-1.8/org.apache.sling$org.apache.sling.discovery.impl/1918/testReport/junit/org.apache.sling.discovery.impl.cluster.voting/VotingHandlerTest/testConcurrentVotesTwoNodes/
> {code}
> Error Message
> expected:<456> but was:<455>
> Stacktrace
> java.lang.AssertionError: expected:<456> but was:<455>
> at org.junit.Assert.fail(Assert.java:88)
> at org.junit.Assert.failNotEquals(Assert.java:743)
> at org.junit.Assert.assertEquals(Assert.java:118)
> at org.junit.Assert.assertEquals(Assert.java:555)
> at org.junit.Assert.assertEquals(Assert.java:542)
> at org.apache.sling.discovery.impl.cluster.voting.VotingHandlerTest.doTestConcurrentVotes(VotingHandlerTest.java:466)
> at org.apache.sling.discovery.impl.cluster.voting.VotingHandlerTest.testConcurrentVotesTwoNodes(VotingHandlerTest.java:322)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)