Project Number Date
test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution 16 14 Apr 2025, 22:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 64 1 14 0 0 79 4 1 5 35:11.795 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:24.850
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Before features/support/hooks.rb:511 0.004
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 1:2.068
And I update APT using apt 4:45.697
And I install "popularity-contest" using apt 23.333
Then I am proposed to add the "popularity-contest" package to my Additional Software 6.494
When I create a persistent storage and activate the Additional Software feature 18.622
Then Additional Software is correctly configured for package "popularity-contest" 2.566
When I shutdown Tails and wait for the computer to power off 12.700
And I start Tails from USB drive "__internal" with network unplugged 1:0.773
And I enable persistence 18.921
And I log in to a new session 40.104
And the Additional Software installation service has started 30.866
Then I am notified that the installation succeeded 1.670
And Additional Software is correctly configured for package "popularity-contest" 0.753
And the package "popularity-contest" is installed after Additional Software has been started 0.276
After features/support/hooks.rb:519 14.323
After features/support/hooks.rb:330 2.254
After features/support/hooks.rb:100 0.012
9:59.659
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.208
And I start Tails from USB drive "__internal" and I login with an administration password 1:44.557
And I update APT using apt 7:14.933
When I install "makepp" using apt 55.232
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 4.639
And the package "makepp" is installed 0.088
After features/support/hooks.rb:519 16.334
After features/support/hooks.rb:330 1.553
After features/support/hooks.rb:100 0.021
5:9.828
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.200
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:20.413
When I uninstall "popularity-contest" using apt 21.745
And I accept removing "popularity-contest" from Additional Software 0.580
Then "popularity-contest" is not in the list of Additional Software 0.727
When I start Synaptic 24.325
And I update APT using Synaptic 22.423
And I install "cowsay" using Synaptic 11.733
And I accept adding "cowsay" to Additional Software 1.316
Then Additional Software is correctly configured for package "cowsay" 0.949
When I uninstall "cowsay" using apt 3.284
And I refuse removing "cowsay" from Additional Software 0.589
Then Additional Software is correctly configured for package "cowsay" 0.881
When I start "Additional Software" via GNOME Activities Overview 10.413
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.753
Then "cowsay" is not in the list of Additional Software 0.888
When I install "cowsay" using apt 3.217
And I refuse adding "cowsay" to Additional Software 0.585
Then "cowsay" is not in the list of Additional Software 0.798
After features/support/hooks.rb:519 0.712
After features/support/hooks.rb:330 0.689
After features/support/hooks.rb:100 0.008
8:15.955
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.005
Before features/support/hooks.rb:511 0.004
Steps
Given a computer 0.341
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:25.099
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.689
And I accept adding "cowsay" to Additional Software 6.281
And Additional Software is correctly configured for package "cowsay" 0.870
And I shutdown Tails and wait for the computer to power off 6.321
And I start Tails from USB drive "__internal" with network unplugged 1:1.303
And I enable persistence 11.871
# 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
# 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.092
And I log in to a new session 41.973
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:13.786
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.066
And the network is plugged 0.088
And Tor is ready 1:2.063
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:100:in `And Tor is ready'
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
After features/support/hooks.rb:519 0.028
After features/support/hooks.rb:330 14.152

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-test-suite-reject-allow-internal-dns-resolution/16/artifact/build-artifacts/01:33:16_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_20297-test-suite-reject-allow-internal-dns-resolution/16/artifact/build-artifacts/01:33:16_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_20297-test-suite-reject-allow-internal-dns-resolution/16/artifact/build-artifacts/01:33:16_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_20297-test-suite-reject-allow-internal-dns-resolution/16/artifact/build-artifacts/01:33:16_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.015
2:21.501
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.228
And I start Tails from USB drive "__internal" with network unplugged 1:9.707
And I enable persistence 10.645
And I remove the "cowsay" deb files from the APT cache 0.051
# 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.084
And I log in to a new session 39.783
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 14.200
And I can open the Additional Software log file from the notification 6.019
And the package "cowsay" is not installed 0.780
After features/support/hooks.rb:519 0.123
After features/support/hooks.rb:330 1.745
After features/support/hooks.rb:100 0.010