Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 652082

Summary: dev-python/urwid-1.3.1 ERROR: test_remove_watch_file (urwid.tests.test_event_loops.AsyncioEventLoopTest)
Product: Gentoo Linux Reporter: ernsteiswuerfel <erhard_f>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED OBSOLETE    
Severity: normal CC: jstein
Priority: Normal Keywords: TESTFAILURE
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info
build.log

Description ernsteiswuerfel archtester 2018-03-31 12:53:02 UTC
Created attachment 526198 [details]
emerge --info

======================================================================
ERROR: test_remove_watch_file (urwid.tests.test_event_loops.AsyncioEventLoopTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 264, in _add_reader
    key = self._selector.get_key(fd)
  File "/usr/lib/python3.5/selectors.py", line 191, in get_key
    raise KeyError("{!r} is not registered".format(fileobj)) from None
KeyError: '5 is not registered'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/tmp/portage/dev-python/urwid-1.3.1/work/urwid-1.3.1-python3_5/lib/urwid/tests/test_event_loops.py", line 33, in test_remove_watch_file
    handle = evl.watch_file(5, lambda: None)
  File "/var/tmp/portage/dev-python/urwid-1.3.1/work/urwid-1.3.1-python3_5/lib/urwid/main_loop.py", line 1267, in watch_file
    self._loop.add_reader(fd, callback)
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 337, in add_reader
    return self._add_reader(fd, callback, *args)
  File "/usr/lib/python3.5/asyncio/selector_events.py", line 267, in _add_reader
    (handle, None))
  File "/usr/lib/python3.5/selectors.py", line 412, in register
    self._epoll.register(key.fd, epoll_events)
OSError: [Errno 22] Invalid argument

----------------------------------------------------------------------
Ran 288 tests in 1.885s
Comment 1 ernsteiswuerfel archtester 2018-03-31 12:54:10 UTC
Created attachment 526200 [details]
build.log
Comment 2 ernsteiswuerfel archtester 2018-10-20 00:50:24 UTC
Can no longer reproduce this with current toolchain/setup.