You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Johan Oskarsson (JIRA)" <ji...@apache.org> on 2009/03/29 20:56:50 UTC

[jira] Created: (CASSANDRA-22) Tests fail on Hudson

Tests fail on Hudson
--------------------

                 Key: CASSANDRA-22
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
             Project: Cassandra
          Issue Type: Bug
         Environment: Ubuntu
            Reporter: Johan Oskarsson
            Priority: Blocker


When running "ant test" a number of tests fail.
For example testSingeColumn, testManyColumns, testOpen etc.

Part of stacktrace:
java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
   [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)

See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-22) Tests fail on Hudson

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693767#action_12693767 ] 

Johan Oskarsson commented on CASSANDRA-22:
------------------------------------------

How about adding a test config dir with values that make sense when running ant test? Something like build/test/cassandra/* etc

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-22) Tests fail on Hudson

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694122#action_12694122 ] 

Johan Oskarsson commented on CASSANDRA-22:
------------------------------------------

Discussed this on irc with Jonathan Ellis, it turns out the ServerTest class he was referring to gets the directories we need to create from DatabaseDescriptor. That class have a huge static block that amongst other things try to write to the directories we create in the build.xml file. So it's quite tricky to create them in ServerTest right now, we decided to leave it in the build.xml for now until we can untangle some of the staticness in Cassandra.

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>         Attachments: CASSANDRA-22.patch
>
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-22) Tests fail on Hudson

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693763#action_12693763 ] 

Jonathan Ellis commented on CASSANDRA-22:
-----------------------------------------

the ones from confifg/server.conf.  /var/cassandra/*.

seems kind of weird to have build script create those.  what if you wanted to use a different config file?

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Assigned: (CASSANDRA-22) Tests fail on Hudson

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis reassigned CASSANDRA-22:
---------------------------------------

    Assignee: Johan Oskarsson

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Assignee: Johan Oskarsson
>            Priority: Blocker
>         Attachments: CASSANDRA-22.patch
>
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (CASSANDRA-22) Tests fail on Hudson

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Johan Oskarsson updated CASSANDRA-22:
-------------------------------------

    Attachment: CASSANDRA-22.patch

This patch should fix the broken tests. It adds a test configuration and creates the needed directories in build/test

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>         Attachments: CASSANDRA-22.patch
>
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-22) Tests fail on Hudson

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12694108#action_12694108 ] 

Jonathan Ellis commented on CASSANDRA-22:
-----------------------------------------

i am not a build guru but shouldn't the mkdir be done in cleanup rather than hardcoding it in build.xml where it will break if test/storage-conf is changed?

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>         Attachments: CASSANDRA-22.patch
>
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-22) Tests fail on Hudson

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693611#action_12693611 ] 

Jonathan Ellis commented on CASSANDRA-22:
-----------------------------------------

it's failing b/c the expected directories do not exist.  applied patch to make that more clear.

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (CASSANDRA-22) Tests fail on Hudson

Posted by "Johan Oskarsson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693619#action_12693619 ] 

Johan Oskarsson commented on CASSANDRA-22:
------------------------------------------

What directories are missing? Should the build file create them?

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (CASSANDRA-22) Tests fail on Hudson

Posted by "Jonathan Ellis (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CASSANDRA-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jonathan Ellis resolved CASSANDRA-22.
-------------------------------------

    Resolution: Fixed

applied

> Tests fail on Hudson
> --------------------
>
>                 Key: CASSANDRA-22
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-22
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: Ubuntu
>            Reporter: Johan Oskarsson
>            Priority: Blocker
>         Attachments: CASSANDRA-22.patch
>
>
> When running "ant test" a number of tests fail.
> For example testSingeColumn, testManyColumns, testOpen etc.
> Part of stacktrace:
> java.lang.NoClassDefFoundError: Could not initialize class org.apache.cassandra.config.DatabaseDescriptor
>    [testng]     at org.apache.cassandra.service.StorageService.<clinit>(StorageService.java:449)
> See: http://hudson.zones.apache.org/hudson/job/Cassandra/4/

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.