[user@dom0 securedrop-workstation]$ make test python3 -m unittest discover -v tests test_gpg_domain_configured (test_app.SD_App_Tests) ... ok test_logging_configured (test_app.SD_App_Tests) ... ok test_mailcap_hardened (test_app.SD_App_Tests) ... ok test_mimeapps (test_app.SD_App_Tests) ... ok test_mimeapps_functional (test_app.SD_App_Tests) ... ok test_open_in_dvm_desktop (test_app.SD_App_Tests) ... ok test_sd_client_apparmor (test_app.SD_App_Tests) ... ok test_sd_client_config (test_app.SD_App_Tests) ... ok test_sd_client_dependencies_installed (test_app.SD_App_Tests) ... ok test_sd_client_package_installed (test_app.SD_App_Tests) ... ok test_Templates_cleaned_up (test_dom0_config.SD_Qubes_Dom0_Templates_Tests) ... ok test_vms_to_update_are_tagged (test_dom0_config.SD_Qubes_Dom0_Templates_Tests) ... ok test_rpm_repo_config (test_dom0_rpm_repo.SD_Dom0_Rpm_Repo_Tests) ... ok test_rpm_repo_public_key (test_dom0_rpm_repo.SD_Dom0_Rpm_Repo_Tests) ... ok test_gpg_domain_configured (test_gpg.SD_GPG_Tests) ... ok test_logging_disabled (test_gpg.SD_GPG_Tests) ... ok test_sd_gpg_timeout (test_gpg.SD_GPG_Tests) ... ok test_we_have_the_key (test_gpg.SD_GPG_Tests) ... ok test_gpg_domain_configured (test_log_vm.SD_Log_Tests) ... ok test_log_dirs_properly_named (test_log_vm.SD_Log_Tests) ... ok test_log_utility_installed (test_log_vm.SD_Log_Tests) ... ok test_logs_are_flowing (test_log_vm.SD_Log_Tests) ... ok test_redis_service_running (test_log_vm.SD_Log_Tests) ... ok test_sd_log_has_no_custom_rsyslog (test_log_vm.SD_Log_Tests) ... ok test_sd_log_package_installed (test_log_vm.SD_Log_Tests) ... ok test_sd_log_redis_is_installed (test_log_vm.SD_Log_Tests) ... ok test_sd_log_service_running (test_log_vm.SD_Log_Tests) ... ok test_do_not_open_here (test_proxy_vm.SD_Proxy_Tests) The do-not-open here script has been removed from sd-proxy. ... ok test_gpg_domain_configured (test_proxy_vm.SD_Proxy_Tests) ... ok test_logging_configured (test_proxy_vm.SD_Proxy_Tests) ... ok test_mailcap_hardened (test_proxy_vm.SD_Proxy_Tests) ... ok test_mime_types (test_proxy_vm.SD_Proxy_Tests) ... ok test_sd_proxy_package_installed (test_proxy_vm.SD_Proxy_Tests) ... ok test_sd_proxy_rpc_spec (test_proxy_vm.SD_Proxy_Tests) ... FAIL test_sd_proxy_writable_config_dir (test_proxy_vm.SD_Proxy_Tests) ... ok test_sd_proxy_yaml_config (test_proxy_vm.SD_Proxy_Tests) ... ok test_whonix_ws_repo_absent (test_proxy_vm.SD_Proxy_Tests) The sd-proxy VM was previously based on Whonix Workstation, ... ok test_Policies (test_qubes_rpc.SD_Qubes_Rpc_Tests) ... #### BEGIN RPC policy error report #### Policy for qubes.InputKeyboard is: sys-usb dom0 allow,user=root $anyvm $anyvm deny Policy for qubes.InputKeyboard should be: $anyvm $anyvm deny #### END RPC policy error report #### #### BEGIN RPC policy error report #### Policy for qubes.InputMouse is: sys-usb dom0 ask,user=root,default_target=dom0 $anyvm $anyvm deny Policy for qubes.InputMouse should be: sys-usb dom0 allow,user=root $anyvm $anyvm deny #### END RPC policy error report #### FAIL test_current_fedora_for_sys_vms (test_qubes_vms.SD_Qubes_VM_Tests) Checks that all sys-* VMs are configured to use ... ok test_current_whonix_vms (test_qubes_vms.SD_Qubes_VM_Tests) Checks that the Qubes-maintained Whonix tooling ... ok test_files_are_properly_copied (test_sd_devices.SD_Devices_Tests) ... ok test_gpg_domain_configured (test_sd_devices.SD_Devices_Tests) ... ok test_logging_configured (test_sd_devices.SD_Devices_Tests) ... ok test_mailcap_hardened (test_sd_devices.SD_Devices_Tests) ... ok test_mime_types (test_sd_devices.SD_Devices_Tests) ... ok test_open_in_dvm_desktop (test_sd_devices.SD_Devices_Tests) ... ok test_sd_export_package_installed (test_sd_devices.SD_Devices_Tests) ... FAIL test_accept_sd_xfer_extracted_file (test_sd_whonix.SD_Whonix_Tests) ... ok test_gpg_domain_configured (test_sd_whonix.SD_Whonix_Tests) ... ok test_sd_whonix_repo_enabled (test_sd_whonix.SD_Whonix_Tests) During Whonix 14 -> 15 migration, we removed the apt list file ... ok test_sd_whonix_verify_tor_config (test_sd_whonix.SD_Whonix_Tests) ... ok test_v3_auth_private_file (test_sd_whonix.SD_Whonix_Tests) ... ok test_whonix_torrc (test_sd_whonix.SD_Whonix_Tests) Ensure Whonix-maintained torrc files don't contain duplicate entries. ... ok test_files_are_properly_copied (test_sys_usb.SD_SysUSB_Tests) ... FAIL test_gpg_domain_configured (test_viewer.SD_Viewer_Tests) ... ok test_logging_configured (test_viewer.SD_Viewer_Tests) ... ok test_mailcap_hardened (test_viewer.SD_Viewer_Tests) ... ok test_mime_types (test_viewer.SD_Viewer_Tests) ... FAIL test_redis_packages_not_installed (test_viewer.SD_Viewer_Tests) Only the log collector, i.e. sd-log, needs redis, so redis will be ... ok test_sd_viewer_evince_installed (test_viewer.SD_Viewer_Tests) ... ok test_sd_viewer_libreoffice_installed (test_viewer.SD_Viewer_Tests) ... ok test_sd_viewer_metapackage_installed (test_viewer.SD_Viewer_Tests) ... ok test_expected (test_vms_exist.SD_VM_Tests) ... ok test_sd_app_config (test_vms_exist.SD_VM_Tests) ... ok test_sd_gpg_config (test_vms_exist.SD_VM_Tests) ... ok test_sd_log_config (test_vms_exist.SD_VM_Tests) ... ok test_sd_proxy_config (test_vms_exist.SD_VM_Tests) ... ok test_sd_proxy_template (test_vms_exist.SD_VM_Tests) ... ok test_sd_viewer_config (test_vms_exist.SD_VM_Tests) ... ok test_sd_whonix_config (test_vms_exist.SD_VM_Tests) ... ok test_sd_workstation_template (test_vms_exist.SD_VM_Tests) ... ok test_all_fedora_vms_uptodate (test_vms_platform.SD_VM_Platform_Tests) Asserts that all Fedora-based templates, such as sys-net, have all ... ok test_all_jessie_backports_disabled (test_vms_platform.SD_VM_Platform_Tests) Asserts that all VMs lack references to Jessie in apt config. ... ok test_all_sd_vm_apt_sources (test_vms_platform.SD_VM_Platform_Tests) Test all VMs fpf apt source list iteratively. ... ok test_all_sd_vm_platforms (test_vms_platform.SD_VM_Platform_Tests) Test all VM platforms iteratively. ... ok test_all_sd_vms_uptodate (test_vms_platform.SD_VM_Platform_Tests) Asserts that all VMs have all available apt packages at the latest ... ok test_debian_keyring_config (test_vms_platform.SD_VM_Platform_Tests) Ensure the securedrop keyring package is properly installed and the ... ok test_dispvm_default_platform (test_vms_platform.SD_VM_Platform_Tests) Query dom0 Qubes preferences and confirm that new DispVMs ... ok test_sd_proxy_template (test_vms_platform.SD_VM_Platform_Tests) Asserts that the 'sd-proxy' VM is using a supported base OS. ... ok ====================================================================== FAIL: test_sd_proxy_rpc_spec (test_proxy_vm.SD_Proxy_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/securedrop-workstation/tests/test_proxy_vm.py", line 55, in test_sd_proxy_rpc_spec self.assertFileHasLine("/etc/qubes-rpc/securedrop.Proxy", line) File "/home/user/securedrop-workstation/tests/base.py", line 126, in assertFileHasLine raise AssertionError(msg) AssertionError: File /etc/qubes-rpc/securedrop.Proxy does not contain expected line /usr/bin/sd-proxy /home/user/.securedrop_proxy/sd-proxy.yaml ====================================================================== FAIL: test_Policies (test_qubes_rpc.SD_Qubes_Rpc_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/securedrop-workstation/tests/test_qubes_rpc.py", line 23, in test_Policies self.assertFalse(fail), "Policy does not match: " + policy["policy"] AssertionError: True is not false ====================================================================== FAIL: test_sd_export_package_installed (test_sd_devices.SD_Devices_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/securedrop-workstation/tests/test_sd_devices.py", line 21, in test_sd_export_package_installed self.assertTrue(self._package_is_installed("gnome-disk-utility")) AssertionError: False is not true ====================================================================== FAIL: test_files_are_properly_copied (test_sys_usb.SD_SysUSB_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/securedrop-workstation/tests/test_sys_usb.py", line 12, in test_files_are_properly_copied self.assertTrue(self._fileExists("/etc/udev/rules.d/99-sd-devices.rules")) AssertionError: False is not true ====================================================================== FAIL: test_mime_types (test_viewer.SD_Viewer_Tests) ---------------------------------------------------------------------- Traceback (most recent call last): File "/home/user/securedrop-workstation/tests/test_viewer.py", line 45, in test_mime_types self.assertEqual(actual_app, expected_app) AssertionError: 'open-in-dvm.desktop' != 'audacious.desktop' - open-in-dvm.desktop + audacious.desktop ---------------------------------------------------------------------- Ran 79 tests in 308.451s FAILED (failures=5) make: *** [Makefile:124: test] Error 1