Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 12 31 Oct 2024, 19:34

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:58.599 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:17.848
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.012
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:0.005
And I update APT using apt 13.531
And I install "popularity-contest" using apt 26.101
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.253
When I create a persistent storage and activate the Additional Software feature 21.583
Then Additional Software is correctly configured for package "popularity-contest" 1.415
When I shutdown Tails and wait for the computer to power off 15.254
And I start Tails from USB drive "__internal" with network unplugged 1:1.828
And I enable persistence 23.364
And I log in to a new session 43.389
And the Additional Software installation service has started 41.829
Then I am notified that the installation succeeded 1.909
And Additional Software is correctly configured for package "popularity-contest" 1.058
And the package "popularity-contest" is installed after Additional Software has been started 0.323
After features/support/hooks.rb:515 16.567
After features/support/hooks.rb:326 1.343
After features/support/hooks.rb:100 0.012
2:45.045
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.008
Given a computer 0.272
And I start Tails from USB drive "__internal" and I login with an administration password 1:58.613
And I update APT using apt 13.688
When I install "makepp" using apt 25.445
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.941
And the package "makepp" is installed 0.082
After features/support/hooks.rb:515 17.141
After features/support/hooks.rb:326 1.061
After features/support/hooks.rb:100 0.014
5:7.143
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.297
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:21.567
When I uninstall "popularity-contest" using apt 19.010
And I accept removing "popularity-contest" from Additional Software 0.663
Then "popularity-contest" is not in the list of Additional Software 0.749
When I start Synaptic 23.639
And I update APT using Synaptic 22.172
And I install "cowsay" using Synaptic 9.876
And I accept adding "cowsay" to Additional Software 2.123
Then Additional Software is correctly configured for package "cowsay" 1.038
When I uninstall "cowsay" using apt 3.302
And I refuse removing "cowsay" from Additional Software 0.695
Then Additional Software is correctly configured for package "cowsay" 0.975
When I start "Additional Software" via GNOME Activities Overview 10.786
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.726
Then "cowsay" is not in the list of Additional Software 0.980
When I install "cowsay" using apt 3.210
And I refuse adding "cowsay" to Additional Software 0.590
Then "cowsay" is not in the list of Additional Software 0.737
After features/support/hooks.rb:515 0.634
After features/support/hooks.rb:326 1.048
After features/support/hooks.rb:100 0.009
10:27.602
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 1.700
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:38.669
And I configure APT to prefer an old version of cowsay 0.032
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.122
And I accept adding "cowsay" to Additional Software 5.695
And Additional Software is correctly configured for package "cowsay" 0.966
And I shutdown Tails and wait for the computer to power off 6.764
And I start Tails from USB drive "__internal" with network unplugged 1:2.963
And I enable persistence 13.356
# 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
# 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.096
And I log in to a new session 42.977
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.461
And I revert the APT tweaks that made it prefer an old version of cowsay 0.084
# 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.088
And the network is plugged 0.093
And Tor is ready 19.576
And available upgrades have been checked 0.123
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 6.853
And I can open the Additional Software configuration window from the notification 4.072
And I shutdown Tails and wait for the computer to power off 18.827
And I start Tails from USB drive "__internal" with network unplugged 1:6.271
And I enable persistence 16.194
# 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.039
And I log in to a new session 45.174
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.672
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
And the network is plugged 0.153
And Tor is ready 53.194
Then the Additional Software upgrade service has started 0.191
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.091
After features/support/hooks.rb:515 1.338
After features/support/hooks.rb:326 0.992
After features/support/hooks.rb:100 0.024
2:20.961
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.293
And I start Tails from USB drive "__internal" with network unplugged 1:0.798
And I enable persistence 14.627
And I remove the "cowsay" deb files from the APT cache 0.102
# 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 43.086
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.451
And I can open the Additional Software log file from the notification 6.778
And the package "cowsay" is not installed 0.740
After features/support/hooks.rb:515 0.161
After features/support/hooks.rb:326 1.522
After features/support/hooks.rb:100 0.011