Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 7 19 Dec 2024, 18:43

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:7.030 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:9.554
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 58.496
And I update APT using apt 12.947
And I install "popularity-contest" using apt 25.699
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.602
When I create a persistent storage and activate the Additional Software feature 20.150
Then Additional Software is correctly configured for package "popularity-contest" 1.640
When I shutdown Tails and wait for the computer to power off 10.555
And I start Tails from USB drive "__internal" with network unplugged 1:2.469
And I enable persistence 26.462
And I log in to a new session 40.640
And the Additional Software installation service has started 41.717
Then I am notified that the installation succeeded 1.838
And Additional Software is correctly configured for package "popularity-contest" 0.935
And the package "popularity-contest" is installed after Additional Software has been started 0.399
After features/support/hooks.rb:515 15.377
After features/support/hooks.rb:326 1.563
After features/support/hooks.rb:100 0.011
2:57.431
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.003
Given a computer 0.215
And I start Tails from USB drive "__internal" and I login with an administration password 2:16.055
And I update APT using apt 11.663
When I install "makepp" using apt 22.850
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.561
And the package "makepp" is installed 0.084
After features/support/hooks.rb:515 15.031
After features/support/hooks.rb:326 0.843
After features/support/hooks.rb:100 0.011
5:8.914
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.244
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:21.022
When I uninstall "popularity-contest" using apt 21.859
And I accept removing "popularity-contest" from Additional Software 0.660
Then "popularity-contest" is not in the list of Additional Software 0.743
When I start Synaptic 23.768
And I update APT using Synaptic 22.147
And I install "cowsay" using Synaptic 10.413
And I accept adding "cowsay" to Additional Software 1.370
Then Additional Software is correctly configured for package "cowsay" 0.943
When I uninstall "cowsay" using apt 3.266
And I refuse removing "cowsay" from Additional Software 0.630
Then Additional Software is correctly configured for package "cowsay" 0.967
When I start "Additional Software" via GNOME Activities Overview 10.917
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.438
Then "cowsay" is not in the list of Additional Software 1.038
When I install "cowsay" using apt 3.223
And I refuse adding "cowsay" to Additional Software 0.578
Then "cowsay" is not in the list of Additional Software 0.681
After features/support/hooks.rb:515 0.588
After features/support/hooks.rb:326 0.710
After features/support/hooks.rb:100 0.009
10:35.174
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.199
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:41.571
And I configure APT to prefer an old version of cowsay 0.035
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 29.629
And I accept adding "cowsay" to Additional Software 5.743
And Additional Software is correctly configured for package "cowsay" 1.089
And I shutdown Tails and wait for the computer to power off 7.257
And I start Tails from USB drive "__internal" with network unplugged 1:7.447
And I enable persistence 16.475
# 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.036
# 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.122
And I log in to a new session 51.233
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.771
And I revert the APT tweaks that made it prefer an old version of cowsay 0.057
# 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.077
And the network is plugged 0.084
And Tor is ready 19.340
And available upgrades have been checked 1.189
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.129
And I can open the Additional Software configuration window from the notification 2.803
And I shutdown Tails and wait for the computer to power off 19.286
And I start Tails from USB drive "__internal" with network unplugged 1:5.957
And I enable persistence 14.551
# 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.033
And I log in to a new session 46.346
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.662
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
And the network is plugged 0.641
And Tor is ready 44.018
Then the Additional Software upgrade service has started 0.211
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.107
After features/support/hooks.rb:515 1.520
After features/support/hooks.rb:326 0.685
After features/support/hooks.rb:100 0.030
2:15.954
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.274
And I start Tails from USB drive "__internal" with network unplugged 1:2.930
And I enable persistence 13.895
And I remove the "cowsay" deb files from the APT cache 0.089
# 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.094
And I log in to a new session 42.194
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 10.568
And I can open the Additional Software log file from the notification 5.235
And the package "cowsay" is not installed 0.669
After features/support/hooks.rb:515 0.153
After features/support/hooks.rb:326 1.343
After features/support/hooks.rb:100 0.007