Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 21 08 Nov 2024, 18:07

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 23:43.238 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:14.628
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:23.724
And I update APT using apt 12.126
And I install "popularity-contest" using apt 22.341
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.271
When I create a persistent storage and activate the Additional Software feature 18.028
Then Additional Software is correctly configured for package "popularity-contest" 1.545
When I shutdown Tails and wait for the computer to power off 13.010
And I start Tails from USB drive "__internal" with network unplugged 57.736
And I enable persistence 22.004
And I log in to a new session 42.432
And the Additional Software installation service has started 31.763
Then I am notified that the installation succeeded 1.549
And Additional Software is correctly configured for package "popularity-contest" 0.823
And the package "popularity-contest" is installed after Additional Software has been started 0.270
After features/support/hooks.rb:515 14.373
After features/support/hooks.rb:326 1.209
After features/support/hooks.rb:100 0.009
2:16.537
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with an administration password 1:35.123
And I update APT using apt 12.237
When I install "makepp" using apt 22.344
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.548
And the package "makepp" is installed 0.095
After features/support/hooks.rb:515 14.202
After features/support/hooks.rb:326 0.832
After features/support/hooks.rb:100 0.048
4:52.854
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.202
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:9.476
When I uninstall "popularity-contest" using apt 18.735
And I accept removing "popularity-contest" from Additional Software 1.989
Then "popularity-contest" is not in the list of Additional Software 0.670
When I start Synaptic 22.387
And I update APT using Synaptic 22.384
And I install "cowsay" using Synaptic 9.676
And I accept adding "cowsay" to Additional Software 1.553
Then Additional Software is correctly configured for package "cowsay" 0.779
When I uninstall "cowsay" using apt 3.194
And I refuse removing "cowsay" from Additional Software 0.598
Then Additional Software is correctly configured for package "cowsay" 0.790
When I start "Additional Software" via GNOME Activities Overview 10.492
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.491
Then "cowsay" is not in the list of Additional Software 0.999
When I install "cowsay" using apt 3.212
And I refuse adding "cowsay" to Additional Software 0.563
Then "cowsay" is not in the list of Additional Software 0.654
After features/support/hooks.rb:515 0.695
After features/support/hooks.rb:326 0.647
After features/support/hooks.rb:100 0.009
9:7.500
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.196
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:19.676
And I configure APT to prefer an old version of cowsay 0.033
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.241
And I accept adding "cowsay" to Additional Software 6.410
And Additional Software is correctly configured for package "cowsay" 0.859
And I shutdown Tails and wait for the computer to power off 6.283
And I start Tails from USB drive "__internal" with network unplugged 57.787
And I enable persistence 12.239
# 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.082
And I log in to a new session 39.424
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.143
And I revert the APT tweaks that made it prefer an old version of cowsay 0.056
# 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.066
And the network is plugged 0.082
And Tor is ready 21.926
And available upgrades have been checked 0.052
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.233
And I can open the Additional Software configuration window from the notification 2.964
And I shutdown Tails and wait for the computer to power off 13.325
And I start Tails from USB drive "__internal" with network unplugged 59.515
And I enable persistence 11.593
# 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
And I log in to a new session 38.225
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.581
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
And the network is plugged 0.108
And Tor is ready 42.027
Then the Additional Software upgrade service has started 0.170
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.081
After features/support/hooks.rb:515 1.211
After features/support/hooks.rb:326 0.679
After features/support/hooks.rb:100 0.025
2:11.717
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.191
And I start Tails from USB drive "__internal" with network unplugged 1:6.093
And I enable persistence 12.852
And I remove the "cowsay" deb files from the APT cache 0.057
# 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.083
And I log in to a new session 44.603
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 2.640
And I can open the Additional Software log file from the notification 4.879
And the package "cowsay" is not installed 0.315
After features/support/hooks.rb:515 0.105
After features/support/hooks.rb:326 1.068
After features/support/hooks.rb:100 0.008