Details
-
Improvement
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
None
Description
example failure:
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 << ---------------------'