Project Number Date
test_Tails_ISO_devel 3570 31 Oct 2024, 13:10

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 79 1 4 0 0 84 5 1 6 30:28.253 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
4:1.500
Scenario I am warned I can not use Additional Software when I start Tails from a DVD and install a package
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.002
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 4:1.500
cannot find GnomeApplicationsMenu.png on the screen (FindFailed)
./features/support/helpers/screen.rb:173:in `rescue in wait'
./features/support/helpers/screen.rb:157:in `wait'
./features/step_definitions/common_steps.rb:559:in `/^the Tails desktop is ready$/'
./features/step_definitions/common_steps.rb:515: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/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:137:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ and\ logged\ in\ with\ an\ administration\ password\ and\ the\ network\ is\ connected$/'
features/additional_software_packages.feature:15:in `Given I have started Tails from DVD and logged in with an administration password and the network is connected'
And I update APT using apt 0.000
When I install "popularity-contest" using apt 0.000
Then I am notified I can not use Additional Software for "popularity-contest" 0.000
And I can open the Additional Software documentation from the notification 0.000
After features/support/hooks.rb:515 0.029
After features/support/hooks.rb:326 5.886

SCENARIO FAILED: 'I am warned I can not use Additional Software when I start Tails from a DVD and install a package' (at time 01:15: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_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_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_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_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_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_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_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3570/artifact/build-artifacts/01:15:00_I_am_warned_I_can_not_use_Additional_Software_when_I_start_Tails_from_a_DVD_and_install_a_package.journal

After features/support/hooks.rb:100 0.000
5:57.787
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:7.029
And I update APT using apt 12.852
And I install "popularity-contest" using apt 25.633
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.337
When I create a persistent storage and activate the Additional Software feature 18.438
Then Additional Software is correctly configured for package "popularity-contest" 1.127
When I shutdown Tails and wait for the computer to power off 14.361
And I start Tails from USB drive "__internal" with network unplugged 1:8.778
And I enable persistence 36.150
And I log in to a new session 59.841
And the Additional Software installation service has started 42.173
Then I am notified that the installation succeeded 1.918
And Additional Software is correctly configured for package "popularity-contest" 0.830
And the package "popularity-contest" is installed after Additional Software has been started 0.311
After features/support/hooks.rb:515 13.856
After features/support/hooks.rb:326 1.720
After features/support/hooks.rb:100 0.011
2:34.759
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.918
And I start Tails from USB drive "__internal" and I login with an administration password 1:51.468
And I update APT using apt 12.151
When I install "makepp" using apt 25.621
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.516
And the package "makepp" is installed 0.082
After features/support/hooks.rb:515 15.747
After features/support/hooks.rb:326 1.087
After features/support/hooks.rb:100 0.016
5:17.713
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 1.241
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:26.252
When I uninstall "popularity-contest" using apt 22.182
And I accept removing "popularity-contest" from Additional Software 0.666
Then "popularity-contest" is not in the list of Additional Software 0.842
When I start Synaptic 24.142
And I update APT using Synaptic 22.532
And I install "cowsay" using Synaptic 9.993
And I accept adding "cowsay" to Additional Software 3.328
Then Additional Software is correctly configured for package "cowsay" 0.871
When I uninstall "cowsay" using apt 3.264
And I refuse removing "cowsay" from Additional Software 0.622
Then Additional Software is correctly configured for package "cowsay" 0.774
When I start "Additional Software" via GNOME Activities Overview 10.602
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.880
Then "cowsay" is not in the list of Additional Software 1.029
When I install "cowsay" using apt 3.194
And I refuse adding "cowsay" to Additional Software 0.601
Then "cowsay" is not in the list of Additional Software 0.688
After features/support/hooks.rb:515 0.596
After features/support/hooks.rb:326 1.195
After features/support/hooks.rb:100 0.009
10:16.691
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.008
Given a computer 0.794
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:32.997
And I configure APT to prefer an old version of cowsay 0.027
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.244
And I accept adding "cowsay" to Additional Software 7.119
And Additional Software is correctly configured for package "cowsay" 0.971
And I shutdown Tails and wait for the computer to power off 6.419
And I start Tails from USB drive "__internal" with network unplugged 1:9.920
And I enable persistence 20.547
# 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.040
# 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.117
And I log in to a new session 36.783
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.770
And I revert the APT tweaks that made it prefer an old version of cowsay 0.053
# 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.069
And the network is plugged 0.087
And Tor is ready 18.637
And available upgrades have been checked 1.122
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 3.240
And I can open the Additional Software configuration window from the notification 2.820
And I shutdown Tails and wait for the computer to power off 19.173
And I start Tails from USB drive "__internal" with network unplugged 1:1.578
And I enable persistence 20.043
# 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.032
And I log in to a new session 38.453
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.986
And I revert the APT tweaks that made it prefer an old version of cowsay 0.064
And the network is plugged 0.084
And Tor is ready 52.137
Then the Additional Software upgrade service has started 0.220
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.129
After features/support/hooks.rb:515 1.385
After features/support/hooks.rb:326 0.776
After features/support/hooks.rb:100 0.058
2:19.802
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.258
And I start Tails from USB drive "__internal" with network unplugged 1:2.981
And I enable persistence 13.676
And I remove the "cowsay" deb files from the APT cache 0.059
# 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.099
And I log in to a new session 42.210
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.213
And I can open the Additional Software log file from the notification 6.605
And the package "cowsay" is not installed 0.697
After features/support/hooks.rb:515 0.129
After features/support/hooks.rb:326 1.891
After features/support/hooks.rb:100 0.008