Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 30 18 Nov 2024, 18:08

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 24:22.593 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:54.575
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 53.995
And I update APT using apt 13.486
And I install "popularity-contest" using apt 22.242
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.177
When I create a persistent storage and activate the Additional Software feature 20.703
Then Additional Software is correctly configured for package "popularity-contest" 1.340
When I shutdown Tails and wait for the computer to power off 14.711
And I start Tails from USB drive "__internal" with network unplugged 1:0.180
And I enable persistence 22.618
And I log in to a new session 43.926
And the Additional Software installation service has started 31.350
Then I am notified that the installation succeeded 1.660
And Additional Software is correctly configured for package "popularity-contest" 0.898
And the package "popularity-contest" is installed after Additional Software has been started 0.284
After features/support/hooks.rb:515 15.277
After features/support/hooks.rb:326 1.619
After features/support/hooks.rb:100 0.011
2:21.030
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.381
And I start Tails from USB drive "__internal" and I login with an administration password 1:38.584
And I update APT using apt 12.519
When I install "makepp" using apt 23.003
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.465
And the package "makepp" is installed 0.074
After features/support/hooks.rb:515 14.432
After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.012
5:5.636
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.201
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:19.154
When I uninstall "popularity-contest" using apt 21.852
And I accept removing "popularity-contest" from Additional Software 0.620
Then "popularity-contest" is not in the list of Additional Software 0.774
When I start Synaptic 22.193
And I update APT using Synaptic 21.836
And I install "cowsay" using Synaptic 9.184
And I accept adding "cowsay" to Additional Software 2.104
Then Additional Software is correctly configured for package "cowsay" 0.826
When I uninstall "cowsay" using apt 3.258
And I refuse removing "cowsay" from Additional Software 0.589
Then Additional Software is correctly configured for package "cowsay" 0.800
When I start "Additional Software" via GNOME Activities Overview 10.487
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.897
Then "cowsay" is not in the list of Additional Software 1.127
When I install "cowsay" using apt 3.223
And I refuse adding "cowsay" to Additional Software 0.668
Then "cowsay" is not in the list of Additional Software 0.835
After features/support/hooks.rb:515 0.717
After features/support/hooks.rb:326 0.856
After features/support/hooks.rb:100 0.013
9:40.663
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.008
Given a computer 0.205
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:22.172
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.815
And I accept adding "cowsay" to Additional Software 6.644
And Additional Software is correctly configured for package "cowsay" 0.914
And I shutdown Tails and wait for the computer to power off 6.553
And I start Tails from USB drive "__internal" with network unplugged 58.590
And I enable persistence 13.925
# 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.027
# 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.082
And I log in to a new session 38.035
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.633
And I revert the APT tweaks that made it prefer an old version of cowsay 0.054
# 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.067
And the network is plugged 0.069
And Tor is ready 19.441
And available upgrades have been checked 1.121
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.861
And I can open the Additional Software configuration window from the notification 3.230
And I shutdown Tails and wait for the computer to power off 19.468
And I start Tails from USB drive "__internal" with network unplugged 58.629
And I enable persistence 13.428
# 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.029
And I log in to a new session 44.896
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.591
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
And the network is plugged 0.071
And Tor is ready 48.757
Then the Additional Software upgrade service has started 0.165
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.083
After features/support/hooks.rb:515 1.289
After features/support/hooks.rb:326 0.944
After features/support/hooks.rb:100 0.024
2:20.687
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.207
And I start Tails from USB drive "__internal" with network unplugged 1:3.103
And I enable persistence 13.488
And I remove the "cowsay" deb files from the APT cache 0.067
# 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.078
And I log in to a new session 44.913
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.671
And I can open the Additional Software log file from the notification 5.240
And the package "cowsay" is not installed 0.915
After features/support/hooks.rb:515 0.136
After features/support/hooks.rb:326 1.119
After features/support/hooks.rb:100 0.012