Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 37 24 Dec 2024, 01:49

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 155 1 1 0 0 157 20 1 21 1:2:11.593 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:25.587
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.089
And I update APT using apt 14.378
And I install "python3-behave" using apt 25.428
Then the Tails Persistent Storage behave tests pass 2.691
After features/support/hooks.rb:326 0.698
After features/support/hooks.rb:100 0.001
Tags: @product
52.641
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 12.491
When I log in to a new session without activating the Persistent Storage 22.407
Then Tails is running from USB drive "__internal" 0.764
And persistence is disabled 0.723
But a Tails persistence partition exists on USB drive "__internal" 16.254
After features/support/hooks.rb:326 1.156
After features/support/hooks.rb:100 0.000
Tags: @product
3:32.137
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 13.530
Then Tails is running from USB drive "__internal" 0.379
When I create a file in the Persistent directory 0.145
And I create a persistent partition with the default settings 32.655
Then the file I created was copied to the Persistent Storage 0.722
When I shutdown Tails and wait for the computer to power off 11.404
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:32.833
Then persistence for "Persistent" is active 0.392
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:326 1.104
After features/support/hooks.rb:100 0.011
Tags: @product
1:5.232
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.276
And the system is very low on memory 4.278
When I create a file in the Persistent directory 0.912
When I try to create a persistent partition 29.198
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.220
When I close the Persistent Storage app 2.606
And I free up some memory 1.794
And I create a persistent partition with the default settings 14.694
Then the file I created was copied to the Persistent Storage 0.250
After features/support/hooks.rb:326 1.232
After features/support/hooks.rb:100 0.000
Tags: @product
3:9.724
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 15.102
Then Tails is running from USB drive "__internal" 0.679
And all tps features are active 4.605
And all persistent directories have safe access rights 2.790
When I disable the first tps feature 9.975
Then all tps features but the first one are active 5.186
And I shutdown Tails and wait for the computer to power off 17.661
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.348
Then all tps features but the first one are active 2.376
After features/support/hooks.rb:326 0.723
After features/support/hooks.rb:100 0.010
Tags: @product
22.877
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 12.400
Then persistence for "Persistent" is active 0.090
And I create a file in the Persistent directory 0.093
Then the file I created was copied to the Persistent Storage 0.102
When I disable the first tps feature 6.774
Then persistence for "Persistent" is not active 0.077
And the Persistent directory does not exist 0.054
When I enable the first tps feature 3.124
Then persistence for "Persistent" is active 0.089
And the file I created in the Persistent directory exists 0.070
After features/support/hooks.rb:326 0.755
After features/support/hooks.rb:100 0.000
Tags: @product
24.188
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 11.741
Then persistence for "Persistent" is active 0.078
When I create a file in the Persistent directory 0.065
And I disable the first tps feature 6.998
And I delete the data of the Persistent Folder feature 5.243
Then the file I created does not exist on the Persistent Storage 0.061
After features/support/hooks.rb:326 0.873
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.244
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 11.513
And the network is plugged 0.090
And Tor is ready 23.034
And I take note of which tps features are available 0.619
When I write some files expected to persist 3.054
And I shutdown Tails and wait for the computer to power off 8.827
# 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" 25.104
After features/support/hooks.rb:326 0.120
After features/support/hooks.rb:100 0.000
Tags: @product
3:43.722
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 26.452
And the network is plugged 0.093
And Tor is ready 25.062
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.259
And I shutdown Tails and wait for the computer to power off 13.154
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:15.073
And I capture all network traffic 0.007
And the network is plugged 0.112
And Tor is ready 22.866
And I switch to the "persistent-con-current" NetworkManager connection 0.418
And the 1st network device has a spoofed MAC address configured 0.084
And no network device leaked the real MAC address 0.137
After features/support/hooks.rb:326 0.709
After features/support/hooks.rb:100 0.061
Tags: @product
1:6.907
Before features/support/hooks.rb:269 0.016
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 14.631
And I enable persistence creation in Tails Greeter 1.316
And I log in to a new session expecting no warning about the Persistent Storage not being activated 22.276
Then I create a persistent partition with the default settings using the wizard that was already open 28.682
After features/support/hooks.rb:326 1.959
After features/support/hooks.rb:100 0.000
Tags: @product
4:42.834
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 16.161
When I enable persistence 38.092
Then no persistent Greeter options were restored 14.562
When I set all Greeter options to non-default values 25.759
And I log in to a new session in German (de) after having activated the Persistent Storage 54.460
Then all Greeter options are set to non-default values 0.628
When I cold reboot the computer 7.775
And the computer reboots Tails 1:3.703
Given I enable persistence 22.606
Then persistent Greeter options were restored 0.621
When I log in to a new session after having activated the Persistent Storage 37.994
Then all Greeter options are set to non-default values 0.467
After features/support/hooks.rb:326 1.314
After features/support/hooks.rb:100 0.013
Tags: @product
3:48.488
Before features/support/hooks.rb:269 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13.072
# 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 40.568
And I shutdown Tails and wait for the computer to power off 12.750
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:13.216
And I change the passphrase of the Persistent Storage back to the original 28.879
After features/support/hooks.rb:326 2.215
After features/support/hooks.rb:100 0.012
Tags: @product
55.344
Before features/support/hooks.rb:269 0.005
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 12.162
And I log in to a new session without activating the Persistent Storage 20.519
Then persistence is disabled 0.295
But a Tails persistence partition exists on USB drive "__internal" 7.052
And all notifications have disappeared 8.757
When I delete the persistent partition 6.094
Then there is no persistence partition on USB drive "__internal" 0.461
After features/support/hooks.rb:326 2.722
After features/support/hooks.rb:100 0.000
Tags: @product
22:38.191
Scenario Dotfiles persistence
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 11.629
When I write some dotfile expected to persist 0.104
And I shutdown Tails and wait for the computer to power off 10.728
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 22:15.728
execution expired (RemoteShell::Timeout)
./features/support/helpers/remote_shell.rb:56:in `read'
./features/support/helpers/remote_shell.rb:56:in `block (3 levels) in communicate'
./features/support/helpers/remote_shell.rb:55: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/common_steps.rb:712:in `new'
./features/step_definitions/common_steps.rb:712:in `/^all notifications have disappeared$/'
./features/step_definitions/common_steps.rb:298: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:326 10.869

