cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-10103) Windows dtest 3.0: incremental_repair_test.py:TestIncRepair.sstable_repairedset_test fails
Date Wed, 19 Aug 2015 19:03:45 GMT

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

Joshua McKenzie commented on CASSANDRA-10103:
---------------------------------------------

Trying to compare output from this test on Windows to output on Linux, and both are failing
with multiple (different) errors.

Windows:
{noformat}
SUCCESS: The process with PID 13120 has been terminated.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:114)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:93)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.mutateRepairedAt(MetadataSerializer.java:143)
        at org.apache.cassandra.tools.SSTableRepairedAtSetter.main(SSTableRepairedAtSetter.java:86)
Started: node2 with pid: 17468
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:114)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:93)
        at org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:51)
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 3
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:114)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:93)
        at org.apache.cassandra.tools.SSTableMetadataViewer.main(SSTableMetadataViewer.java:51)
...
FAIL: sstable_repairedset_test (incremental_repair_test.TestIncRepair)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\src\cassandra-dtest\incremental_repair_test.py", line 170, in sstable_repairedset_test
    self.assertGreaterEqual(len(uniquematches), 2)
AssertionError: 0 not greater than or equal to 2
{noformat}

Linux:
{noformat}
11:54:47.633 [main] DEBUG o.a.c.i.s.m.MetadataSerializer - Load metadata for /tmp/dtest-m5aJsz/test/node2/data/keyspace1/standard1-bcad849046a311e5a62251843b245f21/ma-1-big
Exception in thread "main" java.lang.ExceptionInInitializerError
        at org.apache.cassandra.config.DatabaseDescriptor.loadConfig(DatabaseDescriptor.java:123)
        at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:110)
        at org.apache.cassandra.utils.memory.BufferPool.<clinit>(BufferPool.java:51)
        at org.apache.cassandra.io.util.RandomAccessReader.allocateBuffer(RandomAccessReader.java:76)
        at org.apache.cassandra.io.util.RandomAccessReader.<init>(RandomAccessReader.java:58)
        at org.apache.cassandra.io.util.RandomAccessReader$RandomAccessReaderWithChannel.<init>(RandomAccessReader.java:89)
        at org.apache.cassandra.io.util.RandomAccessReader.open(RandomAccessReader.java:108)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.deserialize(MetadataSerializer.java:91)
        at org.apache.cassandra.io.sstable.metadata.MetadataSerializer.mutateRepairedAt(MetadataSerializer.java:143)
        at org.apache.cassandra.tools.SSTableRepairedAtSetter.main(SSTableRepairedAtSetter.java:86)
Caused by: org.apache.cassandra.exceptions.ConfigurationException: Expecting URI in variable:
[cassandra.config]. Found[cassandra.yaml]. Please prefix the file with [file:///] for local
files and [file://<server>/] for remote files. If you are executing this from an external
tool, it needs to set Config.setClientMode(true) to avoid loading configuration.
...
ERROR: sstable_repairedset_test (incremental_repair_test.TestIncRepair)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cassandra/src/cassandra-dtest/dtest.py", line 532, in tearDown
    raise AssertionError('Unexpected error in %s node log: %s' % (node.name, errors))
AssertionError: Unexpected error in node2 node log: ['ERROR [HintsDispatcher:1] 2015-08-19
11:55:35,403 HintsDispatchExecutor.java:186 - Failed to delete hints file 5040aad1-6b54-4382-9828-b232880a8222-1440010511636-1.hints']
{noformat}

dtests on 3.0 are in a fairly bad way right now. Going to sit on this until the linux failures
get ironed out and then revisit the Win side as trying to track down both underlying test
failures and env / os-specific failures simultaneously is unproductive.

> Windows dtest 3.0: incremental_repair_test.py:TestIncRepair.sstable_repairedset_test
fails
> ------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-10103
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-10103
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Joshua McKenzie
>            Assignee: Joshua McKenzie
>              Labels: Windows
>             Fix For: 3.0.x
>
>
> {noformat}
> File "D:\Python27\lib\unittest\case.py", line 329, in run
>     testMethod()
>   File "D:\jenkins\workspace\cassandra-3.0_dtest_win32\cassandra-dtest\incremental_repair_test.py",
line 165, in sstable_repairedset_test
>     self.assertGreaterEqual(len(uniquematches), 2)
>   File "D:\Python27\lib\unittest\case.py", line 948, in assertGreaterEqual
>     self.fail(self._formatMessage(msg, standardMsg))
>   File "D:\Python27\lib\unittest\case.py", line 410, in fail
>     raise self.failureException(msg)
> '0 not greater than or equal to 2\n-------------------- >> begin captured logging
<< --------------------\ndtest: DEBUG: cluster ccm directory: d:\\temp\\dtest-pq7lpx\ndtest:
DEBUG: []\n--------------------- >> end captured logging << ---------------------'
> {noformat}
> Failure history: [consistent|http://cassci.datastax.com/view/cassandra-3.0/job/cassandra-3.0_dtest_win32/17/testReport/junit/hintedhandoff_test/TestHintedHandoffConfig/hintedhandoff_dc_disabled_test/history/]
> Env: both CI and local



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message