[ https://issues.apache.org/jira/browse/CASSANDRA-15728?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17083920#comment-17083920 ]
Benjamin Lerer edited comment on CASSANDRA-15728 at 4/15/20, 9:15 AM: ---------------------------------------------------------------------- [jenkins ci-run|https://ci-cassandra.apache.org/job/Cassandra-devbranch/52/] was (Author: blerer): [jenkins ci-run|https://ci-cassandra.apache.org/job/Cassandra-devbranch/51/] > Setting "cassandra_dir" in pytest.ini has no effect > --------------------------------------------------- > > Key: CASSANDRA-15728 > URL: https://issues.apache.org/jira/browse/CASSANDRA-15728 > Project: Cassandra > Issue Type: Bug > Components: Test/dtest > Reporter: Eduard Tudenhoefner > Assignee: Eduard Tudenhoefner > Priority: Normal > Labels: pull-request-available > Fix For: 4.0-alpha > > Time Spent: 20m > Remaining Estimate: 0h > > Setting *cassandra_dir* in *pytest.ini* should not require specifying > *--cassandra-dir* on the command line: > {code} > $ pytest cql_tracing_test.py > ============================================================================================================ > test session starts > ============================================================================================================= > platform linux -- Python 3.6.9, pytest-3.6.4, py-1.8.1, pluggy-0.7.1 > rootdir: /home/nastra/Development/pycharm-projects/cassandra-dtest, inifile: > pytest.ini > plugins: timeout-1.3.4, flaky-3.6.1 > timeout: 900.0s > timeout method: signal > timeout func_only: False > collecting 4 items > > > > INTERNALERROR> Traceback (most recent call last): > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/_pytest/main.py", line 178, > in wrap_session > INTERNALERROR> session.exitstatus = doit(config, session) or 0 > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/_pytest/main.py", line 214, > in _main > INTERNALERROR> config.hook.pytest_collection(session=session) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/hooks.py", line 258, > in __call__ > INTERNALERROR> return self._hookexec(self, self._nonwrappers + > self._wrappers, kwargs) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/manager.py", line 67, > in _hookexec > INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/manager.py", line 61, > in <lambda> > INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'), > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/callers.py", line 201, > in _multicall > INTERNALERROR> return outcome.get_result() > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/callers.py", line 76, > in get_result > INTERNALERROR> raise ex[1].with_traceback(ex[2]) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/callers.py", line 180, > in _multicall > INTERNALERROR> res = hook_impl.function(*args) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/_pytest/main.py", line 224, > in pytest_collection > INTERNALERROR> return session.perform_collect() > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/_pytest/main.py", line 429, > in perform_collect > INTERNALERROR> session=self, config=self.config, items=items > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/hooks.py", line 258, > in __call__ > INTERNALERROR> return self._hookexec(self, self._nonwrappers + > self._wrappers, kwargs) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/manager.py", line 67, > in _hookexec > INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/manager.py", line 61, > in <lambda> > INTERNALERROR> firstresult=hook.spec_opts.get('firstresult'), > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/callers.py", line 201, > in _multicall > INTERNALERROR> return outcome.get_result() > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/callers.py", line 76, > in get_result > INTERNALERROR> raise ex[1].with_traceback(ex[2]) > INTERNALERROR> File > "/home/nastra/dtest/lib/python3.6/site-packages/pluggy/callers.py", line 180, > in _multicall > INTERNALERROR> res = hook_impl.function(*args) > INTERNALERROR> File > "/home/nastra/Development/pycharm-projects/cassandra-dtest/conftest.py", line > 440, in pytest_collection_modifyitems > INTERNALERROR> raise Exception("Required dtest arguments were missing! > You must provide either --cassandra-dir " > INTERNALERROR> Exception: Required dtest arguments were missing! You must > provide either --cassandra-dir or --cassandra-version. Refer to the > documentation or invoke the help with --help. > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org