Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 28 19 Aug 2024, 17:11

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 46:25.015 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:31.162
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.002
Steps
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 56.545
And I update APT using apt 18.401
And I install "popularity-contest" using apt 22.388
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.866
When I create a persistent storage and activate the Additional Software feature 18.646
Then Additional Software is correctly configured for package "popularity-contest" 1.334
When I shutdown Tails and wait for the computer to power off 12.972
And I start Tails from USB drive "__internal" with network unplugged 58.140
And I enable persistence 19.030
And I log in to a new session 42.007
And the Additional Software installation service has started 2:12.710
Then I am notified that the installation succeeded 20:0.120
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:591:in `new'
./features/step_definitions/common_steps.rb:591: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.043
After features/support/hooks.rb:326 10.843

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:29:46)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/28/artifact/build-artifacts/01:29:46_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_15451-support-manual-fsck-on-error/28/artifact/build-artifacts/01:29:46_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_15451-support-manual-fsck-on-error/28/artifact/build-artifacts/01:29:46_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:23.587
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.002
Given a computer 0.172
And I start Tails from USB drive "__internal" and I login with an administration password 1:37.014
And I update APT using apt 17.549
When I install "makepp" using apt 22.245
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.518
And the package "makepp" is installed 0.086
After features/support/hooks.rb:515 37.056
After features/support/hooks.rb:326 1.025
After features/support/hooks.rb:100 0.018
5:35.441
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.008
Given a computer 0.239
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:37.445
When I uninstall "popularity-contest" using apt 21.934
And I accept removing "popularity-contest" from Additional Software 0.624
Then "popularity-contest" is not in the list of Additional Software 0.772
When I start Synaptic 27.861
And I update APT using Synaptic 22.308
And I install "cowsay" using Synaptic 13.206
And I accept adding "cowsay" to Additional Software 1.446
Then Additional Software is correctly configured for package "cowsay" 0.936
When I uninstall "cowsay" using apt 3.298
And I refuse removing "cowsay" from Additional Software 1.128
Then Additional Software is correctly configured for package "cowsay" 1.083
When I start "Additional Software" via GNOME Activities Overview 11.055
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 6.568
Then "cowsay" is not in the list of Additional Software 0.950
When I install "cowsay" using apt 3.227
And I refuse adding "cowsay" to Additional Software 0.595
Then "cowsay" is not in the list of Additional Software 0.758
After features/support/hooks.rb:515 1.119
After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.008
9:42.366
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.008
Given a computer 0.308
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:21.408
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.592
And I accept adding "cowsay" to Additional Software 6.823
And Additional Software is correctly configured for package "cowsay" 0.845
And I shutdown Tails and wait for the computer to power off 6.413
And I start Tails from USB drive "__internal" with network unplugged 59.930
And I enable persistence 15.133
# 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 38.064
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.919
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.075
And Tor is ready 23.015
# Note: the next step races against the appearance of the "The
# upgrade of your additional software failed" notification.
# It should win most of the time, which is good, but there's no
# guarantee it does. If it loses, then it'll remove the notification
# we'll be trying to interact with below ("I can open…")
And all notifications have disappeared 7.231
And available upgrades have been checked 0.100
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.908
And I can open the Additional Software configuration window from the notification 3.383
And I shutdown Tails and wait for the computer to power off 14.717
And I start Tails from USB drive "__internal" with network unplugged 1:5.536
And I enable persistence 10.316
# 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 37.323
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.280
And I revert the APT tweaks that made it prefer an old version of cowsay 0.049
And the network is plugged 0.080
And Tor is ready 50.440
Then the Additional Software upgrade service has started 0.179
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.085
After features/support/hooks.rb:515 2.325
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.023
2:12.456
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.005
Given a computer 0.181
And I start Tails from USB drive "__internal" with network unplugged 57.845
And I enable persistence 13.112
And I remove the "cowsay" deb files from the APT cache 0.067
# 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.075
And I log in to a new session 42.604
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.704
And I can open the Additional Software log file from the notification 5.133
And the package "cowsay" is not installed 0.731
After features/support/hooks.rb:515 0.128
After features/support/hooks.rb:326 1.310
After features/support/hooks.rb:100 0.010