* Package: dev-python/dbusmock-0.18.2  * Repository: gentoo  * Maintainer: gnome@gentoo.org  * USE: arm64 elibc_glibc kernel_linux python_targets_python3_6 test userland_GNU  * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox >>> Unpacking source... >>> Unpacking dbusmock-0.18.2.tar.gz to /var/tmp/portage/dev-python/dbusmock-0.18.2/work >>> Source unpacked in /var/tmp/portage/dev-python/dbusmock-0.18.2/work >>> Preparing source in /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2 ... * Applying 0.18.2-disable-polkitd-tests.patch ...  [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2 ... * python3_6: running distutils-r1_run_phase distutils-r1_python_compile python3.6 setup.py build -j 4 running build running build_py creating /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock copying dbusmock/__init__.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock copying dbusmock/__main__.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock copying dbusmock/mockobject.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock copying dbusmock/testcase.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock creating /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/__init__.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/bluez4.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/bluez5-obex.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/bluez5.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/gnome_screensaver.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/logind.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/networkmanager.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/notification_daemon.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/ofono.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/polkitd.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/timedated.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/upower.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates copying dbusmock/templates/urfkill.py -> /var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2-python3_6/lib/dbusmock/templates warning: build_py: byte-compiling is disabled, skipping. >>> Source compiled. >>> Test phase: dev-python/dbusmock-0.18.2 * python3_6: running distutils-r1_run_phase python_test add a new object ... ok try to add an existing object ... ok add a new object with methods ... ok array argument ... ok query call logs over D-BUS ... ok query method call logs over D-BUS ... ok subscribe to MethodCalled signal ... ok dictionary argument ... ok dynamically added methods appear in introspection ... ok dynamically added properties appear in introspection ... ok methods on other interfaces ... ok methods with same name on different interfaces ... ok calling methods with wrong arguments ... ok no arguments, no return value ... ok access global objects map ... ok one argument, no return value ... ok one argument, code for return value ... ok add and change properties ... ok resetting to pristine state ... ok emitting signals ... ok emitting signals with wrong arguments ... ok two arguments, code for return value ... ok unicode string roundtrip ... ok Spawned mock processes exit when bus goes down ... ok Override DBusMockObject constructor ... ok object with None properties argument ... ok Load a local template *.py file ... ok test_local_nonexisting (test_api.TestTemplates) ... ok Template with ObjectManager API ... ok Reset() puts the template back to pristine state ... ok Static method in a template ... ok test_connect_disconnect (test_bluez4.TestBlueZ4) ... ok test_no_adapters (test_bluez4.TestBlueZ4) ... FAIL test_no_devices (test_bluez4.TestBlueZ4) ... ok test_one_adapter (test_bluez4.TestBlueZ4) ... FAIL test_one_device (test_bluez4.TestBlueZ4) ... which: no pbap-client in (/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/python3.6/bin:/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/9/bin) FAIL 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) ... which: no upower in (/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/python3.6/bin:/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/9/bin) 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) ... which: no pycodestyle in (/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/python3.6/bin:/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/9/bin) which: no pyflakes3 in (/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/python3.6/bin:/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/9/bin) ok test_codestyle (test_code.StaticCodeTests) ... SKIP: pycodestyle not installed test_pyflakes (test_code.StaticCodeTests) ... SKIP: pyflakes3 not installed test_one_active_session (test_consolekit.TestConsoleKit) ... SKIP: ck-list-sessions not installed Not locked by default ... ok Lock() ... ok SetActive() ... ok test_empty (test_logind.TestLogind) ... SKIP: /run/systemd/system does not exist test_properties (test_logind.TestLogind) ... SKIP: /run/systemd/system does not exist test_session (test_logind.TestLogind) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p SKIP: /run/systemd/system does not exist test_add_connection (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_add_remove_settings (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_add_update_settings (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_connectivity_state (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_eth_and_wifi (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_get_conn_by_uuid (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_global_state (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_one_eth_connected (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_one_eth_disconnected (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_one_wifi_with_accesspoints (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_remove_connection (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_settings_secrets (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_two_eth (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_two_wifi_with_accesspoints (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_update_connection (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_wifi_with_active_connection (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_wifi_with_connection (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok test_wifi_without_access_points (test_networkmanager.TestNetworkManager) ... * Unable to trace static ELF: /sbin/ldconfig: /sbin/ldconfig -p ok CloseNotification() and NotificationClosed() signal ... ok ID handling ... ok notify-send with no options ... ok notify-send with some options ... ok Add second modem, list operators on both ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR multiple outgoing voice calls ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR Manager.GetModems() ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR list operators ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR outgoing voice call ... SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR Add a second modem ... which: no timedatectl in (/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/python3.6/bin:/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/9/bin) SKIP: ofono scripts not available, set $OFONO_SCRIPT_DIR test_changing_local_rtc (test_timedated.TestTimedated) ... SKIP: timedatectl not installed test_changing_ntp (test_timedated.TestTimedated) ... SKIP: timedatectl not installed test_changing_timezone (test_timedated.TestTimedated) ... SKIP: timedatectl not installed test_default_local_rtc (test_timedated.TestTimedated) ... SKIP: timedatectl not installed test_default_ntp (test_timedated.TestTimedated) ... SKIP: timedatectl not installed test_default_timezone (test_timedated.TestTimedated) ... which: no upower in (/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/python3.6/bin:/usr/lib/portage/python3.6/ebuild-helpers/xattr:/usr/lib/portage/python3.6/ebuild-helpers:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/lib/llvm/9/bin) SKIP: timedatectl not installed test_charging_battery (test_upower.TestUPower) ... SKIP: upower not installed test_discharging_battery (test_upower.TestUPower) ... SKIP: upower not installed test_no_devices (test_upower.TestUPower) ... SKIP: upower not installed test_one_ac (test_upower.TestUPower) ... SKIP: upower not installed 0.9 API specific properties ... SKIP: upower not installed 0.9 API has no display device ... SKIP: upower not installed 0.9 API specific Suspend signal ... SKIP: upower not installed test_display_device_default (test_upower.TestUPower1) ... SKIP: upower not installed test_enumerate (test_upower.TestUPower1) ... SKIP: upower not installed test_no_devices (test_upower.TestUPower1) ... SKIP: upower not installed 1.0 API specific properties ... SKIP: upower not installed test_setup_display_device (test_upower.TestUPower1) ... SKIP: upower not installed 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_no_adapters (test_bluez4.TestBlueZ4) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2/tests/test_bluez4.py", line 91, in test_no_adapters self.assertIn(expected, err) AssertionError: 'dbus.exceptions.DBusException: org.bluez.Error.NoSuchAdapter: No such adapter.' not found in ['Traceback (most recent call last):', ' File "/usr/bin/bluez-test-adapter", line 21, in ', ' adapter_path = bluezutils.find_adapter(options.dev_id).object_path', ' File "/usr/lib64/bluez/test/bluezutils.py", line 14, in find_adapter', ' return find_adapter_in_objects(get_managed_objects(), pattern)', ' File "/usr/lib64/bluez/test/bluezutils.py", line 26, in find_adapter_in_objects', ' raise Exception("Bluetooth adapter not found")', 'Exception: Bluetooth adapter not found'] ====================================================================== FAIL: test_one_adapter (test_bluez4.TestBlueZ4) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2/tests/test_bluez4.py", line 108, in test_one_adapter self.assertIn(' Name = ' + system_name, out) AssertionError: ' Name = my-computer' not found in [] ====================================================================== FAIL: test_one_device (test_bluez4.TestBlueZ4) ---------------------------------------------------------------------- Traceback (most recent call last): File "/var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2/tests/test_bluez4.py", line 141, in test_one_device self.assertIn(address + ' ' + alias, out) AssertionError: '11:22:33:44:55:66 My Phone' not found in [] ---------------------------------------------------------------------- Ran 111 tests in 42.988s FAILED (SKIP=33, failures=3) * ERROR: dev-python/dbusmock-0.18.2::gentoo failed (test phase): * tests fail under python3.6 * * Call stack: * ebuild.sh, line 125: Called src_test * environment, line 2905: Called distutils-r1_src_test * environment, line 1246: Called _distutils-r1_run_foreach_impl 'python_test' * environment, line 431: Called python_foreach_impl 'distutils-r1_run_phase' 'python_test' * environment, line 2515: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2028: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'python_test' * environment, line 2026: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'python_test' * environment, line 834: Called distutils-r1_run_phase 'python_test' * environment, line 1183: Called python_test * environment, line 2865: 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.18.2::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/dbusmock-0.18.2::gentoo'`. * The complete build log is located at '/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/dbusmock-0.18.2/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2' * S: '/var/tmp/portage/dev-python/dbusmock-0.18.2/work/python-dbusmock-0.18.2'