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 Wed, 17 Aug 2016 20:39:21 GMT

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

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

This appears to have been fixed in 2.2 (and removed from trunk), but continues to fail in
3.0, 3.8, 3.9.

Since {{test-clientutil-jar}} is a dependency of the ant {{test-all}} target, a behavior change
in test failure reporting should begin to fail CI {{test-all}} jobs, if all of the {{test-all}}
targets do not pass successfully. The first examples of this test result behavior came up
today, which is where I spotted this test had not been fully fixed. http://cassci.datastax.com/job/cassandra-3.0_testall/643/

{noformat}
(cassandra-2.2)mshuler@hana:~/git/cassandra$ git log -n1
commit 9583b6b312866a4861df1a795329695b3fc09328 (HEAD, origin/cassandra-2.2, github/cassandra-2.2,
cassandra-2.2)
Merge: 88b3cfc 527d189
Author: Benjamin Lerer <b.lerer@gmail.com>
Date:   Tue Aug 16 15:25:42 2016 +0200

    Merge branch cassandra-2.1 into cassandra-2.2

(cassandra-2.2)mshuler@hana:~/git/cassandra$ ant test-clientutil-jar
<...>
test-clientutil-jar:
    [junit] Testsuite: org.apache.cassandra.serializers.ClientUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.27 sec
    [junit] 
    [junit] ------------- Standard Output ---------------
    [junit] 13:23:19.255 [main] INFO  o.a.cassandra.utils.SigarLibrary - Initializing SIGAR
library
    [junit] ------------- ---------------- ---------------

BUILD SUCCESSFUL
Total time: 1 minute 15 seconds
{noformat}

{noformat}
(cassandra-3.0)mshuler@hana:~/git/cassandra$ git log -n1
commit 5694a2ac3f227bdd22f1532059b566820deaf23e (HEAD, origin/cassandra-3.0, cassandra-3.0)
Author: Marcus Eriksson <marcuse@apache.org>
Date:   Wed Aug 10 08:34:28 2016 +0200

    Debug logging for unit tests
    
    Patch by marcuse; reviewed by Michael Shuler for CASSANDRA-12425

(cassandra-3.0)mshuler@hana:~/git/cassandra$ ant test-clientutil-jar
<...>
test-clientutil-jar:
    [junit] Testsuite: org.apache.cassandra.serializers.ClientUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.047 sec
    [junit] 
    [junit] Testcase: test(org.apache.cassandra.serializers.ClientUtilsTest):   Caused an
ERROR
    [junit] org/apache/cassandra/io/sstable/metadata/MetadataType
    [junit] java.lang.NoClassDefFoundError: org/apache/cassandra/io/sstable/metadata/MetadataType
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeNode(UUIDGen.java:337)
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeClockSeqAndNode(UUIDGen.java:291)
    [junit]     at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:42)
    [junit]     at org.apache.cassandra.serializers.ClientUtilsTest.test(ClientUtilsTest.java:56)
    [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.io.sstable.metadata.MetadataType
    [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:1229: Clientutil test(s) failed.

Total time: 54 seconds
{noformat}

{noformat}
(cassandra-3.8)mshuler@hana:~/git/cassandra$ git log -n1
commit 4e46ec926167e43dacd2afd2ccdc7cf84525e644 (HEAD, origin/cassandra-3.8, github/cassandra-3.8,
cassandra-3.8)
Author: Michael Shuler <mshuler@apache.org>
Date:   Tue Aug 16 17:55:15 2016 -0500

    Update NEWS.txt for 3.8

(cassandra-3.8)mshuler@hana:~/git/cassandra$ ant test-clientutil-jar
<...>
test-clientutil-jar:
    [junit] Testsuite: org.apache.cassandra.serializers.ClientUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.041 sec
    [junit] 
    [junit] Testcase: test(org.apache.cassandra.serializers.ClientUtilsTest):   Caused an
ERROR
    [junit] org/apache/cassandra/io/sstable/metadata/MetadataType
    [junit] java.lang.NoClassDefFoundError: org/apache/cassandra/io/sstable/metadata/MetadataType
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeNode(UUIDGen.java:362)
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeClockSeqAndNode(UUIDGen.java:300)
    [junit]     at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:42)
    [junit]     at org.apache.cassandra.serializers.ClientUtilsTest.test(ClientUtilsTest.java:56)
    [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.io.sstable.metadata.MetadataType
    [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:1312: Clientutil test(s) failed.

Total time: 1 minute 0 seconds
{noformat}

{noformat}
(cassandra-3.9)mshuler@hana:~/git/cassandra$ git log -n1
commit c72a7bbe85ae0a693d44772cb0967c7c9971a893 (HEAD, origin/cassandra-3.9, github/cassandra-3.9,
cassandra-3.9)
Author: Michael Shuler <mshuler@apache.org>
Date:   Tue Aug 16 17:57:21 2016 -0500

    Update NEWS.txt for 3.9

(cassandra-3.9)mshuler@hana:~/git/cassandra$ ant test-clientutil-jar
<...>
test-clientutil-jar:
    [junit] Testsuite: org.apache.cassandra.serializers.ClientUtilsTest
    [junit] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.043 sec
    [junit] 
    [junit] Testcase: test(org.apache.cassandra.serializers.ClientUtilsTest):   Caused an
ERROR
    [junit] org/apache/cassandra/io/sstable/metadata/MetadataType
    [junit] java.lang.NoClassDefFoundError: org/apache/cassandra/io/sstable/metadata/MetadataType
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeNode(UUIDGen.java:362)
    [junit]     at org.apache.cassandra.utils.UUIDGen.makeClockSeqAndNode(UUIDGen.java:300)
    [junit]     at org.apache.cassandra.utils.UUIDGen.<clinit>(UUIDGen.java:42)
    [junit]     at org.apache.cassandra.serializers.ClientUtilsTest.test(ClientUtilsTest.java:56)
    [junit] Caused by: java.lang.ClassNotFoundException: org.apache.cassandra.io.sstable.metadata.MetadataType
    [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:1312: Clientutil test(s) failed.

Total time: 1 minute 1 second
{noformat}

{noformat}
(trunk)mshuler@hana:~/git/cassandra$ git log -n1
commit d4d71cd331d9119f718b1ef6e4ed2bb3a1258ac1 (HEAD, origin/trunk, origin/HEAD, trunk)
Merge: 6966fcd 5694a2a
Author: Marcus Eriksson <marcuse@apache.org>
Date:   Wed Aug 17 15:38:12 2016 +0200

    Merge branch 'cassandra-3.0' into trunk
(trunk)mshuler@hana:~/git/cassandra$ ant test-clientutil-jar 
Buildfile: /home/mshuler/git/cassandra/build.xml

BUILD FAILED
Target "test-clientutil-jar" does not exist in the project "apache-cassandra". 

Total time: 1 second
{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.8, 3.0.9, 3.8
>
>
> {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