Intermittent errors with tests on i586 (32bit)
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- operating-systems, testing-qa
Research direction
The failure is in tests/legacy_api/test_test.py, specifically test_function_times_out_no_raise_assert; start by reading that test and the retry_until call it exercises. Reproduce or inspect the timing behavior on 32-bit i586, then make the test reliably validate the timeout and run the affected test.
Written by the indexing model from the issue text.
Description
When packaging this for openSUSE Tumbleweed, we get intermittent build errors due to failing tests.
Today this one errored out (using tmux-3.3a) on i586 (32bit):
[ 81s] =================================== FAILURES ===================================
[ 81s] ___________________ test_function_times_out_no_raise_assert ____________________
[ 81s]
[ 81s] def test_function_times_out_no_raise_assert() -> None:
[ 81s] ini = time()
[ 81s]
[ 81s] def never_true() -> bool:
[ 81s] return False
[ 81s]
[ 81s] assert not retry_until(never_true, 1, raises=False)
[ 81s]
[ 81s] end = time()
[ 81s]
[ 81s] > assert abs((end - ini) - 1.0) < 0.01
[ 81s] E assert 0.011504411697387695 < 0.01
[ 81s] E + where 0.011504411697387695 = abs(((1679550658.3015473 - 1679550657.2900429) - 1.0))
[ 81s]
[ 81s] tests/legacy_api/test_test.py:67: AssertionError
[ 81s] =============================== warnings summary ===============================
[...]
- Dominant language
- Python
- Stars
- 1.2k
- Forks
- 127
- Avg merge
- 2h 13m
- Merged PRs (30d)
- 1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tmux-python/libtmux
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
tmux-python/libtmux#759 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tmux-python/libtmux#745 · 2 comments ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
tmux-python/libtmux#744 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
tmux-python/libtmux#731 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
tmux-python/libtmux#654 ·
All issues in tmux-python/libtmux
Similar issues
-
essnmx good first issue
Difficulty 1/5 Under an hour Newbie friendliness 95/100
-
[Feature] 奇物选择添加优先级 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
syfoud/Simulated_Scepter#174 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Giskard-AI/giskard-oss#2840 · 1 comment ·
-
A claim comment carrying the issue number is silently declined while the workflow reports success Openarea: repo bug perceived difficulty: 2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
yeti-platform/yeti#1380 ·