[
https://issues.apache.org/jira/browse/CASSANDRA-10313?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=14977410#comment-14977410
]
Paulo Motta commented on CASSANDRA-10313:
-
I had this same issue and fixed by removing the following directory
{{/usr/local/lib/python2.7/dist-packages/cqlshlib}}. I don't know how it ended
up there, probably I installed manually a long time ago. So it was probably
picking an older version of cqlshlib before CASSANDRA-1.
> cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest.test_all_datatypes_read fails
> locally
>
>
> Key: CASSANDRA-10313
> URL: https://issues.apache.org/jira/browse/CASSANDRA-10313
> Project: Cassandra
> Issue Type: Test
> Environment: Linux
>Reporter: Stefania
>Assignee: Stefania
> Labels: cqlsh
>
> I get this failure on my box with TZ at GMT+08:
> {code}
> ==
> FAIL: test_all_datatypes_read (cqlsh_tests.cqlsh_copy_tests.CqlshCopyTest)
> --
> Traceback (most recent call last):
> File
> "/home/stefi/git/cstar/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line
> 674, in test_all_datatypes_read
> self.assertCsvResultEqual(self.tempfile.name, results)
> File
> "/home/stefi/git/cstar/cassandra-dtest/cqlsh_tests/cqlsh_copy_tests.py", line
> 137, in assertCsvResultEqual
> raise e
> AssertionError: Element counts were not equal:
> First has 1, Second has 0: ['ascii', '1099511627776', '0xbeef', 'True',
> '3.140124344978758017532527446746826171875', '2.444', '1.1',
> '127.0.0.1', '25',
> '\xe3\x83\xbd(\xc2\xb4\xe3\x83\xbc\xef\xbd\x80)\xe3\x83\x8e', '2005-07-14
> 12:30:00', '30757c2c-584a-11e5-b2d0-9cebe804ecbe',
> '2471e7de-41e4-478f-a402-e99ed779be76', 'asdf', '36893488147419103232']
> First has 0, Second has 1: ['ascii', '1099511627776', '0xbeef', 'True',
> '3.140124344978758017532527446746826171875', '2.444', '1.1',
> '127.0.0.1', '25',
> '\xe3\x83\xbd(\xc2\xb4\xe3\x83\xbc\xef\xbd\x80)\xe3\x83\x8e', '2005-07-14
> 04:30:00', '30757c2c-584a-11e5-b2d0-9cebe804ecbe',
> '2471e7de-41e4-478f-a402-e99ed779be76', 'asdf', '36893488147419103232']
> >> begin captured logging <<
> dtest: DEBUG: cluster ccm directory: /tmp/dtest-8VAvBl
> dtest: DEBUG: Importing from csv file: /tmp/tmpGwW8yB
> dtest: WARNING: Mismatch at index: 10
> dtest: WARNING: Value in csv: 2005-07-14 12:30:00
> dtest: WARNING: Value in result: 2005-07-14 04:30:00
> - >> end captured logging << -
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)