* Package: dev-python/pyudev-0.21.0 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_32 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_5 test userland_GNU x86 * FEATURES: preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking pyudev-0.21.0.tar.gz to /var/tmp/portage/dev-python/pyudev-0.21.0/work >>> Source unpacked in /var/tmp/portage/dev-python/pyudev-0.21.0/work >>> Preparing source in /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0 ... * If your PORTAGE_TMPDIR is longer in length then '/var/tmp/', * change it to /var/tmp to ensure tests will pass. * Applying pyudev-0.19.0-skip-non-deterministic-test.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0 ... * python2_7: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python2.7 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/pyqt4.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/discover.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/_util.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/_qt_base.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/wx.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/glib.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/version.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/_compat.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/core.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/monitor.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/pyqt5.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev copying src/pyudev/pyside.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_os copying src/pyudev/_os/poll.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_os copying src/pyudev/_os/pipe.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_os copying src/pyudev/_os/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_os creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/libc.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/_errorcheckers.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/utils.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/libudev.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/_ctypeslib creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/device copying src/pyudev/device/_errors.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/device copying src/pyudev/device/_device.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/device copying src/pyudev/device/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python2_7/lib/pyudev/device warning: build_py: byte-compiling is disabled, skipping. * python3_5: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.5 setup.py build running build running build_py creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/pyqt4.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/discover.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/_util.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/_qt_base.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/wx.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/glib.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/version.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/_compat.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/core.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/monitor.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/pyqt5.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev copying src/pyudev/pyside.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_os copying src/pyudev/_os/poll.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_os copying src/pyudev/_os/pipe.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_os copying src/pyudev/_os/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_os creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/libc.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/_errorcheckers.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/utils.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_ctypeslib copying src/pyudev/_ctypeslib/libudev.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/_ctypeslib creating /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/device copying src/pyudev/device/_errors.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/device copying src/pyudev/device/_device.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/device copying src/pyudev/device/__init__.py -> /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0-python3_5/lib/pyudev/device warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/pyudev-0.21.0 * python2_7: running distutils-r1_run_phase python_test ================================================= test session starts ================================================== platform linux2 -- Python 2.7.14, pytest-3.0.3, py-1.4.30, pluggy-0.4.0 -- /usr/bin/python2.7 cachedir: .cache rootdir: /var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0, inifile: setup.cfg plugins: hypothesis-3.6.0 collecting ... collected 192 items tests/test_core.py::test_udev_version PASSED tests/test_core.py::TestContext::test_sys_path PASSED tests/test_core.py::TestContext::test_device_path PASSED tests/test_core.py::TestContext::test_run_path PASSED tests/test_core.py::TestContext::test_log_priority_get PASSED tests/test_core.py::TestContext::test_log_priority_get_mock PASSED tests/test_core.py::TestContext::test_log_priority_set_mock PASSED tests/test_core.py::TestContext::test_log_priority_roundtrip PASSED tests/test_device.py::TestAttributes::test_getitem <- tests/_device_tests/_attributes_tests.py PASSED tests/test_device.py::TestAttributes::test_getitem_nonexisting <- tests/_device_tests/_attributes_tests.py PASSED tests/test_device.py::TestAttributes::test_non_iterable <- tests/_device_tests/_attributes_tests.py PASSED tests/test_device.py::TestAttributes::test_asstring <- tests/_device_tests/_attributes_tests.py SKIPPED tests/test_device.py::TestAttributes::test_asint <- tests/_device_tests/_attributes_tests.py SKIPPED tests/test_device.py::TestAttributes::test_asbool <- tests/_device_tests/_attributes_tests.py SKIPPED tests/test_device.py::TestAttributes::test_available_attributes <- tests/_device_tests/_attributes_tests.py PASSED tests/test_device.py::TestDevice::test_parent <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_child_of_parent <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_children <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_ancestors <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_find_parent <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_find_parent_no_devtype_mock <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_find_parent_with_devtype_mock <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_traverse <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_sys_path <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_device_path <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_subsystem <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_device_sys_name <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_sys_number <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_type <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_driver <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_device_node <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_device_number <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_is_initialized <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_is_initialized_mock <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_time_since_initialized <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_time_since_initialized_mock <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_links <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_action <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_action_mock <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_sequence_number <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_attributes <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_no_leak <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_tags <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_iteration <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_length <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_key_subset <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_getitem <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_getitem_devname <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_getitem_nonexisting <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_asint <- tests/_device_tests/_device_tests.py SKIPPED tests/test_device.py::TestDevice::test_asbool <- tests/_device_tests/_device_tests.py SKIPPED tests/test_device.py::TestDevice::test_hash <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_equality <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_inequality <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_device_ordering <- tests/_device_tests/_device_tests.py PASSED tests/test_device.py::TestDevice::test_id_wwn_with_extension <- tests/_device_tests/_device_tests.py SKIPPED tests/test_device.py::TestDevices::test_from_path <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_path_strips_leading_slash <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_sys_path <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_sys_path_device_not_found <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_name <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_name_no_device_in_existing_subsystem <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_name_nonexisting_subsystem <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_device_number <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_device_number_wrong_type <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_device_number_invalid_type <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_device_file <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_device_file_links <- tests/_device_tests/_devices_tests.py SKIPPED tests/test_device.py::TestDevices::test_from_device_file_no_device_file <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_device_file_non_existing <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestDevices::test_from_environment <- tests/_device_tests/_devices_tests.py PASSED tests/test_device.py::TestTags::test_iteration_and_contains <- tests/_device_tests/_tags_tests.py PASSED tests/test_device.py::TestTags::test_iteration_mock <- tests/_device_tests/_tags_tests.py PASSED tests/test_device.py::TestTags::test_contains_mock <- tests/_device_tests/_tags_tests.py PASSED tests/test_device.py::test_garbage PASSED tests/test_discover.py::TestDiscovery::test_device_number PASSED tests/test_discover.py::TestDiscovery::test_path PASSED tests/test_discover.py::TestDiscovery::test_name PASSED tests/test_discover.py::TestDiscovery::test_device_file SKIPPED tests/test_discover.py::TestDiscovery::test_anything PASSED tests/test_enumerate.py::TestEnumerator::test_match_subsystem_nomatch <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_attribute_nomatch_unfulfillable <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_sys_name <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_subsystem_nomatch_unfulfillable <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_attribute_int <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_attribute_bool <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_property_int <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_attribute_nomatch_complete <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_attribute_nomatch <- tests/utils/misc.py FAILED tests/test_enumerate.py::TestEnumerator::test_match_attribute_match <- tests/utils/misc.py FAILED tests/test_enumerate.py::TestEnumerator::test_match_parent <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_subsystem <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_property_bool <- tests/utils/misc.py SKIPPED tests/test_enumerate.py::TestEnumerator::test_match_property_string <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_subsystem_nomatch_complete <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumerator::test_match_tag <- tests/utils/misc.py SKIPPED tests/test_enumerate.py::TestEnumerator::test_match_attribute_string <- tests/utils/misc.py PASSED tests/test_enumerate.py::TestEnumeratorMatchCombinations::test_combined_property_matches PASSED tests/test_enumerate.py::TestEnumeratorMatchCombinations::test_combined_attribute_matches FAILED tests/test_enumerate.py::TestEnumeratorMatchCombinations::test_combined_matches_of_different_types FAILED tests/test_enumerate.py::TestEnumeratorMatchCombinations::test_match PASSED tests/test_enumerate.py::TestEnumeratorMatchMethod::test_match_passthrough_subsystem PASSED tests/test_enumerate.py::TestEnumeratorMatchMethod::test_match_passthrough_sys_name PASSED tests/test_enumerate.py::TestEnumeratorMatchMethod::test_match_passthrough_tag PASSED tests/test_enumerate.py::TestEnumeratorMatchMethod::test_match_passthrough_parent PASSED tests/test_enumerate.py::TestEnumeratorMatchMethod::test_match_passthrough_property PASSED tests/test_monitor.py::TestMonitor::test_from_netlink_invalid_source PASSED tests/test_monitor.py::TestMonitor::test_from_netlink_source_udev PASSED tests/test_monitor.py::TestMonitor::test_from_netlink_source_udev_mock PASSED tests/test_monitor.py::TestMonitor::test_from_netlink_source_kernel PASSED tests/test_monitor.py::TestMonitor::test_from_netlink_source_kernel_mock PASSED tests/test_monitor.py::TestMonitor::test_fileno PASSED tests/test_monitor.py::TestMonitor::test_fileno_mock PASSED tests/test_monitor.py::TestMonitor::test_filter_by_no_subsystem PASSED tests/test_monitor.py::TestMonitor::test_filter_by_subsystem_no_dev_type PASSED tests/test_monitor.py::TestMonitor::test_filter_by_subsystem_no_dev_type_mock PASSED tests/test_monitor.py::TestMonitor::test_filter_by_subsystem_dev_type PASSED tests/test_monitor.py::TestMonitor::test_filter_by_subsystem_dev_type_mock PASSED tests/test_monitor.py::TestMonitor::test_filter_by_tag PASSED tests/test_monitor.py::TestMonitor::test_filter_by_tag_mock PASSED tests/test_monitor.py::TestMonitor::test_remove_filter PASSED tests/test_monitor.py::TestMonitor::test_remove_filter_mock PASSED tests/test_monitor.py::TestMonitor::test_start_netlink_kernel_source PASSED tests/test_monitor.py::TestMonitor::test_start_mock PASSED tests/test_monitor.py::TestMonitor::test_enable_receiving PASSED tests/test_monitor.py::TestMonitor::test_set_receive_buffer_size_mock PASSED tests/test_monitor.py::TestMonitor::test_poll_timeout PASSED tests/test_monitor.py::TestMonitor::test_poll SKIPPED tests/test_monitor.py::TestMonitor::test_receive_device PASSED tests/test_monitor.py::TestMonitor::test_iter SKIPPED tests/test_monitor.py::TestMonitorObserver::test_deprecated_handler PASSED tests/test_monitor.py::TestMonitorObserver::test_fake PASSED tests/test_monitor.py::TestMonitorObserver::test_real SKIPPED tests/test_observer.py::test_fake_monitor PASSED tests/test_observer.py::TestPysideObserver::test_monitor SKIPPED tests/test_observer.py::TestPysideObserver::test_events_fake_monitor SKIPPED tests/test_observer.py::TestPysideObserver::test_events_real SKIPPED tests/test_observer.py::TestPyQt4Observer::test_monitor PASSED tests/test_observer.py::TestPyQt4Observer::test_events_fake_monitor PASSED tests/test_observer.py::TestPyQt4Observer::test_events_real SKIPPED tests/test_observer.py::TestPyQt5Observer::test_monitor ERROR tests/test_observer.py::TestPyQt5Observer::test_events_fake_monitor FAILED tests/test_observer.py::TestPyQt5Observer::test_events_real SKIPPED tests/test_observer.py::TestGlibObserver::test_monitor PASSED tests/test_observer.py::TestGlibObserver::test_events_fake_monitor PASSED tests/test_observer.py::TestGlibObserver::test_events_real SKIPPED tests/test_observer.py::TestWxObserver::test_monitor SKIPPED tests/test_observer.py::TestWxObserver::test_events_fake_monitor SKIPPED tests/test_observer.py::TestWxObserver::test_events_real SKIPPED tests/test_observer_deprecated.py::TestDeprecatedPysideObserver::test_monitor SKIPPED tests/test_observer_deprecated.py::TestDeprecatedPysideObserver::test_events_fake_monitor[add] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedPysideObserver::test_events_fake_monitor[remove] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedPysideObserver::test_events_fake_monitor[change] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedPysideObserver::test_events_fake_monitor[move] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedPysideObserver::test_events_real SKIPPED tests/test_observer_deprecated.py::TestDeprecatedPyQt4Observer::test_monitor PASSED tests/test_observer_deprecated.py::TestDeprecatedPyQt4Observer::test_events_fake_monitor[add] PASSED tests/test_observer_deprecated.py::TestDeprecatedPyQt4Observer::test_events_fake_monitor[remove] PASSED tests/test_observer_deprecated.py::TestDeprecatedPyQt4Observer::test_events_fake_monitor[change] PASSED tests/test_observer_deprecated.py::TestDeprecatedPyQt4Observer::test_events_fake_monitor[move] PASSED tests/test_observer_deprecated.py::TestDeprecatedPyQt4Observer::test_events_real SKIPPED tests/test_observer_deprecated.py::TestDeprecatedGlibObserver::test_monitor PASSED tests/test_observer_deprecated.py::TestDeprecatedGlibObserver::test_events_fake_monitor[add] PASSED tests/test_observer_deprecated.py::TestDeprecatedGlibObserver::test_events_fake_monitor[remove] PASSED tests/test_observer_deprecated.py::TestDeprecatedGlibObserver::test_events_fake_monitor[change] PASSED tests/test_observer_deprecated.py::TestDeprecatedGlibObserver::test_events_fake_monitor[move] PASSED tests/test_observer_deprecated.py::TestDeprecatedGlibObserver::test_events_real SKIPPED tests/test_observer_deprecated.py::TestDeprecatedWxObserver::test_monitor SKIPPED tests/test_observer_deprecated.py::TestDeprecatedWxObserver::test_events_fake_monitor[add] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedWxObserver::test_events_fake_monitor[remove] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedWxObserver::test_events_fake_monitor[change] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedWxObserver::test_events_fake_monitor[move] SKIPPED tests/test_observer_deprecated.py::TestDeprecatedWxObserver::test_events_real SKIPPED tests/test_pypi.py::test_manifest_complete SKIPPED tests/test_pypi.py::test_description_rendering PASSED tests/test_util.py::test_ensure_byte_string PASSED tests/test_util.py::test_ensure_byte_string_none PASSED tests/test_util.py::test_ensure_unicode_string PASSED tests/test_util.py::test_ensure_unicode_string_none PASSED tests/test_util.py::test_property_value_to_bytes_string PASSED tests/test_util.py::test_property_value_to_bytes_int PASSED tests/test_util.py::test_property_value_to_bytes_bool PASSED tests/test_util.py::test_string_to_bool_true PASSED tests/test_util.py::test_string_to_bool_false PASSED tests/test_util.py::test_string_to_bool_invalid_value PASSED tests/test_util.py::test_udev_list_iterate_no_entry PASSED tests/test_util.py::test_udev_list_iterate_mock PASSED tests/test_util.py::test_get_device_type_character_device PASSED tests/test_util.py::test_get_device_type_block_device PASSED tests/test_util.py::test_get_device_type_no_device_file PASSED tests/test_util.py::test_get_device_type_not_existing PASSED tests/test_util.py::test_eintr_retry_call PASSED ======================================================== ERRORS ======================================================== ___________________________________ ERROR at setup of TestPyQt5Observer.test_monitor ___________________________________ self = method = > def setup_method(self, method): self.observer = None self.no_emitted_signals = 0 > self.setup() tests/test_observer.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = def setup(self): self.qtcore = pytest.importorskip('{0}.QtCore'.format( > self.BINDING_NAME)) E RuntimeError: the PyQt5.QtCore and PyQt4.QtCore modules both wrap the QObject class tests/test_observer.py:133: RuntimeError ======================================================= FAILURES ======================================================= _____________________________________ TestEnumerator.test_match_attribute_nomatch ______________________________________ args = (,) @wraps(func) def the_func(*args): """ Catch a hypothesis FailedHealthCheck exception and log it as a skip. """ try: > func(*args) tests/utils/misc.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_enumerate.py:224: in test_match_attribute_nomatch @given(_CONTEXT_STRATEGY, _ATTRIBUTE_STRATEGY) /usr/lib/python2.7/site-packages/hypothesis/core.py:524: in wrapped_test print_example=True, is_final=True /usr/lib/python2.7/site-packages/hypothesis/executors.py:58: in default_new_style_executor return function(data) /usr/lib/python2.7/site-packages/hypothesis/core.py:111: in run return test(*args, **kwargs) tests/test_enumerate.py:236: in test_match_attribute_nomatch lambda d: d.attributes.get(key) != value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ context = devices = frozenset([Device(u'/sys/devices/pci0000:00/0000:00:18.6/0000:00:18.6:pcie004'), Device(u'/sys/devices/pci0000:00/0000...ce(u'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/LNXCPU:3e'), Device(u'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/LNXCPU:3f'), ...]) func = at 0xb5f15764> def _test_direct_and_complement(context, devices, func): """ Test that results are correct and that complement holds. :param Context context: the libudev context :param devices: the devices that match :type devices: frozenset of Device :param func: the property to test :type func: device -> bool """ > assert [device for device in devices if not func(device)] == [] E assert [Device(u'/sy...5/device:1e')] == [] E Left contains more items, first extra item: Device(u'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:05/device:1e') E Full diff: E - [Device(u'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:05/device:1e')] E + [] tests/test_enumerate.py:66: AssertionError ------------------------------------------------------ Hypothesis ------------------------------------------------------ Falsifying example: test_match_attribute_nomatch(self=, context=, pair=(u'path', '\\_SB_.PCI0.P2P0.S25F')) ______________________________________ TestEnumerator.test_match_attribute_match _______________________________________ args = (,) @wraps(func) def the_func(*args): """ Catch a hypothesis FailedHealthCheck exception and log it as a skip. """ try: > func(*args) tests/utils/misc.py:59: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_enumerate.py:211: in test_match_attribute_match @given(_CONTEXT_STRATEGY, _ATTRIBUTE_STRATEGY) /usr/lib/python2.7/site-packages/hypothesis/core.py:524: in wrapped_test print_example=True, is_final=True /usr/lib/python2.7/site-packages/hypothesis/executors.py:58: in default_new_style_executor return function(data) /usr/lib/python2.7/site-packages/hypothesis/core.py:111: in run return test(*args, **kwargs) tests/test_enumerate.py:220: in test_match_attribute_match lambda d: d.attributes.get(key) == value _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ context = , devices = frozenset([]), func = at 0xb5b35d4c> def _test_direct_and_complement(context, devices, func): """ Test that results are correct and that complement holds. :param Context context: the libudev context :param devices: the devices that match :type devices: frozenset of Device :param func: the property to test :type func: device -> bool """ assert [device for device in devices if not func(device)] == [] complement = frozenset(context.list_devices()) - devices > assert [device for device in complement if func(device)] == [] E assert [Device(u'/sy...LNXSYSTM:00')] == [] E Left contains more items, first extra item: Device(u'/sys/devices/LNXSYSTM:00') E Full diff: E - [Device(u'/sys/devices/LNXSYSTM:00')] E + [] tests/test_enumerate.py:68: AssertionError ------------------------------------------------------ Hypothesis ------------------------------------------------------ Falsifying example: test_match_attribute_match(self=, context=, pair=(u'path', '\\')) ___________________________ TestEnumeratorMatchCombinations.test_combined_attribute_matches ____________________________ self = @given( > _CONTEXT_STRATEGY, strategies.lists( elements=_ATTRIBUTE_STRATEGY, min_size=2, max_size=3, unique_by=lambda p: p[0] ) ) @settings(max_examples=20) def test_combined_attribute_matches(self, context, apairs): """ Test for conjunction of attributes. If matching multiple attributes, then the result is the intersection of the matching sets, i.e., the resulting filter is a conjunction. tests/test_enumerate.py:393: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python2.7/site-packages/hypothesis/core.py:524: in wrapped_test print_example=True, is_final=True /usr/lib/python2.7/site-packages/hypothesis/executors.py:58: in default_new_style_executor return function(data) /usr/lib/python2.7/site-packages/hypothesis/core.py:111: in run return test(*args, **kwargs) tests/test_enumerate.py:417: in test_combined_attribute_matches lambda d: all( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ context = , devices = frozenset([]), func = at 0xb5bb31b4> def _test_direct_and_complement(context, devices, func): """ Test that results are correct and that complement holds. :param Context context: the libudev context :param devices: the devices that match :type devices: frozenset of Device :param func: the property to test :type func: device -> bool """ assert [device for device in devices if not func(device)] == [] complement = frozenset(context.list_devices()) - devices > assert [device for device in complement if func(device)] == [] E assert [Device(u'/sy...LNXSYSTM:00')] == [] E Left contains more items, first extra item: Device(u'/sys/devices/LNXSYSTM:00') E Full diff: E - [Device(u'/sys/devices/LNXSYSTM:00')] E + [] tests/test_enumerate.py:68: AssertionError ------------------------------------------------------ Hypothesis ------------------------------------------------------ Falsifying example: test_combined_attribute_matches(self=, context=, apairs=[(u'hid', 'LNXSYSTM'), (u'path', '\\')]) _______________________ TestEnumeratorMatchCombinations.test_combined_matches_of_different_types _______________________ self = @given( > _CONTEXT_STRATEGY, strategies.lists( elements=_MATCH_PROPERTY_STRATEGY, min_size=1, max_size=2, unique_by=lambda p: p[0] ), strategies.lists( elements=_ATTRIBUTE_STRATEGY, min_size=1, max_size=2, unique_by=lambda p: p[0] ) ) @settings(max_examples=20) def test_combined_matches_of_different_types(self, context, ppairs, apairs): """ Require that properties and attributes have a conjunction. tests/test_enumerate.py:423: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ /usr/lib/python2.7/site-packages/hypothesis/core.py:524: in wrapped_test print_example=True, is_final=True /usr/lib/python2.7/site-packages/hypothesis/executors.py:58: in default_new_style_executor return function(data) /usr/lib/python2.7/site-packages/hypothesis/core.py:111: in run return test(*args, **kwargs) tests/test_enumerate.py:451: in test_combined_matches_of_different_types lambda d: all( _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ context = , devices = frozenset([]), func = at 0xb5bb34c4> def _test_direct_and_complement(context, devices, func): """ Test that results are correct and that complement holds. :param Context context: the libudev context :param devices: the devices that match :type devices: frozenset of Device :param func: the property to test :type func: device -> bool """ assert [device for device in devices if not func(device)] == [] complement = frozenset(context.list_devices()) - devices > assert [device for device in complement if func(device)] == [] E assert [Device(u'/sy...5/device:1e')] == [] E Left contains more items, first extra item: Device(u'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:05/device:1e') E Full diff: E - [Device(u'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:05/device:1e')] E + [] tests/test_enumerate.py:68: AssertionError ------------------------------------------------------ Hypothesis ------------------------------------------------------ random.seed(-59) Falsifying example: test_combined_matches_of_different_types(self=, context=, ppairs=[(u'DEVPATH', u'/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:05/device:1e')], apairs=[(u'path', '\\_SB_.PCI0.P2P0.S25F')]) ______________________________________ TestPyQt5Observer.test_events_fake_monitor ______________________________________ self = fake_monitor = fake_monitor_device = Device(u'/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A03:00/device:01/PNP0303:00') def test_events_fake_monitor(self, fake_monitor, fake_monitor_device): > self.prepare_test(fake_monitor) tests/test_observer.py:98: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ tests/test_observer.py:89: in prepare_test self.create_event_loop(self_stop_timeout=5000) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = , self_stop_timeout = 5000 def create_event_loop(self, self_stop_timeout=5000): > self.app = self.qtcore.QCoreApplication.instance() E AttributeError: 'module' object has no attribute 'QCoreApplication' tests/test_observer.py:144: AttributeError ================================================ pytest-warning summary ================================================ WC1 None [pytest] section in setup.cfg files is deprecated, use [tool:pytest] instead. ==================== 5 failed, 149 passed, 37 skipped, 1 pytest-warnings, 1 error in 533.46 seconds ==================== * ERROR: dev-python/pyudev-0.21.0::gentoo failed (test phase): * Tests fail with python2.7 * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2601: Called distutils-r1_src_test * environment, line 859: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 309: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2138: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1513: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1511: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 533: Called distutils-r1_run_phase 'python_test' * environment, line 790: Called python_test * environment, line 2503: Called die * The specific snippet of code: * py.test -v || die "Tests fail with ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/pyudev-0.21.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/pyudev-0.21.0::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/pyudev-0.21.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/pyudev-0.21.0/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0' * S: '/var/tmp/portage/dev-python/pyudev-0.21.0/work/pyudev-0.21.0'