[
https://issues.apache.org/jira/browse/CASSANDRA-9897?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680194#comment-14680194
]
Joshua McKenzie commented on CASSANDRA-9897:
--------------------------------------------
Yeah, cp should be fine just with platform-specific syntax.
Latest run on ci shows that the snapshot_tests are [still
failing|http://cassci.datastax.com/view/cassandra-2.2/job/cassandra-2.2_dtest_win32/53/testReport/],
though with a different error message now on most:
{noformat}
12:07:27 ======================================================================
12:07:27 FAIL: test_archive_commitlog_point_in_time_with_active_commitlog
(snapshot_test.TestArchiveCommitlog)
12:07:27 ----------------------------------------------------------------------
12:07:27 Traceback (most recent call last):
12:07:27 File
"D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\snapshot_test.py",
line 153, in test_archive_commitlog_point_in_time_with_active_commitlog
12:07:27 self.run_archive_commitlog(restore_point_in_time=True,
archive_active_commitlogs=True)
12:07:27 File
"D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\snapshot_test.py",
line 231, in run_archive_commitlog
12:07:27 self.assertTrue(len(set(os.listdir(tmp_commitlog)) -
set(os.listdir(commitlog_dir))) > 0)
12:07:27 AssertionError: False is not true
{noformat}
I'll move forward from that angle.
> Windows dtest: snapshot_test.py failures
> ----------------------------------------
>
> Key: CASSANDRA-9897
> URL: https://issues.apache.org/jira/browse/CASSANDRA-9897
> Project: Cassandra
> Issue Type: Sub-task
> Reporter: Joshua McKenzie
> Assignee: Joshua McKenzie
> Labels: Windows
> Fix For: 2.2.1
>
>
> System call is linux-specific:
> {noformat}
> ERROR [CommitLogArchiver:1] 2015-07-24 13:26:39,622 CassandraDaemon.java:181
> - Exception in thread Thread[CommitLogArchiver:1,5,main]
> java.lang.RuntimeException: java.io.IOException: Exception while executing
> the command: cp
> c:\temp\dtest-phi4wd\test\node1\commitlogs\CommitLog-5-1437758795056.log c:
> emp mpkzsvkb/CommitLog-5-1437758795056.log, command error Code: 1,
> command output: cp: accessing
> `c:\temp\tmpkzsvkb/CommitLog-5-1437758795056.log': Invalid argument
> at com.google.common.base.Throwables.propagate(Throwables.java:160)
> ~[guava-16.0.jar:na]
> at
> org.apache.cassandra.utils.WrappedRunnable.run(WrappedRunnable.java:32)
> ~[main/:na]
> at
> java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
> ~[na:1.8.0_45]
> at java.util.concurrent.FutureTask.run(FutureTask.java:266)
> ~[na:1.8.0_45]
> at
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
> ~[na:1.8.0_45]
> at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
> [na:1.8.0_45]
> at java.lang.Thread.run(Thread.java:745) [na:1.8.0_45]
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)