Skip to content

tests: Regenerate toxgen #4381

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

sentrivana
Copy link
Contributor

No description provided.

Copy link

codecov bot commented May 13, 2025

❌ 114 Tests Failed:

Tests completed Failed Passed Skipped
2035 114 1921 19
View the top 3 failed test(s) by shortest run time
tests.integrations.spark.test_spark::test_initialize_spark_integration_after_spark_context_init
Stack Traces | 0s run time
+ Exception Group Traceback (most recent call last):
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/runner.py", line 341, in from_call
  |     result: TResult | None = func()
  |                              ^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/runner.py", line 242, in <lambda>
  |     lambda: runtest_hook(item=item, **kwds), when=when, reraise=reraise
  |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11.../site-packages/pluggy/_hooks.py", line 513, in __call__
  |     return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11.../site-packages/pluggy/_manager.py", line 120, in _hookexec
  |     return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
  |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/pluggy/_callers.py", line 139, in _multicall
  |     raise exception.with_traceback(exception.__traceback__)
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/pluggy/_callers.py", line 122, in _multicall
  |     teardown.throw(exception)  # type: ignore[union-attr]
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11....../site-packages/_pytest/threadexception.py", line 97, in pytest_runtest_teardown
  |     yield from thread_exception_runtest_hook()
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11....../site-packages/_pytest/threadexception.py", line 68, in thread_exception_runtest_hook
  |     yield
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/pluggy/_callers.py", line 122, in _multicall
  |     teardown.throw(exception)  # type: ignore[union-attr]
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11....../site-packages/_pytest/unraisableexception.py", line 100, in pytest_runtest_teardown
  |     yield from unraisable_exception_runtest_hook()
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11....../site-packages/_pytest/unraisableexception.py", line 70, in unraisable_exception_runtest_hook
  |     yield
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/pluggy/_callers.py", line 122, in _multicall
  |     teardown.throw(exception)  # type: ignore[union-attr]
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11....../site-packages/_pytest/logging.py", line 853, in pytest_runtest_teardown
  |     yield from self._runtest_for(item, "teardown")
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11....../site-packages/_pytest/logging.py", line 829, in _runtest_for
  |     yield
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/pluggy/_callers.py", line 122, in _multicall
  |     teardown.throw(exception)  # type: ignore[union-attr]
  |     ^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11.../site-packages/_pytest/capture.py", line 903, in pytest_runtest_teardown
  |     return (yield)
  |             ^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/pluggy/_callers.py", line 103, in _multicall
  |     res = hook_impl.function(*args)
  |           ^^^^^^^^^^^^^^^^^^^^^^^^^
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/runner.py", line 189, in pytest_runtest_teardown
  |     item.session._setupstate.teardown_exact(nextitem)
  |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/runner.py", line 557, in teardown_exact
  |     raise exceptions[0]
  | ExceptionGroup: errors while tearing down <Function test_initialize_spark_integration_after_spark_context_init> (2 sub-exceptions)
  +-+---------------- 1 ----------------
    | Traceback (most recent call last):
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/runner.py", line 546, in teardown_exact
    |     fin()
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/fixtures.py", line 1032, in finish
    |     raise exceptions[0]
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/fixtures.py", line 1021, in finish
    |     fin()
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/fixtures.py", line 907, in _teardown_yield_fixture
    |     next(it)
    |   File ".../integrations/spark/test_spark.py", line 34, in create_spark_context
    |     SparkContext._active_spark_context.stop()
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    | AttributeError: 'NoneType' object has no attribute 'stop'
    +---------------- 2 ----------------
    | Traceback (most recent call last):
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/runner.py", line 546, in teardown_exact
    |     fin()
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/fixtures.py", line 1032, in finish
    |     raise exceptions[0]
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/fixtures.py", line 1021, in finish
    |     fin()
    |   File ".../sentry-python/sentry-python/.tox/py3.11-spark-v3.5.5/lib/python3.11................../site-packages/_pytest/fixtures.py", line 907, in _teardown_yield_fixture
    |     next(it)
    |   File ".../integrations/spark/test_spark.py", line 28, in sentry_init_with_reset
    |     _processed_integrations.remove("spark")
    | KeyError: 'spark'
    +------------------------------------
tests.integrations.spark.test_spark::test_set_app_properties
Stack Traces | 0s run time
.../integrations/spark/test_spark.py:34: in create_spark_context
    SparkContext._active_spark_context.stop()
E   AttributeError: 'NoneType' object has no attribute 'stop'
tests.integrations.spark.test_spark::test_set_app_properties
Stack Traces | 0s run time
.../integrations/spark/test_spark.py:34: in create_spark_context
    SparkContext._active_spark_context.stop()
E   AttributeError: 'NoneType' object has no attribute 'stop'

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant