Project Number Date
test_Tails_ISO_stable 4739 25 Mar 2024, 21:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 59 1 15 0 0 75 4 1 5 21:20.503 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
4:40.451
Before features/support/hooks.rb:245 0.002
Before features/support/hooks.rb:442 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 49.787
And I update APT using apt 22.099
And I install "popularity-contest" using apt 19.159
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.617
When I create a persistent storage and activate the Additional Software feature 19.144
Then Additional Software is correctly configured for package "popularity-contest" 1.556
When I shutdown Tails and wait for the computer to power off 11.023
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:31.085
Then Additional Software is correctly configured for package "popularity-contest" 0.732
And the package "popularity-contest" is installed after Additional Software has been started 0.247
After features/support/hooks.rb:450 36.451
After features/support/hooks.rb:291 1.111
After features/support/hooks.rb:75 0.013
2:12.480
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.007
Given a computer 0.185
And I start Tails from USB drive "__internal" and I login with an administration password 1:32.357
And I update APT using apt 16.156
When I install "makepp" using apt 19.376
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.328
And the package "makepp" is installed 0.075
After features/support/hooks.rb:450 36.618
After features/support/hooks.rb:291 0.741
After features/support/hooks.rb:75 0.013
4:56.435
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.006
Given a computer 0.183
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:14.291
When I uninstall "popularity-contest" using apt 18.619
And I accept removing "popularity-contest" from Additional Software 0.545
Then "popularity-contest" is not in the list of Additional Software 0.660
When I start Synaptic 24.279
And I update APT using Synaptic 22.641
And I install "cowsay" using Synaptic 8.485
And I accept adding "cowsay" to Additional Software 1.149
Then Additional Software is correctly configured for package "cowsay" 0.717
When I uninstall "cowsay" using apt 3.206
And I refuse removing "cowsay" from Additional Software 0.522
Then Additional Software is correctly configured for package "cowsay" 0.703
When I start "Additional Software" via GNOME Activities Overview 10.466
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.506
Then "cowsay" is not in the list of Additional Software 1.075
When I install "cowsay" using apt 3.207
And I refuse adding "cowsay" to Additional Software 0.543
Then "cowsay" is not in the list of Additional Software 0.629
After features/support/hooks.rb:450 1.066
After features/support/hooks.rb:291 0.651
After features/support/hooks.rb:75 0.008
7:35.092
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.004
Steps
Given a computer 0.175
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:8.216
And I configure APT to prefer an old version of cowsay 0.020
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 23.315
And I accept adding "cowsay" to Additional Software 4.372
And Additional Software is correctly configured for package "cowsay" 0.839
And I shutdown Tails and wait for the computer to power off 6.019
And I start Tails from USB drive "__internal" with network unplugged 52.311
And I enable persistence 11.254
# 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 33.663
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:13.299
And I revert the APT tweaks that made it prefer an old version of cowsay 0.042
# 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.063
And the network is plugged 0.078
And Tor is ready 1:1.394
TCA
TCA did not start (TorBootstrapFailure)
./features/step_definitions/tor.rb:375:in `rescue in block in <top (required)>'
./features/step_definitions/tor.rb:371:in `/^the Tor Connection Assistant (?:autostarts|is running)$/'
./features/step_definitions/common_steps.rb:646:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:601:in `/^Tor is ready$/'
features/additional_software_packages.feature:93:in `And Tor is ready'
# 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 0.000
And available upgrades have been checked 0.000
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.000
And I can open the Additional Software configuration window from the notification 0.000
And I shutdown Tails and wait for the computer to power off 0.000
And I start Tails from USB drive "__internal" with network unplugged 0.000
And I enable persistence 0.000
# 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.000
And I log in to a new session 0.000
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 0.000
And I revert the APT tweaks that made it prefer an old version of cowsay 0.000
And the network is plugged 0.000
And Tor is ready 0.000
Then the Additional Software upgrade service has started 0.000
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.000
Hooks
After features/support/hooks.rb:450 0.041
After features/support/hooks.rb:291 20:3.466
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:124:in `execute'
./features/support/helpers/remote_shell.rb:135:in `initialize'
./features/support/helpers/vm_helper.rb:445:in `new'
./features/support/helpers/vm_helper.rb:445:in `execute'
./features/support/helpers/misc_helpers.rb:245:in `block in save_tor_journal'
./features/support/helpers/misc_helpers.rb:244:in `open'
./features/support/helpers/misc_helpers.rb:244:in `save_tor_journal'
./features/support/hooks.rb:328:in `After'
Output 1

SCENARIO FAILED: 'Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online' (at time 01:20:08)

After features/support/hooks.rb:75 0.019
1:56.044
Before features/support/hooks.rb:245 0.005
Before features/support/hooks.rb:442 0.006
Given a computer 0.552
And I start Tails from USB drive "__internal" with network unplugged 53.117
And I enable persistence 9.830
And I remove the "cowsay" deb files from the APT cache 0.711
# 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.071
And I log in to a new session 32.611
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.682
And I can open the Additional Software log file from the notification 4.818
And the package "cowsay" is not installed 0.646
After features/support/hooks.rb:450 0.106
After features/support/hooks.rb:291 0.900
After features/support/hooks.rb:75 0.008