cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-10051) Windows dtest: json_tools_test.TestJson.json_tools_test
Date Wed, 12 Aug 2015 20:37:45 GMT


Paulo Motta commented on CASSANDRA-10051:

There were two problems here:
* ccm was using platform-dependent python library shlex to start json2sstable tool (fix in
this [ccm PR351|])
* even after the ccm fix, the test was failing sometimes, due to timing differences in periodic
commit log synchronization. in order to avoid this, I forced the test to use the synchronous-batch
commit log in this [cassandra-dtest PR458|]
** during investigation of the previous point, I also created a dtest to validate commit log
replay, since I didn't find any dtest on this ([cassandra dtest PR459|]).

> Windows dtest:  json_tools_test.TestJson.json_tools_test
> --------------------------------------------------------
>                 Key: CASSANDRA-10051
>                 URL:
>             Project: Cassandra
>          Issue Type: Sub-task
>            Reporter: Paulo Motta
>            Assignee: Paulo Motta
>             Fix For: 2.2.x
> Failing with following message:
> {noformat}
>   File "C:\tools\python2\lib\unittest\", line 329, in run
>     testMethod()
>   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\",
line 85, in json_tools_test
>     node1.run_json2sstable(f, "test", "users")
>   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\ccm\ccmlib\", line 807,
in run_json2sstable
>, env=env)
>   File "C:\tools\python2\lib\", line 522, in call
>     return Popen(*popenargs, **kwargs).wait()
>   File "C:\tools\python2\lib\", line 710, in __init__
>     errread, errwrite)
>   File "C:\tools\python2\lib\", line 958, in _execute_child
>     startupinfo)
> '[Error 2] The system cannot find the file specified\n-------------------- >> begin
captured logging << --------------------\ndtest: DEBUG: cluster ccm directory: d:\\temp\\dtest-ykvjn4\ndtest:
DEBUG: Starting cluster...\ndtest: DEBUG: Version: 2.2.0\ndtest: DEBUG: Getting CQLSH...\ndtest:
DEBUG: Inserting data...\ndtest: DEBUG: Flushing and stopping cluster...\ndtest: DEBUG: Exporting
to JSON file...\ndtest: DEBUG: Deleting cluster and creating new...\ndtest: DEBUG: Inserting
data...\ndtest: DEBUG: Importing JSON file...\n--------------------- >> end captured
logging << ---------------------'
> {noformat}

This message was sent by Atlassian JIRA

View raw message