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

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:38.362 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
4:58.122
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 56.934
And I update APT using apt 12.481
And I install "popularity-contest" using apt 22.689
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.199
When I create a persistent storage and activate the Additional Software feature 21.877
Then Additional Software is correctly configured for package "popularity-contest" 1.280
When I shutdown Tails and wait for the computer to power off 10.400
And I start Tails from USB drive "__internal" with network unplugged 1:0.358
And I enable persistence 19.285
And I log in to a new session 38.970
And the Additional Software installation service has started 41.838
Then I am notified that the installation succeeded 2.627
And Additional Software is correctly configured for package "popularity-contest" 0.856
And the package "popularity-contest" is installed after Additional Software has been started 0.321
After features/support/hooks.rb:515 14.700
After features/support/hooks.rb:326 1.194
After features/support/hooks.rb:100 0.014
2:28.138
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.219
And I start Tails from USB drive "__internal" and I login with an administration password 1:45.809
And I update APT using apt 11.915
When I install "makepp" using apt 25.721
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.384
And the package "makepp" is installed 0.088
After features/support/hooks.rb:515 14.879
After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.012
5:3.764
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.007
Given a computer 0.188
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:15.988
When I uninstall "popularity-contest" using apt 21.943
And I accept removing "popularity-contest" from Additional Software 0.634
Then "popularity-contest" is not in the list of Additional Software 0.773
When I start Synaptic 23.874
And I update APT using Synaptic 22.221
And I install "cowsay" using Synaptic 10.271
And I accept adding "cowsay" to Additional Software 0.905
Then Additional Software is correctly configured for package "cowsay" 0.850
When I uninstall "cowsay" using apt 3.256
And I refuse removing "cowsay" from Additional Software 0.695
Then Additional Software is correctly configured for package "cowsay" 0.861
When I start "Additional Software" via GNOME Activities Overview 10.535
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.361
Then "cowsay" is not in the list of Additional Software 0.919
When I install "cowsay" using apt 3.224
And I refuse adding "cowsay" to Additional Software 0.537
Then "cowsay" is not in the list of Additional Software 0.720
After features/support/hooks.rb:515 0.627
After features/support/hooks.rb:326 0.668
After features/support/hooks.rb:100 0.010
9:54.109
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.189
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:24.679
And I configure APT to prefer an old version of cowsay 0.032
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.627
And I accept adding "cowsay" to Additional Software 6.738
And Additional Software is correctly configured for package "cowsay" 1.456
And I shutdown Tails and wait for the computer to power off 6.576
And I start Tails from USB drive "__internal" with network unplugged 58.964
And I enable persistence 13.535
# 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.035
# 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 43.752
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.405
And I revert the APT tweaks that made it prefer an old version of cowsay 0.051
# 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.081
And the network is plugged 0.075
And Tor is ready 21.242
And available upgrades have been checked 0.099
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 5.999
And I can open the Additional Software configuration window from the notification 2.649
And I shutdown Tails and wait for the computer to power off 19.389
And I start Tails from USB drive "__internal" with network unplugged 1:0.446
And I enable persistence 17.120
# 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.026
And I log in to a new session 40.381
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.178
And I revert the APT tweaks that made it prefer an old version of cowsay 0.059
And the network is plugged 0.068
And Tor is ready 49.899
Then the Additional Software upgrade service has started 0.174
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.090
After features/support/hooks.rb:515 1.476
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.030
2:14.226
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.007
Given a computer 0.381
And I start Tails from USB drive "__internal" with network unplugged 1:0.740
And I enable persistence 13.649
And I remove the "cowsay" deb files from the APT cache 0.076
# 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 41.289
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.363
And I can open the Additional Software log file from the notification 5.059
And the package "cowsay" is not installed 0.579
After features/support/hooks.rb:515 0.136
After features/support/hooks.rb:326 1.218
After features/support/hooks.rb:100 0.012