Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 59 08 Dec 2024, 07:04

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Additional software 55 1 23 0 0 79 4 1 5 18:28.032 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:39.692
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.003
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 59.473
And I update APT using apt 12.530
And I install "popularity-contest" using apt 22.517
Then I am proposed to add the "popularity-contest" package to my Additional Software 8.106
When I create a persistent storage and activate the Additional Software feature 16.088
Then Additional Software is correctly configured for package "popularity-contest" 1.283
When I shutdown Tails and wait for the computer to power off 12.600
And I start Tails from USB drive "__internal" with network unplugged 1:3.864
And I enable persistence 19.498
And I log in to a new session 29.258
And the Additional Software installation service has started 31.626
Then I am notified that the installation succeeded 1.611
And Additional Software is correctly configured for package "popularity-contest" 0.898
And the package "popularity-contest" is installed after Additional Software has been started 0.333
After features/support/hooks.rb:515 13.830
After features/support/hooks.rb:326 1.585
After features/support/hooks.rb:100 0.011
2:29.214
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.202
And I start Tails from USB drive "__internal" and I login with an administration password 1:47.591
And I update APT using apt 13.269
When I install "makepp" using apt 22.634
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 5.440
And the package "makepp" is installed 0.074
After features/support/hooks.rb:515 13.601
After features/support/hooks.rb:326 0.915
After features/support/hooks.rb:100 0.011
4:53.102
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.004
Given a computer 0.274
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:5.833
When I uninstall "popularity-contest" using apt 21.721
And I accept removing "popularity-contest" from Additional Software 0.570
Then "popularity-contest" is not in the list of Additional Software 0.662
When I start Synaptic 23.928
And I update APT using Synaptic 22.072
And I install "cowsay" using Synaptic 8.375
And I accept adding "cowsay" to Additional Software 3.085
Then Additional Software is correctly configured for package "cowsay" 0.725
When I uninstall "cowsay" using apt 3.227
And I refuse removing "cowsay" from Additional Software 0.574
Then Additional Software is correctly configured for package "cowsay" 0.761
When I start "Additional Software" via GNOME Activities Overview 9.753
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 5.860
Then "cowsay" is not in the list of Additional Software 1.133
When I install "cowsay" using apt 3.249
And I refuse adding "cowsay" to Additional Software 0.603
Then "cowsay" is not in the list of Additional Software 0.687
After features/support/hooks.rb:515 0.613
After features/support/hooks.rb:326 0.712
After features/support/hooks.rb:100 0.009
4:25.970
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.004
Before features/support/hooks.rb:507 0.005
Steps
Given a computer 0.191
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:12.696
And I configure APT to prefer an old version of cowsay 0.030
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.419
And I accept adding "cowsay" to Additional Software 4.014
And Additional Software is correctly configured for package "cowsay" 0.819
And I shutdown Tails and wait for the computer to power off 6.323
And I start Tails from USB drive "__internal" with network unplugged 1:35.476
try_for() timeout expired
Last ignored exception was: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/tmp/gdm-env'
./features/support/helpers/remote_shell.rb:71: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:174:in `execute'
./features/support/helpers/remote_shell.rb:185:in `initialize'
./features/support/helpers/dogtail.rb:80:in `new'
./features/support/helpers/dogtail.rb:80:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/usb.rb:108:in `new'
./features/step_definitions/usb.rb:108:in `greeter'
./features/step_definitions/common_steps.rb:451:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:450:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:284:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/common_steps.rb:450:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
features/additional_software_packages.feature:85:in `And I start Tails from USB drive "__internal" with network unplugged'
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
# 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.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
# 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.000
And the network is plugged 0.000
And Tor is ready 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
After features/support/hooks.rb:515 0.029
After features/support/hooks.rb:326 5.183

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

Exception thrown while trying to save /tmp/TailsToaster/artifact.file_content_run_live-additional-software_log: RemoteShell::ServerFailure: FileNotFoundError: [Errno 2] No such file or directory: '/run/live-additional-software/log'

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_Recovering_in_offline_mode_after_Additional_Software_previously_failed_to_upgrade_and_then_succeed_to_upgrade_when_online.file_content_var_log_boot.log

Output of ls -la --full-time /live/persistence/tailsdata_unlocked: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_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_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_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_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_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_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_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_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_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_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_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_20524-warn-danger-unplug-usb-stick/59/artifact/build-artifacts/01:21:05_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.016
2:0.052
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.005
Given a computer 0.168
And I start Tails from USB drive "__internal" with network unplugged 1:3.085
And I enable persistence 13.270
And I remove the "cowsay" deb files from the APT cache 0.057
# 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.086
And I log in to a new session 25.356
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 13.361
And I can open the Additional Software log file from the notification 4.174
And the package "cowsay" is not installed 0.490
After features/support/hooks.rb:515 0.107
After features/support/hooks.rb:326 2.079
After features/support/hooks.rb:100 0.007