SCENARIO FAILED: 'Dotfiles persistence' (at time 04:02:01)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/37/artifact/build-artifacts/04:02:01_Dotfiles_persistence.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/37/artifact/build-artifacts/04:02:01_Dotfiles_persistence.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20531-early-reporting-of-bad-devices/37/artifact/build-artifacts/04:02:01_Dotfiles_persistence.journal

After features/support/hooks.rb:100 0.012
Tags: @product
1:41.723
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 9.489
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.137
When I try to enable persistence 0.316
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.771
When I log in to a new session after having activated the Persistent Storage 42.864
And all notifications have disappeared 8.363
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.184
And all tps features are enabled 2.399
And all tps features but the first one are active 2.196
After features/support/hooks.rb:326 2.434
After features/support/hooks.rb:100 0.000
Tags: @product
5:4.512
Before features/support/hooks.rb:269 0.008
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:39.427
And I enable persistence 35.139
And I log in to a new session after having activated the Persistent Storage 41.480
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 5.376
And persistence is enabled 3.087
After features/support/hooks.rb:326 1.111
After features/support/hooks.rb:100 0.000
Tags: @product
35.621
Before features/support/hooks.rb:269 0.005
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.033
And I enable persistence but something goes wrong during the LUKS header upgrade 25.535
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 1.052
After features/support/hooks.rb:326 1.036
After features/support/hooks.rb:100 0.000
Tags: @product
1:0.536
Before features/support/hooks.rb:269 0.014
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.235
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 10.158
When I enable persistence 37.403
Then the filesystem of the Persistent Storage was repaired 0.085
And persistence is successfully enabled 2.653
After features/support/hooks.rb:326 1.403
After features/support/hooks.rb:100 0.000
Tags: @product
27.946
Before features/support/hooks.rb:269 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 8.991
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 7.269
When I try to enable persistence 0.418
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.973
When I repair the filesystem of the Persistent Storage 1.247
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.214
And the filesystem of the Persistent Storage was repaired 0.078
When I close the filesystem repair dialog 1.287
Then persistence is successfully enabled 1.466
After features/support/hooks.rb:326 0.861
After features/support/hooks.rb:100 0.000
Tags: @product @doc
2:3.804
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.653
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.207
When I try to enable persistence 1.345
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 37.098
When I repair the filesystem of the Persistent Storage 1.336
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.091
When I log in to a new session 45.215
And all notifications have disappeared 9.484
# Now both WhisperBack and Tor Browser has started at the same
# time, so we do not know which window is focused. The steps about
# Tor Browser care about that, but the ones about WhisperBack do
# not, so we first deal with WhisperBack and then kill it to
# ensure that Tor Browser is focused.
Then WhisperBack is prefilled for fsck with summary: "Failed to repair the file system of your Persistent Storage" 0.659
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 1.014
When I close the "whisperback" window 1.503
Then the Tor Browser starts 14.786
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 1.406
After features/support/hooks.rb:326 1.759
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:17.323
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 9.372
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 8.144
And Tails detects disk read failures on the boot device 1.747
When I try to enable persistence 0.457
Then the Welcome Screen tells me that my hardware is probably failing 6.567
When I log in to a new session 21.987
And all notifications have disappeared 7.917
Then the Tor Browser starts 20.209
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.920
After features/support/hooks.rb:326 1.391
After features/support/hooks.rb:100 0.000