casra-developers commented on PR #29935: URL: https://github.com/apache/airflow/pull/29935#issuecomment-1474001167
The ```pip install .``` and the separate installation of the time-machine module allowed me to run the pytest command, saldy it did not get far: ``` (venv) PS D:\repositories\airflow> pytest --verbosity=0 --strict-markers --durations=100 --maxfail=50 --color=yes --junitxml=/files/test_result-Always-sqlite.xml --timeouts-order moi --setup-timeout=60 --execution-timeout=60 --teardown-timeout=60 --disable-warnings -rfEX --with-db-init --ignore tests/providers --ignore tests/charts tests WARNING:root:OSError while attempting to symlink the latest log directory D:\repositories\airflow\airflow\models\dagrun.py:131 RemovedIn20Warning: Deprecated API features detected! These feature(s) are not compatible with SQLAlchemy 2.0. To prevent incompatible upgrades prior to updating applications, ensure requirements files are pinned to "sqlalchemy<2.0". Set environment variable SQLALCHEMY_WARN_20=1 to show all deprecation warnings. Set environment variable SQLALCHEMY_SILENCE_UBER_WARNING=1 to silence this message. (Background on SQLAlchemy 2.0 at: https://sqlalche.me/e/b8d9) d:\repositories\airflow\venv\lib\site-packages\marshmallow_sqlalchemy\convert.py:17 DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. d:\repositories\airflow\venv\lib\site-packages\marshmallow_sqlalchemy\convert.py:17 DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead. d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:121 DeprecationWarning: pkg_resources is deprecated as an API d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages d:\repositories\airflow\venv\lib\site-packages\pkg_resources\__init__.py:2870 DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('sphinxcontrib')`. Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages INTERNALERROR> Traceback (most recent call last): INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\_pytest\main.py", line 266, in wrap_session INTERNALERROR> config._do_configure() INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\_pytest\config\__init__.py", line 1039, in _do_configure INTERNALERROR> self.hook.pytest_configure.call_historic(kwargs=dict(config=self)) INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\pluggy\_hooks.py", line 277, in call_historic INTERNALERROR> res = self._hookexec(self.name, self.get_hookimpls(), kwargs, False) INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\pluggy\_manager.py", line 80, in _hookexec INTERNALERROR> return self._inner_hookexec(hook_name, methods, kwargs, firstresult) INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\pluggy\_callers.py", line 60, in _multicall INTERNALERROR> return outcome.get_result() INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\pluggy\_result.py", line 60, in get_result INTERNALERROR> raise ex[1].with_traceback(ex[2]) INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\pluggy\_callers.py", line 39, in _multicall INTERNALERROR> res = hook_impl.function(*args) INTERNALERROR> File "d:\repositories\airflow\venv\lib\site-packages\pytest_timeouts.py", line 57, in pytest_configure INTERNALERROR> assert hasattr(signal, 'SIGALRM') INTERNALERROR> AssertionError: assert False INTERNALERROR> + where False = hasattr(signal, 'SIGALRM') ``` It seems to me that we are running into the same issues regarding process handling, that this PR seems to address. How should we proceed here? Changing the source code in "pytest_timeouts" does not seem to be a good idea. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
