homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: test_ttk_guionly times out on Ubuntu CI
Type: behavior Stage: resolved
Components: Tkinter Versions: Python 3.10, Python 3.9
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: Dennis Sweeney, ZackerySpytz, serhiy.storchaka, terry.reedy
Priority: normal Keywords:

Created on 2020年05月21日 22:49 by Dennis Sweeney, last changed 2022年04月11日 14:59 by admin. This issue is now closed.

Messages (4)
msg369549 - (view) Author: Dennis Sweeney (Dennis Sweeney) * (Python committer) Date: 2020年05月21日 22:49
One of the tests (test_ttk_guionly.test_variable_change) on the Ubuntu CI is intermittently hanging on this code:
 https://github.com/python/cpython/blob/e42b705188271da108de42b55d9344642170aa2b/Lib/tkinter/test/test_ttk/test_extensions.py#L147
 def test_variable_change(self):
 x = ttk.LabeledScale(self.root)
 x.pack()
 x.wait_visibility()
 ^^^^^^^^^^^^^^^^^^^
The failure at https://github.com/python/cpython/runs/697113653 gave the logs:
 0:28:29 load avg: 0.00 [425/425/1] test_ttk_guionly crashed (Exit code 1)
 Timeout (0:20:00)!
 Thread 0x00007fa268d0c080 (most recent call first):
 File "/home/runner/work/cpython/cpython/Lib/tkinter/__init__.py", line 697 in wait_visibility
 File "/home/runner/work/cpython/cpython/Lib/tkinter/test/test_ttk/test_extensions.py", line 147 in test_variable_change
 ...
The same did not happen when I re-ran the CI checks. I thought I remembered a similar issue in the past, but I couldn't find an bpo issue about it.
msg369703 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020年05月23日 08:31
By 'intermittantly', do you mean the one time on PR-20236 (and then not on your retest) or multiple times on various PRs and buildbots?
Serhiy, could the issue be that tk is waiting for an event that has already happened?
msg369706 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2020年05月23日 09:02
See also bpo-30756.
msg369718 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020年05月23日 14:09
I listed this failure on the original test_ttk_guionly failure issue.
History
Date User Action Args
2022年04月11日 14:59:31adminsetgithub: 84899
2020年05月23日 14:09:56terry.reedysetstatus: open -> closed
resolution: duplicate
messages: + msg369718

stage: resolved
2020年05月23日 09:02:57ZackerySpytzsetnosy: + ZackerySpytz
messages: + msg369706
2020年05月23日 08:31:44terry.reedysetnosy: + terry.reedy, serhiy.storchaka
messages: + msg369703
2020年05月21日 22:49:42Dennis Sweeneycreate

AltStyle によって変換されたページ (->オリジナル) /