cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Shuler (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-11635) test-clientutil-jar unit test fails
Date Thu, 28 Jul 2016 15:47:21 GMT

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

Michael Shuler commented on CASSANDRA-11635:
--------------------------------------------

The latest trunk-testall has a different error than sigar:
{noformat}
12:05:02 test-clientutil-jar:
12:05:03     [junit] Testsuite: org.apache.cassandra.serializers.ClientUtilsTest
12:05:03     [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.062
sec
12:05:03     [junit] 
12:05:03     [junit] Testcase: test(org.apache.cassandra.serializers.ClientUtilsTest):	Caused
an ERROR
12:05:03     [junit] org/apache/cassandra/dht/IPartitioner
12:05:03     [junit] java.lang.NoClassDefFoundError: org/apache/cassandra/dht/IPartitioner
12:05:03     [junit] 	at org.apache.cassandra.utils.UUIDGen.makeNode(UUIDGen.java:361)
12:05:03     [junit] 	at org.apache.cassandra.utils.UUIDGen.makeClockSeqAndNode(UUIDGen.java:299)
12:05:03     [junit] 	at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:41)
12:05:03     [junit] 	at org.apache.cassandra.serializers.ClientUtilsTest.test(ClientUtilsTest.java:56)
12:05:03     [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.dht.IPartitioner
12:05:03     [junit] 	at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
12:05:03     [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
12:05:03     [junit] 	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
12:05:03     [junit] 	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
12:05:03     [junit] 
12:05:03     [junit] Test org.apache.cassandra.serializers.ClientUtilsTest FAILED
12:05:03 Target 'test-clientutil-jar' failed with message 'Clientutil test(s) failed.'.
{noformat}

This is from http://cassci.datastax.com/job/trunk_testall/1072/

Fails in the same manner locally:
{noformat}
test-clientutil-jar:
    [junit] Testsuite: org.apache.cassandra.serializers.ClientUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.046 sec
    [junit] 
    [junit] Testcase: test(org.apache.cassandra.serializers.ClientUtilsTest):   Caused an
ERROR
    [junit] org/apache/cassandra/dht/IPartitioner
    [junit] java.lang.NoClassDefFoundError: org/apache/cassandra/dht/IPartitioner
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeNode(UUIDGen.java:361)
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeClockSeqAndNode(UUIDGen.java:299)
    [junit]     at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:41)
    [junit]     at org.apache.cassandra.serializers.ClientUtilsTest.test(ClientUtilsTest.java:56)
    [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.dht.IPartitioner
    [junit]     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    [junit]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
    [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    [junit] 
    [junit] 
    [junit] Test org.apache.cassandra.serializers.ClientUtilsTest FAILED

BUILD FAILED
/home/mshuler/git/cassandra/build.xml:1332: Clientutil test(s) failed.
{noformat}

> test-clientutil-jar unit test fails
> -----------------------------------
>
>                 Key: CASSANDRA-11635
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11635
>             Project: Cassandra
>          Issue Type: Test
>          Components: Testing
>            Reporter: Michael Shuler
>            Assignee: Sylvain Lebresne
>              Labels: unittest
>             Fix For: 2.2.x, 3.0.x, 3.x
>
>
> {noformat}
> test-clientutil-jar:
>     [junit] Testsuite: org.apache.cassandra.serializers.ClientUtilsTest
>     [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.314 sec
>     [junit] 
>     [junit] Testcase: test(org.apache.cassandra.serializers.ClientUtilsTest):   Caused
an ERROR
>     [junit] org/apache/cassandra/utils/SigarLibrary
>     [junit] java.lang.NoClassDefFoundError: org/apache/cassandra/utils/SigarLibrary
>     [junit]     at org.apache.cassandra.utils.UUIDGen.hash(UUIDGen.java:328)
>     [junit]     at org.apache.cassandra.utils.UUIDGen.makeNode(UUIDGen.java:307)
>     [junit]     at org.apache.cassandra.utils.UUIDGen.makeClockSeqAndNode(UUIDGen.java:256)
>     [junit]     at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:39)
>     [junit]     at org.apache.cassandra.serializers.ClientUtilsTest.test(ClientUtilsTest.java:56)
>     [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.utils.SigarLibrary
>     [junit]     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>     [junit]     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>     [junit]     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>     [junit] 
>     [junit] 
>     [junit] Test org.apache.cassandra.serializers.ClientUtilsTest FAILED
> BUILD FAILED
> {noformat}
> I'll see if I can find a spot where this passes, but it appears to have been failing
for a long time.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message