Project Number Date
test_Tails_ISO_devel 3468 07 Aug 2024, 21:43

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 118 1 2 0 0 121 16 1 17 40:45.158 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
5:15.775
Scenario Tails Persistent Storage behave tests
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails from DVD and logged in with an administration password and the network is connected 2:13.815
And I update APT using apt 3:1.960
Tor
Tor operation failed (despite retrying 10 times) with
ExecutionFailedInVM: Command failed: echo asdf ! | sudo -S apt --error-on=any update
error code: 100
stdout: Get:1 tor+https://cdn-fastly.deb.debian.org/debian bookworm InRelease [151 kB]
Get:2 tor+https://deb.tails.boum.org devel InRelease [6,142 B]
Get:3 tor+https://deb.tails.boum.org 20333-fix-gnome-shell-segfault InRelease [6,211 B]
Get:4 tor+https://cdn-fastly.deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
Get:5 tor+https://deb.tails.boum.org devel/main amd64 Packages [7,862 B]
Get:6 tor+https://cdn-fastly.deb.debian.org/debian bullseye InRelease [116 kB]
Get:7 tor+https://cdn-fastly.deb.debian.org/debian-security bullseye-security InRelease [48.4 kB]
Get:8 tor+https://deb.tails.boum.org 20333-fix-gnome-shell-segfault/main amd64 Packages [2,590 B]
Get:9 tor+https://cdn-fastly.deb.debian.org/debian sid InRelease [198 kB]
Ign:10 tor+https://deb.torproject.org/torproject.org bookworm InRelease
Get:11 tor+https://cdn-fastly.deb.debian.org/debian bookworm/main amd64 Packages [8,788 kB]
Err:12 tor+https://deb.torproject.org/torproject.org bookworm Release
  SOCKS proxy socks5h://127.0.0.1:9050 could not connect to deb.torproject.org (0.0.0.0:0) due to: general SOCKS server failure (1) [IP: 127.0.0.1 9050]
Get:13 tor+https://cdn-fastly.deb.debian.org/debian bookworm/main Translation-en [6,109 kB]
Get:14 tor+https://cdn-fastly.deb.debian.org/debian bookworm/contrib amd64 Packages [54.1 kB]
Get:15 tor+https://cdn-fastly.deb.debian.org/debian bookworm/contrib Translation-en [48.8 kB]
Get:16 tor+https://cdn-fastly.deb.debian.org/debian-security bookworm-security/main amd64 Packages [170 kB]
Get:17 tor+https://cdn-fastly.deb.debian.org/debian-security bookworm-security/main Translation-en [103 kB]
Get:18 tor+https://cdn-fastly.deb.debian.org/debian-security bookworm-security/contrib amd64 Packages [644 B]
Get:19 tor+https://cdn-fastly.deb.debian.org/debian-security bookworm-security/contrib Translation-en [372 B]
Get:20 tor+https://cdn-fastly.deb.debian.org/debian bullseye/main amd64 Packages [8,067 kB]
Get:21 tor+https://cdn-fastly.deb.debian.org/debian bullseye/main Translation-en [6,236 kB]
Get:22 tor+https://cdn-fastly.deb.debian.org/debian bullseye/contrib amd64 Packages [50.4 kB]
Get:23 tor+https://cdn-fastly.deb.debian.org/debian bullseye/contrib Translation-en [46.9 kB]
Get:24 tor+https://cdn-fastly.deb.debian.org/debian-security bullseye-security/main amd64 Packages [281 kB]
Get:25 tor+https://cdn-fastly.deb.debian.org/debian-security bullseye-security/main Translation-en [181 kB]
Get:26 tor+https://cdn-fastly.deb.debian.org/debian sid/main amd64 Packages [9,905 kB]
Get:27 tor+https://cdn-fastly.deb.debian.org/debian sid/main Translation-en [7,256 kB]
Get:28 tor+https://cdn-fastly.deb.debian.org/debian sid/contrib amd64 Packages [66.1 kB]
Get:29 tor+https://cdn-fastly.deb.debian.org/debian sid/contrib Translation-en [57.4 kB]
Reading package lists...

stderr: [sudo] password for amnesia: 
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

