Marcus Eriksson created CASSANDRA-14583:
-------------------------------------------

             Summary: [DTEST] fix 
write_failures_test.py::TestWriteFailures::test_thrift
                 Key: CASSANDRA-14583
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14583
             Project: Cassandra
          Issue Type: Improvement
            Reporter: Marcus Eriksson


seems it needs a {{WITH COMPACT STORAGE}} to avoid failing like this:
{code}
write_failures_test.py::TestWriteFailures::test_thrift swapoff: Not superuser.
01:23:57,245 ccm DEBUG Log-watching thread starting.

INTERNALERROR> Traceback (most recent call last):
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/main.py", 
line 178, in wrap_session
INTERNALERROR>     session.exitstatus = doit(config, session) or 0
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/main.py", 
line 215, in _main
INTERNALERROR>     config.hook.pytest_runtestloop(session=session)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 617, in __call__
INTERNALERROR>     return self._hookexec(self, self._nonwrappers + 
self._wrappers, kwargs)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 222, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 216, in <lambda>
INTERNALERROR>     firstresult=hook.spec_opts.get('firstresult'),
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 201, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 76, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 180, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/main.py", 
line 236, in pytest_runtestloop
INTERNALERROR>     item.config.hook.pytest_runtest_protocol(item=item, 
nextitem=nextitem)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 617, in __call__
INTERNALERROR>     return self._hookexec(self, self._nonwrappers + 
self._wrappers, kwargs)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 222, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 216, in <lambda>
INTERNALERROR>     firstresult=hook.spec_opts.get('firstresult'),
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 201, in _multicall
INTERNALERROR>     return outcome.get_result()
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 76, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 180, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/flaky/flaky_pytest_plugin.py",
 line 81, in pytest_runtest_protocol
INTERNALERROR>     self.runner.pytest_runtest_protocol(item, nextitem)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/runner.py", 
line 64, in pytest_runtest_protocol
INTERNALERROR>     runtestprotocol(item, nextitem=nextitem)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/runner.py", 
line 79, in runtestprotocol
INTERNALERROR>     reports.append(call_and_report(item, "call", log))
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/flaky/flaky_pytest_plugin.py",
 line 120, in call_and_report
INTERNALERROR>     report = hook.pytest_runtest_makereport(item=item, call=call)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 617, in __call__
INTERNALERROR>     return self._hookexec(self, self._nonwrappers + 
self._wrappers, kwargs)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 222, in _hookexec
INTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/__init__.py",
 line 216, in <lambda>
INTERNALERROR>     firstresult=hook.spec_opts.get('firstresult'),
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 196, in _multicall
INTERNALERROR>     gen.send(outcome)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/skipping.py",
 line 123, in pytest_runtest_makereport
INTERNALERROR>     rep = outcome.get_result()
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 76, in get_result
INTERNALERROR>     raise ex[1].with_traceback(ex[2])
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/pluggy/callers.py", 
line 180, in _multicall
INTERNALERROR>     res = hook_impl.function(*args)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/runner.py", 
line 331, in pytest_runtest_makereport
INTERNALERROR>     longrepr = item.repr_failure(excinfo)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/python.py", 
line 675, in repr_failure
INTERNALERROR>     return self._repr_failure_py(excinfo, style=style)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/python.py", 
line 668, in _repr_failure_py
INTERNALERROR>     return super(FunctionMixin, self)._repr_failure_py(excinfo, 
style=style)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/nodes.py", 
line 295, in _repr_failure_py
INTERNALERROR>     tbfilter=tbfilter,
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/_code/code.py",
 line 476, in getrepr
INTERNALERROR>     return fmt.repr_excinfo(self)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/_code/code.py",
 line 717, in repr_excinfo
INTERNALERROR>     reprtraceback = self.repr_traceback(excinfo)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/_code/code.py",
 line 664, in repr_traceback
INTERNALERROR>     reprentry = self.repr_traceback_entry(entry, einfo)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/_code/code.py",
 line 624, in repr_traceback_entry
INTERNALERROR>     s = self.get_source(source, line_index, excinfo, short=short)
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/_code/code.py",
 line 568, in get_source
INTERNALERROR>     lines.extend(self.get_exconly(excinfo, indent=indent, 
markall=True))
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/_code/code.py",
 line 575, in get_exconly
INTERNALERROR>     exlines = excinfo.exconly(tryshort=True).split("\n")
INTERNALERROR>   File 
"/home/cassandra/cassandra/venv/lib/python3.6/site-packages/_pytest/_code/code.py",
 line 426, in exconly
INTERNALERROR>     lines = format_exception_only(self.type, self.value)
INTERNALERROR>   File "/usr/lib/python3.6/traceback.py", line 136, in 
format_exception_only
INTERNALERROR>     return list(TracebackException(etype, value, 
None).format_exception_only())
INTERNALERROR>   File "/usr/lib/python3.6/traceback.py", line 462, in __init__
INTERNALERROR>     _seen.add(exc_value)
INTERNALERROR> TypeError: unhashable type: 'InvalidRequestException'
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to