
This issue trackerhas been migrated toGitHub, and is currentlyread-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.
Created on2019-04-14 14:34 bydecaz, last changed2022-04-11 14:59 byadmin. This issue is nowclosed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 12834 | merged | vstinner,2019-04-15 10:07 | |
| PR 12835 | merged | miss-islington,2019-04-15 10:35 | |
| Messages (7) | |||
|---|---|---|---|
| msg340212 -(view) | Author: Marat Sharafutdinov (decaz)* | Date: 2019-04-14 14:34 | |
======================================================================FAIL: test_imap4_host_default_value (test.test_imaplib.TestImaplib)----------------------------------------------------------------------Traceback (most recent call last): File "/home/python/Lib/test/test_imaplib.py", line 94, in test_imap4_host_default_value self.assertIn(cm.exception.errno, expected_errnos)AssertionError: 101 not found in [111, 99]----------------------------------------------------------------------I guess `errno.ENETUNREACH` should be added to the `expected_errnos` as it done within `test_create_connection` (test.test_socket.NetworkConnectionNoServer). | |||
| msg340214 -(view) | Author: Karthikeyan Singaravelan (xtreak)*![]() | Date: 2019-04-14 14:51 | |
Did you see this failure somewhere in CI or is it in local machine? The imaplib test has below comment : if hasattr(errno, 'EADDRNOTAVAIL'): # socket.create_connection() fails randomly with # EADDRNOTAVAIL on Travis CI. expected_errnos.append(errno.EADDRNOTAVAIL)As noted in initial report test_socket has ENETUNREACH addedhttps://github.com/python/cpython/blob/929b70473829f04dedb8e802abcbd506926886e1/Lib/test/test_socket.py#L4808 so ENETUNREACH could also be added to this test too? | |||
| msg340215 -(view) | Author: Marat Sharafutdinov (decaz)* | Date: 2019-04-14 14:58 | |
I see this error on my local Bamboo CI (runs on CentOS 7). | |||
| msg340256 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2019-04-15 10:35 | |
New changeset3c7931e514faf509a39c218c2c9f55efb434628f by Victor Stinner in branch 'master':bpo-36629: Add support.get_socket_conn_refused_errs() (GH-12834)https://github.com/python/cpython/commit/3c7931e514faf509a39c218c2c9f55efb434628f | |||
| msg340258 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2019-04-15 10:49 | |
New changeset28ed39e83e4c545fa1da89fd7691cace280296f7 by Victor Stinner (Miss Islington (bot)) in branch '3.7':bpo-36629: Add support.get_socket_conn_refused_errs() (GH-12834) (GH-12835)https://github.com/python/cpython/commit/28ed39e83e4c545fa1da89fd7691cace280296f7 | |||
| msg340267 -(view) | Author: STINNER Victor (vstinner)*![]() | Date: 2019-04-15 12:15 | |
Thanks for your bug report Marat Sharafutdinov, it's now fixed in 3.7 and master (Python 2.7 is not affected, it doesn't have the test_imaplib test method). | |||
| msg340268 -(view) | Author: Marat Sharafutdinov (decaz)* | Date: 2019-04-15 12:18 | |
Thank you for the patch, Victor! | |||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:14 | admin | set | github: 80810 |
| 2019-04-15 12:18:18 | decaz | set | messages: +msg340268 |
| 2019-04-15 12:15:14 | vstinner | set | status: open -> closed resolution: fixed messages: +msg340267 stage: patch review -> resolved |
| 2019-04-15 10:49:42 | vstinner | set | messages: +msg340258 |
| 2019-04-15 10:35:14 | miss-islington | set | pull_requests: +pull_request12760 |
| 2019-04-15 10:35:06 | vstinner | set | messages: +msg340256 |
| 2019-04-15 10:07:31 | vstinner | set | keywords: +patch stage: patch review pull_requests: +pull_request12759 |
| 2019-04-14 14:58:46 | decaz | set | messages: +msg340215 |
| 2019-04-14 14:51:33 | xtreak | set | nosy: +barry,xtreak,vstinner,r.david.murray messages: +msg340214 |
| 2019-04-14 14:34:01 | decaz | create | |