Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 49 27 Aug 2024, 21:04

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@slow 202 6 65 0 0 273 16 6 22 53:28.682 Failed
29.160
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.637
And I prepare Tails for memory erasure tests 0.701
When I start a process allocating 128 MiB of memory with a known pattern 3.000
Then patterns cover at least 128 MiB in the guest's memory 3.829

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I kill the allocating process 6.796
Then I find very few patterns in the guest's memory after 3 seconds 6.196

Pattern coverage: 0.000% (0 MiB out of 874 MiB reference memory)

After features/support/hooks.rb:326 0.922
After features/support/hooks.rb:100 0.000
25.206
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.854
And I prepare Tails for memory erasure tests 0.603
And I find very few patterns in the guest's memory 3.055

Pattern coverage: 0.000% (0 MiB out of 899 MiB reference memory)

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 2.299
Then patterns cover at least 99% of the test FS size in the guest's memory 3.567

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I umount "/mnt" 0.828
Then I find very few patterns in the guest's memory after 3 seconds 5.996

Pattern coverage: 0.000% (0 MiB out of 899 MiB reference memory)

After features/support/hooks.rb:326 1.069
After features/support/hooks.rb:100 0.000
55.277
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.057
And I prepare Tails for memory erasure tests 0.641
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.656
Then I find very few patterns in the guest's memory 3.076

