Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 34 22 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 26:12.255 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:24.346
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 1:4.176
And I update APT using apt 13.998
And I install "popularity-contest" using apt 25.751
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.131
When I create a persistent storage and activate the Additional Software feature 21.059
Then Additional Software is correctly configured for package "popularity-contest" 1.613
When I shutdown Tails and wait for the computer to power off 12.916
And I start Tails from USB drive "__internal" with network unplugged 1:1.969
And I enable persistence 29.757
And I log in to a new session 41.894
And the Additional Software installation service has started 41.421
Then I am notified that the installation succeeded 2.293
And Additional Software is correctly configured for package "popularity-contest" 1.071
And the package "popularity-contest" is installed after Additional Software has been started 0.290
After features/support/hooks.rb:515 16.596
After features/support/hooks.rb:326 1.865
After features/support/hooks.rb:100 0.013
2:33.480
Before features/support/hooks.rb:269 0.008
Before features/support/hooks.rb:507 0.012
Given a computer 0.283
And I start Tails from USB drive "__internal" and I login with an administration password 1:50.003
And I update APT using apt 12.717
When I install "makepp" using apt 25.901
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.488
And the package "makepp" is installed 0.085
After features/support/hooks.rb:515 14.918
After features/support/hooks.rb:326 0.863
After features/support/hooks.rb:100 0.012
5:36.482
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 3:51.724
When I uninstall "popularity-contest" using apt 18.804
And I accept removing "popularity-contest" from Additional Software 0.630
Then "popularity-contest" is not in the list of Additional Software 0.736
When I start Synaptic 23.714
And I update APT using Synaptic 22.285
And I install "cowsay" using Synaptic 9.536
And I accept adding "cowsay" to Additional Software 2.686
Then Additional Software is correctly configured for package "cowsay" 0.883
When I uninstall "cowsay" using apt 3.251
And I refuse removing "cowsay" from Additional Software 0.608
Then Additional Software is correctly configured for package "cowsay" 0.871
When I start "Additional Software" via GNOME Activities Overview 10.560
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.443
Then "cowsay" is not in the list of Additional Software 1.022
When I install "cowsay" using apt 3.201
And I refuse adding "cowsay" to Additional Software 0.626
Then "cowsay" is not in the list of Additional Software 0.680
After features/support/hooks.rb:515 0.833
After features/support/hooks.rb:326 0.686
After features/support/hooks.rb:100 0.007
10:19.338
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.206
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:24.520
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 25.983
And I accept adding "cowsay" to Additional Software 7.218
And Additional Software is correctly configured for package "cowsay" 0.881
And I shutdown Tails and wait for the computer to power off 6.653
And I start Tails from USB drive "__internal" with network unplugged 1:11.734
And I enable persistence 14.539
# 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.031
# 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 44.329
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.958
And I revert the APT tweaks that made it prefer an old version of cowsay 0.066
# 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.087
And the network is plugged 0.075
And Tor is ready 17.625
And available upgrades have been checked 1.309
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.901
And I can open the Additional Software configuration window from the notification 2.925
And I shutdown Tails and wait for the computer to power off 18.953
And I start Tails from USB drive "__internal" with network unplugged 1:3.483
And I enable persistence 13.782
# 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 38.995
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.414
And I revert the APT tweaks that made it prefer an old version of cowsay 0.078
And the network is plugged 0.100
And Tor is ready 53.976
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.147
After features/support/hooks.rb:515 1.310
After features/support/hooks.rb:326 0.667
After features/support/hooks.rb:100 0.023
2:18.607
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.225
And I start Tails from USB drive "__internal" with network unplugged 1:2.341
And I enable persistence 14.505
And I remove the "cowsay" deb files from the APT cache 0.091
# 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.142
And I log in to a new session 40.165
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.971
And I can open the Additional Software log file from the notification 5.393
And the package "cowsay" is not installed 0.770
After features/support/hooks.rb:515 0.120
After features/support/hooks.rb:326 0.880
After features/support/hooks.rb:100 0.007