Kano QA console tests

Image file: /osimages/rc/img/en_US/latest-build.img.gz

Tests run at: Sat Nov 23 03:48:03 2019

Tests for repository QA

test_expect_i2c (test_kernel_modules.TestKernelModules) ... ok
test_expect_leds_gpio (test_kernel_modules.TestKernelModules) ... ok
test_expect_sound_driver (test_kernel_modules.TestKernelModules) ... ok
test_checkfs (test_disk_management.TestDiskManagement) ... ok
test_minimum_free_space (test_disk_management.TestDiskManagement) ... ok
test_no_reboot_forced_in_init_scripts (test_disk_management.TestDiskManagement) ... ok
test_no_reboot_forced_in_python_pkgs (test_disk_management.TestDiskManagement) ... ok
test_no_reboot_forced_in_usr_bin (test_disk_management.TestDiskManagement) ... ok
test_no_sync_calls_in_python_pkgs (test_disk_management.TestDiskManagement) ... ok
test_var_log_apt_history (test_disk_management.TestDiskManagement) ... ok
test_var_log_dpkg_log (test_disk_management.TestDiskManagement) ... ok
test_var_log_fsck (test_disk_management.TestDiskManagement) ... ok
test_orphan_packages_not_needed (test_lost_packages.TestLostPackages) ... ok
test_previous_not_needed_pkgs_are_gone (test_lost_packages.TestLostPackages) ... ok
test_previous_pkgs_to_keep (test_lost_packages.TestLostPackages) ... ok
test_all_kano_binaries_are_installed (test_binaries.TestBinaries) ... ok
test_all_system_binaries_are_installed (test_binaries.TestBinaries) ... ok
test_xdotool_available (test_binaries.TestBinaries) ... ok
test_youtube_dl_not_installed (test_binaries.TestBinaries) ... ok
test_default_icon (test_kdesk.TestKdesk) ... ok
test_desktop_icons (test_kdesk.TestKdesk) ... ok
test_startup_notify (test_kdesk.TestKdesk) ... ok
test_svg_icons (test_kdesk.TestKdesk) ... ok
test_version (test_kdesk.TestKdesk) ... ok
test_init_flow_notstarted (test_profile.TestProfile) ... ok
test_cache_network_credentials (test_kwifi_cache.TestKwifiprompt) ... ok
test_empty_the_cache (test_kwifi_cache.TestKwifiprompt) ... ok
test_get_nonexistent_credentials (test_kwifi_cache.TestKwifiprompt) ... ok
test_get_valid_cached_credentials (test_kwifi_cache.TestKwifiprompt) ... ok
test_save_and_get_cached_credentials (test_kwifi_cache.TestKwifiprompt) ... ok
test_proxy_libc_symlink (test_proxy.TestMemory) ... ok
test_proxy_libs (test_proxy.TestMemory) ... ok
test_is_debian_stretch (test_versions.TestVersions) ... ok
test_is_os_release_stretch (test_versions.TestVersions) ... ok
test_is_systemd (test_versions.TestVersions) ... ok
test_kano2_app_version (test_versions.TestVersions) ... ok
test_kano_os_version (test_versions.TestVersions) ... ok
test_kano_os_version_file (test_versions.TestVersions) ... ok
test_kano_os_version_name (test_versions.TestVersions) ... ok
test_kano_utils_says_systemd (test_versions.TestVersions) ... ok
tests_kano_utils_says_stretch (test_versions.TestVersions) ... ok
test_version (test_openbox.TestOpenbox) ... ok
test_disk_nospace_left (test_peldins_build.TestPeldinsBuild) ... ok
test_dpkg_errors (test_peldins_build.TestPeldinsBuild) ... ok
test_kano_logs_clean (test_peldins_build.TestPeldinsBuild) ... ok
test_log_file_exists (test_peldins_build.TestPeldinsBuild) ... ok
test_network_unreachable (test_peldins_build.TestPeldinsBuild) ... ok
test_python_import_error (test_peldins_build.TestPeldinsBuild) ... ok
test_python_traceback (test_peldins_build.TestPeldinsBuild) ... ok
test_raspbian_connection_errors (test_peldins_build.TestPeldinsBuild) ... ok
test_unauthenticated_packages (test_peldins_build.TestPeldinsBuild) ... ok
test_unmet_dependencies (test_peldins_build.TestPeldinsBuild) ... ok
test_docopt_imports (test_docopt.TestDocOpt) ... ok
test_docopt_package (test_docopt.TestDocOpt) ... ok
test_python_gpio_packages (test_python_gpio.TestPythonGPIO) ... ok
test_stub_true (test_true.TestFantastic) ... ok
test_filtered_sections_present (test_display_rotate.TestDisplayRotate) ... ok
test_rotate_firmware_flag (test_display_rotate.TestDisplayRotate) ... ok
test_rotate_in_kano_settings (test_display_rotate.TestDisplayRotate) ... ok
test_kernel_bcm_rpi_2 (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_bcm_rpi_b (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_bootcode (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_cmdline_boot_partition (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_cmdline_exists (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_config_exists (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_image_is_ok_armv6 (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_image_is_ok_armv7 (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_overlays (test_linux_kernel.TestLinuxKernel) ... ok
test_kernel_turbo_disabled (test_linux_kernel.TestLinuxKernel) ... ok
test_raspberry_core_binutils (test_linux_kernel.TestLinuxKernel) ... ok
test_raspberry_kernel_and_bootloader (test_linux_kernel.TestLinuxKernel) ... ok
test_raspberry_videocore_latest (test_linux_kernel.TestLinuxKernel) ... ok
test_stretch_network_ifnames (test_linux_kernel.TestLinuxKernel) ... ok
test_python_requests_module_loads_fine (test_requests.TestSyslog) ... ok
test_python_requests_simple_http (test_requests.TestSyslog) ... ok
test_python_requests_simple_secure_http (test_requests.TestSyslog) ... ok
test_armhf_library_is_preloading (test_memory.TestMemory) ... ok
test_copies_and_fills_correct_version (test_memory.TestMemory) ... ok
test_copies_end_fills_package_installed (test_memory.TestMemory) ... ok
test_hostname (test_localnet.TestLocalNetwork) ... ok
test_ipv6_disabled_on_boot (test_localnet.TestLocalNetwork) ... ok
test_ipv6_module_blacklisted (test_localnet.TestLocalNetwork) ... ok
test_xserver_settings (test_screen.TestScreen) ... ok
test_copyright_in_debian_directory (test_license.TestLicenses) ... ok
test_license_in_root_directory (test_license.TestLicenses) ... ok
test_audio_defaults_to_analog (test_boot_config.TestBootConfig) ... ok
test_dtparam_i2c1_on (test_boot_config.TestBootConfig) ... ok
test_dtparam_i2c_arm_on (test_boot_config.TestBootConfig) ... ok
test_dtparam_spi_on (test_boot_config.TestBootConfig) ... ok
test_hdmi_rgb_full_range (test_boot_config.TestBootConfig) ... ok
test_modem_manager (test_unwanted_packages.TestUnwantedPackages) ... ok
test_modem_manager_dependencies (test_unwanted_packages.TestUnwantedPackages) ... ok
test_edimax_module_file (test_wifi_dongle.TestWirelessDongle) ... ok
test_edimax_power_safe_is_off (test_wifi_dongle.TestWirelessDongle) ... ok
test_ralink_module_file (test_wifi_dongle.TestWirelessDongle) ... ok
test_ralink_power_safe_is_off (test_wifi_dongle.TestWirelessDongle) ... ok
test_wireless_firmware (test_wifi_dongle.TestWirelessDongle) ... ok
test_install_apps (test_app_install.TestAppInstall) ... FAIL

======================================================================
FAIL: test_install_apps (test_app_install.TestAppInstall)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/kano_tests_console/tests-console/test_app_install.py", line 107, in test_install_apps
    msg='Could not install {} out of {} apps: {}'.format(num_failed, tested_apps, failed_apps)
AssertionError: Could not install 27 out of 27 apps: 
freeciv - /usr/share/bash-completion/completions/freeciv-gtk2
xgalaga - /usr/games/xgalaga
powerup - /usr/bin/make-light
njam - /usr/games/njam
midori - /usr/bin/midori
audacity - /usr/bin/audacity
terminal-quest - /usr/bin/linux-story
openttd - /usr/games/openttd
golly - /usr/games/golly
vodovod - /usr/games/vodovod
music-player - /usr/bin/lxmusic
gmail - /usr/share/applications/gmail.app
vnc - /usr/bin/kano-vnc
vlc - /usr/bin/vlc
vim - /usr/bin/vim
tux-typing - /usr/games/tuxtype
tux-paint - /usr/bin/tuxpaint
scribus - /usr/bin/scribus
pidgin - /usr/bin/pidgin
lifeograph - /usr/bin/lifeograph
gedit - /usr/bin/gedit
fraqtive - /usr/bin/fraqtive
filezilla - /usr/bin/filezilla
clementine - /usr/bin/clementine
clawsmail - /usr/bin/claws-mail
painter - /usr/bin/gnome-paint
libreoffice - /usr/bin/libreoffice

----------------------------------------------------------------------
Ran 98 tests in 67.186s

FAILED (failures=1)

Screenshot: kdesk.png

Screenshot: kdesk-svg.png

Screenshot: kdesk-default.png

Tests for repository kano-screenshot

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

Tests for repository kano-widgets

test_python_api (tests.test_python_api.TestPythonApi) ... ok

----------------------------------------------------------------------
Ran 1 test in 0.059s

OK

Tests for repository terminal-quest

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

Tests for repository kano-apps

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

Tests for repository kano-i18n

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

Tests for repository kano-toolset

test_aliases (tests.test_logging.TestNormaliseLevel) ... ok
test_case_normalisation (tests.test_logging.TestNormaliseLevel) ... ok
test_not_matching (tests.test_logging.TestNormaliseLevel) ... ok
test_wrong_aliases (tests.test_logging.TestNormaliseLevel) ... ok
test_lua_json (tests.test_lua.TestLua) ... ok
test_unknown (tests.test_rpi_models.TestModelAsserters) ... ok
test_compute_module (tests.test_rpi_models.TestRaspberryPIModels) ... ok
test_model_A (tests.test_rpi_models.TestRaspberryPIModels) ... ok
test_model_B (tests.test_rpi_models.TestRaspberryPIModels) ... ok
test_model_B_plus (tests.test_rpi_models.TestRaspberryPIModels) ... ok
test_model_rpi2 (tests.test_rpi_models.TestRaspberryPIModels) ... ok
test_model_zero (tests.test_rpi_models.TestRaspberryPIModels) ... ok
test_module_a_plus (tests.test_rpi_models.TestRaspberryPIModels) ... ok
test_overclocked_models (tests.test_rpi_models.TestRaspberryPIOverclocked) ... ok

----------------------------------------------------------------------
Ran 14 tests in 101.599s

OK

Tests for repository kano-blocks

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK

Tests for repository kano-init

test_username_empty (tests.test_username.TestUsername) ... ok
test_username_n_with_tilde (tests.test_username.TestUsername) ... ok
test_username_with_accents (tests.test_username.TestUsername) ... ok
test_username_with_commas (tests.test_username.TestUsername) ... ok
test_username_with_spaces (tests.test_username.TestUsername) ... ok

----------------------------------------------------------------------
Ran 5 tests in 0.003s

OK

Tests for repository kano-profile

test_email_dots_no_atsign (tests.test_email_validation.TestEmailValidation) ... ok
test_email_empty (tests.test_email_validation.TestEmailValidation) ... ok
test_email_escaped_quotes (tests.test_email_validation.TestEmailValidation) ... ok
test_email_many_atsigns (tests.test_email_validation.TestEmailValidation) ... ok
test_email_no_dot_no_atsign (tests.test_email_validation.TestEmailValidation) ... ok
test_email_ok (tests.test_email_validation.TestEmailValidation) ... ok
test_email_quoted (tests.test_email_validation.TestEmailValidation) ... ok
test_email_special_chars (tests.test_email_validation.TestEmailValidation) ... ok
test_email_username_two_consecutive_dots (tests.test_email_validation.TestEmailValidation) ... ok
test_email_username_with_dots (tests.test_email_validation.TestEmailValidation) ... ok
test_email_with_accent (tests.test_email_validation.TestEmailValidation) ... ok
test_email_with_capital_tilde (tests.test_email_validation.TestEmailValidation) ... ok
test_email_with_colons (tests.test_email_validation.TestEmailValidation) ... ok
test_email_with_many_domains (tests.test_email_validation.TestEmailValidation) ... ok
test_email_with_spaces (tests.test_email_validation.TestEmailValidation) ... ok
test_email_with_tilde (tests.test_email_validation.TestEmailValidation) ... ok

----------------------------------------------------------------------
Ran 16 tests in 1.498s

OK

Tests run time: 3.001 mins

Total failed tests: 2