Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@e694e1077f9a:/openedx/discovery# pytest course_discovery/apps/api/v1/tests/test_views/test_course_runs.py --ds=course_discovery.settings.test_local
- ================================================================ test session starts ================================================================
- platform linux -- Python 3.5.2, pytest-3.1.0, py-1.8.1, pluggy-0.4.0
- Django settings: course_discovery.settings.test_local (from command line option)
- rootdir: /openedx/discovery, inifile: pytest.ini
- plugins: xdist-1.22.5, responses-0.3.0, forked-1.1.3, django-3.1.3.dev47+gde31fab, django-ordering-1.0.1, cov-2.5.1, Faker-4.1.0
- gw0 [21] / gw1 [21]
- scheduling tests via LoadScopeScheduling
- INTERNALERROR> Traceback (most recent call last):
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/main.py", line 105, in wrap_session
- INTERNALERROR> session.exitstatus = doit(config, session) or 0
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/main.py", line 141, in _main
- INTERNALERROR> config.hook.pytest_runtestloop(session=session)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
- INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
- INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
- INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
- INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
- INTERNALERROR> return call_outcome.get_result()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
- INTERNALERROR> raise ex[1].with_traceback(ex[2])
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
- INTERNALERROR> self.result = func()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
- INTERNALERROR> res = hook_impl.function(*args)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/xdist/remote.py", line 65, in pytest_runtestloop
- INTERNALERROR> self.run_one_test(torun)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/xdist/remote.py", line 82, in run_one_test
- INTERNALERROR> self.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
- INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
- INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
- INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
- INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
- INTERNALERROR> return call_outcome.get_result()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
- INTERNALERROR> raise ex[1].with_traceback(ex[2])
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
- INTERNALERROR> self.result = func()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
- INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
- INTERNALERROR> return call_outcome.get_result()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
- INTERNALERROR> raise ex[1].with_traceback(ex[2])
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
- INTERNALERROR> self.result = func()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
- INTERNALERROR> res = hook_impl.function(*args)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/pytest_forked/__init__.py", line 41, in pytest_runtest_protocol
- INTERNALERROR> if item.config.getvalue("forked") or item.get_closest_marker("forked"):
- INTERNALERROR> AttributeError: 'TestCaseFunction' object has no attribute 'get_closest_marker'
- INTERNALERROR> Traceback (most recent call last):
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/main.py", line 105, in wrap_session
- INTERNALERROR> session.exitstatus = doit(config, session) or 0
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/main.py", line 141, in _main
- INTERNALERROR> config.hook.pytest_runtestloop(session=session)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
- INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
- INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
- INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
- INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
- INTERNALERROR> return call_outcome.get_result()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
- INTERNALERROR> raise ex[1].with_traceback(ex[2])
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
- INTERNALERROR> self.result = func()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
- INTERNALERROR> res = hook_impl.function(*args)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/xdist/dsession.py", line 115, in pytest_runtestloop
- INTERNALERROR> self.loop_once()
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/xdist/dsession.py", line 138, in loop_once
- INTERNALERROR> call(**kwargs)
- INTERNALERROR> File "/openedx/venv/lib/python3.5/site-packages/xdist/dsession.py", line 180, in worker_workerfinished
- INTERNALERROR> assert not crashitem, (crashitem, node)
- INTERNALERROR> AssertionError: ('course_discovery/apps/api/v1/tests/test_views/test_course_runs.py::CourseRunViewSetTests::test_contains_missing_parameter_1', <WorkerController gw1>)
- INTERNALERROR> assert not 'course_discovery/apps/api/v1/tests/test_views/test_course_runs.py::CourseRunViewSetTests::test_contains_missing_parameter_1'
- =========================================================== no tests ran in 5.88 seconds ============================================================
Add Comment
Please, Sign In to add comment