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

Stefan Podkowinski commented on CASSANDRA-12437:
------------------------------------------------

Looks like stress is trying to connect using the default 7199 port, while we 
start with 7100 for the first node when using ccm.

As this is broken for quite a while and no other tests seem to be affected, I'd 
assume it's okay to simply add the error to the list of ignore patterns unless 
we actual need the additional stress output. 
[PR|https://github.com/riptano/cassandra-dtest/pull/1429] has been created.

/cc [~philipthompson]

> dtest failure in bootstrap_test.TestBootstrap.local_quorum_bootstrap_test
> -------------------------------------------------------------------------
>
>                 Key: CASSANDRA-12437
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-12437
>             Project: Cassandra
>          Issue Type: Test
>            Reporter: Craig Kodman
>            Assignee: DS Test Eng
>              Labels: dtest, windows
>         Attachments: node1_debug.log, node1_gc.log, node1.log, 
> node2_debug.log, node2_gc.log, node2.log
>
>
> example failure:
> http://cassci.datastax.com/job/cassandra-2.2_dtest_win32/281/testReport/bootstrap_test/TestBootstrap/local_quorum_bootstrap_test
> {code}
> Stacktrace
>   File "C:\tools\python2\lib\unittest\case.py", line 329, in run
>     testMethod()
>   File 
> "D:\jenkins\workspace\cassandra-2.2_dtest_win32\cassandra-dtest\bootstrap_test.py",
>  line 389, in local_quorum_bootstrap_test
>     'ops(insert=1)', '-rate', 'threads=50'])
>   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\ccm\ccmlib\node.py", 
> line 1244, in stress
>     return handle_external_tool_process(p, ['stress'] + stress_options)
>   File "D:\jenkins\workspace\cassandra-2.2_dtest_win32\ccm\ccmlib\node.py", 
> line 1955, in handle_external_tool_process
>     raise ToolError(cmd_args, rc, out, err)
> 'Subprocess [\'stress\', \'user\', \'profile=d:\\\\temp\\\\2\\\\tmp8sf4da\', 
> \'n=2M\', \'no-warmup\', \'ops(insert=1)\', \'-rate\', \'threads=50\'] exited 
> with non-zero status; exit status: 1; \nstderr: Exception in thread "main" 
> java.io.IOError: java.io.FileNotFoundException: d:\\temp\\2\\tmp8sf4da (The 
> process cannot access the file because it is being used by another 
> process)\r\n\tat 
> org.apache.cassandra.stress.StressProfile.load(StressProfile.java:574)\r\n\tat
>  
> org.apache.cassandra.stress.settings.SettingsCommandUser.<init>(SettingsCommandUser.java:58)\r\n\tat
>  
> org.apache.cassandra.stress.settings.SettingsCommandUser.build(SettingsCommandUser.java:127)\r\n\tat
>  
> org.apache.cassandra.stress.settings.SettingsCommand.get(SettingsCommand.java:195)\r\n\tat
>  
> org.apache.cassandra.stress.settings.StressSettings.get(StressSettings.java:249)\r\n\tat
>  
> org.apache.cassandra.stress.settings.StressSettings.parse(StressSettings.java:220)\r\n\tat
>  org.apache.cassandra.stress.Stress.main(Stress.java:63)\r\nCaused by: 
> java.io.FileNotFoundException: d:\\temp\\2\\tmp8sf4da (The process cannot 
> access the file because it is being used by another process)\r\n\tat 
> java.io.FileInputStream.open0(Native Method)\r\n\tat 
> java.io.FileInputStream.open(FileInputStream.java:195)\r\n\tat 
> java.io.FileInputStream.<init>(FileInputStream.java:138)\r\n\tat 
> java.io.FileInputStream.<init>(FileInputStream.java:93)\r\n\tat 
> sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection.java:90)\r\n\tat
>  
> sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLConnection.java:188)\r\n\tat
>  java.net.URL.openStream(URL.java:1038)\r\n\tat 
> org.apache.cassandra.stress.StressProfile.load(StressProfile.java:560)\r\n\t...
>  6 more\r\n\n-------------------- >> begin captured logging << 
> --------------------\ndtest: DEBUG: cluster ccm directory: 
> d:\\temp\\2\\dtest-wsze0r\ndtest: DEBUG: Done setting configuration 
> options:\n{   \'initial_token\': None,\n    \'num_tokens\': \'32\',\n    
> \'phi_convict_threshold\': 5,\n    \'start_rpc\': 
> \'true\'}\n--------------------- >> end captured logging << 
> ---------------------'
> {code}



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

Reply via email to