Project Number Date
test_Tails_ISO_20816-block-paths-bwrap 21 24 Mar 2025, 06:22

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 35:10.702 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
9:15.125
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Before features/support/hooks.rb:511 0.007
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 52.826
And I update APT using apt 4:43.256
And I install "popularity-contest" using apt 22.188
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.114
When I create a persistent storage and activate the Additional Software feature 18.618
Then Additional Software is correctly configured for package "popularity-contest" 1.195
When I shutdown Tails and wait for the computer to power off 12.599
And I start Tails from USB drive "__internal" with network unplugged 1:7.048
And I enable persistence 21.843
And I log in to a new session 35.858
And the Additional Software installation service has started 31.009
Then I am notified that the installation succeeded 1.520
And Additional Software is correctly configured for package "popularity-contest" 0.762
And the package "popularity-contest" is installed after Additional Software has been started 0.283
After features/support/hooks.rb:519 14.648
After features/support/hooks.rb:330 1.184
After features/support/hooks.rb:100 0.011
5:50.156
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.005
Given a computer 0.191
And I start Tails from USB drive "__internal" and I login with an administration password 2:9.048
And I update APT using apt 3:14.066
When I install "makepp" using apt 22.463
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.299
And the package "makepp" is installed 0.086
After features/support/hooks.rb:519 14.324
After features/support/hooks.rb:330 0.906
After features/support/hooks.rb:100 0.012
4:50.711
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.006
Given a computer 0.239
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:8.050
When I uninstall "popularity-contest" using apt 18.710
And I accept removing "popularity-contest" from Additional Software 1.735
Then "popularity-contest" is not in the list of Additional Software 0.651
When I start Synaptic 22.737
And I update APT using Synaptic 22.344
And I install "cowsay" using Synaptic 8.249
And I accept adding "cowsay" to Additional Software 2.166
Then Additional Software is correctly configured for package "cowsay" 0.782
When I uninstall "cowsay" using apt 3.206
And I refuse removing "cowsay" from Additional Software 0.571
Then Additional Software is correctly configured for package "cowsay" 0.737
When I start "Additional Software" via GNOME Activities Overview 9.727
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.373
Then "cowsay" is not in the list of Additional Software 1.010
When I install "cowsay" using apt 3.203
And I refuse adding "cowsay" to Additional Software 0.581
Then "cowsay" is not in the list of Additional Software 0.631
After features/support/hooks.rb:519 0.544
After features/support/hooks.rb:330 0.736
After features/support/hooks.rb:100 0.009
13:6.582
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Before features/support/hooks.rb:511 0.005
Steps
Given a computer 0.183
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:17.513
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 25.758
And I accept adding "cowsay" to Additional Software 5.313
And Additional Software is correctly configured for package "cowsay" 0.864
And I shutdown Tails and wait for the computer to power off 4.337
And I start Tails from USB drive "__internal" with network unplugged 1:5.556
And I enable persistence 12.876
# 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.085
And I log in to a new session 41.970
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 30.949
And I revert the APT tweaks that made it prefer an old version of cowsay 0.053
# 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.079
And the network is plugged 0.060
And Tor is ready 18.976
And available upgrades have been checked 0.055
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 4.031
And I can open the Additional Software configuration window from the notification 3.444
And I shutdown Tails and wait for the computer to power off 2:2.514
And I start Tails from USB drive "__internal" with network unplugged 58.479
And I enable persistence 10.957
# 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.965
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:22.412
And I revert the APT tweaks that made it prefer an old version of cowsay 0.054
And the network is plugged 0.092
And Tor is ready 1:1.918
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:652:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:607:in `/^Tor is ready$/'
features/additional_software_packages.feature:114:in `And Tor is ready'
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
After features/support/hooks.rb:519 0.046
After features/support/hooks.rb:330 14.180

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/21/artifact/build-artifacts/01:29:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online_chutney-data

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/21/artifact/build-artifacts/01:29:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/21/artifact/build-artifacts/01:29:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20816-block-paths-bwrap/21/artifact/build-artifacts/01:29:39_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.journal

After features/support/hooks.rb:100 0.024
2:8.127
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Before features/support/hooks.rb:511 0.004
Given a computer 0.185
And I start Tails from USB drive "__internal" with network unplugged 59.225
And I enable persistence 11.935
And I remove the "cowsay" deb files from the APT cache 0.054
# 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.102
And I log in to a new session 39.855
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.813
And I can open the Additional Software log file from the notification 4.486
And the package "cowsay" is not installed 0.467
After features/support/hooks.rb:519 0.121
After features/support/hooks.rb:330 1.489
After features/support/hooks.rb:100 0.008