Pattern coverage: 0.000% (0 MiB out of 894 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 2.686
Then patterns cover at least 75% of the test FS size in the guest's memory 3.447

Pattern coverage: 90.201% (115 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.672
Then I find very few patterns in the guest's memory after 3 seconds 9.134

Pattern coverage: 0.000% (0 MiB out of 894 MiB reference memory)

# read cache
When I mount the USB drive again 0.387
And I read the content of the test FS 1.117
Then patterns cover at least 99% of the test FS size in the guest's memory 4.477

Pattern coverage: 100.596% (128 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.251
Then I find very few patterns in the guest's memory after 3 seconds 6.670

Pattern coverage: 0.000% (0 MiB out of 894 MiB reference memory)

After features/support/hooks.rb:326 3.703
After features/support/hooks.rb:100 0.000
1:23.029
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.388
And I prepare Tails for memory erasure tests 0.443
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.374
Then I find very few patterns in the guest's memory 3.884

Pattern coverage: 0.000% (0 MiB out of 896 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 2.459
Then patterns cover at least 99% of the test FS size in the guest's memory 3.681

Pattern coverage: 106.113% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 1.084
Then I find very few patterns in the guest's memory after 3 seconds 6.298

Pattern coverage: 0.000% (0 MiB out of 896 MiB reference memory)

# read cache
When I mount the USB drive again 6.249
And I read the content of the test FS 0.538
Then patterns cover at least 99% of the test FS size in the guest's memory 4.158

Pattern coverage: 106.116% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 1.036
Then I find very few patterns in the guest's memory after 3 seconds 6.432

Pattern coverage: 0.000% (0 MiB out of 896 MiB reference memory)

After features/support/hooks.rb:326 1.873
After features/support/hooks.rb:100 0.000
53.769
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.064
And I prepare Tails for memory erasure tests 0.628
When I fill a 128 MiB file with a known pattern on the root filesystem 15.096
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 5.326
Then patterns cover at least 128 MiB in the guest's memory 2.786

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I trigger shutdown 0.022
Then I find very few patterns in the guest's memory after 20 seconds 20.844

Pattern coverage: 0.000% (0 MiB out of 897 MiB reference memory)

After features/support/hooks.rb:326 3.508
After features/support/hooks.rb:100 0.000
8:10.450
Scenario Erasure of read and write disk caches of persistent data on shutdown
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:10.450
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/erase_memory.feature:75:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I prepare Tails for memory erasure tests 0.000
When I fill a 128 MiB file with a known pattern on the persistent filesystem 0.000
When I trigger shutdown 0.000
Then I find very few patterns in the guest's memory after 20 seconds 0.000
After features/support/hooks.rb:326 5.308

SCENARIO FAILED: 'Erasure of read and write disk caches of persistent data on shutdown' (at time 00:41:22)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/00:41:22_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/00:41:22_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/00:41:22_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/00:41:22_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:100 0.014
5:18.576
Scenario I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 57.142
And I update APT using apt 13.554
And I install "popularity-contest" using apt 22.501
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.358
When I create a persistent storage and activate the Additional Software feature 22.407
Then Additional Software is correctly configured for package "popularity-contest" 1.269
When I shutdown Tails and wait for the computer to power off 12.549
And I start Tails from USB drive "__internal" with network unplugged 1:1.499
And I enable persistence 2:0.293
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
features/additional_software_packages.feature:36:in `And I enable persistence'
And I log in to a new session 0.000
And the Additional Software installation service has started 0.000
Then I am notified that the installation succeeded 0.000
And Additional Software is correctly configured for package "popularity-contest" 0.000
And the package "popularity-contest" is installed after Additional Software has been started 0.000
After features/support/hooks.rb:515 0.029
After features/support/hooks.rb:326 5.380

SCENARIO FAILED: 'I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails' (at time 01:10:01)

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:10:01_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.journal

After features/support/hooks.rb:100 0.009
1:35.007
Scenario The Additional Software dpkg hook notices when persistence is locked down while installing a package
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given a computer 0.185
And I start Tails from USB drive "__internal" and I login with an administration password 1:34.821
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:454:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:453:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:287:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/common_steps.rb:453:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:287:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/additional_software_packages.feature:46:in `And I start Tails from USB drive "__internal" and I login with an administration password'
And I update APT using apt 0.000
When I install "makepp" using apt 0.000
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 0.000
And the package "makepp" is installed 0.000
After features/support/hooks.rb:515 0.042
After features/support/hooks.rb:326 5.359

SCENARIO FAILED: 'The Additional Software dpkg hook notices when persistence is locked down while installing a package' (at time 01:11:41)

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:11:41_The_Additional_Software_dpkg_hook_notices_when_persistence_is_locked_down_while_installing_a_package.journal

After features/support/hooks.rb:100 0.005
3:1.086
Scenario My Additional Software list is configurable through a GUI or through notifications when I install or remove packages with APT or Synaptic
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Steps
Given a computer 0.182
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:0.903
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:294:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/additional_software_packages.feature:55:in `And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password'
When I uninstall "popularity-contest" using apt 0.000
And I accept removing "popularity-contest" from Additional Software 0.000
Then "popularity-contest" is not in the list of Additional Software 0.000
When I start Synaptic 0.000
And I update APT using Synaptic 0.000
And I install "cowsay" using Synaptic 0.000
And I accept adding "cowsay" to Additional Software 0.000
Then Additional Software is correctly configured for package "cowsay" 0.000
When I uninstall "cowsay" using apt 0.000
And I refuse removing "cowsay" from Additional Software 0.000
Then Additional Software is correctly configured for package "cowsay" 0.000
When I start "Additional Software" via GNOME Activities Overview 0.000
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 0.000
Then "cowsay" is not in the list of Additional Software 0.000
When I install "cowsay" using apt 0.000
And I refuse adding "cowsay" to Additional Software 0.000
Then "cowsay" is not in the list of Additional Software 0.000
After features/support/hooks.rb:515 0.041
After features/support/hooks.rb:326 5.426

SCENARIO FAILED: 'My Additional Software list is configurable through a GUI or through notifications when I install or remove packages with APT or Synaptic' (at time 01:14:48)

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:14:48_My_Additional_Software_list_is_configurable_through_a_GUI_or_through_notifications_when_I_install_or_remove_packages_with_APT_or_Synaptic.journal

After features/support/hooks.rb:100 0.006
3:1.200
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given a computer 0.166
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:1.034
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:294:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/additional_software_packages.feature:79:in `And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password'
And I configure APT to prefer an old version of cowsay 0.000
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 0.000
And I accept adding "cowsay" to Additional Software 0.000
And Additional Software is correctly configured for package "cowsay" 0.000
And I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged 0.000
And I enable persistence 0.000
# We need to add back this custom APT source for the Additional Software
# install step, as it was not saved in persistence
And I configure APT to prefer an old version of cowsay 0.000
And I log in to a new session 0.000
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 0.000
And I revert the APT tweaks that made it prefer an old version of cowsay 0.000
# We remove the newest package after it has been downloaded and before
# it is installed, so that the upgrade process fails
And I prepare the Additional Software upgrade process to fail 0.000
And the network is plugged 0.000
And Tor is ready 0.000
# Note: the next step races against the appearance of the "The
# upgrade of your additional software failed" notification.
# It should win most of the time, which is good, but there's no
# guarantee it does. If it loses, then it'll remove the notification
# we'll be trying to interact with below ("I can open…")
And all notifications have disappeared 0.000
And available upgrades have been checked 0.000
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.000
And I can open the Additional Software configuration window from the notification 0.000
And I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged 0.000
And I enable persistence 0.000
# We need to add back this custom APT source for the Additional Software
# install step, as it was not saved in persistence
And I configure APT to prefer an old version of cowsay 0.000
And I log in to a new session 0.000
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 0.000
And I revert the APT tweaks that made it prefer an old version of cowsay 0.000
And the network is plugged 0.000
And Tor is ready 0.000
Then the Additional Software upgrade service has started 0.000
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.000
After features/support/hooks.rb:515 0.034
After features/support/hooks.rb:326 5.483

SCENARIO FAILED: 'Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online' (at time 01:17:54)

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:17:54_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.journal

After features/support/hooks.rb:100 0.014
3:0.038
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.214
And I start Tails from USB drive "__internal" with network unplugged 59.475
And I enable persistence 2:0.347
try_for() timeout expired (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
features/additional_software_packages.feature:126:in `And I enable persistence'
And I remove the "cowsay" deb files from the APT cache 0.000
# Prevent the "Warning: virtual machine detected!" notification from racing
# with the one we'll be interacting with below.
And I disable the tails-virt-notify-user.service user unit 0.000
And I log in to a new session 0.000
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 0.000
And I can open the Additional Software log file from the notification 0.000
And the package "cowsay" is not installed 0.000
After features/support/hooks.rb:515 0.046
After features/support/hooks.rb:326 5.673

SCENARIO FAILED: 'I am notified when Additional Software fails to install a package' (at time 01:21:00)

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/49/artifact/build-artifacts/01:21:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.007
Feature: Localization
2:25.593
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 10.492
When I log in to a new session in Arabic (ar) 36.621
Then the keyboard layout is set to "us" 0.264
When the network is plugged 0.085
And Tor is ready 19.860
Then I successfully start the Unsafe Browser in "ar" 14.214
And I kill the Unsafe Browser 5.817
When I enable the screen keyboard 0.138
Then the screen keyboard works in Tor Browser 29.509
And DuckDuckGo is the default search engine 10.241
And I kill the Tor Browser 5.214
And the screen keyboard works in Thunderbird 12.571
And the layout of the screen keyboard is set to "us" 0.560
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Feature: Localization
2:24.077
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.306
When I log in to a new session in Chinese (zh_CN) 33.904
Then the keyboard layout is set to "cn" 0.227
When the network is plugged 0.078
And Tor is ready 19.876
Then I successfully start the Unsafe Browser in "zh_CN" 16.218
And I kill the Unsafe Browser 5.845
When I enable the screen keyboard 0.169
Then the screen keyboard works in Tor Browser 27.913
And DuckDuckGo is the default search engine 8.894
And I kill the Tor Browser 5.401
And the screen keyboard works in Thunderbird 16.647
And the layout of the screen keyboard is set to "us" 0.593
After features/support/hooks.rb:326 1.955
After features/support/hooks.rb:100 0.000
Feature: Localization
1:59.368
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 10.408
When I log in to a new session in English (en) 17.207
Then the keyboard layout is set to "us" 0.231
When the network is plugged 0.143
And Tor is ready 15.734
Then I successfully start the Unsafe Browser in "en" 15.561
And I kill the Unsafe Browser 5.818
When I enable the screen keyboard 0.135
Then the screen keyboard works in Tor Browser 28.077
And DuckDuckGo is the default search engine 7.314
And I kill the Tor Browser 5.247
And the screen keyboard works in Thunderbird 12.943
And the layout of the screen keyboard is set to "us" 0.543
After features/support/hooks.rb:326 1.381
After features/support/hooks.rb:100 0.000
Feature: Localization
2:16.391
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.143
When I log in to a new session in French (fr) 34.530
Then the keyboard layout is set to "fr" 0.259
When the network is plugged 0.080
And Tor is ready 16.486
Then I successfully start the Unsafe Browser in "fr" 14.777
And I kill the Unsafe Browser 5.811
When I enable the screen keyboard 0.130
Then the screen keyboard works in Tor Browser 27.700
And DuckDuckGo is the default search engine 10.065
And I kill the Tor Browser 5.271
And the screen keyboard works in Thunderbird 12.565
And the layout of the screen keyboard is set to "fr" 0.566
After features/support/hooks.rb:326 1.741
After features/support/hooks.rb:100 0.000
Feature: Localization
2:21.703
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 11.616
When I log in to a new session in German (de) 33.845
Then the keyboard layout is set to "de" 0.328
When the network is plugged 0.091
And Tor is ready 18.002
Then I successfully start the Unsafe Browser in "de" 13.922
And I kill the Unsafe Browser 5.755
When I enable the screen keyboard 0.152
Then the screen keyboard works in Tor Browser 29.575
And DuckDuckGo is the default search engine 10.025
And I kill the Tor Browser 5.221
And the screen keyboard works in Thunderbird 12.602
And the layout of the screen keyboard is set to "de" 0.561
After features/support/hooks.rb:326 2.054
After features/support/hooks.rb:100 0.000
Feature: Localization
2:16.129
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.082
When I log in to a new session in Italian (it) 34.425
Then the keyboard layout is set to "it" 0.190
When the network is plugged 0.105
And Tor is ready 17.355
Then I successfully start the Unsafe Browser in "it" 15.306
And I kill the Unsafe Browser 5.976
When I enable the screen keyboard 0.113
Then the screen keyboard works in Tor Browser 27.042
And DuckDuckGo is the default search engine 9.158
And I kill the Tor Browser 5.247
And the screen keyboard works in Thunderbird 12.568
And the layout of the screen keyboard is set to "us" 0.555
After features/support/hooks.rb:326 2.465
After features/support/hooks.rb:100 0.000
Feature: Localization
2:20.017
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 7.843
When I log in to a new session in Persian (fa) 33.519
Then the keyboard layout is set to "ir" 0.275
When the network is plugged 0.076
And Tor is ready 17.492
Then I successfully start the Unsafe Browser in "fa" 16.662
And I kill the Unsafe Browser 5.875
When I enable the screen keyboard 0.129
Then the screen keyboard works in Tor Browser 29.978
And DuckDuckGo is the default search engine 9.931
And I kill the Tor Browser 5.269
And the screen keyboard works in Thunderbird 12.432
And the layout of the screen keyboard is set to "ir" 0.531
After features/support/hooks.rb:326 1.212
After features/support/hooks.rb:100 0.000
Feature: Localization
2:22.736
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 7.975
When I log in to a new session in Portuguese (pt) 38.327
Then the keyboard layout is set to "pt" 0.156
When the network is plugged 0.082
And Tor is ready 18.369
Then I successfully start the Unsafe Browser in "pt" 15.006
And I kill the Unsafe Browser 5.809
When I enable the screen keyboard 0.148
Then the screen keyboard works in Tor Browser 28.132
And DuckDuckGo is the default search engine 9.589
And I kill the Tor Browser 5.287
And the screen keyboard works in Thunderbird 13.221
And the layout of the screen keyboard is set to "us" 0.628
After features/support/hooks.rb:326 1.192
After features/support/hooks.rb:100 0.000
Feature: Localization
2:17.556
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.296
When I log in to a new session in Russian (ru) 33.541
Then the keyboard layout is set to "ru" 0.252
When the network is plugged 0.120
And Tor is ready 16.960
Then I successfully start the Unsafe Browser in "ru" 14.195
And I kill the Unsafe Browser 5.841
When I enable the screen keyboard 0.130
Then the screen keyboard works in Tor Browser 28.712
And DuckDuckGo is the default search engine 9.563
And I kill the Tor Browser 5.311
And the screen keyboard works in Thunderbird 14.078
And the layout of the screen keyboard is set to "ru" 0.549
After features/support/hooks.rb:326 1.167
After features/support/hooks.rb:100 0.000
Feature: Localization
2:17.203
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.394
When I log in to a new session in Spanish (es) 33.492
Then the keyboard layout is set to "es" 0.248
When the network is plugged 0.065
And Tor is ready 15.033
Then I successfully start the Unsafe Browser in "es" 15.365
And I kill the Unsafe Browser 5.876
When I enable the screen keyboard 0.118
Then the screen keyboard works in Tor Browser 30.151
And DuckDuckGo is the default search engine 10.049
And I kill the Tor Browser 5.295
And the screen keyboard works in Thunderbird 12.546
And the layout of the screen keyboard is set to "us" 0.564
After features/support/hooks.rb:326 2.450
After features/support/hooks.rb:100 0.000
Feature: Localization
2:15.102
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.167
When I log in to a new session in Turkish (tr) 33.031
Then the keyboard layout is set to "tr" 0.125
When the network is plugged 0.083
And Tor is ready 15.773
Then I successfully start the Unsafe Browser in "tr" 15.873
And I kill the Unsafe Browser 5.825
When I enable the screen keyboard 0.133
Then the screen keyboard works in Tor Browser 28.307
And DuckDuckGo is the default search engine 9.282
And I kill the Tor Browser 5.281
And the screen keyboard works in Thunderbird 12.665
And the layout of the screen keyboard is set to "us" 0.549
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.000