[issue36286] Random failure in test_idle

2019-03-23 Thread Serhiy Storchaka


Change by Serhiy Storchaka :


--
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36286] Random failure in test_idle

2019-03-23 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I found that clicking on the font sample was usually enough to cause a failure 
and restart.  Should we close this?

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36286] Random failure in test_idle

2019-03-23 Thread Serhiy Storchaka


Serhiy Storchaka  added the comment:

I can not reproduce the failure by running the script. But I get it when switch 
to other window or change the focus in other way. My guess is that I clicked on 
other window when ran tests.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36286] Random failure in test_idle

2019-03-22 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I reran test_cdfail and it did 2.7 million loops without failure.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36286] Random failure in test_idle

2019-03-22 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

#36389 appears to be a similar failure.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36286] Random failure in test_idle

2019-03-14 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

I am guessing that test_idle and hence this test have been run over 500 days X 
20 runs/day (1 times) since merged.  This is the first report I have seen, 
though failures that get retested would be masked.  My guess is a sporadic 
timing delay such that the assertion is tested before the widget is updated.  
Serhiy, does this make sense?

I have reproduced the failure 8 times by running the attached file, derived 
from test_configdialog, in IDLE.  Reps required ranged from about 1000 to 
3, plus I stopped once at nearly 10 with no failure.  About half 
appeared to be a direct result.  All appeared to be an up/down font test, the 
first of the pair.

Tomorrow, I intend to run this more, including from command line, and then 
insert update() or update_idletasks() to see if either dependably suppress 
failure.  I am curious what happens on Linux.

--
nosy: +cheryl.sabella
Added file: https://bugs.python.org/file48208/test_cdfail.py

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36286] Random failure in test_idle

2019-03-14 Thread Serhiy Storchaka


New submission from Serhiy Storchaka :

I have got a failure in test_idle:

0:00:21 load avg: 3.40 [ 76/420/1] test_idle failed
test test_idle failed -- Traceback (most recent call last):
  File 
"/home/serhiy/py/cpython-clinic/Lib/idlelib/idle_test/test_configdialog.py", 
line 104, in test_fontlist_key
self.assertNotEqual(down_font, font)
AssertionError: 'Abyssinica SIL' == 'Abyssinica SIL'

It has not reproduced when run test_idle separately.

--
assignee: terry.reedy
components: IDLE, Tests
messages: 337897
nosy: serhiy.storchaka, terry.reedy
priority: normal
severity: normal
status: open
title: Random failure in test_idle
type: behavior
versions: Python 3.8

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com