python / cpython

The Python programming language
https://www.python.org
Other
63.39k stars 30.36k forks source link

Tkinter ttk tests hang on linux #59004

Closed asvetlov closed 6 years ago

asvetlov commented 12 years ago
BPO 14799
Nosy @terryjreedy, @bitdancer, @asvetlov, @ambv, @serhiy-storchaka

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields: ```python assignee = None closed_at = created_at = labels = ['type-bug', 'expert-tkinter'] title = 'Tkinter ttk tests hang on linux' updated_at = user = 'https://github.com/asvetlov' ``` bugs.python.org fields: ```python activity = actor = 'asvetlov' assignee = 'none' closed = True closed_date = closer = 'asvetlov' components = ['Tkinter'] creation = creator = 'asvetlov' dependencies = [] files = [] hgrepos = [] issue_num = 14799 keywords = [] message_count = 11.0 messages = ['160547', '160636', '172630', '172631', '173787', '173788', '173789', '248151', '302988', '302993', '311138'] nosy_count = 5.0 nosy_names = ['terry.reedy', 'r.david.murray', 'asvetlov', 'lukasz.langa', 'serhiy.storchaka'] pr_nums = [] priority = None resolution = 'works for me' stage = 'resolved' status = 'closed' superseder = None type = 'behavior' url = 'https://bugs.python.org/issue14799' versions = ['Python 3.3'] ```

asvetlov commented 12 years ago

By default python doesn't run full test suite, but regrtest accepts -u parameter. The simplest way to reproduce is:

$ ./python -m test.regrtest -u gui test_ttk_guionly
bitdancer commented 12 years ago

It does not hang for me on Gentoo. When I run the test suite before a checkin, I use -uall, and I've never had test_ttk hang for me. I did an 'hg pull; hg up' before running the command line you give below.

serhiy-storchaka commented 12 years ago

$ ./python -m test.regrtest -u gui test_ttk_guionly

For me (on 32-bit Ubuntu 10.04, Tk 8.5) it failed:

test test_ttk_guionly failed -- Traceback (most recent call last):
  File "/home/serhiy/py/cpython/Lib/tkinter/test/test_ttk/test_widgets.py", line 579, in test_tab_identifiers
    self.fail("Tab with text 'a' not found")
AssertionError: Tab with text 'a' not found
asvetlov commented 12 years ago

For me it still fails. I use Ubuntu 12.04, 11.10 was failed also IIRC.

asvetlov commented 12 years ago

Update: test_ttk_guionly hangs on Ubuntu with Unity. It passed on Arch as well as on Ubuntu via xvfb-run.

asvetlov commented 12 years ago

Fir Unity it hangs on Tcl_ConditionWait inside Tcl_DoOneEvent function.

serhiy-storchaka commented 12 years ago

For me it passed with Openbox and Compiz, but fails with KWin.

terryjreedy commented 9 years ago

Andrew, is this still a problem with current Unity? Or with updated version of tk 8.5, or any version of 8.6?

Should we downgrade this from 'critical'? After 3 years, it seems not to be ;-).

ambv commented 7 years ago

Unsetting priority.

terryjreedy commented 7 years ago

A year or so ago, I asked people on python-list who could to run the gui tests on their linux boxes and report. About 6 did and with one possible exception, and not that reported here, everyone reported success. So, unless someone can report otherwise, I think this should be closed.

I think we should regularly ask the community to help with gui tests.

asvetlov commented 6 years ago

Yes, everything works on Ubuntu 17.10

Closing the issue