E: The repository 'tor+https://deb.torproject.org/torproject.org bookworm Release' does not have a Release file.

<false> is not true. (MaxRetriesFailure)
./features/support/helpers/misc_helpers.rb:226:in `rescue in block in retry_action'
./features/support/helpers/misc_helpers.rb:209:in `block in retry_action'
./features/support/helpers/misc_helpers.rb:208:in `loop'
./features/support/helpers/misc_helpers.rb:208:in `retry_action'
./features/support/helpers/misc_helpers.rb:196:in `retry_tor'
./features/step_definitions/apt.rb:59:in `/^I update APT using apt$/'
features/persistence.feature:8:in `And I update APT using apt'
And I install "python3-behave" using apt 0.000
Then the Tails Persistent Storage behave tests pass 0.000
After features/support/hooks.rb:326 5.327

SCENARIO FAILED: 'Tails Persistent Storage behave tests' (at time 03:10:02)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3468/artifact/build-artifacts/03:10:02_Tails_Persistent_Storage_behave_tests.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3468/artifact/build-artifacts/03:10:02_Tails_Persistent_Storage_behave_tests.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3468/artifact/build-artifacts/03:10:02_Tails_Persistent_Storage_behave_tests.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3468/artifact/build-artifacts/03:10:02_Tails_Persistent_Storage_behave_tests.journal

After features/support/hooks.rb:100 0.000
Tags: @product
1:2.696
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 30.107
When I log in to a new session without activating the Persistent Storage 24.732
Then Tails is running from USB drive "__internal" 0.534
And persistence is disabled 0.262
But a Tails persistence partition exists on USB drive "__internal" 7.059
After features/support/hooks.rb:326 1.024
After features/support/hooks.rb:100 0.000
Tags: @product
3:22.092
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive without a persistent partition and logged in 16.222
Then Tails is running from USB drive "__internal" 0.609
When I create a file in the Persistent directory 0.134
And I create a persistent partition with the default settings 23.499
Then the file I created was copied to the Persistent Storage 0.646
When I shutdown Tails and wait for the computer to power off 13.212
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:27.274
Then persistence for "Persistent" is active 0.416
And the file I created in the Persistent directory exists 0.078
After features/support/hooks.rb:326 0.956
After features/support/hooks.rb:100 0.010
Tags: @product
1:19.155
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.552
And the system is very low on memory 6.025
When I create a file in the Persistent directory 0.790
When I try to create a persistent partition 24.120
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.246
When I close the Persistent Storage app 2.610
And I free up some memory 1.427
And I create a persistent partition with the default settings 30.985
Then the file I created was copied to the Persistent Storage 0.396
After features/support/hooks.rb:326 1.286
After features/support/hooks.rb:100 0.000
Tags: @product
2:50.698
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.568
Then Tails is running from USB drive "__internal" 0.562
And all tps features are active 2.543
And all persistent directories have safe access rights 2.755
When I disable the first tps feature 5.873
Then all tps features but the first one are active 2.412
And I shutdown Tails and wait for the computer to power off 10.955
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.522
Then all tps features but the first one are active 2.504
After features/support/hooks.rb:326 0.773
After features/support/hooks.rb:100 0.014
Tags: @product
19.164
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.012
Then persistence for "Persistent" is active 0.146
And I create a file in the Persistent directory 0.082
Then the file I created was copied to the Persistent Storage 0.080
When I disable the first tps feature 5.377
Then persistence for "Persistent" is not active 0.087
And the Persistent directory does not exist 0.056
When I enable the first tps feature 3.146
Then persistence for "Persistent" is active 0.098
And the file I created in the Persistent directory exists 0.075
After features/support/hooks.rb:326 0.727
After features/support/hooks.rb:100 0.000
Tags: @product
18.503
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.814
Then persistence for "Persistent" is active 0.158
When I create a file in the Persistent directory 0.074
And I disable the first tps feature 4.613
And I delete the data of the Persistent Folder feature 3.792
Then the file I created does not exist on the Persistent Storage 0.050
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
Tags: @product
1:4.590
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.018
And the network is plugged 0.090
And Tor is ready 18.728
And I take note of which tps features are available 0.867
When I write some files expected to persist 1.527
And I shutdown Tails and wait for the computer to power off 8.726
# XXX: The next step succeeds (and the --debug output confirms that it's actually looking for the files) but will fail in a subsequent scenario restoring the same snapshot. This exactly what we want, but why does it work? What is guestfs's behaviour when qcow2 internal snapshots are involved?
Then only the expected files are present on the persistence partition on USB drive "__internal" 24.631
After features/support/hooks.rb:326 0.085
After features/support/hooks.rb:100 0.000
Tags: @product
3:10.127
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.826
And the network is plugged 0.106
And Tor is ready 18.524
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.238
And I shutdown Tails and wait for the computer to power off 8.745
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:12.677
And I capture all network traffic 0.008
And the network is plugged 0.263
And Tor is ready 18.937
And I switch to the "persistent-con-current" NetworkManager connection 0.400
And the 1st network device has a spoofed MAC address configured 0.130
And no network device leaked the real MAC address 0.267
After features/support/hooks.rb:326 0.766
After features/support/hooks.rb:100 0.052
Tags: @product
1:17.669
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 27.578
And I enable persistence creation in Tails Greeter 1.175
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.514
Then I create a persistent partition with the default settings using the wizard that was already open 27.401
After features/support/hooks.rb:326 1.812
After features/support/hooks.rb:100 0.000
Tags: @product
6:5.637
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 34.895
When I enable persistence 1:5.806
Then no persistent Greeter options were restored 17.155
When I set all Greeter options to non-default values 25.427
And I log in to a new session in German (de) after having activated the Persistent Storage 58.528
Then all Greeter options are set to non-default values 0.477
When I cold reboot the computer 8.050
And the computer reboots Tails 1:5.710
Given I enable persistence 32.154
Then persistent Greeter options were restored 16.512
When I log in to a new session after having activated the Persistent Storage 40.387
Then all Greeter options are set to non-default values 0.531
After features/support/hooks.rb:326 1.101
After features/support/hooks.rb:100 0.012
Tags: @product
3:37.780
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.222
# Note that if anything fails after the passphrase was changed and
# before it's changed back below, subsequent scenarios might fail
# because the Persistent Storage doesn't have the expected passphrase.
When I change the passphrase of the Persistent Storage 32.482
And I shutdown Tails and wait for the computer to power off 13.084
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:7.379
And I change the passphrase of the Persistent Storage back to the original 34.611
After features/support/hooks.rb:326 2.594
After features/support/hooks.rb:100 0.014
Tags: @product
59.450
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.781
And I log in to a new session without activating the Persistent Storage 22.926
Then persistence is disabled 0.306
But a Tails persistence partition exists on USB drive "__internal" 8.028
And all notifications have disappeared 9.640
When I delete the persistent partition 6.380
Then there is no persistence partition on USB drive "__internal" 0.386
After features/support/hooks.rb:326 0.993
After features/support/hooks.rb:100 0.000
Tags: @product
2:32.693
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.862
When I write some dotfile expected to persist 0.117
And I shutdown Tails and wait for the computer to power off 11.304
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.051
Then the expected persistent dotfile is present in the filesystem 0.357
After features/support/hooks.rb:326 0.666
After features/support/hooks.rb:100 0.022
Tags: @product
1:41.740
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.809
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.080
When I try to enable persistence 0.299
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.847
When I log in to a new session after having activated the Persistent Storage 43.702
And all notifications have disappeared 7.546
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.863
And all tps features are enabled 2.578
And all tps features but the first one are active 2.012
After features/support/hooks.rb:326 2.297
After features/support/hooks.rb:100 0.000
Tags: @product
5:14.910
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 3:46.587
And I enable persistence 36.401
And I log in to a new session after having activated the Persistent Storage 49.801
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.819
And persistence is enabled 0.300
After features/support/hooks.rb:326 1.481
After features/support/hooks.rb:100 0.000
Tags: @product
32.473
Before features/support/hooks.rb:269 0.021
Given I have started Tails without network from a USB drive with a LUKS 1 persistent partition and stopped at Tails Greeter's login screen 11.515
And I enable persistence but something goes wrong during the LUKS header upgrade 20.094
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.862
After features/support/hooks.rb:326 0.812
After features/support/hooks.rb:100 0.000