Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 3 24 Jul 2024, 19:22

Tag Report

Steps Scenarios Features
Tag Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
@slow 207 6 62 0 0 275 16 6 22 56:16.422 Failed
22.297
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails from DVD without network and logged in 8.485
And I prepare Tails for memory erasure tests 0.693
When I start a process allocating 128 MiB of memory with a known pattern 2.319
Then patterns cover at least 128 MiB in the guest's memory 5.572

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

When I kill the allocating process 0.313
Then I find very few patterns in the guest's memory 4.912
1.588% of the free memory still has the pattern, but less than 0.800% was expected.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/erase_memory.rb:219:in `/^I find very few patterns in the guest's memory$/'
features/erase_memory.feature:19:in `Then I find very few patterns in the guest's memory'
Output 1

Pattern coverage: 1.588% (14 MiB out of 890 MiB reference memory)

After features/support/hooks.rb:326 5.407

SCENARIO FAILED: 'Erasure of memory freed by killed userspace processes' (at time 00:29:14)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/3/artifact/build-artifacts/00:29:14_Erasure_of_memory_freed_by_killed_userspace_processes.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/3/artifact/build-artifacts/00:29:14_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/3/artifact/build-artifacts/00:29:14_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/3/artifact/build-artifacts/00:29:14_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:100 0.000
27.590
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 8.476
And I prepare Tails for memory erasure tests 0.639
And I find very few patterns in the guest's memory 5.264

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

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

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

When I umount "/mnt" 0.767
Then I find very few patterns in the guest's memory 5.940

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

After features/support/hooks.rb:326 0.877
After features/support/hooks.rb:100 0.000
53.973
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.632
And I prepare Tails for memory erasure tests 0.601
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.384
Then I find very few patterns in the guest's memory 4.852

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

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

