[issue36631] test_urllib2net: test_ftp_no_timeout() killed after a timeout of 15 min

2019-06-12 Thread STINNER Victor


STINNER Victor  added the comment:

I only saw this issue once, two months ago, so I close it.

--
resolution:  -> out of date
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



[issue36631] test_urllib2net: test_ftp_no_timeout() killed after a timeout of 15 min

2019-04-16 Thread STINNER Victor


STINNER Victor  added the comment:

> It seems like test_urllib2net.test_ftp_no_timeout() has no timeout: it should 
> use a timeout to not block the whole test suite if the FTP server is down.

Well. I didn't read the name of the test... I'm not sure that it makes any 
sense to add a timeout to test called "no_timeout"...

On Linux, there is TCP_USER_TIMEOUT socket option. Maybe we could use that?

Or maybe I will just close the issue since it's likely that it's not going to 
come back soon...

--

___
Python tracker 

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



[issue36631] test_urllib2net: test_ftp_no_timeout() killed after a timeout of 15 min

2019-04-15 Thread STINNER Victor


New submission from STINNER Victor :

It seems like test_urllib2net.test_ftp_no_timeout() has no timeout: it should 
use a timeout to not block the whole test suite if the FTP server is down.

x86 Gentoo Non-Debug with X 3.7:
https://buildbot.python.org/all/#/builders/115/builds/1044

0:26:50 load avg: 1.68 [413/416] test_genericpath passed -- running: 
test_urllib2net (11 min 59 sec)
0:26:52 load avg: 1.68 [414/416] test_tempfile passed -- running: 
test_urllib2net (12 min 1 sec)
0:26:52 load avg: 1.68 [415/416] test_pipes passed -- running: test_urllib2net 
(12 min 1 sec)
running: test_urllib2net (12 min 31 sec)
running: test_urllib2net (13 min 1 sec)
running: test_urllib2net (13 min 31 sec)
running: test_urllib2net (14 min 1 sec)
running: test_urllib2net (14 min 31 sec)
0:29:51 load avg: 1.49 [416/416/1] test_urllib2net crashed (Exit code 1)
Timeout (0:15:00)!
Thread 0xb7be2700 (most recent call first):
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/socket.py", 
line 716 in create_connection
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/ftplib.py", 
line 152 in connect
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 2384 in init
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 2375 in __init__
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 1555 in connect_ftp
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 1533 in ftp_open
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 503 in _call_chain
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 543 in _open
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 525 in open
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/urllib/request.py",
 line 222 in urlopen
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/test/test_urllib2net.py",
 line 19 in _retry_thrice
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/test/test_urllib2net.py",
 line 27 in wrapped
  File 
"/buildbot/buildarea/cpython/3.7.ware-gentoo-x86.nondebug/build/Lib/test/test_urllib2net.py",
 line 327 in test_ftp_no_timeout

--
components: Tests
messages: 340257
nosy: vstinner
priority: normal
severity: normal
status: open
title: test_urllib2net: test_ftp_no_timeout() killed after a timeout of 15 min
versions: Python 2.7, Python 3.7, Python 3.8

___
Python tracker 

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