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.
Created on 2008年08月20日 15:09 by benjamin.peterson, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (7) | |||
|---|---|---|---|
| msg71549 - (view) | Author: Benjamin Peterson (benjamin.peterson) * (Python committer) | Date: 2008年08月20日 15:09 | |
This is from the sparc Unbuntu 3.0 bot. I'm having trouble reproducing it, though. test test_smtplib produced unexpected output: ********************************************************************** *** line 2 of actual output doesn't appear in expected output after line 1: + error: uncaptured python exception, closing channel <test.test_smtplib.SimSMTPChannel 127.0.0.1:38832 at 0x268d0a8> (<class 'socket.error'>:[Errno 9] Bad file descriptor [/home/pybot/buildarea/3.0.klose-ubuntu-sparc/build/Lib/asyncore.py|readwrite|100] [/home/pybot/buildarea/3.0.klose-ubuntu-sparc/build/Lib/asyncore.py|handle_write_event|426]) ********************************************************************** |
|||
| msg71641 - (view) | Author: Antoine Pitrou (pitrou) * (Python committer) | Date: 2008年08月21日 13:40 | |
The failure happens even when test_smtplib runs before both test_asyncore and test_asynchat (*). So the latter can't be the culprit. (*) http://www.python.org/dev/buildbot/3.0.stable/sparc%20Debian%203.0/builds/419/step-test/0 |
|||
| msg104903 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) | Date: 2010年05月03日 23:03 | |
Adding this: def handle_error(self): raise ...to SimSMTPChannel class would help to provide a clearer error message to understand where exactly EBADF comes from, altough I think this was an old asyncore bug which have already been fixed. Is this still reproducible on Python 3.2? |
|||
| msg104910 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2010年05月04日 02:39 | |
If it would provide clearer error message in cases of failure, it sounds like a reasonable thing to add whether or not the failure in this issue is still happening. |
|||
| msg105163 - (view) | Author: Giampaolo Rodola' (giampaolo.rodola) * (Python committer) | Date: 2010年05月06日 20:22 | |
Done in r80882 for ftplib and smtplib modules. |
|||
| msg120839 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2010年11月09日 03:13 | |
Looking back over the logs (via bbreport) I don't see any failures of test_smtplib that match the report in this issue. There were three in the last while, two of which look like network issues on the same machine (and thus probably not a test problem per se) and one of which (solaris) had multiple errors but succeeded when rerun immediately. While there maybe a remaining flakiness issue with test_smtplib, it doesn't seem to be the error described here, and I don't think it rates critical. |
|||
| msg221708 - (view) | Author: Mark Lawrence (BreamoreBoy) * | Date: 2014年06月27日 18:55 | |
Can this be closed as "out of date"? |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:37 | admin | set | github: 47870 |
| 2019年05月14日 15:14:16 | SilentGhost | set | status: open -> closed resolution: out of date stage: resolved |
| 2019年03月15日 23:56:58 | BreamoreBoy | set | nosy:
- BreamoreBoy |
| 2014年06月27日 18:55:10 | BreamoreBoy | set | nosy:
+ BreamoreBoy messages: + msg221708 versions: + Python 3.4, Python 3.5, - Python 3.2 |
| 2010年11月09日 03:13:30 | r.david.murray | set | priority: critical -> normal messages: + msg120839 keywords: + buildbot resolution: fixed -> (no value) stage: resolved -> (no value) |
| 2010年07月13日 14:37:55 | BreamoreBoy | set | type: behavior resolution: fixed stage: resolved |
| 2010年05月06日 20:22:49 | giampaolo.rodola | set | messages: + msg105163 |
| 2010年05月04日 02:39:13 | r.david.murray | set | nosy:
+ r.david.murray messages: + msg104910 |
| 2010年05月03日 23:03:43 | giampaolo.rodola | set | messages: + msg104903 |
| 2010年04月28日 02:29:55 | terry.reedy | set | versions: + Python 3.2, - Python 3.0 |
| 2008年10月20日 15:13:31 | matejcik | set | nosy: + matejcik |
| 2008年10月01日 11:22:15 | giampaolo.rodola | set | nosy: + giampaolo.rodola |
| 2008年08月21日 13:40:46 | pitrou | set | nosy:
+ pitrou messages: + msg71641 title: test_asyncore is not cleanup after its self? -> test_smtplib is flaky |
| 2008年08月20日 15:09:28 | benjamin.peterson | create | |