cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14583) [DTEST] fix write_failures_test.py::TestWriteFailures::test_thrift
Date Wed, 25 Jul 2018 05:54:00 GMT

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

ASF GitHub Bot commented on CASSANDRA-14583:
--------------------------------------------

GitHub user krummas opened a pull request:

    https://github.com/apache/cassandra-dtest/pull/32

    compact storage when testing thrift

    Patch by marcuse; reviewed by Jason Brown for CASSANDRA-14583

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/krummas/cassandra-dtest marcuse/14583

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cassandra-dtest/pull/32.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #32
    
----
commit 194ad8a22315f0410155ab5eb2283d006a4fdd37
Author: Marcus Eriksson <marcuse@...>
Date:   2018-07-23T08:03:17Z

    compact storage when testing thrift
    
    Patch by marcuse; reviewed by Jason Brown for CASSANDRA-14583

----


> [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: Bug
>            Reporter: Marcus Eriksson
>            Assignee: Marcus Eriksson
>            Priority: Major
>              Labels: dtest
>
> 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-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message