Mock Version: 2.8 Mock Version: 2.8 Mock Version: 2.8 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-dbusmock.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-174115-59027/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target noarch --nodeps /builddir/build/SPECS/python-dbusmock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Wrote: /builddir/build/SRPMS/python-dbusmock-0.23.0-2.an8.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-dbusmock.spec'], chrootPath='/var/lib/mock/dist-an8.7-build-174115-59027/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=86400uid=989gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-dbusmock.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.tePyDM + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf python-dbusmock-0.23.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/python-dbusmock-0.23.0.tar.gz + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd python-dbusmock-0.23.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/git init -q + /usr/bin/git config user.name rpm-build + /usr/bin/git config user.email '' + /usr/bin/git add . + /usr/bin/git commit -q --allow-empty -a --author 'rpm-build ' -m 'python-dbusmock-0.23.0 base' + /usr/bin/cat /builddir/build/SOURCES/0001-Work-around-error-text-changes.patch + /usr/bin/git apply --index - + /usr/bin/git commit -q -m 0001-Work-around-error-text-changes.patch --author 'rpm-build ' + rm -rf python-dbusmock.egg-info + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.F0eoqA + umask 022 + cd /builddir/build/BUILD + cd python-dbusmock-0.23.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py build '--executable=/usr/libexec/platform-python -s' running build running build_py creating build creating build/lib creating build/lib/dbusmock copying dbusmock/__init__.py -> build/lib/dbusmock copying dbusmock/__main__.py -> build/lib/dbusmock copying dbusmock/mockobject.py -> build/lib/dbusmock copying dbusmock/testcase.py -> build/lib/dbusmock creating build/lib/dbusmock/templates copying dbusmock/templates/__init__.py -> build/lib/dbusmock/templates copying dbusmock/templates/accounts_service.py -> build/lib/dbusmock/templates copying dbusmock/templates/bluez5-obex.py -> build/lib/dbusmock/templates copying dbusmock/templates/bluez5.py -> build/lib/dbusmock/templates copying dbusmock/templates/gnome_screensaver.py -> build/lib/dbusmock/templates copying dbusmock/templates/logind.py -> build/lib/dbusmock/templates copying dbusmock/templates/low_memory_monitor.py -> build/lib/dbusmock/templates copying dbusmock/templates/networkmanager.py -> build/lib/dbusmock/templates copying dbusmock/templates/notification_daemon.py -> build/lib/dbusmock/templates copying dbusmock/templates/ofono.py -> build/lib/dbusmock/templates copying dbusmock/templates/polkitd.py -> build/lib/dbusmock/templates copying dbusmock/templates/systemd.py -> build/lib/dbusmock/templates copying dbusmock/templates/timedated.py -> build/lib/dbusmock/templates copying dbusmock/templates/upower.py -> build/lib/dbusmock/templates copying dbusmock/templates/urfkill.py -> build/lib/dbusmock/templates + sleep 1 + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.kPydDK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch '!=' / ']' + rm -rf /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch ++ dirname /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch + cd python-dbusmock-0.23.0 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection' + LDFLAGS='-Wl,-z,relro -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + /usr/libexec/platform-python setup.py install -O1 --skip-build --root /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch running install running install_lib creating /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr creating /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib creating /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6 creating /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages creating /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock copying build/lib/dbusmock/__init__.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock copying build/lib/dbusmock/__main__.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock copying build/lib/dbusmock/mockobject.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock copying build/lib/dbusmock/testcase.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock creating /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/__init__.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/accounts_service.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/bluez5-obex.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/bluez5.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/gnome_screensaver.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/logind.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/low_memory_monitor.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/networkmanager.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/notification_daemon.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/ofono.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/polkitd.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/systemd.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/timedated.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/upower.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates copying build/lib/dbusmock/templates/urfkill.py -> /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/__main__.py to __main__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/mockobject.py to mockobject.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/testcase.py to testcase.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/__init__.py to __init__.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/accounts_service.py to accounts_service.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/bluez5-obex.py to bluez5-obex.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/bluez5.py to bluez5.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/gnome_screensaver.py to gnome_screensaver.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/logind.py to logind.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/low_memory_monitor.py to low_memory_monitor.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/networkmanager.py to networkmanager.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/notification_daemon.py to notification_daemon.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/ofono.py to ofono.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/polkitd.py to polkitd.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/systemd.py to systemd.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/timedated.py to timedated.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/upower.py to upower.cpython-36.pyc byte-compiling /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/dbusmock/templates/urfkill.py to urfkill.cpython-36.pyc writing byte-compilation script '/tmp/tmp2mzsrwhs.py' /usr/libexec/platform-python /tmp/tmp2mzsrwhs.py removing /tmp/tmp2mzsrwhs.py running install_egg_info running egg_info writing python_dbusmock.egg-info/PKG-INFO writing dependency_links to python_dbusmock.egg-info/dependency_links.txt writing top-level names to python_dbusmock.egg-info/top_level.txt reading manifest file 'python_dbusmock.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'python_dbusmock.egg-info/SOURCES.txt' Copying python_dbusmock.egg-info to /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6/site-packages/python_dbusmock-0.23.0-py3.6.egg-info running install_scripts + /usr/lib/rpm/find-debuginfo.sh -j64 --strict-build-id -m -i --build-id-seed 0.23.0-2.an8 --unique-debug-suffix -0.23.0-2.an8.noarch --unique-debug-src-base python-dbusmock-0.23.0-2.an8.noarch --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/python-dbusmock-0.23.0 find: 'debug': No such file or directory + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile '' 1 Bytecompiling .py files below /builddir/build/BUILDROOT/python-dbusmock-0.23.0-2.an8.noarch/usr/lib/python3.6 using /usr/libexec/platform-python + /usr/lib/rpm/brp-python-hardlink + PYTHON3=/usr/libexec/platform-python + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.2TMnuT + umask 022 + cd /builddir/build/BUILD + cd python-dbusmock-0.23.0 + /usr/libexec/platform-python -m unittest -v test_automatic_login_users (tests.test_accounts_service.TestAccountsService) ... skipped 'AccountsService gi introspection not available' test_automatic_login_users_via_mock (tests.test_accounts_service.TestAccountsService) ... skipped 'AccountsService gi introspection not available' test_create_users (tests.test_accounts_service.TestAccountsService) ... skipped 'AccountsService gi introspection not available' test_empty (tests.test_accounts_service.TestAccountsService) ... skipped 'AccountsService gi introspection not available' test_recreate_user (tests.test_accounts_service.TestAccountsService) ... skipped 'AccountsService gi introspection not available' test_set_user_properties (tests.test_accounts_service.TestAccountsService) ... skipped 'AccountsService gi introspection not available' test_add_object (tests.test_api.TestAPI) add a new object ... ok test_add_object_existing (tests.test_api.TestAPI) try to add an existing object ... ok test_add_object_with_methods (tests.test_api.TestAPI) add a new object with methods ... ok test_array_arg (tests.test_api.TestAPI) array argument ... ok test_dbus_get_log (tests.test_api.TestAPI) query call logs over D-Bus ... ok test_dbus_get_method_calls (tests.test_api.TestAPI) query method call logs over D-Bus ... ok test_dbus_method_called (tests.test_api.TestAPI) subscribe to MethodCalled signal ... ok test_dict_arg (tests.test_api.TestAPI) dictionary argument ... ok test_introspection_methods (tests.test_api.TestAPI) dynamically added methods appear in introspection ... ok test_introspection_properties (tests.test_api.TestAPI) dynamically added properties appear in introspection ... ok test_methods_on_other_interfaces (tests.test_api.TestAPI) methods on other interfaces ... ok test_methods_same_name (tests.test_api.TestAPI) methods with same name on different interfaces ... ok test_methods_type_mismatch (tests.test_api.TestAPI) calling methods with wrong arguments ... FAIL test_noarg_noret (tests.test_api.TestAPI) no arguments, no return value ... ok test_objects_map (tests.test_api.TestAPI) access global objects map ... ok test_onearg_noret (tests.test_api.TestAPI) one argument, no return value ... ok test_onearg_ret (tests.test_api.TestAPI) one argument, code for return value ... ok test_properties (tests.test_api.TestAPI) add and change properties ... ok test_reset (tests.test_api.TestAPI) resetting to pristine state ... ok test_signals (tests.test_api.TestAPI) emitting signals ... ok test_signals_type_mismatch (tests.test_api.TestAPI) emitting signals with wrong arguments ... FAIL test_twoarg_ret (tests.test_api.TestAPI) two arguments, code for return value ... ok test_unicode_str (tests.test_api.TestAPI) unicode string roundtrip ... ok test_mock_terminates_with_bus (tests.test_api.TestCleanup) Spawned mock processes exit when bus goes down ... ok test_ctor (tests.test_api.TestSubclass) Override DBusMockObject constructor ... ok test_none_props (tests.test_api.TestSubclass) object with None properties argument ... ok test_explicit_bus_ (tests.test_api.TestTemplates) Explicitly set the bus for a template that does not specify SYSTEM_BUS ... ok test_local (tests.test_api.TestTemplates) Load a local template *.py file ... ok test_local_nonexisting (tests.test_api.TestTemplates) ... ok test_object_manager (tests.test_api.TestTemplates) Template with ObjectManager API ... ok test_override_bus_ (tests.test_api.TestTemplates) Override the bus for a template ... ok test_reset (tests.test_api.TestTemplates) Reset() puts the template back to pristine state ... ok test_static_method (tests.test_api.TestTemplates) Static method in a template ... ok test_no_adapters (tests.test_bluez5.TestBlueZ5) ... skipped 'bluetoothctl not installed' test_no_devices (tests.test_bluez5.TestBlueZ5) ... skipped 'bluetoothctl not installed' test_one_adapter (tests.test_bluez5.TestBlueZ5) ... skipped 'bluetoothctl not installed' test_one_device (tests.test_bluez5.TestBlueZ5) ... skipped 'bluetoothctl not installed' test_pairing_device (tests.test_bluez5.TestBlueZ5) ... skipped 'bluetoothctl not installed' test_everything (tests.test_bluez5.TestBlueZObex) ... skipped 'pbap-client not installed (copy it from bluez/test)' test_help (tests.test_cli.TestCLI) ... ok test_no_args (tests.test_cli.TestCLI) ... ok test_object_manager (tests.test_cli.TestCLI) ... ok test_session_bus (tests.test_cli.TestCLI) ... ok test_system_bus (tests.test_cli.TestCLI) ... ok test_template_conflicting_bus (tests.test_cli.TestCLI) ... ok test_template_explicit_system (tests.test_cli.TestCLI) ... ok test_template_local (tests.test_cli.TestCLI) ... ok test_template_override_session (tests.test_cli.TestCLI) ... ok test_template_override_system (tests.test_cli.TestCLI) ... ok test_template_parameters (tests.test_cli.TestCLI) ... ok test_template_parameters_malformed_json (tests.test_cli.TestCLI) ... ok test_template_parameters_not_dict (tests.test_cli.TestCLI) ... ok test_template_upower (tests.test_cli.TestCLI) ... ok test_codestyle (tests.test_code.StaticCodeTests) ... skipped 'pycodestyle not installed' test_pyflakes (tests.test_code.StaticCodeTests) ... skipped 'pyflakes3 not installed' test_pylint (tests.test_code.StaticCodeTests) ... skipped 'pylint not installed' test_types (tests.test_code.StaticCodeTests) ... skipped 'mypy not installed' test_default_state (tests.test_gnome_screensaver.TestGnomeScreensaver) Not locked by default ... ok test_lock (tests.test_gnome_screensaver.TestGnomeScreensaver) Lock() ... ok test_set_active (tests.test_gnome_screensaver.TestGnomeScreensaver) SetActive() ... ok test_empty (tests.test_logind.TestLogind) ... skipped '/run/systemd/system does not exist' test_properties (tests.test_logind.TestLogind) ... skipped '/run/systemd/system does not exist' test_session (tests.test_logind.TestLogind) ... skipped '/run/systemd/system does not exist' test_low_memory_warning_signal (tests.test_low_memory_monitor.TestLowMemoryMonitor) LowMemoryWarning signal ... ok tests.test_networkmanager (unittest.loader._FailedTest) ... ERROR test_close (tests.test_notification_daemon.TestNotificationDaemon) CloseNotification() and NotificationClosed() signal ... skipped 'notify-send not installed' test_id (tests.test_notification_daemon.TestNotificationDaemon) ID handling ... skipped 'notify-send not installed' test_no_options (tests.test_notification_daemon.TestNotificationDaemon) notify-send with no options ... skipped 'notify-send not installed' test_options (tests.test_notification_daemon.TestNotificationDaemon) notify-send with some options ... skipped 'notify-send not installed' test_get_operators_for_two_modems (tests.test_ofono.TestOfono) Add second modem, list operators on both ... skipped 'ofono scripts not available, set $OFONO_SCRIPT_DIR' test_hangup_all (tests.test_ofono.TestOfono) multiple outgoing voice calls ... skipped 'ofono scripts not available, set $OFONO_SCRIPT_DIR' test_list_modems (tests.test_ofono.TestOfono) Manager.GetModems() ... skipped 'ofono scripts not available, set $OFONO_SCRIPT_DIR' test_list_operators (tests.test_ofono.TestOfono) list operators ... skipped 'ofono scripts not available, set $OFONO_SCRIPT_DIR' test_outgoing_call (tests.test_ofono.TestOfono) outgoing voice call ... skipped 'ofono scripts not available, set $OFONO_SCRIPT_DIR' test_second_modem (tests.test_ofono.TestOfono) Add a second modem ... skipped 'ofono scripts not available, set $OFONO_SCRIPT_DIR' test_allow_unknown (tests.test_polkitd.TestPolkit) ... skipped 'pkcheck not installed' test_default (tests.test_polkitd.TestPolkit) ... skipped 'pkcheck not installed' test_delayed_call (tests.test_polkitd.TestPolkit) ... skipped 'pkcheck not installed' test_delayed_call_return (tests.test_polkitd.TestPolkit) ... skipped 'pkcheck not installed' test_hanging_call (tests.test_polkitd.TestPolkit) ... skipped 'pkcheck not installed' test_hanging_call_return (tests.test_polkitd.TestPolkit) ... skipped 'pkcheck not installed' test_set_allowed (tests.test_polkitd.TestPolkit) ... skipped 'pkcheck not installed' test_system (tests.test_systemd.TestSystemd) ... ok test_user (tests.test_systemd.TestSystemd) ... ok test_changing_local_rtc (tests.test_timedated.TestTimedated) ... skipped '/run/systemd/system does not exist' test_changing_ntp (tests.test_timedated.TestTimedated) ... skipped '/run/systemd/system does not exist' test_changing_timezone (tests.test_timedated.TestTimedated) ... skipped '/run/systemd/system does not exist' test_default_local_rtc (tests.test_timedated.TestTimedated) ... skipped '/run/systemd/system does not exist' test_default_ntp (tests.test_timedated.TestTimedated) ... skipped '/run/systemd/system does not exist' test_default_timezone (tests.test_timedated.TestTimedated) ... skipped '/run/systemd/system does not exist' test_charging_battery (tests.test_upower.TestUPower) ... ok test_discharging_battery (tests.test_upower.TestUPower) ... ok test_display_device_default (tests.test_upower.TestUPower) ... ok test_enumerate (tests.test_upower.TestUPower) ... ok test_no_devices (tests.test_upower.TestUPower) ... ok test_one_ac (tests.test_upower.TestUPower) ... ok test_setup_display_device (tests.test_upower.TestUPower) ... ok test_block (tests.test_urfkill.TestURfkill) ... ok test_flightmode (tests.test_urfkill.TestURfkill) ... ok test_flightmode_restore (tests.test_urfkill.TestURfkill) ... ok test_mainobject (tests.test_urfkill.TestURfkill) ... ok test_subobjects (tests.test_urfkill.TestURfkill) ... ok ====================================================================== ERROR: tests.test_networkmanager (unittest.loader._FailedTest) ---------------------------------------------------------------------- ImportError: Failed to import test module: tests.test_networkmanager Traceback (most recent call last): File "/usr/lib64/python3.6/unittest/loader.py", line 428, in _find_test_path module = self._get_module_from_name(name) File "/usr/lib64/python3.6/unittest/loader.py", line 369, in _get_module_from_name __import__(name) File "/builddir/build/BUILD/python-dbusmock-0.23.0/tests/test_networkmanager.py", line 26, in from dbusmock.templates.networkmanager import DeviceState File "/builddir/build/BUILD/python-dbusmock-0.23.0/dbusmock/templates/networkmanager.py", line 20, in from dataclasses import dataclass ModuleNotFoundError: No module named 'dataclasses' ====================================================================== FAIL: test_methods_type_mismatch (tests.test_api.TestAPI) calling methods with wrong arguments ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-dbusmock-0.23.0/tests/test_api.py", line 189, in check self.dbus_test.Do(*args) File "/usr/lib64/python3.6/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/builddir/build/BUILD/python-dbusmock-0.23.0/dbusmock/mockobject.py", line 401, in self, interface, name, in_sig, *args, **kwargs) File "/builddir/build/BUILD/python-dbusmock-0.23.0/dbusmock/mockobject.py", line 661, in mock_method m.append(signature=in_signature, *args) TypeError: an integer is required (got type dbus.String) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/python-dbusmock-0.23.0/tests/test_api.py", line 205, in test_methods_type_mismatch check('i', ['hello'], 'object cannot be interpreted as an integer') File "/builddir/build/BUILD/python-dbusmock-0.23.0/tests/test_api.py", line 193, in check self.assertIn(err, str(e)) AssertionError: 'object cannot be interpreted as an integer' not found in 'org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):\n File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb\n retval = candidate_method(self, *args, **keywords)\n File "/builddir/build/BUILD/python-dbusmock-0.23.0/dbusmock/mockobject.py", line 401, in \n self, interface, name, in_sig, *args, **kwargs)\n File "/builddir/build/BUILD/python-dbusmock-0.23.0/dbusmock/mockobject.py", line 661, in mock_method\n m.append(signature=in_signature, *args)\nTypeError: an integer is required (got type dbus.String)\n' ====================================================================== FAIL: test_signals_type_mismatch (tests.test_api.TestAPI) emitting signals with wrong arguments ---------------------------------------------------------------------- Traceback (most recent call last): File "/builddir/build/BUILD/python-dbusmock-0.23.0/tests/test_api.py", line 515, in check self.dbus_mock.EmitSignal('', 's', signature, args) File "/usr/lib64/python3.6/site-packages/dbus/proxies.py", line 145, in __call__ **keywords) dbus.exceptions.DBusException: org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last): File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb retval = candidate_method(self, *args, **keywords) File "/builddir/build/BUILD/python-dbusmock-0.23.0/dbusmock/mockobject.py", line 583, in EmitSignal m.append(signature=signature, *args) TypeError: an integer is required (got type dbus.String) During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/builddir/build/BUILD/python-dbusmock-0.23.0/tests/test_api.py", line 531, in test_signals_type_mismatch check('i', ['hello'], 'object cannot be interpreted as an integer') File "/builddir/build/BUILD/python-dbusmock-0.23.0/tests/test_api.py", line 519, in check self.assertIn(err, str(e)) AssertionError: 'object cannot be interpreted as an integer' not found in 'org.freedesktop.DBus.Python.TypeError: Traceback (most recent call last):\n File "/usr/lib64/python3.6/site-packages/dbus/service.py", line 707, in _message_cb\n retval = candidate_method(self, *args, **keywords)\n File "/builddir/build/BUILD/python-dbusmock-0.23.0/dbusmock/mockobject.py", line 583, in EmitSignal\n m.append(signature=signature, *args)\nTypeError: an integer is required (got type dbus.String)\n' ---------------------------------------------------------------------- Ran 108 tests in 10.084s FAILED (failures=2, errors=1, skipped=42) error: Bad exit status from /var/tmp/rpm-tmp.2TMnuT (%check) RPM build errors: Bad exit status from /var/tmp/rpm-tmp.2TMnuT (%check) Child return code was: 1 EXCEPTION: [Error()] Traceback (most recent call last): File "/usr/lib/python3.6/site-packages/mockbuild/trace_decorator.py", line 93, in trace result = func(*args, **kw) File "/usr/lib/python3.6/site-packages/mockbuild/util.py", line 600, in do_with_status raise exception.Error("Command failed: \n # %s\n%s" % (command, output), child.returncode) mockbuild.exception.Error: Command failed: # bash --login -c /usr/bin/rpmbuild -bb --target noarch --nodeps /builddir/build/SPECS/python-dbusmock.spec