Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 652082 - dev-python/urwid-1.3.1 ERROR: test_remove_watch_file (urwid.tests.test_event_loops.AsyncioEventLoopTest)
Summary: dev-python/urwid-1.3.1 ERROR: test_remove_watch_file (urwid.tests.test_event_...
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: TESTFAILURE
Depends on:
Blocks:
 
Reported: 2018-03-31 12:53 UTC by ernsteiswuerfel
Modified: 2018-10-20 00:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_652082.txt,5.69 KB, text/plain)
2018-03-31 12:53 UTC, ernsteiswuerfel
Details
build.log (build.log,81.18 KB, text/plain)
2018-03-31 12:54 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
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.