Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 69 18 Sep 2024, 23:59

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:50.080 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
5:2.422
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:4.559
And I update APT using apt 12.367
And I install "popularity-contest" using apt 22.604
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.099
When I create a persistent storage and activate the Additional Software feature 18.647
Then Additional Software is correctly configured for package "popularity-contest" 1.256
When I shutdown Tails and wait for the computer to power off 10.238
And I start Tails from USB drive "__internal" with network unplugged 1:1.832
And I enable persistence 21.883
And I log in to a new session 45.534
And the Additional Software installation service has started 31.822
Then I am notified that the installation succeeded 2.503
And Additional Software is correctly configured for package "popularity-contest" 0.829
And the package "popularity-contest" is installed after Additional Software has been started 0.241
After features/support/hooks.rb:515 25.967
After features/support/hooks.rb:326 0.988
After features/support/hooks.rb:100 0.010
2:25.969
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.006
Given a computer 0.208
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.906
And I update APT using apt 12.090
When I install "makepp" using apt 22.835
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 5.855
And the package "makepp" is installed 0.072
After features/support/hooks.rb:515 25.989
After features/support/hooks.rb:326 0.979
After features/support/hooks.rb:100 0.011
5:22.758
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.003
Given a computer 0.194
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:41.468
When I uninstall "popularity-contest" using apt 15.608
And I accept removing "popularity-contest" from Additional Software 2.165
Then "popularity-contest" is not in the list of Additional Software 0.756
When I start Synaptic 24.439
And I update APT using Synaptic 22.092
And I install "cowsay" using Synaptic 8.134
And I accept adding "cowsay" to Additional Software 2.025
Then Additional Software is correctly configured for package "cowsay" 0.840
When I uninstall "cowsay" using apt 3.244
And I refuse removing "cowsay" from Additional Software 0.557
Then Additional Software is correctly configured for package "cowsay" 0.814
When I start "Additional Software" via GNOME Activities Overview 10.497
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.497
Then "cowsay" is not in the list of Additional Software 0.994
When I install "cowsay" using apt 3.219
And I refuse adding "cowsay" to Additional Software 0.503
Then "cowsay" is not in the list of Additional Software 0.704
After features/support/hooks.rb:515 1.194
After features/support/hooks.rb:326 0.693
After features/support/hooks.rb:100 0.009
12:7.481
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.238
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:20.661
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 29.042
And I accept adding "cowsay" to Additional Software 4.405
And Additional Software is correctly configured for package "cowsay" 0.962
And I shutdown Tails and wait for the computer to power off 4.492
And I start Tails from USB drive "__internal" with network unplugged 59.470
And I enable persistence 14.024
# 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 41.097
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.794
And I revert the APT tweaks that made it prefer an old version of cowsay 0.067
# 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.076
And the network is plugged 0.078
And Tor is ready 19.520
# 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 5.904
And available upgrades have been checked 0.141
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.393
And I can open the Additional Software configuration window from the notification 2.874
And I shutdown Tails and wait for the computer to power off 2:7.904
And I start Tails from USB drive "__internal" with network unplugged 1:7.339
And I enable persistence 12.108
# 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.033
And I log in to a new session 41.552
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.796
And I revert the APT tweaks that made it prefer an old version of cowsay 0.104
And the network is plugged 0.072
And Tor is ready 1:20.000
Then the Additional Software upgrade service has started 0.181
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.082
After features/support/hooks.rb:515 2.574
After features/support/hooks.rb:326 0.705
After features/support/hooks.rb:100 0.024
21:51.447
Scenario I am notified when Additional Software fails to install a package
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Steps
Given a computer 0.205
And I start Tails from USB drive "__internal" with network unplugged 59.821
And I enable persistence 12.513
And I remove the "cowsay" deb files from the APT cache 0.058
# 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.087
And I log in to a new session 38.639
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 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/additional_software_packages.feature:132:in `Then I see the "The installation of your additional software failed" notification after at most 300 seconds'
And I can open the Additional Software log file from the notification 0.000
And the package "cowsay" is not installed 0.000
After features/support/hooks.rb:515 0.071
After features/support/hooks.rb:326 10.971

SCENARIO FAILED: 'I am notified when Additional Software fails to install a package' (at time 01:55:20)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/69/artifact/build-artifacts/01:55:20_I_am_notified_when_Additional_Software_fails_to_install_a_package.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/69/artifact/build-artifacts/01:55:20_I_am_notified_when_Additional_Software_fails_to_install_a_package.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/69/artifact/build-artifacts/01:55:20_I_am_notified_when_Additional_Software_fails_to_install_a_package.journal

After features/support/hooks.rb:100 0.008