You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sean McCarthy (JIRA)" <ji...@apache.org> on 2016/06/23 15:24:16 UTC

[jira] [Commented] (CASSANDRA-12069) dtest failure in cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_copy_options_from_config_file

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

Sean McCarthy commented on CASSANDRA-12069:
-------------------------------------------

Looks like out was an empty string:
{code}
out, _ = self.node1.run_cqlsh(cmds=cmd, return_output=True, cqlsh_options=cqlsh_options)

debug(out)
{code}
Looking into the logs to see why run_cqlsh failed.

> dtest failure in cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_copy_options_from_config_file
> ----------------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12069
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12069
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Sean McCarthy
>            Assignee: Sean McCarthy
>              Labels: dtest
>         Attachments: node1.log, node1_debug.log, node1_gc.log
>
>
> example failure:
> http://cassci.datastax.com/job/trunk_offheap_dtest/262/testReport/cqlsh_tests.cqlsh_copy_tests/CqlshCopyTest/test_copy_options_from_config_file
> Failed on CassCI build trunk_offheap_dtest #262
> {code}
> Stacktrace
>   File "/usr/lib/python2.7/unittest/case.py", line 329, in run
>     testMethod()
>   File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2203, in test_copy_options_from_config_file
>     [('header', 'True'), ('maxattempts', '9')])
>   File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2194, in do_test
>     check_options(out, expected_options)
>   File "/home/automaton/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line 2176, in check_options
>     d = json.loads(opts)
>   File "/usr/lib/python2.7/json/__init__.py", line 338, in loads
>     return _default_decoder.decode(s)
>   File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
>     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
>   File "/usr/lib/python2.7/json/decoder.py", line 384, in raw_decode
>     raise ValueError("No JSON object could be decoded")
> 'No JSON object could be decoded
> {code}



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