Project Number Date
test_Tails_ISO_stable 5052 28 Aug 2024, 08:53

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 79 0 0 0 0 79 4 1 5 26:48.984 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:13.238
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 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.526
And I update APT using apt 13.272
And I install "popularity-contest" using apt 25.414
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.202
When I create a persistent storage and activate the Additional Software feature 19.917
Then Additional Software is correctly configured for package "popularity-contest" 1.198
When I shutdown Tails and wait for the computer to power off 14.466
And I start Tails from USB drive "__internal" with network unplugged 1:2.324
And I enable persistence 22.560
And I log in to a new session 41.768
And the Additional Software installation service has started 41.552
Then I am notified that the installation succeeded 1.944
And Additional Software is correctly configured for package "popularity-contest" 0.816
And the package "popularity-contest" is installed after Additional Software has been started 0.273
After features/support/hooks.rb:515 26.158
After features/support/hooks.rb:326 1.343
After features/support/hooks.rb:100 0.012
2:53.261
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given a computer 0.222
And I start Tails from USB drive "__internal" and I login with an administration password 2:12.606
And I update APT using apt 11.315
When I install "makepp" using apt 22.426
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.590
And the package "makepp" is installed 0.099
After features/support/hooks.rb:515 26.287
After features/support/hooks.rb:326 1.828
After features/support/hooks.rb:100 0.012
4:42.795
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.202
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:7.733
When I uninstall "popularity-contest" using apt 9.561
And I accept removing "popularity-contest" from Additional Software 0.650
Then "popularity-contest" is not in the list of Additional Software 0.752
When I start Synaptic 23.128
And I update APT using Synaptic 22.794
And I install "cowsay" using Synaptic 9.595
And I accept adding "cowsay" to Additional Software 1.345
Then Additional Software is correctly configured for package "cowsay" 0.864
When I uninstall "cowsay" using apt 3.269
And I refuse removing "cowsay" from Additional Software 0.625
Then Additional Software is correctly configured for package "cowsay" 0.848
When I start "Additional Software" via GNOME Activities Overview 10.019
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.873
Then "cowsay" is not in the list of Additional Software 0.918
When I install "cowsay" using apt 3.249
And I refuse adding "cowsay" to Additional Software 0.602
Then "cowsay" is not in the list of Additional Software 0.757
After features/support/hooks.rb:515 1.199
After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.010
11:43.051
Scenario Recovering in offline mode after Additional Software previously failed to upgrade and then succeed to upgrade when online
Before features/support/hooks.rb:269 0.007
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.233
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:23.853
And I configure APT to prefer an old version of cowsay 0.029
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.776
And I accept adding "cowsay" to Additional Software 7.121
And Additional Software is correctly configured for package "cowsay" 0.994
And I shutdown Tails and wait for the computer to power off 6.602
And I start Tails from USB drive "__internal" with network unplugged 1:1.093
And I enable persistence 13.511
# 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 43.393
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.287
And I revert the APT tweaks that made it prefer an old version of cowsay 0.071
# 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.096
And the network is plugged 0.080
And Tor is ready 19.353
# 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 6.433
And available upgrades have been checked 0.158
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 1.121
And I can open the Additional Software configuration window from the notification 3.620
And I shutdown Tails and wait for the computer to power off 2:7.463
And I start Tails from USB drive "__internal" with network unplugged 1:2.261
And I enable persistence 12.182
# 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 40.179
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 41.763
And I revert the APT tweaks that made it prefer an old version of cowsay 0.061
And the network is plugged 0.083
And Tor is ready 52.870
Then the Additional Software upgrade service has started 0.197
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.101
Hooks
After features/support/hooks.rb:515 1.276
Unexpected connections were made
  #<OpenStruct mac_saddr="50:54:00:6c:f3:3a", mac_daddr="33:33:00:00:00:02", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::6340:dac3:c029:3f13", daddr="ff02::2">
  #<OpenStruct mac_saddr="50:54:00:6c:f3:3a", mac_daddr="52:54:00:b9:fa:08", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::6340:dac3:c029:3f13", daddr="fe80::5054:ff:feb9:fa08">
  #<OpenStruct mac_saddr="50:54:00:6c:f3:3a", mac_daddr="33:33:00:00:00:16", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::6340:dac3:c029:3f13", daddr="ff02::16">
  #<OpenStruct mac_saddr="50:54:00:6c:f3:3a", mac_daddr="33:33:ff:2b:50:5d", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="::", daddr="ff02::1:ff2b:505d"> (FirewallAssertionFailedError)
./features/support/helpers/firewall_helper.rb:133:in `assert_all_connections'
./features/support/helpers/firewall_helper.rb:143:in `assert_no_leaks'
./features/support/hooks.rb:524:in `After'
After features/support/hooks.rb:326 5.225

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_var_log_boot.log

Content of /run/live-additional-software/log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_run_live-additional-software_log

Network capture: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.pcap

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_persistent_volume

Output of ls -lar --full-time /var/cache/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_cache_apt

Output of ls -lar --full-time /var/lib/apt: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_var_lib_apt

Output of mount: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.cmd_output_mount

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5052/artifact/build-artifacts/01:32:38_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_stable/5052/artifact/build-artifacts/01:32:38_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_stable/5052/artifact/build-artifacts/01:32:38_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.025
2:16.637
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.179
And I start Tails from USB drive "__internal" with network unplugged 1:2.120
And I enable persistence 13.127
And I remove the "cowsay" deb files from the APT cache 1.074
# 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.095
And I log in to a new session 39.884
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.907
And I can open the Additional Software log file from the notification 5.527
And the package "cowsay" is not installed 0.720
After features/support/hooks.rb:515 0.156
After features/support/hooks.rb:326 1.179
After features/support/hooks.rb:100 0.014