Udi Meiri created BEAM-8095:
-------------------------------
Summary: pytest Py3.7 crashes on test_remote_runner_display_data
Key: BEAM-8095
URL: https://issues.apache.org/jira/browse/BEAM-8095
Project: Beam
Issue Type: Improvement
Components: test-failures, testing
Reporter: Udi Meiri
Adding certain flags such as "-n 1" or "--debug" causes Python to abort.
The --debug flag logs some information in a pytestdebug.log, but I'm not
familiar with it and what it means if anything.
{code}
$ pytest
apache_beam/runners/dataflow/dataflow_runner_test.py::DataflowRunnerTest::test_remote_runner_display_data
===================================================================================================================================================================
test session starts
====================================================================================================================================================================
platform linux -- Python 3.7.3rc1, pytest-5.1.1, py-1.8.0, pluggy-0.12.0
rootdir: /usr/local/google/home/ehudm/src/beam/sdks/python, inifile: pytest.ini
plugins: forked-1.0.2, xdist-1.29.0
collected 1 item
apache_beam/runners/dataflow/dataflow_runner_test.py .
[100%]
====================================================================================================================================================================
1 passed in 0.11s
=====================================================================================================================================================================
$ pytest
apache_beam/runners/dataflow/dataflow_runner_test.py::DataflowRunnerTest::test_remote_runner_display_data
--debug
writing pytestdebug information to
/usr/local/google/home/ehudm/src/beam/sdks/python/pytestdebug.log
===================================================================================================================================================================
test session starts
====================================================================================================================================================================
platform linux -- Python 3.7.3rc1, pytest-5.1.1, py-1.8.0, pluggy-0.12.0 --
/usr/local/google/home/ehudm/virtualenvs/beam-py37/bin/python3.7
using: pytest-5.1.1 pylib-1.8.0
setuptools registered plugins:
pytest-forked-1.0.2 at
/usr/local/google/home/ehudm/virtualenvs/beam-py37/lib/python3.7/site-packages/pytest_forked/__init__.py
pytest-xdist-1.29.0 at
/usr/local/google/home/ehudm/virtualenvs/beam-py37/lib/python3.7/site-packages/xdist/plugin.py
pytest-xdist-1.29.0 at
/usr/local/google/home/ehudm/virtualenvs/beam-py37/lib/python3.7/site-packages/xdist/looponfail.py
rootdir: /usr/local/google/home/ehudm/src/beam/sdks/python, inifile: pytest.ini
plugins: forked-1.0.2, xdist-1.29.0
collected 1 item
apache_beam/runners/dataflow/dataflow_runner_test.py Aborted (core dumped)
{code}
--
This message was sent by Atlassian Jira
(v8.3.2#803003)