Project Number Date
test_Tails_ISO_20619-wait-for-persistent-storage-check 2 23 Oct 2024, 12:34

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 55 2 22 0 0 79 3 2 5 17:57.946 Failed
Feature Additional software
As a Tails user I may want to install softwares not shipped in Tails And have them installed automatically when I enable persistence in the Greeter
5:12.775
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.007
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:23.829
And I update APT using apt 11.738
And I install "popularity-contest" using apt 22.352
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.605
When I create a persistent storage and activate the Additional Software feature 18.271
Then Additional Software is correctly configured for package "popularity-contest" 1.224
When I shutdown Tails and wait for the computer to power off 13.272
And I start Tails from USB drive "__internal" with network unplugged 57.783
And I enable persistence 23.431
And I log in to a new session 39.159
And the Additional Software installation service has started 31.423
Then I am notified that the installation succeeded 1.622
And Additional Software is correctly configured for package "popularity-contest" 0.818
And the package "popularity-contest" is installed after Additional Software has been started 0.240
After features/support/hooks.rb:515 13.590
After features/support/hooks.rb:326 1.408
After features/support/hooks.rb:100 0.012
2:20.294
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.180
And I start Tails from USB drive "__internal" and I login with an administration password 1:38.291
And I update APT using apt 12.466
When I install "makepp" using apt 22.961
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.316
And the package "makepp" is installed 0.077
After features/support/hooks.rb:515 13.292
After features/support/hooks.rb:326 0.791
After features/support/hooks.rb:100 0.012
4:46.304
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.186
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:9.270
When I uninstall "popularity-contest" using apt 15.593
And I accept removing "popularity-contest" from Additional Software 0.555
Then "popularity-contest" is not in the list of Additional Software 0.673
When I start Synaptic 22.904
And I update APT using Synaptic 21.847
And I install "cowsay" using Synaptic 8.619
And I accept adding "cowsay" to Additional Software 1.012
Then Additional Software is correctly configured for package "cowsay" 0.738
When I uninstall "cowsay" using apt 3.246
And I refuse removing "cowsay" from Additional Software 0.588
Then Additional Software is correctly configured for package "cowsay" 0.756
When I start "Additional Software" via GNOME Activities Overview 10.494
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.316
Then "cowsay" is not in the list of Additional Software 1.024
When I install "cowsay" using apt 3.216
And I refuse adding "cowsay" to Additional Software 0.571
Then "cowsay" is not in the list of Additional Software 0.687
After features/support/hooks.rb:515 0.618
After features/support/hooks.rb:326 0.684
After features/support/hooks.rb:100 0.009
4:14.724
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.005
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.182
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:12.753
And I configure APT to prefer an old version of cowsay 0.026
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.636
And I accept adding "cowsay" to Additional Software 5.405
And Additional Software is correctly configured for package "cowsay" 0.836
And I shutdown Tails and wait for the computer to power off 6.427
And I start Tails from USB drive "__internal" with network unplugged 57.062
And I enable persistence 11.062
# 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.028
# 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.080
And I log in to a new session 15.222
can
can not find any of the patterns ["TailsGreeterLoginButton.png", "TailsGreeterLoginButtonGerman.png"] on the screen (FindFailed)
./features/support/helpers/screen.rb:240:in `rescue in wait_any'
./features/support/helpers/screen.rb:224:in `wait_any'
./features/step_definitions/common_steps.rb:490:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/additional_software_packages.feature:93:in `And I log in to a new session'
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
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.036
After features/support/hooks.rb:326 5.440

SCENARIO FAILED: 'Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online' (at time 01:21: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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:21:48_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.018
1:23.847
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.006
Steps
Given a computer 0.175
And I start Tails from USB drive "__internal" with network unplugged 57.959
And I enable persistence 10.331
And I remove the "cowsay" deb files from the APT cache 0.048
# 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.075
And I log in to a new session 15.257
can
can not find any of the patterns ["TailsGreeterLoginButton.png", "TailsGreeterLoginButtonGerman.png"] on the screen (FindFailed)
./features/support/helpers/screen.rb:240:in `rescue in wait_any'
./features/support/helpers/screen.rb:224:in `wait_any'
./features/step_definitions/common_steps.rb:490:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
features/additional_software_packages.feature:128:in `And I log in to a new session'
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.029
After features/support/hooks.rb:326 6.487

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

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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_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_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_I_am_notified_when_Additional_Software_fails_to_install_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20619-wait-for-persistent-storage-check/2/artifact/build-artifacts/01:23:17_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.009