Pattern coverage: 88.287% (112 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.472
Then I find very few patterns in the guest's memory 5.012

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

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

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

When I umount the USB drive 0.626
Then I find very few patterns in the guest's memory 4.400

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

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

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

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

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 3.946

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

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

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

When I umount the USB drive 1.067
Then I find very few patterns in the guest's memory 3.865

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

After features/support/hooks.rb:326 1.989
After features/support/hooks.rb:100 0.000
1:6.306
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 22.172
And I prepare Tails for memory erasure tests 0.540
When I fill a 128 MiB file with a known pattern on the root filesystem 16.010
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.094
Then patterns cover at least 128 MiB in the guest's memory 3.523

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.014

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.934

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

After features/support/hooks.rb:326 3.555
After features/support/hooks.rb:100 0.000
7:45.747
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 7:45.747
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Unlock Encryption" roleName='push button'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:335:in `initialize'
./features/support/helpers/dogtail.rb:264:in `new'
./features/support/helpers/dogtail.rb:264:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:272:in `child'
./features/step_definitions/usb.rb:685: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/usb.rb:684:in `block in <top (required)>'
./features/step_definitions/usb.rb:708:in `block in <top (required)>'
./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 `block (2 levels) 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/usb.rb:684:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:708: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:76: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
And I wait 20 seconds 0.000
Then I find very few patterns in the guest's memory 0.000
After features/support/hooks.rb:326 6.285

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/3/artifact/build-artifacts/00:41:03_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/3/artifact/build-artifacts/00:41:03_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/3/artifact/build-artifacts/00:41:03_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/3/artifact/build-artifacts/00:41:03_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:100 0.014
5:30.793
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.004
Before features/support/hooks.rb:507 0.004
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 59.878
And I update APT using apt 19.587
And I install "popularity-contest" using apt 25.745
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.693
When I create a persistent storage and activate the Additional Software feature 20.874
Then Additional Software is correctly configured for package "popularity-contest" 1.410
When I shutdown Tails and wait for the computer to power off 13.173
And I start Tails from USB drive "__internal" with network unplugged 1:1.065
And I enable persistence 2:0.365
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Unlock Encryption" roleName='push button'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:335:in `initialize'
./features/support/helpers/dogtail.rb:264:in `new'
./features/support/helpers/dogtail.rb:264:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:272:in `child'
./features/step_definitions/usb.rb:685: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/usb.rb:684:in `block in <top (required)>'
./features/step_definitions/usb.rb:708: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/usb.rb:684:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:708: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.035
After features/support/hooks.rb:326 6.407

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:07:11)

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/3/artifact/build-artifacts/01:07:11_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/3/artifact/build-artifacts/01:07:11_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/3/artifact/build-artifacts/01:07:11_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/3/artifact/build-artifacts/01:07:11_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/3/artifact/build-artifacts/01:07:11_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/3/artifact/build-artifacts/01:07:11_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/3/artifact/build-artifacts/01:07:11_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/3/artifact/build-artifacts/01:07:11_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.011
2:30.135
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given a computer 0.202
And I start Tails from USB drive "__internal" and I login with an administration password 1:42.456
And I update APT using apt 17.381
When I install "makepp" using apt 25.623
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.379
And the package "makepp" is installed 0.092
After features/support/hooks.rb:515 43.680
After features/support/hooks.rb:326 1.112
After features/support/hooks.rb:100 0.019
3:0.585
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.007
Before features/support/hooks.rb:507 0.008
Steps
Given a computer 0.216
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:0.369
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Unlock Encryption" roleName='push button'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:335:in `initialize'
./features/support/helpers/dogtail.rb:264:in `new'
./features/support/helpers/dogtail.rb:264:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:272:in `child'
./features/step_definitions/usb.rb:685: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/usb.rb:684:in `block in <top (required)>'
./features/step_definitions/usb.rb:708:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:285: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/usb.rb:684:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:708:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:285: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.036
After features/support/hooks.rb:326 6.491

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:13:34)

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/3/artifact/build-artifacts/01:13:34_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/3/artifact/build-artifacts/01:13:34_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/3/artifact/build-artifacts/01:13:34_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/3/artifact/build-artifacts/01:13:34_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/3/artifact/build-artifacts/01:13:34_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/3/artifact/build-artifacts/01:13:34_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/3/artifact/build-artifacts/01:13:34_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/3/artifact/build-artifacts/01:13:34_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.011
3:10.934
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.006
Before features/support/hooks.rb:507 0.008
Steps
Given a computer 0.445
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:10.488
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Unlock Encryption" roleName='push button'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:335:in `initialize'
./features/support/helpers/dogtail.rb:264:in `new'
./features/support/helpers/dogtail.rb:264:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:272:in `child'
./features/step_definitions/usb.rb:685: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/usb.rb:684:in `block in <top (required)>'
./features/step_definitions/usb.rb:708:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:285: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/usb.rb:684:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:708:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/common_steps.rb:285: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.033
After features/support/hooks.rb:326 5.933

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

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/3/artifact/build-artifacts/01:16:51_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/3/artifact/build-artifacts/01:16:51_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/3/artifact/build-artifacts/01:16:51_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/3/artifact/build-artifacts/01:16:51_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/3/artifact/build-artifacts/01:16:51_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/3/artifact/build-artifacts/01:16:51_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/3/artifact/build-artifacts/01:16:51_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/3/artifact/build-artifacts/01:16:51_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.011
3:3.063
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Steps
Given a computer 0.195
And I start Tails from USB drive "__internal" with network unplugged 1:2.470
And I enable persistence 2:0.397
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Unlock Encryption" roleName='push button'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:335:in `initialize'
./features/support/helpers/dogtail.rb:264:in `new'
./features/support/helpers/dogtail.rb:264:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:272:in `child'
./features/step_definitions/usb.rb:685: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/usb.rb:684:in `block in <top (required)>'
./features/step_definitions/usb.rb:708: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/usb.rb:684:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:708: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.038
After features/support/hooks.rb:326 6.153

SCENARIO FAILED: 'I am notified when Additional Software fails to install a package' (at time 01:20: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/3/artifact/build-artifacts/01:20: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/3/artifact/build-artifacts/01:20: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/3/artifact/build-artifacts/01:20: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/3/artifact/build-artifacts/01:20: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/3/artifact/build-artifacts/01:20: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/3/artifact/build-artifacts/01:20: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/3/artifact/build-artifacts/01:20: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/3/artifact/build-artifacts/01:20:00_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.010
Feature: Localization
2:26.209
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.477
When I log in to a new session in Arabic (ar) 35.651
Then the keyboard layout is set to "us" 0.214
When the network is plugged 0.050
And Tor is ready 16.777
Then I successfully start the Unsafe Browser in "ar" 15.314
And I kill the Unsafe Browser 5.922
When I enable the screen keyboard 0.102
Then the screen keyboard works in Tor Browser 32.570
And DuckDuckGo is the default search engine 10.275
And I kill the Tor Browser 5.684
And the screen keyboard works in Thunderbird 14.547
And the layout of the screen keyboard is set to "us" 0.621
After features/support/hooks.rb:326 2.927
After features/support/hooks.rb:100 0.000
Feature: Localization
2:33.645
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.804
When I log in to a new session in Chinese (zh_CN) 33.964
Then the keyboard layout is set to "cn" 0.290
When the network is plugged 0.038
And Tor is ready 23.512
Then I successfully start the Unsafe Browser in "zh_CN" 16.713
And I kill the Unsafe Browser 5.771
When I enable the screen keyboard 0.106
Then the screen keyboard works in Tor Browser 29.855
And DuckDuckGo is the default search engine 10.673
And I kill the Tor Browser 5.727
And the screen keyboard works in Thunderbird 17.562
And the layout of the screen keyboard is set to "us" 0.624
After features/support/hooks.rb:326 1.272
After features/support/hooks.rb:100 0.000
Feature: Localization
2:12.016
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 9.222
When I log in to a new session in English (en) 25.650
Then the keyboard layout is set to "us" 0.193
When the network is plugged 0.097
And Tor is ready 17.524
Then I successfully start the Unsafe Browser in "en" 17.067
And I kill the Unsafe Browser 5.603
When I enable the screen keyboard 0.113
Then the screen keyboard works in Tor Browser 31.618
And DuckDuckGo is the default search engine 5.578
And I kill the Tor Browser 5.308
And the screen keyboard works in Thunderbird 13.441
And the layout of the screen keyboard is set to "us" 0.596
After features/support/hooks.rb:326 1.519
After features/support/hooks.rb:100 0.000
Feature: Localization
2:22.603
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 9.141
When I log in to a new session in French (fr) 33.532
Then the keyboard layout is set to "fr" 0.151
When the network is plugged 0.042
And Tor is ready 17.841
Then I successfully start the Unsafe Browser in "fr" 16.554
And I kill the Unsafe Browser 5.857
When I enable the screen keyboard 0.132
Then the screen keyboard works in Tor Browser 31.522
And DuckDuckGo is the default search engine 9.056
And I kill the Tor Browser 5.239
And the screen keyboard works in Thunderbird 12.889
And the layout of the screen keyboard is set to "fr" 0.641
After features/support/hooks.rb:326 1.219
After features/support/hooks.rb:100 0.000
Feature: Localization
2:22.663
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.282
When I log in to a new session in German (de) 34.660
Then the keyboard layout is set to "de" 0.164
When the network is plugged 0.037
And Tor is ready 17.281
Then I successfully start the Unsafe Browser in "de" 16.464
And I kill the Unsafe Browser 5.952
When I enable the screen keyboard 0.116
Then the screen keyboard works in Tor Browser 30.484
And DuckDuckGo is the default search engine 9.361
And I kill the Tor Browser 5.296
And the screen keyboard works in Thunderbird 13.984
And the layout of the screen keyboard is set to "de" 0.576
After features/support/hooks.rb:326 1.690
After features/support/hooks.rb:100 0.000
Feature: Localization
2:23.787
Before features/support/hooks.rb:269 0.005
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 Italian (it) 34.562
Then the keyboard layout is set to "it" 0.207
When the network is plugged 0.037
And Tor is ready 19.716
Then I successfully start the Unsafe Browser in "it" 14.921
And I kill the Unsafe Browser 5.931
When I enable the screen keyboard 0.113
Then the screen keyboard works in Tor Browser 30.056
And DuckDuckGo is the default search engine 10.341
And I kill the Tor Browser 5.636
And the screen keyboard works in Thunderbird 13.467
And the layout of the screen keyboard is set to "us" 0.627
After features/support/hooks.rb:326 1.529
After features/support/hooks.rb:100 0.000
Feature: Localization
2:53.336
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.538
When I log in to a new session in Persian (fa) 37.329
Then the keyboard layout is set to "ir" 0.200
When the network is plugged 0.037
And Tor is ready 45.889
Then I successfully start the Unsafe Browser in "fa" 14.784
And I kill the Unsafe Browser 5.894
When I enable the screen keyboard 0.110
Then the screen keyboard works in Tor Browser 30.898
And DuckDuckGo is the default search engine 10.059
And I kill the Tor Browser 5.315
And the screen keyboard works in Thunderbird 13.695
And the layout of the screen keyboard is set to "ir" 0.582
After features/support/hooks.rb:326 1.572
After features/support/hooks.rb:100 0.000
Feature: Localization
2:24.020
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.445
When I log in to a new session in Portuguese (pt) 37.812
Then the keyboard layout is set to "pt" 0.185
When the network is plugged 0.046
And Tor is ready 16.013
Then I successfully start the Unsafe Browser in "pt" 16.310
And I kill the Unsafe Browser 6.025
When I enable the screen keyboard 0.138
Then the screen keyboard works in Tor Browser 29.431
And DuckDuckGo is the default search engine 9.153
And I kill the Tor Browser 5.250
And the screen keyboard works in Thunderbird 14.634
And the layout of the screen keyboard is set to "us" 0.573
After features/support/hooks.rb:326 1.205
After features/support/hooks.rb:100 0.000
Feature: Localization
2:25.723
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.199
When I log in to a new session in Russian (ru) 36.402
Then the keyboard layout is set to "ru" 0.366
When the network is plugged 0.051
And Tor is ready 18.435
Then I successfully start the Unsafe Browser in "ru" 16.141
And I kill the Unsafe Browser 5.817
When I enable the screen keyboard 0.091
Then the screen keyboard works in Tor Browser 30.719
And DuckDuckGo is the default search engine 9.882
And I kill the Tor Browser 5.341
And the screen keyboard works in Thunderbird 13.695
And the layout of the screen keyboard is set to "ru" 0.578
After features/support/hooks.rb:326 1.435
After features/support/hooks.rb:100 0.000
Feature: Localization
2:28.426
Before features/support/hooks.rb:269 0.008
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.779
When I log in to a new session in Spanish (es) 38.163
Then the keyboard layout is set to "es" 0.216
When the network is plugged 0.045
And Tor is ready 18.947
Then I successfully start the Unsafe Browser in "es" 15.786
And I kill the Unsafe Browser 5.830
When I enable the screen keyboard 0.130
Then the screen keyboard works in Tor Browser 28.990
And DuckDuckGo is the default search engine 10.510
And I kill the Tor Browser 5.745
And the screen keyboard works in Thunderbird 14.670
And the layout of the screen keyboard is set to "us" 0.611
After features/support/hooks.rb:326 1.753
After features/support/hooks.rb:100 0.000
Feature: Localization
2:30.829
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen 8.580
When I log in to a new session in Turkish (tr) 34.866
Then the keyboard layout is set to "tr" 0.241
When the network is plugged 0.052
And Tor is ready 22.534
Then I successfully start the Unsafe Browser in "tr" 17.422
And I kill the Unsafe Browser 5.923
When I enable the screen keyboard 0.097
Then the screen keyboard works in Tor Browser 31.167
And DuckDuckGo is the default search engine 10.471
And I kill the Tor Browser 5.691
And the screen keyboard works in Thunderbird 13.223
And the layout of the screen keyboard is set to "us" 0.558
After features/support/hooks.rb:326 1.503
After features/support/hooks.rb:100 0.000