[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on "x86 Tiger 3.x"

2018-08-24 Thread Michael Felt


Michael Felt  added the comment:

Ah, leave closed. I'll make a new issue, and reference this one. Sorry for the 
noise here.

--

___
Python tracker 

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on "x86 Tiger 3.x"

2018-08-24 Thread Michael Felt


Michael Felt  added the comment:

Inspired by msg211764 I made a PR - which I hope is okay to add here.

If not, a new issue and PR can be made later.

In short: 
   For address family of AF_UNIX or AF_UNIX_CCSID, getsockname() returns 0 if 
issued before a bind(). The address length is 0. This is always the case for 
sockets created by socketpair().

That is at least one possible explanation I found.

Have testewd on AIX 6.1 and AIX 7.1 - on AF_UNIX family getsockname() returns 
'None' (i.e., transport.get_extra_info('sockname') returns None)

--
nosy: +Michael.Felt

___
Python tracker 

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-03-17 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 9aac931d7bf5 by Victor Stinner in branch '3.4':
Issue #20682: test_asyncio, _basetest_create_connection() checks also the
http://hg.python.org/cpython/rev/9aac931d7bf5

New changeset 472a4988489e by Victor Stinner in branch '3.4':
Close #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
http://hg.python.org/cpython/rev/472a4988489e

New changeset f38a7d61c4c2 by Victor Stinner in branch '3.4':
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my 
previous commit)
http://hg.python.org/cpython/rev/f38a7d61c4c2

--

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-20 Thread STINNER Victor

STINNER Victor added the comment:

Oh, AIX has the same issue. I propose broken_unix_getsockname.patch to skip 
also the check on 'sockname' extra info on AIX.

The fix can wait Python 3.4.1.

http://buildbot.python.org/all/builders/PPC64%20AIX%203.x/builds/1757/steps/test/logs/stdio

==
FAIL: test_create_ssl_unix_connection 
(test.test_asyncio.test_events.PollEventLoopTests)
--
Traceback (most recent call last):
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_asyncio/test_events.py,
 line 603, in test_create_ssl_unix_connection
self._basetest_create_ssl_connection(conn_fut, check_sockname)
  File 
/home/shager/cpython-buildarea/3.x.edelsohn-aix-ppc64/build/Lib/test/test_asyncio/test_events.py,
 line 574, in _basetest_create_ssl_connection
self.assertIsNotNone(tr.get_extra_info('sockname'))
AssertionError: unexpectedly None

--
keywords: +patch
priority: release blocker - 
Added file: http://bugs.python.org/file34159/broken_unix_getsockname.patch

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-19 Thread STINNER Victor

STINNER Victor added the comment:

 Looking at a man page for getsockname on Mac OS X (10.9):
 BUGS: Names bound to sockets in the UNIX domain are inaccessible; 
 getsockname() returns a zero-length address.

test_asyncio pass on Mac OS 10.6 (Snow Leopard) and 10.9 (Maverick). The issue 
looks to be specific to Mac OS 10.4.

--

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-19 Thread Roundup Robot

Roundup Robot added the comment:

New changeset e6016fffc894 by Victor Stinner in branch 'default':
Close #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
http://hg.python.org/cpython/rev/e6016fffc894

--
resolution:  - fixed
stage:  - committed/rejected
status: open - closed

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-18 Thread STINNER Victor

New submission from STINNER Victor:

http://buildbot.python.org/all/builders/x86%20Tiger%203.x/builds/7907/steps/test/logs/stdio

==
FAIL: test_create_ssl_unix_connection 
(test.test_asyncio.test_events.KqueueEventLoopTests)
--
Traceback (most recent call last):
  File 
/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_asyncio/test_events.py,
 line 581, in test_create_ssl_unix_connection
self._basetest_create_ssl_connection(conn_fut)
  File 
/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_asyncio/test_events.py,
 line 556, in _basetest_create_ssl_connection
self.assertIsNotNone(tr.get_extra_info('sockname'))
AssertionError: unexpectedly None

==
FAIL: test_create_ssl_unix_connection 
(test.test_asyncio.test_events.PollEventLoopTests)
--
Traceback (most recent call last):
  File 
/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_asyncio/test_events.py,
 line 581, in test_create_ssl_unix_connection
self._basetest_create_ssl_connection(conn_fut)
  File 
/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_asyncio/test_events.py,
 line 556, in _basetest_create_ssl_connection
self.assertIsNotNone(tr.get_extra_info('sockname'))
AssertionError: unexpectedly None

==
FAIL: test_create_ssl_unix_connection 
(test.test_asyncio.test_events.SelectEventLoopTests)
--
Traceback (most recent call last):
  File 
/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_asyncio/test_events.py,
 line 581, in test_create_ssl_unix_connection
self._basetest_create_ssl_connection(conn_fut)
  File 
/Users/db3l/buildarea/3.x.bolen-tiger/build/Lib/test/test_asyncio/test_events.py,
 line 556, in _basetest_create_ssl_connection
self.assertIsNotNone(tr.get_extra_info('sockname'))
AssertionError: unexpectedly None

--
messages: 211579
nosy: haypo, yselivanov
priority: normal
severity: normal
status: open
title: test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 
3.x

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-18 Thread Roundup Robot

Roundup Robot added the comment:

New changeset 64ad965a2fd4 by Victor Stinner in branch 'default':
Issue #20682: test_asyncio, _basetest_create_connection() checks also the
http://hg.python.org/cpython/rev/64ad965a2fd4

--
nosy: +python-dev

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-18 Thread STINNER Victor

Changes by STINNER Victor victor.stin...@gmail.com:


--
nosy: +hynek, ned.deily, ronaldoussoren

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-18 Thread Yury Selivanov

Changes by Yury Selivanov yselivanov...@gmail.com:


--
priority: normal - release blocker

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



[issue20682] test_create_ssl_unix_connection() of test_asyncio failed on x86 Tiger 3.x

2014-02-18 Thread Yury Selivanov

Yury Selivanov added the comment:

Looking at a man page for getsockname on Mac OS X (10.9):

BUGS: Names bound to sockets in the UNIX domain are inaccessible; getsockname() 
returns a zero-length address.

If you are not on macos: http://www.manpages.info/macosx/getsockname.2.html

--

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