Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 3 15 Dec 2024, 18:16

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 79 0 0 0 0 79 5 0 5 25:45.113 Passed
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:58.153
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 57.145
And I update APT using apt 13.255
And I install "popularity-contest" using apt 22.496
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.066
When I create a persistent storage and activate the Additional Software feature 18.110
Then Additional Software is correctly configured for package "popularity-contest" 1.448
When I shutdown Tails and wait for the computer to power off 10.263
And I start Tails from USB drive "__internal" with network unplugged 59.860
And I enable persistence 20.893
And I log in to a new session 42.868
And the Additional Software installation service has started 40.974
Then I am notified that the installation succeeded 1.625
And Additional Software is correctly configured for package "popularity-contest" 0.821
And the package "popularity-contest" is installed after Additional Software has been started 0.322
After features/support/hooks.rb:515 14.388
After features/support/hooks.rb:326 1.177
After features/support/hooks.rb:100 0.013
2:30.113
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.254
And I start Tails from USB drive "__internal" and I login with an administration password 1:45.546
And I update APT using apt 13.773
When I install "makepp" using apt 25.992
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.450
And the package "makepp" is installed 0.094
After features/support/hooks.rb:515 15.917
After features/support/hooks.rb:326 1.049
After features/support/hooks.rb:100 0.013
5:23.056
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.221
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:30.472
When I uninstall "popularity-contest" using apt 25.056
And I accept removing "popularity-contest" from Additional Software 0.684
Then "popularity-contest" is not in the list of Additional Software 0.878
When I start Synaptic 24.217
And I update APT using Synaptic 22.252
And I install "cowsay" using Synaptic 11.019
And I accept adding "cowsay" to Additional Software 1.466
Then Additional Software is correctly configured for package "cowsay" 0.913
When I uninstall "cowsay" using apt 3.258
And I refuse removing "cowsay" from Additional Software 0.567
Then Additional Software is correctly configured for package "cowsay" 0.869
When I start "Additional Software" via GNOME Activities Overview 10.668
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.914
Then "cowsay" is not in the list of Additional Software 0.989
When I install "cowsay" using apt 3.221
And I refuse adding "cowsay" to Additional Software 0.625
Then "cowsay" is not in the list of Additional Software 0.759
After features/support/hooks.rb:515 0.623
After features/support/hooks.rb:326 0.842
After features/support/hooks.rb:100 0.008
10:33.539
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.005
Given a computer 0.205
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:57.525
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 27.746
And I accept adding "cowsay" to Additional Software 4.361
And Additional Software is correctly configured for package "cowsay" 1.797
And I shutdown Tails and wait for the computer to power off 6.523
And I start Tails from USB drive "__internal" with network unplugged 1:1.957
And I enable persistence 12.463
# 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.031
# 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.093
And I log in to a new session 41.220
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.719
And I revert the APT tweaks that made it prefer an old version of cowsay 0.065
# 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.087
And the network is plugged 0.072
And Tor is ready 21.263
And available upgrades have been checked 0.103
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.860
And I can open the Additional Software configuration window from the notification 3.482
And I shutdown Tails and wait for the computer to power off 13.258
And I start Tails from USB drive "__internal" with network unplugged 1:0.812
And I enable persistence 13.896
# 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.024
And I log in to a new session 43.556
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.510
And I revert the APT tweaks that made it prefer an old version of cowsay 0.078
And the network is plugged 0.165
And Tor is ready 53.316
Then the Additional Software upgrade service has started 0.193
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.116
After features/support/hooks.rb:515 1.473
After features/support/hooks.rb:326 0.775
After features/support/hooks.rb:100 0.028
2:20.251
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.245
And I start Tails from USB drive "__internal" with network unplugged 1:2.912
And I enable persistence 13.991
And I remove the "cowsay" deb files from the APT cache 0.104
# 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.087
And I log in to a new session 45.315
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.533
And I can open the Additional Software log file from the notification 5.352
And the package "cowsay" is not installed 0.708
After features/support/hooks.rb:515 0.158
After features/support/hooks.rb:326 1.137
After features/support/hooks.rb:100 0.009