Skip to content

Conversation

@alexander-alderman-webb
Copy link
Contributor

@alexander-alderman-webb alexander-alderman-webb commented Nov 10, 2025

Description

Django tests hang in CI with newer coverage versions.

Issues

Reminders

@alexander-alderman-webb alexander-alderman-webb requested a review from a team as a code owner November 10, 2025 10:48
@alexander-alderman-webb alexander-alderman-webb changed the title ci: Pin Pytest version for 3.14 Django tests ci: Pin pytest version for 3.14 Django tests Nov 10, 2025
@codecov
Copy link

codecov bot commented Nov 10, 2025

❌ 2 Tests Failed:

Tests completed Failed Passed Skipped
27852 2 27850 2207
View the top 3 failed test(s) by shortest run time
tests.tracing.test_decorator::test_trace_decorator_async_no_trx
Stack Traces | 0.038s run time
tests/tracing/test_decorator.py:81: in test_trace_decorator_async_no_trx
    fake_debug.assert_called_once_with(
.../hostedtoolcache/Python/3.14.0.../x64/lib/python3.14/unittest/mock.py:996: in assert_called_once_with
    raise AssertionError(msg)
E   AssertionError: Expected 'mock' to be called once. Called 5 times.
E   Calls: [call('[Monitor] health check negative, downsampling with a factor of %d', 10),
E    call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'),
E    call('[Monitor] health check negative, downsampling with a factor of %d', 10),
E    call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'),
E    call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'test_decorator.my_async_example_function')].
tests.tracing.test_decorator::test_trace_decorator_async_no_trx
Stack Traces | 0.045s run time
tests/tracing/test_decorator.py:81: in test_trace_decorator_async_no_trx
    fake_debug.assert_called_once_with(
.../hostedtoolcache/Python/3.14.0.../x64-freethreaded/lib/python3.14t/unittest/mock.py:996: in assert_called_once_with
    raise AssertionError(msg)
E   AssertionError: Expected 'mock' to be called once. Called 3 times.
E   Calls: [call('[Monitor] health check negative, downsampling with a factor of %d', 10),
E    call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'time.sleep'),
E    call('Cannot create a child span for %s. Please start a Sentry transaction before calling this function.', 'test_decorator.my_async_example_function')].
tests.profiler.test_transaction_profiler::test_profile_captured
Stack Traces | 0.744s run time
tests/profiler/test_transaction_profiler.py:290: in test_profile_captured
    assert len(items["profile"]) == 1
E   assert 0 == 1
E    +  where 0 = len([])

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

@alexander-alderman-webb alexander-alderman-webb marked this pull request as draft November 10, 2025 10:57
@alexander-alderman-webb alexander-alderman-webb changed the title ci: Pin pytest version for 3.14 Django tests ci: Pin coverage version for 3.14 Django tests Nov 10, 2025
@alexander-alderman-webb alexander-alderman-webb changed the title ci: Pin coverage version for 3.14 Django tests ci: Pin coverage version for 3.14 Django tests Nov 10, 2025
@alexander-alderman-webb alexander-alderman-webb marked this pull request as ready for review November 10, 2025 13:29
@alexander-alderman-webb alexander-alderman-webb merged commit 43c16c4 into master Nov 10, 2025
130 checks passed
@alexander-alderman-webb alexander-alderman-webb deleted the webb/pin-pytest branch November 10, 2025 15:40
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.

3 participants