Project Number Date
test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix 2 14 Dec 2024, 19:13

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 76 1 2 0 0 79 4 1 5 47:51.997 Failed
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
26:43.123
Scenario I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 58.485
And I update APT using apt 13.595
And I install "popularity-contest" using apt 22.777
Then I am proposed to add the "popularity-contest" package to my Additional Software 7.716
When I create a persistent storage and activate the Additional Software feature 19.973
Then Additional Software is correctly configured for package "popularity-contest" 1.305
When I shutdown Tails and wait for the computer to power off 12.465
And I start Tails from USB drive "__internal" with network unplugged 1:2.925
And I enable persistence 25.498
And I log in to a new session 44.796
And the Additional Software installation service has started 2:13.462
Then I am notified that the installation succeeded 20:0.119
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55:in `block (2 levels) in communicate'
./features/support/helpers/remote_shell.rb:42:in `loop'
./features/support/helpers/remote_shell.rb:42:in `block in communicate'
./features/support/helpers/remote_shell.rb:37:in `communicate'
./features/support/helpers/remote_shell.rb:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:588:in `new'
./features/step_definitions/common_steps.rb:588:in `/^I see the "(.+)" notification(?: after at most (\d+) seconds)?$/'
./features/step_definitions/additional_software_packages.rb:28:in `/^I am notified that the installation succeeded$/'
features/additional_software_packages.feature:39:in `Then I am notified that the installation succeeded'
And Additional Software is correctly configured for package "popularity-contest" 0.000
And the package "popularity-contest" is installed after Additional Software has been started 0.000
After features/support/hooks.rb:515 0.037
After features/support/hooks.rb:326 10.886

SCENARIO FAILED: 'I set up Additional Software when installing a package without persistent partition and the package is installed next time I start Tails' (at time 01:31:23)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix/2/artifact/build-artifacts/01:31:23_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix/2/artifact/build-artifacts/01:31:23_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-upgrade-failure-fix/2/artifact/build-artifacts/01:31:23_I_set_up_Additional_Software_when_installing_a_package_without_persistent_partition_and_the_package_is_installed_next_time_I_start_Tails.journal

After features/support/hooks.rb:100 0.010
2:33.781
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given a computer 0.219
And I start Tails from USB drive "__internal" and I login with an administration password 1:51.045
And I update APT using apt 13.092
When I install "makepp" using apt 22.818
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.512
And the package "makepp" is installed 0.094
After features/support/hooks.rb:515 14.919
After features/support/hooks.rb:326 0.820
After features/support/hooks.rb:100 0.011
5:15.271
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.214
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:27.994
When I uninstall "popularity-contest" using apt 18.732
And I accept removing "popularity-contest" from Additional Software 0.683
Then "popularity-contest" is not in the list of Additional Software 0.746
When I start Synaptic 23.700
And I update APT using Synaptic 22.591
And I install "cowsay" using Synaptic 9.587
And I accept adding "cowsay" to Additional Software 3.302
Then Additional Software is correctly configured for package "cowsay" 0.903
When I uninstall "cowsay" using apt 3.279
And I refuse removing "cowsay" from Additional Software 0.631
Then Additional Software is correctly configured for package "cowsay" 0.907
When I start "Additional Software" via GNOME Activities Overview 10.764
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.488
Then "cowsay" is not in the list of Additional Software 1.042
When I install "cowsay" using apt 3.229
And I refuse adding "cowsay" to Additional Software 0.713
Then "cowsay" is not in the list of Additional Software 0.759
After features/support/hooks.rb:515 0.805
After features/support/hooks.rb:326 0.975
After features/support/hooks.rb:100 0.008
11:3.691
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.006
Given a computer 1.292
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:52.027
And I configure APT to prefer an old version of cowsay 0.027
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.014
And I accept adding "cowsay" to Additional Software 5.777
And Additional Software is correctly configured for package "cowsay" 0.960
And I shutdown Tails and wait for the computer to power off 6.657
And I start Tails from USB drive "__internal" with network unplugged 1:1.551
And I enable persistence 12.629
# 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.093
And I log in to a new session 41.275
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 42.285
And I revert the APT tweaks that made it prefer an old version of cowsay 0.069
# 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.080
And the network is plugged 0.096
And Tor is ready 49.585
And available upgrades have been checked 0.091
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 8.905
And I can open the Additional Software configuration window from the notification 4.749
And I shutdown Tails and wait for the computer to power off 15.352
And I start Tails from USB drive "__internal" with network unplugged 1:5.714
And I enable persistence 12.991
# 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.030
And I log in to a new session 40.771
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.343
And I revert the APT tweaks that made it prefer an old version of cowsay 0.063
And the network is plugged 0.091
And Tor is ready 52.828
Then the Additional Software upgrade service has started 0.206
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.098
After features/support/hooks.rb:515 1.426
After features/support/hooks.rb:326 0.738
After features/support/hooks.rb:100 0.025
2:16.129
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.192
And I start Tails from USB drive "__internal" with network unplugged 1:3.440
And I enable persistence 11.931
And I remove the "cowsay" deb files from the APT cache 0.066
# 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.074
And I log in to a new session 38.331
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.915
And I can open the Additional Software log file from the notification 6.567
And the package "cowsay" is not installed 0.609
After features/support/hooks.rb:515 0.150
After features/support/hooks.rb:326 0.910
After features/support/hooks.rb:100 0.007