Project Number Date
test_Tails_ISO_stable 4970 24 Jul 2024, 12:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 73 1 5 0 0 79 4 1 5 23:10.243 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
3:28.178
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.366
And I update APT using apt 17.177
And I install "popularity-contest" using apt 22.814
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.409
When I create a persistent storage and activate the Additional Software feature 19.157
Then Additional Software is correctly configured for package "popularity-contest" 1.282
When I shutdown Tails and wait for the computer to power off 12.972
And I start Tails from USB drive "__internal" with network unplugged 58.856
And I enable persistence 10.141
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/support/helpers/dogtail.rb:353:in `grabFocus'
./features/step_definitions/usb.rb:669:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:680: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.030
After features/support/hooks.rb:326 5.159

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:02: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_stable/4970/artifact/build-artifacts/01:02:41_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_stable/4970/artifact/build-artifacts/01:02:41_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_stable/4970/artifact/build-artifacts/01:02:41_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_stable/4970/artifact/build-artifacts/01:02:41_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_stable/4970/artifact/build-artifacts/01:02:41_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_stable/4970/artifact/build-artifacts/01:02:41_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_stable/4970/artifact/build-artifacts/01:02:41_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_stable/4970/artifact/build-artifacts/01:02:41_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.010
2:55.017
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Given a computer 0.170
And I start Tails from USB drive "__internal" and I login with an administration password 2:8.261
And I update APT using apt 16.277
When I install "makepp" using apt 25.782
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.460
And the package "makepp" is installed 0.065
After features/support/hooks.rb:515 39.171
After features/support/hooks.rb:326 1.127
After features/support/hooks.rb:100 0.014
5:6.507
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.203
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:15.212
When I uninstall "popularity-contest" using apt 22.103
And I accept removing "popularity-contest" from Additional Software 0.606
Then "popularity-contest" is not in the list of Additional Software 0.748
When I start Synaptic 24.475
And I update APT using Synaptic 22.549
And I install "cowsay" using Synaptic 8.545
And I accept adding "cowsay" to Additional Software 4.557
Then Additional Software is correctly configured for package "cowsay" 0.883
When I uninstall "cowsay" using apt 3.251
And I refuse removing "cowsay" from Additional Software 0.569
Then Additional Software is correctly configured for package "cowsay" 0.740
When I start "Additional Software" via GNOME Activities Overview 10.578
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.991
Then "cowsay" is not in the list of Additional Software 0.985
When I install "cowsay" using apt 3.200
And I refuse adding "cowsay" to Additional Software 0.593
Then "cowsay" is not in the list of Additional Software 0.710
After features/support/hooks.rb:515 1.065
After features/support/hooks.rb:326 0.717
After features/support/hooks.rb:100 0.008
9:30.350
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.184
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:15.665
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.696
And I accept adding "cowsay" to Additional Software 8.040
And Additional Software is correctly configured for package "cowsay" 1.170
And I shutdown Tails and wait for the computer to power off 6.348
And I start Tails from USB drive "__internal" with network unplugged 58.617
And I enable persistence 11.941
# 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.026
And I log in to a new session 37.858
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.561
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
# 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.066
And the network is plugged 0.035
And Tor is ready 20.630
# 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 9.684
And available upgrades have been checked 0.061
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.115
And I can open the Additional Software configuration window from the notification 2.939
And I shutdown Tails and wait for the computer to power off 8.479
And I start Tails from USB drive "__internal" with network unplugged 1:5.945
And I enable persistence 12.644
# 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.025
And I log in to a new session 44.903
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.352
And I revert the APT tweaks that made it prefer an old version of cowsay 0.060
And the network is plugged 0.038
And Tor is ready 53.916
Then the Additional Software upgrade service has started 0.159
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.098
After features/support/hooks.rb:515 2.184
After features/support/hooks.rb:326 0.841
After features/support/hooks.rb:100 0.037
2:10.188
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.185
And I start Tails from USB drive "__internal" with network unplugged 58.603
And I enable persistence 13.790
And I remove the "cowsay" deb files from the APT cache 0.757
# 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.081
And I log in to a new session 36.200
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.815
And I can open the Additional Software log file from the notification 6.186
And the package "cowsay" is not installed 0.568
After features/support/hooks.rb:515 0.095
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.009