You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2016/07/26 16:27:20 UTC

[jira] [Commented] (CASSANDRA-11635) test-clientutil-jar unit test fails

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

Sylvain Lebresne commented on CASSANDRA-11635:
----------------------------------------------

I'll admit this test is passing for me locally, and I didn't do anything related to Sigar. The error suggest a missing dependency, but sigar is in lib/ so I'm not sure what's give. Are you still able to reproduce this [~mshuler]?

> 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)