Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 5 17 Dec 2024, 18:25

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 27:7.254 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:4.938
Before features/support/hooks.rb:269 0.002
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 56.258
And I update APT using apt 12.576
And I install "popularity-contest" using apt 25.618
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.223
When I create a persistent storage and activate the Additional Software feature 20.228
Then Additional Software is correctly configured for package "popularity-contest" 1.242
When I shutdown Tails and wait for the computer to power off 10.324
And I start Tails from USB drive "__internal" with network unplugged 1:1.486
And I enable persistence 20.813
And I log in to a new session 46.361
And the Additional Software installation service has started 42.005
Then I am notified that the installation succeeded 1.677
And Additional Software is correctly configured for package "popularity-contest" 0.833
And the package "popularity-contest" is installed after Additional Software has been started 0.290
After features/support/hooks.rb:515 15.283
After features/support/hooks.rb:326 1.336
After features/support/hooks.rb:100 0.012
2:28.899
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.004
Given a computer 0.747
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.774
And I update APT using apt 13.446
When I install "makepp" using apt 23.341
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.519
And the package "makepp" is installed 0.071
After features/support/hooks.rb:515 15.243
After features/support/hooks.rb:326 1.007
After features/support/hooks.rb:100 0.014
5:15.419
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 1.587
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:27.341
When I uninstall "popularity-contest" using apt 21.827
And I accept removing "popularity-contest" from Additional Software 0.571
Then "popularity-contest" is not in the list of Additional Software 0.748
When I start Synaptic 23.717
And I update APT using Synaptic 21.825
And I install "cowsay" using Synaptic 9.266
And I accept adding "cowsay" to Additional Software 2.358
Then Additional Software is correctly configured for package "cowsay" 0.826
When I uninstall "cowsay" using apt 3.306
And I refuse removing "cowsay" from Additional Software 0.522
Then Additional Software is correctly configured for package "cowsay" 0.889
When I start "Additional Software" via GNOME Activities Overview 9.869
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.447
Then "cowsay" is not in the list of Additional Software 0.876
When I install "cowsay" using apt 3.219
And I refuse adding "cowsay" to Additional Software 0.583
Then "cowsay" is not in the list of Additional Software 1.633
After features/support/hooks.rb:515 0.947
After features/support/hooks.rb:326 0.711
After features/support/hooks.rb:100 0.012
11:51.945
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.213
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:25.848
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 27.014
And I accept adding "cowsay" to Additional Software 7.946
And Additional Software is correctly configured for package "cowsay" 1.026
And I shutdown Tails and wait for the computer to power off 6.828
And I start Tails from USB drive "__internal" with network unplugged 1:4.552
And I enable persistence 13.169
# 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.098
And I log in to a new session 41.255
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.155
And I revert the APT tweaks that made it prefer an old version of cowsay 0.090
# 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.092
And Tor is ready 20.277
And available upgrades have been checked 2.420
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 2.723
And I can open the Additional Software configuration window from the notification 3.700
And I shutdown Tails and wait for the computer to power off 2:2.882
And I start Tails from USB drive "__internal" with network unplugged 1:4.602
And I enable persistence 15.161
# 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.030
And I log in to a new session 43.982
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.863
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
And the network is plugged 0.066
And Tor is ready 53.392
Then the Additional Software upgrade service has started 0.218
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.112
After features/support/hooks.rb:515 1.568
After features/support/hooks.rb:326 0.767
After features/support/hooks.rb:100 0.035
2:26.050
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.006
Given a computer 0.247
And I start Tails from USB drive "__internal" with network unplugged 1:3.545
And I enable persistence 14.378
And I remove the "cowsay" deb files from the APT cache 0.066
# 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.120
And I log in to a new session 49.886
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.090
And I can open the Additional Software log file from the notification 5.986
And the package "cowsay" is not installed 0.727
After features/support/hooks.rb:515 0.124
After features/support/hooks.rb:326 0.914
After features/support/hooks.rb:100 0.012