Project Number Date
test_Tails_ISO_devel 3355 18 Apr 2024, 19:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 119 1 1 0 0 121 16 1 17 33:14.448 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:21.467
Before features/support/hooks.rb:259 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:33.479
And I update APT using apt 19.879
And I install "python3-behave" using apt 25.895
Then the Tails Persistent Storage behave tests pass 2.212
After features/support/hooks.rb:305 0.609
After features/support/hooks.rb:89 0.000
Tags: @product
41.329
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.823
When I log in to a new session without activating the Persistent Storage 19.189
Then Tails is running from USB drive "__internal" 0.884
And persistence is disabled 0.344
But a Tails persistence partition exists on USB drive "__internal" 8.088
After features/support/hooks.rb:305 0.788
After features/support/hooks.rb:89 0.000
Tags: @product
3:9.025
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.245
Then Tails is running from USB drive "__internal" 0.598
When I create a file in the Persistent directory 0.185
And I create a persistent partition with the default settings 25.006
Then the file I created was copied to the Persistent Storage 0.478
When I shutdown Tails and wait for the computer to power off 13.224
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.870
Then persistence for "Persistent" is active 0.348
And the file I created in the Persistent directory exists 0.067
After features/support/hooks.rb:305 0.796
After features/support/hooks.rb:89 0.008
Tags: @product
56.198
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive without a persistent partition and logged in 10.985
And the system is very low on memory 3.248
When I create a file in the Persistent directory 0.786
When I try to create a persistent partition 21.843
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.161
When I close the Persistent Storage app 2.717
And I free up some memory 1.847
And I create a persistent partition with the default settings 14.356
Then the file I created was copied to the Persistent Storage 0.251
After features/support/hooks.rb:305 1.286
After features/support/hooks.rb:89 0.000
Tags: @product
2:34.680
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.694
Then Tails is running from USB drive "__internal" 0.376
And all tps features are active 2.038
And all persistent directories have safe access rights 2.533
When I disable the first tps feature 5.073
Then all tps features but the first one are active 1.713
And I shutdown Tails and wait for the computer to power off 6.747
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.461
Then all tps features but the first one are active 2.040
After features/support/hooks.rb:305 0.681
After features/support/hooks.rb:89 0.010
Tags: @product
18.162
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.731
Then persistence for "Persistent" is active 0.096
And I create a file in the Persistent directory 0.123
Then the file I created was copied to the Persistent Storage 0.061
When I disable the first tps feature 4.822
Then persistence for "Persistent" is not active 0.064
And the Persistent directory does not exist 0.046
When I enable the first tps feature 3.080
Then persistence for "Persistent" is active 0.070
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:305 0.718
After features/support/hooks.rb:89 0.000
Tags: @product
18.595
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.905
Then persistence for "Persistent" is active 0.141
When I create a file in the Persistent directory 0.075
And I disable the first tps feature 4.850
And I delete the data of the Persistent Folder feature 3.568
Then the file I created does not exist on the Persistent Storage 0.053
After features/support/hooks.rb:305 0.756
After features/support/hooks.rb:89 0.000
Tags: @product
52.719
Before features/support/hooks.rb:259 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.891
And the network is plugged 0.032
And Tor is ready 19.347
And I take note of which tps features are available 0.565
When I write some files expected to persist 1.463
And I shutdown Tails and wait for the computer to power off 6.491
# 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" 15.927
After features/support/hooks.rb:305 0.157
After features/support/hooks.rb:89 0.000
Tags: @product
3:7.689
Before features/support/hooks.rb:259 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.209
And the network is plugged 0.043
And Tor is ready 18.423
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.218
And I shutdown Tails and wait for the computer to power off 6.574
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:9.965
And I capture all network traffic 0.007
And the network is plugged 0.053
And Tor is ready 21.455
And I switch to the "persistent-con-current" NetworkManager connection 0.327
And the 1st network device has a spoofed MAC address configured 0.155
And no network device leaked the real MAC address 0.256
After features/support/hooks.rb:305 0.633
After features/support/hooks.rb:89 0.063
Tags: @product
55.140
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 11.514
And I enable persistence creation in Tails Greeter 1.122
And I log in to a new session expecting no warning about the Persistent Storage not being activated 18.496
Then I create a persistent partition with the default settings using the wizard that was already open 24.007
After features/support/hooks.rb:305 1.591
After features/support/hooks.rb:89 0.000
Tags: @product
4:48.079
Before features/support/hooks.rb:259 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 14.126
When I enable persistence 33.394
Then no persistent Greeter options were restored 15.188
When I set all Greeter options to non-default values 26.020
And I log in to a new session in German (de) after having activated the Persistent Storage 45.223
Then all Greeter options are set to non-default values 0.413
When I cold reboot the computer 7.678
And the computer reboots Tails 1:1.513
Given I enable persistence 33.171
Then persistent Greeter options were restored 15.349
When I log in to a new session after having activated the Persistent Storage 35.169
Then all Greeter options are set to non-default values 0.827
After features/support/hooks.rb:305 1.473
After features/support/hooks.rb:89 0.008
Tags: @product
3:56.913
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.519
# 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 36.530
And I shutdown Tails and wait for the computer to power off 14.702
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:10.710
And I change the passphrase of the Persistent Storage back to the original 45.451
After features/support/hooks.rb:305 2.568
After features/support/hooks.rb:89 0.016
Tags: @product
52.611
Before features/support/hooks.rb:259 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.704
And I log in to a new session without activating the Persistent Storage 17.896
Then persistence is disabled 0.245
But a Tails persistence partition exists on USB drive "__internal" 9.624
And all notifications have disappeared 9.021
When I delete the persistent partition 5.722
Then there is no persistence partition on USB drive "__internal" 0.397
After features/support/hooks.rb:305 0.782
After features/support/hooks.rb:89 0.000
Tags: @product
1:53.136
Scenario Dotfiles persistence
Before features/support/hooks.rb:259 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.656
When I write some dotfile expected to persist 0.082
And I shutdown Tails and wait for the computer to power off 6.395
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:37.002
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:448:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:79:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:67:in `loop'
./features/support/helpers/misc_helpers.rb:67:in `block in try_for'
./features/support/helpers/misc_helpers.rb:66:in `try_for'
./features/step_definitions/common_steps.rb:447:in `block in <top (required)>'
./features/step_definitions/common_steps.rb:286:in `block in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:146:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:52:in `try_for'
./features/step_definitions/common_steps.rb:447:in `/^the computer (?:re)?boots Tails( with genuine APT sources)?$/'
./features/step_definitions/common_steps.rb:286: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/persistence.feature:139:in `And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled'
Then the expected persistent dotfile is present in the filesystem 0.000
After features/support/hooks.rb:305 4.261

