Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 64 12 Dec 2024, 06:58

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 21:50.754 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:36.131
Before features/support/hooks.rb:269 0.002
Before features/support/hooks.rb:507 0.010
Given I start Tails from a freshly installed USB drive with an administration password and the network is plugged and I login 59.583
And I update APT using apt 13.003
And I install "popularity-contest" using apt 23.177
Then I am proposed to add the "popularity-contest" package to my Additional Software 5.930
When I create a persistent storage and activate the Additional Software feature 16.510
Then Additional Software is correctly configured for package "popularity-contest" 1.423
When I shutdown Tails and wait for the computer to power off 10.621
And I start Tails from USB drive "__internal" with network unplugged 1:1.464
And I enable persistence 19.410
And I log in to a new session 31.336
And the Additional Software installation service has started 31.392
Then I am notified that the installation succeeded 1.235
And Additional Software is correctly configured for package "popularity-contest" 0.778
And the package "popularity-contest" is installed after Additional Software has been started 0.263
After features/support/hooks.rb:515 13.805
After features/support/hooks.rb:326 2.089
After features/support/hooks.rb:100 0.010
2:26.992
Before features/support/hooks.rb:269 0.003
Before features/support/hooks.rb:507 0.004
Given a computer 0.200
And I start Tails from USB drive "__internal" and I login with an administration password 1:45.584
And I update APT using apt 12.198
When I install "makepp" using apt 22.368
Then the Additional Software dpkg hook has been run for package "makepp" and notices the persistence is locked 6.460
And the package "makepp" is installed 0.181
After features/support/hooks.rb:515 13.592
After features/support/hooks.rb:326 1.238
After features/support/hooks.rb:100 0.011
4:54.661
Before features/support/hooks.rb:269 0.004
Before features/support/hooks.rb:507 0.005
Given a computer 0.187
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 3:5.495
When I uninstall "popularity-contest" using apt 21.760
And I accept removing "popularity-contest" from Additional Software 0.591
Then "popularity-contest" is not in the list of Additional Software 0.724
When I start Synaptic 23.592
And I update APT using Synaptic 22.182
And I install "cowsay" using Synaptic 8.871
And I accept adding "cowsay" to Additional Software 1.731
Then Additional Software is correctly configured for package "cowsay" 0.816
When I uninstall "cowsay" using apt 6.325
And I refuse removing "cowsay" from Additional Software 0.559
Then Additional Software is correctly configured for package "cowsay" 0.796
When I start "Additional Software" via GNOME Activities Overview 10.518
And I remove "cowsay" from the list of Additional Software using Additional Software GUI 4.985
Then "cowsay" is not in the list of Additional Software 1.127
When I install "cowsay" using apt 3.188
And I refuse adding "cowsay" to Additional Software 0.544
Then "cowsay" is not in the list of Additional Software 0.662
After features/support/hooks.rb:515 0.579
After features/support/hooks.rb:326 0.713
After features/support/hooks.rb:100 0.008
7:48.711
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.190
And I start Tails from USB drive "__internal" and I login with persistence enabled and an administration password 2:15.178
And I configure APT to prefer an old version of cowsay 0.058
When I install an old version "3.03+dfsg2-1" of the cowsay package using apt 26.049
And I accept adding "cowsay" to Additional Software 5.352
And Additional Software is correctly configured for package "cowsay" 0.883
And I shutdown Tails and wait for the computer to power off 6.721
And I start Tails from USB drive "__internal" with network unplugged 1:1.923
And I enable persistence 12.686
# 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.111
And I log in to a new session 25.209
And the installed version of package "cowsay" is "3.03+dfsg2-1" after Additional Software has been started 2:12.381
And I revert the APT tweaks that made it prefer an old version of cowsay 0.062
# 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.072
And the network is plugged 0.088
And Tor is ready 1:1.718
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:645:in `/^I successfully configure Tor$/'
./features/step_definitions/common_steps.rb:600: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:515 0.036
After features/support/hooks.rb:326 14.242

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

Chutney logs: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/64/artifact/build-artifacts/01:29:13_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_20524-warn-danger-unplug-usb-stick/64/artifact/build-artifacts/01:29:13_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/64/artifact/build-artifacts/01:29:13_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/64/artifact/build-artifacts/01:29:13_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.017
2:4.256
Before features/support/hooks.rb:269 0.012
Before features/support/hooks.rb:507 0.016
Given a computer 0.317
And I start Tails from USB drive "__internal" with network unplugged 1:2.566
And I enable persistence 13.038
And I remove the "cowsay" deb files from the APT cache 0.071
# 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.093
And I log in to a new session 29.577
Then I see the "The installation of your additional software failed" notification after at most 300 seconds 12.827
And I can open the Additional Software log file from the notification 5.155
And the package "cowsay" is not installed 0.609
After features/support/hooks.rb:515 0.156
After features/support/hooks.rb:326 1.173
After features/support/hooks.rb:100 0.008