{"action":"created","issue":{"url":"https://api.github.com/repos/allure-framework/allure-python/issues/89","repository_url":"https://api.github.com/repos/allure-framework/allure-python","labels_url":"https://api.github.com/repos/allure-framework/allure-python/issues/89/labels{/name}","comments_url":"https://api.github.com/repos/allure-framework/allure-python/issues/89/comments","events_url":"https://api.github.com/repos/allure-framework/allure-python/issues/89/events","html_url":"https://github.com/allure-framework/allure-python/issues/89","id":134867523,"number":89,"title":"xdist and allure (again)","user":{"login":"alexandermomot","id":6984179,"avatar_url":"https://avatars.githubusercontent.com/u/6984179?v=3","gravatar_id":"","url":"https://api.github.com/users/alexandermomot","html_url":"https://github.com/alexandermomot","followers_url":"https://api.github.com/users/alexandermomot/followers","following_url":"https://api.github.com/users/alexandermomot/following{/other_user}","gists_url":"https://api.github.com/users/alexandermomot/gists{/gist_id}","starred_url":"https://api.github.com/users/alexandermomot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexandermomot/subscriptions","organizations_url":"https://api.github.com/users/alexandermomot/orgs","repos_url":"https://api.github.com/users/alexandermomot/repos","events_url":"https://api.github.com/users/alexandermomot/events{/privacy}","received_events_url":"https://api.github.com/users/alexandermomot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-19T13:43:21Z","updated_at":"2016-02-19T14:10:07Z","closed_at":null,"body":"Hello folks!\r\n\r\nI'm very glad that #8 issue was resolved. Seems to be it take 2 years from now :) \r\nBut, still, I got the error. \r\n\r\n```\r\n============================= test session starts ==============================\r\nplatform linux -- Python 3.4.3, pytest-2.8.7, py-1.4.31, pluggy-0.3.1 -- /home/alexander-momot/Code/pytest-selenium-pgu/env/bin/python3\r\ncachedir: .cache\r\nrootdir: /home/alexander-momot/Code/pytest-selenium-pgu, inifile: pytest.ini\r\nplugins: variables-1.3, xdist-1.14, allure-adaptor-1.7.1\r\ngw0 I\r\n[gw0] linux Python 3.4.3 cwd: /home/alexander-momot/Code/pytest-selenium-pgu\r\n[gw0] Python 3.4.3 (default, Oct 14 2015, 20:33:09)  -- [GCC 4.8.4]\r\ngw0 [1]\r\n\r\nscheduling tests via LoadScheduling\r\n\r\nsome/tests/beta/service/mymodulewithsuits.py::SomeSanitySuite::check_correct_values_case \r\n[gw0] PASSED some/tests/beta/service/mymodulewithsuits.py::SomeSanitySuite::check_correct_values_case \r\nINTERNALERROR> Traceback (most recent call last):\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/main.py\", line 90, in wrap_session\r\nINTERNALERROR>     session.exitstatus = doit(config, session) or 0\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/main.py\", line 121, in _main\r\nINTERNALERROR>     config.hook.pytest_runtestloop(session=session)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 724, in __call__\r\nINTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 338, in _hookexec\r\nINTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 333, in <lambda>\r\nINTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 596, in execute\r\nINTERNALERROR>     res = hook_impl.function(*args)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/xdist/dsession.py\", line 536, in pytest_runtestloop\r\nINTERNALERROR>     self.loop_once()\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/xdist/dsession.py\", line 554, in loop_once\r\nINTERNALERROR>     call(**kwargs)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/xdist/dsession.py\", line 663, in slave_testreport\r\nINTERNALERROR>     self.config.hook.pytest_runtest_logreport(report=rep)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 724, in __call__\r\nINTERNALERROR>     return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 338, in _hookexec\r\nINTERNALERROR>     return self._inner_hookexec(hook, methods, kwargs)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 333, in <lambda>\r\nINTERNALERROR>     _MultiCall(methods, kwargs, hook.spec_opts).execute()\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/_pytest/vendored_packages/pluggy.py\", line 596, in execute\r\nINTERNALERROR>     res = hook_impl.function(*args)\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/allure/pytest_plugin.py\", line 501, in pytest_runtest_logreport\r\nINTERNALERROR>     for a in testcase.iter_attachments():\r\nINTERNALERROR>   File \"/home/alexander-momot/Code/pytest-selenium-pgu/env/lib/python3.4/site-packages/allure/structure.py\", line 38, in iter_attachments\r\nINTERNALERROR>     for a in self.attachments:\r\nINTERNALERROR> TypeError: 'NoneType' object is not iterable\r\n```\r\n\r\nMy configuration is : venv with python 3.4.3 installed, latest version of the pytest and allure. Ubuntu 14.04 x86. Requirements installed:\r\n\r\n> apipkg==1.4\r\n> enum34==1.1.2\r\n> execnet==1.4.1\r\n> lxml==3.5.0\r\n> namedlist==1.7\r\n> Pillow==3.1.1\r\n> psutil==4.0.0\r\n> py==1.4.31\r\n> pytest==2.8.7\r\n> pytest-allure-adaptor==1.7.1\r\n> pytest-variables==1.3\r\n> pytest-xdist==1.14\r\n> pytractor==0.2.1\r\n> requests==2.9.1\r\n> selenium==2.52.0\r\n> six==1.10.0\r\n> TestLink-API-Python-client==0.6.2\r\n> wheel==0.29.0\r\n> \r\n\r\npytest.ini contents: \r\n```\r\n[pytest]\r\nminversion = 2.8.7\r\nnorecursedirs = env _build tmp*\r\ntestpaths = some/tests\r\npython_files = *.py\r\npython_classes = *Suite*\r\npython_functions = *case*\r\n#log_format = %(asctime)s %(levelname)s %(message)s\r\n#log_date_format = %Y-%m-%d %H:%M:%S\r\naddopts = --result-log=text-reports/report.log --junit-prefix=pref --junitxml=xml-reports/report.xml --capture=sys --strict --cache-clear --alluredir=html-reports\r\n#sensitive_url = http://example.com\r\n#base_url = http://example.com/\r\n#selenium_capture_debug = always\r\n#testlink_ini_file = testlink.ini\r\n```\r\n\r\nEnter point script is: \r\n> /home/alexander-momot/Code/pytest-selenium-pgu/pytest-runner.py\r\n\r\nRunning as:\r\n> some/tests/beta/service/case.py --base-url=http://example.com --tb=short --durations=20 --maxfail=20 -v -l --assert=reinterp -n 1"},"comment":{"url":"https://api.github.com/repos/allure-framework/allure-python/issues/comments/186228878","html_url":"https://github.com/allure-framework/allure-python/issues/89#issuecomment-186228878","issue_url":"https://api.github.com/repos/allure-framework/allure-python/issues/89","id":186228878,"user":{"login":"pupssman","id":2619359,"avatar_url":"https://avatars.githubusercontent.com/u/2619359?v=3","gravatar_id":"","url":"https://api.github.com/users/pupssman","html_url":"https://github.com/pupssman","followers_url":"https://api.github.com/users/pupssman/followers","following_url":"https://api.github.com/users/pupssman/following{/other_user}","gists_url":"https://api.github.com/users/pupssman/gists{/gist_id}","starred_url":"https://api.github.com/users/pupssman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pupssman/subscriptions","organizations_url":"https://api.github.com/users/pupssman/orgs","repos_url":"https://api.github.com/users/pupssman/repos","events_url":"https://api.github.com/users/pupssman/events{/privacy}","received_events_url":"https://api.github.com/users/pupssman/received_events","type":"User","site_admin":false},"created_at":"2016-02-19T14:10:07Z","updated_at":"2016-02-19T14:10:07Z","body":"That's weird. AFAICS `attachments` are always initialized with an empty list.\r\n\r\nPlease give a test code example you use to reproduce that."}}