Skip to content
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

[Python] test_dtypes hypotesis test fails sporadically #45292

Open
raulcd opened this issue Jan 17, 2025 · 0 comments
Open

[Python] test_dtypes hypotesis test fails sporadically #45292

raulcd opened this issue Jan 17, 2025 · 0 comments

Comments

@raulcd
Copy link
Member

raulcd commented Jan 17, 2025

Describe the bug, including details regarding any error messages, version, and platform.

test-conda-python-3.11-hypothesis have been failing sporadically with the following error:


=================================== FAILURES ===================================
_________________________________ test_dtypes __________________________________

    @pytest.mark.numpy
>   @h.given(past.arrays(all_types, size=3))
E   hypothesis.errors.FailedHealthCheck: Data generation is extremely slow: Only produced 3 valid examples in 1.49 seconds (0 invalid ones and 0 exceeded maximum size). Try decreasing size of the data you're generating (with e.g. max_size or max_leaves parameters).
E           count | fraction |    slowest draws (seconds)
E     arr |    3  |    100%  |      --      --   0.001,  0.001,  1.487
E   See https://hypothesis.readthedocs.io/en/latest/healthchecks.html for more information about this. If you want to disable just this health check, add HealthCheck.too_slow to the suppress_health_check settings for this test.

opt/conda/envs/arrow/lib/python3.11/site-packages/pyarrow/tests/interchange/test_interchange_spec.py:46: FailedHealthCheck
---------------------------------- Hypothesis ----------------------------------
You can add @seed(50675225575349708009971759516150298645) to this test or run pytest with --hypothesis-seed=50675225575349708009971759516150298645 to reproduce this failure.

I've seen failures on several nightly jobs here:

but also on PRs like:

Given the randomness on those tests a retry might make them pass but given they fail quite often there might be an existing issue.

Component(s)

Python

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

No branches or pull requests

1 participant