* Package: dev-python/dbusmock-0.16.9 * Repository: gentoo * Maintainer: gnome@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 python_targets_python3_4 test userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking dbusmock-0.16.9.tar.gz to /var/tmp/portage/dev-python/dbusmock-0.16.9/work >>> Source unpacked in /var/tmp/portage/dev-python/dbusmock-0.16.9/work >>> Preparing source in /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9 ... * Applying 0.16.9-disable-style-tests.patch ... [ ok ] * Applying 0.16.9-replace-dbus-launch.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9 ... * 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/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock copying dbusmock/testcase.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock copying dbusmock/mockobject.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock copying dbusmock/__main__.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock copying dbusmock/__init__.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock creating /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/urfkill.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/upower.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/timedated.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/polkitd.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/ofono.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/notification_daemon.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/networkmanager.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/logind.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/gnome_screensaver.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/bluez5.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/bluez5-obex.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/bluez4.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates copying dbusmock/templates/__init__.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python2_7/lib/dbusmock/templates warning: build_py: byte-compiling is disabled, skipping. * python3_4: running distutils-r1_run_phase distutils-r1_python_compile /usr/bin/python3.4 setup.py build running build running build_py creating /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock copying dbusmock/testcase.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock copying dbusmock/mockobject.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock copying dbusmock/__main__.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock copying dbusmock/__init__.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock creating /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/urfkill.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/upower.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/timedated.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/polkitd.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/ofono.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/notification_daemon.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/networkmanager.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/logind.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/gnome_screensaver.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/bluez5.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/bluez5-obex.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/bluez4.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates copying dbusmock/templates/__init__.py -> /var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9-python3_4/lib/dbusmock/templates warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/dbusmock-0.16.9 * python2_7: running distutils-r1_run_phase python_test test_add_object (test_api.TestAPI) ... ok test_add_object_existing (test_api.TestAPI) ... ok test_add_object_with_methods (test_api.TestAPI) ... ok test_array_arg (test_api.TestAPI) ... ok test_dbus_get_log (test_api.TestAPI) ... ok test_dbus_get_method_calls (test_api.TestAPI) ... ok test_dbus_method_called (test_api.TestAPI) ... ok test_dict_arg (test_api.TestAPI) ... ok test_introspection_methods (test_api.TestAPI) ... ok test_introspection_properties (test_api.TestAPI) ... ok test_methods_on_other_interfaces (test_api.TestAPI) ... ok test_methods_same_name (test_api.TestAPI) ... ok test_methods_type_mismatch (test_api.TestAPI) ... ok test_noarg_noret (test_api.TestAPI) ... ok test_objects_map (test_api.TestAPI) ... ok test_onearg_noret (test_api.TestAPI) ... ok test_onearg_ret (test_api.TestAPI) ... ok test_properties (test_api.TestAPI) ... ok test_reset (test_api.TestAPI) ... ok test_signals (test_api.TestAPI) ... ok test_signals_type_mismatch (test_api.TestAPI) ... ok test_twoarg_ret (test_api.TestAPI) ... ok test_mock_terminates_with_bus (test_api.TestCleanup) ... ok test_ctor (test_api.TestSubclass) ... ok test_none_props (test_api.TestSubclass) ... ok test_local (test_api.TestTemplates) ... ok test_local_nonexisting (test_api.TestTemplates) ... ok test_object_manager (test_api.TestTemplates) ... ok test_reset (test_api.TestTemplates) ... ok test_static_method (test_api.TestTemplates) ... ok which: no bluez-test-adapter in (/var/tmp/portage/dev-python/dbusmock-0.16.9/temp/python2.7/bin:/usr/lib/portage/python3.4/ebuild-helpers/xattr:/usr/lib/portage/python3.4/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/nvidia-cg-toolkit/bin:/opt/aws-cw-tools/bin) which: no bluez-test-device in (/var/tmp/portage/dev-python/dbusmock-0.16.9/temp/python2.7/bin:/usr/lib/portage/python3.4/ebuild-helpers/xattr:/usr/lib/portage/python3.4/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/nvidia-cg-toolkit/bin:/opt/aws-cw-tools/bin) test_connect_disconnect (test_bluez4.TestBlueZ4) ... SKIP: bluez 4 not installed test_no_adapters (test_bluez4.TestBlueZ4) ... SKIP: bluez 4 not installed test_no_devices (test_bluez4.TestBlueZ4) ... SKIP: bluez 4 not installed test_one_adapter (test_bluez4.TestBlueZ4) ... SKIP: bluez 4 not installed test_one_device (test_bluez4.TestBlueZ4) ... SKIP: bluez 4 not installed which: no pbap-client in (/var/tmp/portage/dev-python/dbusmock-0.16.9/temp/python2.7/bin:/usr/lib/portage/python3.4/ebuild-helpers/xattr:/usr/lib/portage/python3.4/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/nvidia-cg-toolkit/bin:/opt/aws-cw-tools/bin) test_no_adapters (test_bluez5.TestBlueZ5) ... ok test_no_devices (test_bluez5.TestBlueZ5) ... ok test_one_adapter (test_bluez5.TestBlueZ5) ... ok test_one_device (test_bluez5.TestBlueZ5) ... SKIP: flaky test test_pairing_device (test_bluez5.TestBlueZ5) ... SKIP: flaky test test_everything (test_bluez5.TestBlueZObex) ... SKIP: pbap-client not installed (copy it from bluez/test) test_help (test_cli.TestCLI) ... ok test_no_args (test_cli.TestCLI) ... ok test_object_manager (test_cli.TestCLI) ... ok test_session_bus (test_cli.TestCLI) ... ok test_system_bus (test_cli.TestCLI) ... ok test_template_parameters (test_cli.TestCLI) ... ok test_template_parameters_malformed_json (test_cli.TestCLI) ... ok test_template_parameters_not_dict (test_cli.TestCLI) ... ok test_template_system (test_cli.TestCLI) ... ok test_codestyle (test_code.StaticCodeTests) ... SKIP: style tests test_pyflakes (test_code.StaticCodeTests) ... SKIP: style tests test_one_active_session (test_consolekit.TestConsoleKit) ... ok test_default_state (test_gnome_screensaver.TestGnomeScreensaver) ... ok test_lock (test_gnome_screensaver.TestGnomeScreensaver) ... ok test_set_active (test_gnome_screensaver.TestGnomeScreensaver) ... ok test_empty (test_logind.TestLogind) ... ok test_properties (test_logind.TestLogind) ... ok test_session (test_logind.TestLogind) ... ok which: no nmcli in (/var/tmp/portage/dev-python/dbusmock-0.16.9/temp/python2.7/bin:/usr/lib/portage/python3.4/ebuild-helpers/xattr:/usr/lib/portage/python3.4/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/6.4.0:/usr/lib/llvm/5/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/opt/nvidia-cg-toolkit/bin:/opt/aws-cw-tools/bin) test_add_connection (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_add_remove_settings (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_add_update_settings (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_connectivity_state (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_eth_and_wifi (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_global_state (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_one_eth_connected (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_one_eth_disconnected (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_one_wifi_with_accesspoints (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_remove_connection (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_settings_secrets (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_two_eth (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_two_wifi_with_accesspoints (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_update_connection (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_wifi_with_active_connection (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_wifi_with_connection (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_wifi_without_access_points (test_networkmanager.TestNetworkManager) ... SKIP: nmcli not installed test_close (test_notification_daemon.TestNotificationDaemon) ... SKIP: notify-send not installed test_id (test_notification_daemon.TestNotificationDaemon) ... SKIP: notify-send not installed test_no_options (test_notification_daemon.TestNotificationDaemon) ... SKIP: notify-send not installed test_options (test_notification_daemon.TestNotificationDaemon) ... SKIP: notify-send not installed test_get_operators_for_two_modems (test_ofono.TestOfono) ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR test_hangup_all (test_ofono.TestOfono) ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR test_list_modems (test_ofono.TestOfono) ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR test_list_operators (test_ofono.TestOfono) ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR test_outgoing_call (test_ofono.TestOfono) ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR test_second_modem (test_ofono.TestOfono) ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR test_allow_unknown (test_polkitd.TestPolkit) ... ok test_default (test_polkitd.TestPolkit) ... ok test_set_allowed (test_polkitd.TestPolkit) ... ok test_changing_local_rtc (test_timedated.TestTimedated) ... ok test_changing_ntp (test_timedated.TestTimedated) ... FAIL test_changing_timezone (test_timedated.TestTimedated) ... ok test_default_local_rtc (test_timedated.TestTimedated) ... ok test_default_ntp (test_timedated.TestTimedated) ... FAIL test_default_timezone (test_timedated.TestTimedated) ... ok (upower:14516): UPower-WARNING **: Cannot connect to upowerd: Could not connect: No such file or directory test_charging_battery (test_upower.TestUPower) ... ok test_discharging_battery (test_upower.TestUPower) ... ok test_no_devices (test_upower.TestUPower) ... ok test_one_ac (test_upower.TestUPower) ... ok test_09_properties (test_upower.TestUPower0) ... SKIP: pre-0.99 client API specific test test_no_display_device (test_upower.TestUPower0) ... SKIP: pre-0.99 client API specific test test_suspend (test_upower.TestUPower0) ... SKIP: pre-0.99 client API specific test test_display_device_default (test_upower.TestUPower1) ... ok test_enumerate (test_upower.TestUPower1) ... ok test_no_devices (test_upower.TestUPower1) ... ok test_properties (test_upower.TestUPower1) ... ok test_setup_display_device (test_upower.TestUPower1) ... ok test_block (test_urfkill.TestURfkill) ... ok test_flightmode (test_urfkill.TestURfkill) ... ok test_flightmode_restore (test_urfkill.TestURfkill) ... ok test_mainobject (test_urfkill.TestURfkill) ... ok test_subobjects (test_urfkill.TestURfkill) ... ok ====================================================================== FAIL: test_changing_ntp (test_timedated.TestTimedated) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9/tests/test_timedated.py", line 73, in test_changing_ntp self.assertRegex(out, 'NTP (enabled|synchronized): no') File "/var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9/dbusmock/testcase.py", line 263, in assertRegex raise self.failureException('%r not found in %s' % (pattern, value)) AssertionError: 'NTP (enabled|synchronized): no' not found in Local time: Fri 2017-11-03 14:06:41 Etc Universal time: Fri 2017-11-03 14:06:41 UTC RTC time: n/a Time zone: Etc/Utc (Etc, +0000) System clock synchronized: no systemd-timesyncd.service active: no RTC in local TZ: no ====================================================================== FAIL: test_default_ntp (test_timedated.TestTimedated) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9/tests/test_timedated.py", line 68, in test_default_ntp self.assertRegex(out, 'NTP (enabled|synchronized): yes') File "/var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9/dbusmock/testcase.py", line 263, in assertRegex raise self.failureException('%r not found in %s' % (pattern, value)) AssertionError: 'NTP (enabled|synchronized): yes' not found in Local time: Fri 2017-11-03 14:06:41 Etc Universal time: Fri 2017-11-03 14:06:41 UTC RTC time: n/a Time zone: Etc/Utc (Etc, +0000) System clock synchronized: yes systemd-timesyncd.service active: yes RTC in local TZ: no ---------------------------------------------------------------------- Ran 112 tests in 21.325s FAILED (SKIP=40, failures=2) * ERROR: dev-python/dbusmock-0.16.9::gentoo failed (test phase): * tests fail under python2.7 * * Call stack: * ebuild.sh, line 124: Called src_test * environment, line 2728: Called distutils-r1_src_test * environment, line 899: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 333: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2247: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1553: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 1551: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 569: Called distutils-r1_run_phase 'python_test' * environment, line 830: Called python_test * environment, line 2608: Called die * The specific snippet of code: * nosetests --verbose || die "tests fail under ${EPYTHON}" * * If you need support, post the output of `emerge --info '=dev-python/dbusmock-0.16.9::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/dbusmock-0.16.9::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:dbusmock-0.16.9:20171103-140616.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/dbusmock-0.16.9/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/dbusmock-0.16.9/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9' * S: '/var/tmp/portage/dev-python/dbusmock-0.16.9/work/python-dbusmock-0.16.9'