You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Stu Hood (JIRA)" <ji...@apache.org> on 2011/01/14 05:59:45 UTC

[jira] Updated: (CASSANDRA-1964) MutationTest of the distributed-test suite fails

     [ https://issues.apache.org/jira/browse/CASSANDRA-1964?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stu Hood updated CASSANDRA-1964:
--------------------------------

    Attachment: 0001-Add-a-builder-for-a-retrying-get-attempt-and-use-to-im.txt

Attaching a fix for the first failing testcase: when doing a write at ONE and a read at ONE, we retry to ensure that the read eventually succeeds.

The other two failures are more interesting, and are not bugs in the testcase. Kelvin is investigating, but it appears that reads and writes at ALL are not blocking appropriately on the server side: he'll open a separate ticket for this tomorrow.

> MutationTest of the distributed-test suite fails
> ------------------------------------------------
>
>                 Key: CASSANDRA-1964
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1964
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Core
>         Environment: OS X Version 10.6.6
> java version "1.6.0_22"
> Java(TM) SE Runtime Environment (build 1.6.0_22-b04-307-10M3261)
> Java HotSpot(TM) 64-Bit Server VM (build 17.1-b03-307, mixed mode)
> Apache Ant version 1.8.1 compiled on September 21 2010
>            Reporter: Michael Allen
>            Assignee: Stu Hood
>            Priority: Minor
>             Fix For: 0.8
>
>         Attachments: 0001-Add-a-builder-for-a-retrying-get-attempt-and-use-to-im.txt
>
>
> MutationTest of the distributed-test test suite causes errors on trunk.
> To reproduce, issue:
> ant distributed-test -Dwhirr.config=<path_to_whirr_config_file>
> from the project root.
> relevant whirr configuration settings used:
> whirr.service-name=cassandra
> whirr.cluster-name=cassandra_test
> whirr.instance-templates=4 cassandra
> whirr.version=0.3.0-incubating-SNAPSHOT
> whirr.location-id=us-west-1
> whirr.image-id=us-west-1/ami-16f3a253
> whirr.hardware-id=m1.large
> whirr.blobstore.provider=s3
> whirr.blobstore.container=tawamuducassandratests
> whirr.provider=ec2
> whirr.run-url-base=http://hoodidge.net/scripts/
> Traceback:
> distributed-test:   
>      [echo] running distributed tests
>     [junit] WARNING: multiple versions of ant detected in path for junit 
>     [junit]          jar:file:/usr/share/ant/lib/ant.jar!/org/apache/tools/ant/Project.class
>     [junit]      and jar:file:/Users/mallen/Desktop/cassandra-trunk/build/lib/jars/ant-1.6.5.jar!/org/apache/tools/ant/Project.class
>     [junit] Testsuite: org.apache.cassandra.MovementTest
>     [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 446.65 sec
>     [junit] 
>     [junit] ------------- Standard Error -----------------
>     [junit] SLF4J: Class path contains multiple SLF4J bindings.
>     [junit] SLF4J: Found binding in [jar:file:/Users/mallen/Desktop/cassandra-trunk/lib/slf4j-log4j12-1.6.1.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>     [junit] SLF4J: Found binding in [jar:file:/Users/mallen/Desktop/cassandra-trunk/build/test/lib/jars/whirr-cli-0.3.0-incubating-SNAPSHOT.jar!/org/slf4j/impl/StaticLoggerBinder.class]
>     [junit] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
>     [junit]  WARN 12:12:46,654 over limit 471283/262144: wrote temp file
>     [junit]  WARN 12:12:48,572 over limit 374979/262144: wrote temp file
>     [junit]  WARN 12:12:50,701 over limit 892174/262144: wrote temp file
>     [junit]  WARN 12:12:54,442 over limit 612358/262144: wrote temp file
>     [junit] ------------- ---------------- ---------------
>     [junit] Testsuite: org.apache.cassandra.MutationTest
>     [junit] Tests run: 4, Failures: 0, Errors: 3, Time elapsed: 110.971 sec
>     [junit] 
>     [junit] Testcase: testInsert(org.apache.cassandra.MutationTest):    Caused an ERROR
>     [junit] null
>     [junit] NotFoundException()
>     [junit]     at org.apache.cassandra.thrift.Cassandra$get_result.read(Cassandra.java:6900)
>     [junit]     at org.apache.cassandra.thrift.Cassandra$Client.recv_get(Cassandra.java:568)
>     [junit]     at org.apache.cassandra.thrift.Cassandra$Client.get(Cassandra.java:541)
>     [junit]     at org.apache.cassandra.MutationTest.getColumn(MutationTest.java:210)
>     [junit]     at org.apache.cassandra.MutationTest.testInsert(MutationTest.java:66)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testWriteAllReadOne(org.apache.cassandra.MutationTest):   Caused an ERROR
>     [junit] null
>     [junit] NotFoundException()
>     [junit]     at org.apache.cassandra.thrift.Cassandra$get_result.read(Cassandra.java:6900)
>     [junit]     at org.apache.cassandra.thrift.Cassandra$Client.recv_get(Cassandra.java:568)
>     [junit]     at org.apache.cassandra.thrift.Cassandra$Client.get(Cassandra.java:541)
>     [junit]     at org.apache.cassandra.MutationTest.getColumn(MutationTest.java:210)
>     [junit]     at org.apache.cassandra.MutationTest.testWriteAllReadOne(MutationTest.java:87)
>     [junit] 
>     [junit] 
>     [junit] Testcase: testWriteOneReadAll(org.apache.cassandra.MutationTest):   Caused an ERROR
>     [junit] null
>     [junit] TimedOutException()
>     [junit]     at org.apache.cassandra.thrift.Cassandra$insert_result.read(Cassandra.java:15392)
>     [junit]     at org.apache.cassandra.thrift.Cassandra$Client.recv_insert(Cassandra.java:907)
>     [junit]     at org.apache.cassandra.thrift.Cassandra$Client.insert(Cassandra.java:879)
>     [junit]     at org.apache.cassandra.MutationTest.insert(MutationTest.java:202)
>     [junit]     at org.apache.cassandra.MutationTest.testWriteOneReadAll(MutationTest.java:185)
>     [junit] 
>     [junit] 
>     [junit] TEST org.apache.cassandra.MutationTest FAILED
>     [junit] Tests FAILED
> BUILD FAILED
> /Users/mallen/Desktop/cassandra-trunk/build.xml:557: The following error occurred while executing this line:
> /Users/mallen/Desktop/cassandra-trunk/build.xml:540: Some distributed test(s) failed.
> Total time: 10 minutes 15 seconds

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