Project Number Date
test_Tails_ISO_20524-warn-danger-unplug-usb-stick 34 16 Nov 2024, 14:54

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 41:30.603 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:27.858
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD and logged in with an administration password and the network is connected 1:43.666
And I update APT using apt 14.564
And I install "python3-behave" using apt 25.987
Then the Tails Persistent Storage behave tests pass 3.640
After features/support/hooks.rb:326 0.739
After features/support/hooks.rb:100 0.000
Tags: @product
56.859
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.278
When I log in to a new session without activating the Persistent Storage 30.221
Then Tails is running from USB drive "__internal" 0.961
And persistence is disabled 0.699
But a Tails persistence partition exists on USB drive "__internal" 8.698
After features/support/hooks.rb:326 1.803
After features/support/hooks.rb:100 0.000
Tags: @product
3:12.678
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.080
Then Tails is running from USB drive "__internal" 0.392
When I create a file in the Persistent directory 0.138
And I create a persistent partition with the default settings 20.954
Then the file I created was copied to the Persistent Storage 0.637
When I shutdown Tails and wait for the computer to power off 19.674
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:14.238
Then persistence for "Persistent" is active 0.473
And the file I created in the Persistent directory exists 0.089
After features/support/hooks.rb:326 1.537
After features/support/hooks.rb:100 0.008
Tags: @product
55.933
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.912
And the system is very low on memory 3.869
When I create a file in the Persistent directory 1.375
When I try to create a persistent partition 20.333
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 1.161
When I close the Persistent Storage app 2.809
And I free up some memory 1.143
And I create a persistent partition with the default settings 13.046
Then the file I created was copied to the Persistent Storage 0.280
After features/support/hooks.rb:326 1.273
After features/support/hooks.rb:100 0.000
Tags: @product
2:55.200
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 13.689
Then Tails is running from USB drive "__internal" 0.593
And all tps features are active 5.529
And all persistent directories have safe access rights 2.716
When I disable the first tps feature 6.654
Then all tps features but the first one are active 2.622
And I shutdown Tails and wait for the computer to power off 17.449
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.243
Then all tps features but the first one are active 2.701
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.009
Tags: @product
20.642
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.393
Then persistence for "Persistent" is active 0.151
And I create a file in the Persistent directory 0.069
Then the file I created was copied to the Persistent Storage 0.082
When I disable the first tps feature 5.660
Then persistence for "Persistent" is not active 0.173
And the Persistent directory does not exist 0.065
When I enable the first tps feature 3.868
Then persistence for "Persistent" is active 0.088
And the file I created in the Persistent directory exists 0.087
After features/support/hooks.rb:326 1.262
After features/support/hooks.rb:100 0.000
Tags: @product
20.162
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 9.865
Then persistence for "Persistent" is active 0.258
When I create a file in the Persistent directory 0.123
And I disable the first tps feature 5.793
And I delete the data of the Persistent Folder feature 4.057
Then the file I created does not exist on the Persistent Storage 0.063
After features/support/hooks.rb:326 1.339
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.411
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.706
And the network is plugged 0.137
And Tor is ready 22.654
And I take note of which tps features are available 0.744
When I write some files expected to persist 1.932
And I shutdown Tails and wait for the computer to power off 9.346
# 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" 26.889
After features/support/hooks.rb:326 0.151
After features/support/hooks.rb:100 0.000
Tags: @product
3:31.040
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 11.217
And the network is plugged 0.107
And Tor is ready 23.051
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.206
And I shutdown Tails and wait for the computer to power off 9.248
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:22.486
And I capture all network traffic 0.008
And the network is plugged 0.106
And Tor is ready 23.687
And I switch to the "persistent-con-current" NetworkManager connection 0.529
And the 1st network device has a spoofed MAC address configured 0.144
And no network device leaked the real MAC address 0.246
After features/support/hooks.rb:326 0.976
After features/support/hooks.rb:100 0.053
Tags: @product
1:20.583
Before features/support/hooks.rb:269 0.024
Given I have started Tails without network from a USB drive without a persistent partition and stopped at Tails Greeter's login screen 23.481
And I enable persistence creation in Tails Greeter 1.163
And I log in to a new session expecting no warning about the Persistent Storage not being activated 28.593
Then I create a persistent partition with the default settings using the wizard that was already open 27.344
After features/support/hooks.rb:326 1.927
After features/support/hooks.rb:100 0.000
Tags: @product
4:40.678
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 22.446
When I enable persistence 43.364
Then no persistent Greeter options were restored 14.889
When I set all Greeter options to non-default values 26.279
And I log in to a new session in German (de) after having activated the Persistent Storage 42.731
Then all Greeter options are set to non-default values 0.696
When I cold reboot the computer 8.079
And the computer reboots Tails 1:9.016
Given I enable persistence 21.397
Then persistent Greeter options were restored 0.561
When I log in to a new session after having activated the Persistent Storage 30.837
Then all Greeter options are set to non-default values 0.376
After features/support/hooks.rb:326 1.262
After features/support/hooks.rb:100 0.009
Tags: @product
3:37.373
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.894
# 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 38.703
And I shutdown Tails and wait for the computer to power off 10.616
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:6.832
And I change the passphrase of the Persistent Storage back to the original 30.327
After features/support/hooks.rb:326 2.699
After features/support/hooks.rb:100 0.011
Tags: @product
1:6.888
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 11.763
And I log in to a new session without activating the Persistent Storage 26.560
Then persistence is disabled 0.739
But a Tails persistence partition exists on USB drive "__internal" 9.878
And all notifications have disappeared 10.657
When I delete the persistent partition 6.821
Then there is no persistence partition on USB drive "__internal" 0.467
After features/support/hooks.rb:326 0.952
After features/support/hooks.rb:100 0.000
Tags: @product
2:23.392
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.534
When I write some dotfile expected to persist 0.086
And I shutdown Tails and wait for the computer to power off 8.889
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:3.508
Then the expected persistent dotfile is present in the filesystem 0.374
After features/support/hooks.rb:326 0.789
After features/support/hooks.rb:100 0.011
Tags: @product
1:39.363
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 9.372
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.077
When I try to enable persistence 0.466
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 39.576
When I log in to a new session after having activated the Persistent Storage 33.657
And all notifications have disappeared 7.291
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 4.146
And all tps features are enabled 2.591
And all tps features but the first one are active 2.183
After features/support/hooks.rb:326 1.824
After features/support/hooks.rb:100 0.000
Tags: @product
5:43.912
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 4:23.872
And I enable persistence 43.107
And I log in to a new session after having activated the Persistent Storage 31.522
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 2.512
And persistence is enabled 2.897
After features/support/hooks.rb:326 1.123
After features/support/hooks.rb:100 0.000
Tags: @product
36.249
Before features/support/hooks.rb:269 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 10.562
And I enable persistence but something goes wrong during the LUKS header upgrade 24.754
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.932
After features/support/hooks.rb:326 0.850
After features/support/hooks.rb:100 0.000
Tags: @product
52.618
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.147
And I corrupt the Persistent Storage filesystem on USB drive "__internal" 4.910
When I enable persistence 35.293
Then the filesystem of the Persistent Storage was repaired 0.107
And persistence is successfully enabled 3.159
After features/support/hooks.rb:326 1.736
After features/support/hooks.rb:100 0.000
Tags: @product
26.021
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 9.416
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 5.362
When I try to enable persistence 0.607
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 6.293
When I repair the filesystem of the Persistent Storage 1.268
Then the Welcome Screen tells me that the filesystem was repaired successfully 0.280
And the filesystem of the Persistent Storage was repaired 0.112
When I close the filesystem repair dialog 1.273
Then persistence is successfully enabled 1.404
After features/support/hooks.rb:326 0.840
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:47.381
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.068
And the Persistent Storage filesystem is corrupted beyond what e2fsck can repair 0.094
When I try to enable persistence 0.395
Then the Welcome Screen tells me that filesystem errors were found on the Persistent Storage 31.503
When I repair the filesystem of the Persistent Storage 1.256
Then the Welcome Screen tells me that it failed to repair the Persistent Storage 0.096
When I log in to a new session 32.576
And all notifications have disappeared 7.056
# 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" 1.068
And the file "/var/lib/gdm3/post-greeter-whisperback.json" is empty 0.269
When I close the "whisperback" window 1.511
Then the Tor Browser starts 21.623
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.860
After features/support/hooks.rb:326 2.532
After features/support/hooks.rb:100 0.000
Tags: @product @doc
1:23.353
Scenario Filesystem and I/O errors
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 10.371
And I corrupt the Persistent Storage filesystem on USB drive "__internal" in a way which can't be automatically repaired 6.795
And Tails detects disk read failures on the boot device 2.172
When I try to enable persistence 0.690
Then the Welcome Screen tells me that my hardware is probably failing 5.085
When I log in to a new session 24.520
And all notifications have disappeared 9.359
Then the Tor Browser starts 24.358
cannot find TorBrowserNewTabButton.png on the screen (FindFailed)
./features/support/helpers/screen.rb:179:in `rescue in wait'
./features/support/helpers/screen.rb:163:in `wait'
./features/step_definitions/browser.rb:465:in `/^the Tor Browser (?:has started|starts)$/'
features/persistence.feature:213:in `Then the Tor Browser starts'
And "Tails - Recovering data from the Persistent Storage when it has file system errors" has loaded in the Tor Browser 0.000
After features/support/hooks.rb:326 6.711

SCENARIO FAILED: 'Filesystem and I/O errors' (at time 03:57:53)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/34/artifact/build-artifacts/03:57:53_Filesystem_and_I_O_errors.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/34/artifact/build-artifacts/03:57:53_Filesystem_and_I_O_errors.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/34/artifact/build-artifacts/03:57:53_Filesystem_and_I_O_errors.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20524-warn-danger-unplug-usb-stick/34/artifact/build-artifacts/03:57:53_Filesystem_and_I_O_errors.journal

After features/support/hooks.rb:100 0.000