Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 26 17 Aug 2024, 16:31

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 25:23.815 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:46.337
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.011
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 50.703
And I update APT using apt 20.016
And I install "popularity-contest" using apt 22.408
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.835
When I create a persistent storage and activate the Additional Software feature 18.744
Then Additional Software is correctly configured for package "popularity-contest" 1.279
When I shutdown Tails and wait for the computer to power off 11.046
And I start Tails from USB drive "__internal" with network unplugged 58.201
And I enable persistence 19.274
And I log in to a new session 39.115
And the Additional Software installation service has started 33.113
Then I am notified that the installation succeeded 2.567
And Additional Software is correctly configured for package "popularity-contest" 0.782
And the package "popularity-contest" is installed after Additional Software has been started 0.249
After features/support/hooks.rb:515 37.442
After features/support/hooks.rb:326 1.335
After features/support/hooks.rb:100 0.013
2:22.556
Before features/support/hooks.rb:269 0.005
Before features/support/hooks.rb:507 0.006
Given a computer 0.239
And I start Tails from USB drive "__internal" and I login with an administration password 1:37.321
And I update APT using apt 16.985
When I install "makepp" using apt 22.556
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 5.378
And the package "makepp" is installed 0.074
After features/support/hooks.rb:515 37.593
After features/support/hooks.rb:326 0.969
After features/support/hooks.rb:100 0.014
4:48.541
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.006
Given a computer 0.209
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:4.268
When I uninstall "popularity-contest" using apt 18.673
And I accept removing "popularity-contest" from Additional Software 0.578
Then "popularity-contest" is not in the list of Additional Software 0.633
When I start Synaptic 24.093
And I update APT using Synaptic 22.384
And I install "cowsay" using Synaptic 8.967
And I accept adding "cowsay" to Additional Software 1.594
Then Additional Software is correctly configured for package "cowsay" 0.773
When I uninstall "cowsay" using apt 3.271
And I refuse removing "cowsay" from Additional Software 0.546
Then Additional Software is correctly configured for package "cowsay" 0.756
When I start "Additional Software" via GNOME Activities Overview 10.503
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.978
Then "cowsay" is not in the list of Additional Software 0.938
When I install "cowsay" using apt 3.178
And I refuse adding "cowsay" to Additional Software 0.560
Then "cowsay" is not in the list of Additional Software 0.629
After features/support/hooks.rb:515 1.136
After features/support/hooks.rb:326 0.609
After features/support/hooks.rb:100 0.009
11:13.109
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.006
Before features/support/hooks.rb:507 0.006
Steps
Given a computer 0.196
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:17.094
And I configure APT to prefer an old version of cowsay 0.025
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.645
And I accept adding "cowsay" to Additional Software 6.553
And Additional Software is correctly configured for package "cowsay" 0.920
And I shutdown Tails and wait for the computer to power off 6.338
And I start Tails from USB drive "__internal" with network unplugged 58.471
And I enable persistence 13.142
# 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.023
And I log in to a new session 37.027
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 31.697
And I revert the APT tweaks that made it prefer an old version of cowsay 0.052
# 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.069
And the network is plugged 0.071
And Tor is ready 21.304
# 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 7.137
And available upgrades have been checked 0.144
And I see the "The upgrade of your additional software failed" notification after at most 300 seconds 0.957
And I can open the Additional Software configuration window from the notification 3.672
And I shutdown Tails and wait for the computer to power off 2:6.904
And I start Tails from USB drive "__internal" with network unplugged 57.432
And I enable persistence 12.775
# 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.027
And I log in to a new session 40.131
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 32.043
And I revert the APT tweaks that made it prefer an old version of cowsay 0.055
And the network is plugged 0.070
And Tor is ready 51.857
Then the Additional Software upgrade service has started 0.174
And the installed version of package "cowsay" is newer than "3.03+dfsg2-1" 0.087
Hooks
After features/support/hooks.rb:515 1.315
Unexpected connections were made
  #<OpenStruct mac_saddr="50:54:00:e2:a6:94", mac_daddr="33:33:00:00:00:02", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::a093:db20:9777:2414", daddr="ff02::2">
  #<OpenStruct mac_saddr="50:54:00:e2:a6:94", mac_daddr="52:54:00:69:2c:ac", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::a093:db20:9777:2414", daddr="fe80::5054:ff:fe69:2cac">
  #<OpenStruct mac_saddr="50:54:00:e2:a6:94", mac_daddr="33:33:00:00:00:16", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="fe80::a093:db20:9777:2414", daddr="ff02::16">
  #<OpenStruct mac_saddr="50:54:00:e2:a6:94", mac_daddr="33:33:ff:a0:e7:16", protocol="ipv6", sport=nil, dport=nil, dns_question=[], saddr="::", daddr="ff02::1:ffa0:e716"> (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.485

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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_15451-support-manual-fsck-on-error/26/artifact/build-artifacts/01:26:30_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.027
2:13.270
Before features/support/hooks.rb:269 0.006
Before features/support/hooks.rb:507 0.007
Given a computer 0.190
And I start Tails from USB drive "__internal" with network unplugged 58.525
And I enable persistence 12.888
And I remove the "cowsay" deb files from the APT cache 0.080
# 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.130
And I log in to a new session 44.167
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 11.832
And I can open the Additional Software log file from the notification 4.905
And the package "cowsay" is not installed 0.549
After features/support/hooks.rb:515 0.122
After features/support/hooks.rb:326 1.139
After features/support/hooks.rb:100 0.009