Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 31 19 Nov 2024, 18:37

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 26:35.751 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
5:6.982
Before features/support/hooks.rb:269 0.005
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 1:1.350
And I update APT using apt 12.174
And I install "popularity-contest" using apt 25.652
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.992
When I create a persistent storage and activate the Additional Software feature 22.386
Then Additional Software is correctly configured for package "popularity-contest" 1.610
When I shutdown Tails and wait for the computer to power off 12.926
And I start Tails from USB drive "__internal" with network unplugged 1:1.430
And I enable persistence 20.090
And I log in to a new session 47.267
And the Additional Software installation service has started 33.155
Then I am notified that the installation succeeded 1.862
And Additional Software is correctly configured for package "popularity-contest" 0.825
And the package "popularity-contest" is installed after Additional Software has been started 0.257
After features/support/hooks.rb:515 14.111
After features/support/hooks.rb:326 1.299
After features/support/hooks.rb:100 0.012
2:30.158
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.193
And I start Tails from USB drive "__internal" and I login with an administration password 1:47.768
And I update APT using apt 11.928
When I install "makepp" using apt 25.786
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.371
And the package "makepp" is installed 0.109
After features/support/hooks.rb:515 14.850
After features/support/hooks.rb:326 0.917
After features/support/hooks.rb:100 0.017
5:1.244
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.007
Given a computer 0.274
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.862
When I uninstall "popularity-contest" using apt 18.752
And I accept removing "popularity-contest" from Additional Software 0.692
Then "popularity-contest" is not in the list of Additional Software 0.824
When I start Synaptic 24.421
And I update APT using Synaptic 22.222
And I install "cowsay" using Synaptic 11.696
And I accept adding "cowsay" to Additional Software 1.231
Then Additional Software is correctly configured for package "cowsay" 0.892
When I uninstall "cowsay" using apt 3.249
And I refuse removing "cowsay" from Additional Software 0.573
Then Additional Software is correctly configured for package "cowsay" 0.872
When I start "Additional Software" via GNOME Activities Overview 10.640
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.604
Then "cowsay" is not in the list of Additional Software 0.876
When I install "cowsay" using apt 3.248
And I refuse adding "cowsay" to Additional Software 0.615
Then "cowsay" is not in the list of Additional Software 0.693
After features/support/hooks.rb:515 0.697
After features/support/hooks.rb:326 0.827
After features/support/hooks.rb:100 0.011
11:39.295
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.196
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:24.211
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 29.853
And I accept adding "cowsay" to Additional Software 5.114
And Additional Software is correctly configured for package "cowsay" 0.974
And I shutdown Tails and wait for the computer to power off 6.200
And I start Tails from USB drive "__internal" with network unplugged 1:2.032
And I enable persistence 14.192
# 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.038
# 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.147
And I log in to a new session 38.054
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.813
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
# 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.089
And Tor is ready 20.208
And available upgrades have been checked 0.133
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 6.183
And I can open the Additional Software configuration window from the notification 3.412
And I shutdown Tails and wait for the computer to power off 2:3.150
And I start Tails from USB drive "__internal" with network unplugged 1:3.452
And I enable persistence 14.082
# 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
And I log in to a new session 40.986
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.526
And I revert the APT tweaks that made it prefer an old version of cowsay 0.076
And the network is plugged 0.084
And Tor is ready 51.609
Then the Additional Software upgrade service has started 0.196
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.091
After features/support/hooks.rb:515 1.738
After features/support/hooks.rb:326 0.942
After features/support/hooks.rb:100 0.028
2:18.071
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.224
And I start Tails from USB drive "__internal" with network unplugged 1:2.953
And I enable persistence 12.825
And I remove the "cowsay" deb files from the APT cache 0.055
# 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.089
And I log in to a new session 39.368
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 15.794
And I can open the Additional Software log file from the notification 6.057
And the package "cowsay" is not installed 0.701
After features/support/hooks.rb:515 0.144
After features/support/hooks.rb:326 1.172
After features/support/hooks.rb:100 0.010