cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua McKenzie (JIRA)" <>
Subject [jira] [Commented] (CASSANDRA-9897) Windows dtest: failures
Date Mon, 27 Jul 2015 17:31:04 GMT


Joshua McKenzie commented on CASSANDRA-9897:

After dealing with escaping and the fact that c:\temp explodes on the archiver (since \t is
an escape character), I'm now wrestling with the fact that subprocess.communicate() is blocking
indefinitely during node.nodetool in ccm *if called from dtests* on Windows. Running "ccm
node1 nodetool flush" from a command-prompt works fine, but blocks on .communicate during
the chain of calls to try and force a flush during snapshot tests:

if capture_output:
    p = subprocess.Popen(args, env=env, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
    stdout, stderr = p.communicate()

[~philipthompson] / [~tjake]: Either of you have any ideas on this one? I'm stumped. Logs
from the node shows that it's flushing and returning as one would expect but the dtest just
hangs there and never gets past p.communicate()

> Windows dtest: failures
> ----------------------------------------
>                 Key: CASSANDRA-9897
>                 URL:
>             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 - Exception
in thread Thread[CommitLogArchiver:1,5,main]
> java.lang.RuntimeException: 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 ~[guava-16.0.jar:na]
>         at ~[main/:na]
>         at java.util.concurrent.Executors$ ~[na:1.8.0_45]
>         at ~[na:1.8.0_45]
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(
>         at java.util.concurrent.ThreadPoolExecutor$
>         at [na:1.8.0_45]
> {noformat}

This message was sent by Atlassian JIRA

View raw message