SCENARIO FAILED: 'Dotfiles persistence' (at time 03:20:30)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3355/artifact/build-artifacts/03:20:30_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3355/artifact/build-artifacts/03:20:30_Dotfiles_persistence.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3355/artifact/build-artifacts/03:20:30_Dotfiles_persistence.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3355/artifact/build-artifacts/03:20:30_Dotfiles_persistence.journal

After features/support/hooks.rb:89 0.008
Tags: @product
1:36.799
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.187
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.095
When I try to enable persistence 0.279
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.196
When I log in to a new session after having activated the Persistent Storage 39.056
And all notifications have disappeared 9.190
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 3.375
And all tps features are enabled 2.498
And all tps features but the first one are active 1.920
After features/support/hooks.rb:305 0.716
After features/support/hooks.rb:89 0.000
Tags: @product
4:20.786
Before features/support/hooks.rb:259 0.007
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:3.813
And I enable persistence 33.833
And I log in to a new session after having activated the Persistent Storage 41.682
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 1.284
And persistence is enabled 0.172
After features/support/hooks.rb:305 1.418
After features/support/hooks.rb:89 0.000
Tags: @product
31.112
Before features/support/hooks.rb:259 0.007
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 9.025
And I enable persistence but something goes wrong during the LUKS header upgrade 21.343
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.743
After features/support/hooks.rb:305 0.731
After features/support/hooks.rb:89 0.000