You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jay Zhuang (JIRA)" <ji...@apache.org> on 2017/12/12 05:52:00 UTC

[jira] [Commented] (CASSANDRA-14106) utest failed: DistributionSequenceTest.setSeed() and simpleSequence()

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

Jay Zhuang commented on CASSANDRA-14106:
----------------------------------------

cassandra-stress is also failed with exception {{/ by zero}}, (added debug info):

{noformat}
$ tools/bin/cassandra-stress user profile=tools/cqlstress-example.yaml 'ops(insert=1)' n=10 cl=ONE no-warmup -rate threads=1

...
java.lang.ArithmeticException: / by zero

	at org.apache.cassandra.stress.generate.PartitionIterator$MultiRowIterator.decompose(PartitionIterator.java:410)
	at org.apache.cassandra.stress.generate.PartitionIterator$MultiRowIterator.setLastRow(PartitionIterator.java:347)
	at org.apache.cassandra.stress.generate.PartitionIterator$MultiRowIterator.reset(PartitionIterator.java:282)
	at org.apache.cassandra.stress.generate.PartitionIterator.reset(PartitionIterator.java:107)
	at org.apache.cassandra.stress.operations.PartitionOperation.reset(PartitionOperation.java:115)
	at org.apache.cassandra.stress.operations.PartitionOperation.ready(PartitionOperation.java:101)
	at org.apache.cassandra.stress.StressAction$StreamOfOperations.nextOp(StressAction.java:352)
	at org.apache.cassandra.stress.StressAction$Consumer.run(StressAction.java:453)

...
FAILURE
java.lang.RuntimeException: Failed to execute stress action
	at org.apache.cassandra.stress.StressAction.run(StressAction.java:99)
	at org.apache.cassandra.stress.Stress.run(Stress.java:143)
	at org.apache.cassandra.stress.Stress.main(Stress.java:62)

Process finished with exit code 1
{noformat}

> utest failed: DistributionSequenceTest.setSeed() and simpleSequence()
> ---------------------------------------------------------------------
>
>                 Key: CASSANDRA-14106
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14106
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Jay Zhuang
>            Assignee: Jay Zhuang
>
> To reproduce:
> {noformat}
> $ ant stress-test -Dtest.name=DistributionSequenceTest
> {noformat}
> {noformat}
> stress-test:
>     [junit] Testsuite: org.apache.cassandra.stress.generate.DistributionSequenceTest
>     [junit] Testsuite: org.apache.cassandra.stress.generate.DistributionSequenceTest Tests run: 4, Failures: 2, Errors: 0, Skipped: 0, Time elapsed: 0.08 sec
>     [junit]
>     [junit] Testcase: simpleSequence(org.apache.cassandra.stress.generate.DistributionSequenceTest):    FAILED
>     [junit] expected:<5> but was:<4>
>     [junit] junit.framework.AssertionFailedError: expected:<5> but was:<4>
>     [junit]     at org.apache.cassandra.stress.generate.DistributionSequenceTest.simpleSequence(DistributionSequenceTest.java:37)
>     [junit]
>     [junit]
>     [junit] Testcase: setSeed(org.apache.cassandra.stress.generate.DistributionSequenceTest):   FAILED
>     [junit] expected:<5> but was:<4>
>     [junit] junit.framework.AssertionFailedError: expected:<5> but was:<4>
>     [junit]     at org.apache.cassandra.stress.generate.DistributionSequenceTest.setSeed(DistributionSequenceTest.java:111)
>     [junit]
>     [junit]
>     [junit] Test org.apache.cassandra.stress.generate.DistributionSequenceTest FAILED
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org