pytest
======================================================================================= test session starts ========================================================================================
platform darwin -- Python 3.6.1, pytest-3.1.2, py-1.4.34, pluggy-0.4.0
rootdir: /Users/x/autotests, inifile: pytest.ini
plugins: xdist-1.14, timeout-1.2.0, reportportal-1.0.0, allure-adaptor-1.7.7
collected 2502 items
tests.py F.....xTraceback (most recent call last):
File "/Users/x/autotests/.env/lib/python3.6/site-packages/reportportal_client/service_async.py", line 203, in process_item
self._post_log_batch()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/reportportal_client/service_async.py", line 173, in _post_log_batch
self.rp_client.log_batch(self.log_batch)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/reportportal_client/service.py", line 245, in log_batch
return _get_data(r)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/reportportal_client/service.py", line 34, in _get_data
raise ResponseError(error_messages[0])
reportportal_client.errors.ResponseError: ReportPortalException: Incorrect Request. [Incorrect value in save log request 'null' in field 'testItemId'.]
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/main.py", line 105, in wrap_session
INTERNALERROR> session.exitstatus = doit(config, session) or 0
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/main.py", line 141, in _main
INTERNALERROR> config.hook.pytest_runtestloop(session=session)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/main.py", line 164, in pytest_runtestloop
INTERNALERROR> item.config.hook.pytest_runtest_protocol(item=item, nextitem=nextitem)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 254, in _wrapped_call
INTERNALERROR> return call_outcome.get_result()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
INTERNALERROR> res = hook_impl.function(*args)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/runner.py", line 60, in pytest_runtest_protocol
INTERNALERROR> runtestprotocol(item, nextitem=nextitem)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/runner.py", line 67, in runtestprotocol
INTERNALERROR> rep = call_and_report(item, "setup", log)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/runner.py", line 129, in call_and_report
INTERNALERROR> report = hook.pytest_runtest_makereport(item=item, call=call)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
INTERNALERROR> return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
INTERNALERROR> return self._inner_hookexec(hook, methods, kwargs)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
INTERNALERROR> _MultiCall(methods, kwargs, hook.spec_opts).execute()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 250, in _wrapped_call
INTERNALERROR> wrap_controller.send(call_outcome)
INTERNALERROR> File "/Users/x/autotests/tests/conftest.py", line 186, in pytest_runtest_makereport
INTERNALERROR> rep = outcome.get_result()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
INTERNALERROR> raise ex[1].with_traceback(ex[2])
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
INTERNALERROR> self.result = func()
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
INTERNALERROR> return _wrapped_call(hook_impl.function(*args), self.execute)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 250, in _wrapped_call
INTERNALERROR> wrap_controller.send(call_outcome)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/pytest_reportportal/plugin.py", line 28, in pytest_runtest_makereport
INTERNALERROR> loglevel='ERROR',
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/pytest_reportportal/service.py", line 140, in post_log
INTERNALERROR> self.RP.log(**sl_rq)
INTERNALERROR> File "/Users/x/autotests/.env/lib/python3.6/site-packages/reportportal_client/service_async.py", line 274, in log
INTERNALERROR> self.queue.put_nowait(("log", args))
INTERNALERROR> AttributeError: 'NoneType' object has no attribute 'put_nowait'
Traceback (most recent call last):
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/config.py", line 58, in main
return config.hook.pytest_cmdline_main(config=config)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
_MultiCall(methods, kwargs, hook.spec_opts).execute()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
res = hook_impl.function(*args)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/main.py", line 134, in pytest_cmdline_main
return wrap_session(config, _main)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/main.py", line 128, in wrap_session
exitstatus=session.exitstatus)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
_MultiCall(methods, kwargs, hook.spec_opts).execute()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 613, in execute
return _wrapped_call(hook_impl.function(*args), self.execute)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 250, in _wrapped_call
wrap_controller.send(call_outcome)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/terminal.py", line 386, in pytest_sessionfinish
outcome.get_result()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 279, in get_result
raise ex[1].with_traceback(ex[2])
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 265, in __init__
self.result = func()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
res = hook_impl.function(*args)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/pytest_reportportal/plugin.py", line 77, in pytest_sessionfinish
PyTestService.finish_launch(status="RP_Launch")
File "/Users/x/autotests/.env/lib/python3.6/site-packages/pytest_reportportal/service.py", line 126, in finish_launch
self.RP.finish_launch(**fl_rq)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/reportportal_client/service_async.py", line 233, in finish_launch
self.queue.put_nowait(("finish_launch", args))
AttributeError: 'NoneType' object has no attribute 'put_nowait'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/x/autotests/.env/bin/pytest", line 11, in <module>
sys.exit(main())
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/config.py", line 60, in main
config._ensure_unconfigure()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/config.py", line 917, in _ensure_unconfigure
self.hook.pytest_unconfigure(config=self)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 745, in __call__
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 339, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 334, in <lambda>
_MultiCall(methods, kwargs, hook.spec_opts).execute()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/_pytest/vendored_packages/pluggy.py", line 614, in execute
res = hook_impl.function(*args)
File "/Users/x/autotests/.env/lib/python3.6/site-packages/pytest_reportportal/plugin.py", line 92, in pytest_unconfigure
PyTestService.terminate_service()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/pytest_reportportal/service.py", line 54, in terminate_service
self.RP.terminate()
File "/Users/x/autotests/.env/lib/python3.6/site-packages/reportportal_client/service_async.py", line 153, in terminate
raise Error("Service already stopped.")
reportportal_client.errors.Error: Service already stopped.