Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 14 02 Nov 2024, 17:58

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 24:3.625 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:12.974
Before features/support/hooks.rb:269 0.003
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:19.950
And I update APT using apt 12.561
And I install "popularity-contest" using apt 22.350
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.640
When I create a persistent storage and activate the Additional Software feature 20.719
Then Additional Software is correctly configured for package "popularity-contest" 1.245
When I shutdown Tails and wait for the computer to power off 12.508
And I start Tails from USB drive "__internal" with network unplugged 59.025
And I enable persistence 22.439
And I log in to a new session 40.484
And the Additional Software installation service has started 31.364
Then I am notified that the installation succeeded 1.597
And Additional Software is correctly configured for package "popularity-contest" 0.845
And the package "popularity-contest" is installed after Additional Software has been started 0.241
After features/support/hooks.rb:515 13.697
After features/support/hooks.rb:326 1.795
After features/support/hooks.rb:100 0.011
2:20.498
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.253
And I start Tails from USB drive "__internal" and I login with an administration password 1:39.082
And I update APT using apt 12.163
When I install "makepp" using apt 22.461
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.453
And the package "makepp" is installed 0.084
After features/support/hooks.rb:515 13.726
After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.011
4:57.840
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 0.205
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:11.534
When I uninstall "popularity-contest" using apt 21.806
And I accept removing "popularity-contest" from Additional Software 0.555
Then "popularity-contest" is not in the list of Additional Software 0.666
When I start Synaptic 22.986
And I update APT using Synaptic 21.961
And I install "cowsay" using Synaptic 10.761
And I accept adding "cowsay" to Additional Software 1.523
Then Additional Software is correctly configured for package "cowsay" 0.787
When I uninstall "cowsay" using apt 3.227
And I refuse removing "cowsay" from Additional Software 0.556
Then Additional Software is correctly configured for package "cowsay" 0.761
When I start "Additional Software" via GNOME Activities Overview 9.745
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.392
Then "cowsay" is not in the list of Additional Software 0.925
When I install "cowsay" using apt 3.195
And I refuse adding "cowsay" to Additional Software 0.549
Then "cowsay" is not in the list of Additional Software 0.695
After features/support/hooks.rb:515 0.608
After features/support/hooks.rb:326 0.635
After features/support/hooks.rb:100 0.008
9:19.518
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:19.478
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 25.706
And I accept adding "cowsay" to Additional Software 6.738
And Additional Software is correctly configured for package "cowsay" 0.840
And I shutdown Tails and wait for the computer to power off 6.297
And I start Tails from USB drive "__internal" with network unplugged 57.786
And I enable persistence 12.849
# 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.024
# 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.086
And I log in to a new session 42.460
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.439
And I revert the APT tweaks that made it prefer an old version of cowsay 0.049
# 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.074
And the network is plugged 0.086
And Tor is ready 17.721
And available upgrades have been checked 0.046
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.607
And I can open the Additional Software configuration window from the notification 3.048
And I shutdown Tails and wait for the computer to power off 6.659
And I start Tails from USB drive "__internal" with network unplugged 58.640
And I enable persistence 11.800
# 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
And I log in to a new session 38.039
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.329
And I revert the APT tweaks that made it prefer an old version of cowsay 0.048
And the network is plugged 0.089
And Tor is ready 52.083
Then the Additional Software upgrade service has started 0.156
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.085
After features/support/hooks.rb:515 1.334
After features/support/hooks.rb:326 0.671
After features/support/hooks.rb:100 0.023
2:12.793
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.189
And I start Tails from USB drive "__internal" with network unplugged 59.511
And I enable persistence 13.377
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.070
And I log in to a new session 42.349
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.407
And I can open the Additional Software log file from the notification 5.220
And the package "cowsay" is not installed 0.611
After features/support/hooks.rb:515 0.121
After features/support/hooks.rb:326 1.082
After features/support/hooks.rb:100 0.037