Project Number Date
test_Tails_ISO_devel 3378 07 May 2024, 12:36

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Tails persistence 117 1 3 0 0 121 16 1 17 36:13.404 Failed
Tags: @product
Feature Tails persistence
As a Tails user I want to use a Persistent Storage
Tags: @product
2:16.429
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:30.862
And I update APT using apt 17.701
And I install "python3-behave" using apt 25.481
Then the Tails Persistent Storage behave tests pass 2.384
After features/support/hooks.rb:305 0.575
After features/support/hooks.rb:89 0.000
Tags: @product
51.990
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 13.851
When I log in to a new session without activating the Persistent Storage 25.076
Then Tails is running from USB drive "__internal" 0.840
And persistence is disabled 0.457
But a Tails persistence partition exists on USB drive "__internal" 11.764
After features/support/hooks.rb:305 1.560
After features/support/hooks.rb:89 0.000
Tags: @product
3:5.946
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 12.430
Then Tails is running from USB drive "__internal" 0.625
When I create a file in the Persistent directory 0.206
And I create a persistent partition with the default settings 27.747
Then the file I created was copied to the Persistent Storage 0.643
When I shutdown Tails and wait for the computer to power off 12.612
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:11.251
Then persistence for "Persistent" is active 0.365
And the file I created in the Persistent directory exists 0.064
After features/support/hooks.rb:305 0.738
After features/support/hooks.rb:89 0.010
Tags: @product
1:13.678
Before features/support/hooks.rb:259 0.006
Given I have started Tails without network from a USB drive without a persistent partition and logged in 11.013
And the system is very low on memory 15.552
When I create a file in the Persistent directory 2.403
When I try to create a persistent partition 24.726
Then The Persistent Storage app shows the error message "Not enough memory to create Persistent Storage" 0.283
When I close the Persistent Storage app 2.549
And I free up some memory 1.321
And I create a persistent partition with the default settings 15.102
Then the file I created was copied to the Persistent Storage 0.725
After features/support/hooks.rb:305 1.389
After features/support/hooks.rb:89 0.000
Tags: @product
2:32.861
Before features/support/hooks.rb:259 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.107
Then Tails is running from USB drive "__internal" 0.350
And all tps features are active 2.321
And all persistent directories have safe access rights 2.371
When I disable the first tps feature 5.094
Then all tps features but the first one are active 2.007
And I shutdown Tails and wait for the computer to power off 8.711
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 1:59.763
Then all tps features but the first one are active 2.134
After features/support/hooks.rb:305 0.615
After features/support/hooks.rb:89 0.007
Tags: @product
18.478
Before features/support/hooks.rb:259 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.596
Then persistence for "Persistent" is active 0.156
And I create a file in the Persistent directory 0.144
Then the file I created was copied to the Persistent Storage 0.062
When I disable the first tps feature 5.166
Then persistence for "Persistent" is not active 0.071
And the Persistent directory does not exist 0.068
When I enable the first tps feature 3.063
Then persistence for "Persistent" is active 0.074
And the file I created in the Persistent directory exists 0.074
After features/support/hooks.rb:305 0.770
After features/support/hooks.rb:89 0.000
Tags: @product
22.635
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.765
Then persistence for "Persistent" is active 0.208
When I create a file in the Persistent directory 0.136
And I disable the first tps feature 7.846
And I delete the data of the Persistent Folder feature 3.593
Then the file I created does not exist on the Persistent Storage 0.084
After features/support/hooks.rb:305 0.803
After features/support/hooks.rb:89 0.000
Tags: @product
1:1.224
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.407
And the network is plugged 0.038
And Tor is ready 15.959
And I take note of which tps features are available 1.440
When I write some files expected to persist 1.371
And I shutdown Tails and wait for the computer to power off 8.751
# 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.255
After features/support/hooks.rb:305 0.109
After features/support/hooks.rb:89 0.000
Tags: @product
3:33.606
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.817
And the network is plugged 0.035
And Tor is ready 46.937
And I add a wired DHCP NetworkManager connection called "persistent-con-current" 0.187
And I shutdown Tails and wait for the computer to power off 8.474
Given I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:7.012
And I capture all network traffic 0.007
And the network is plugged 0.045
And Tor is ready 20.379
And I switch to the "persistent-con-current" NetworkManager connection 0.381
And the 1st network device has a spoofed MAC address configured 0.092
And no network device leaked the real MAC address 0.235
After features/support/hooks.rb:305 0.916
After features/support/hooks.rb:89 0.093
Tags: @product
1:7.139
Before features/support/hooks.rb:259 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 15.535
And I enable persistence creation in Tails Greeter 1.271
And I log in to a new session expecting no warning about the Persistent Storage not being activated 21.611
Then I create a persistent partition with the default settings using the wizard that was already open 28.721
After features/support/hooks.rb:305 1.937
After features/support/hooks.rb:89 0.000
Tags: @product
4:51.462
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 13.121
When I enable persistence 37.134
Then no persistent Greeter options were restored 15.251
When I set all Greeter options to non-default values 22.709
And I log in to a new session in German (de) after having activated the Persistent Storage 51.417
Then all Greeter options are set to non-default values 0.689
When I cold reboot the computer 7.515
And the computer reboots Tails 59.827
Given I enable persistence 31.598
Then persistent Greeter options were restored 15.525
When I log in to a new session after having activated the Persistent Storage 36.180
Then all Greeter options are set to non-default values 0.491
After features/support/hooks.rb:305 0.995
After features/support/hooks.rb:89 0.010
Tags: @product
3:41.552
Before features/support/hooks.rb:259 0.009
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.122
# 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 33.534
And I shutdown Tails and wait for the computer to power off 14.410
Then I start Tails from USB drive "__internal" with network unplugged and I login with the changed persistence passphrase 2:0.987
And I change the passphrase of the Persistent Storage back to the original 42.498
After features/support/hooks.rb:305 2.447
After features/support/hooks.rb:89 0.009
Tags: @product
59.679
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 10.072
And I log in to a new session without activating the Persistent Storage 19.939
Then persistence is disabled 0.437
But a Tails persistence partition exists on USB drive "__internal" 10.354
And all notifications have disappeared 11.641
When I delete the persistent partition 6.820
Then there is no persistence partition on USB drive "__internal" 0.412
After features/support/hooks.rb:305 0.895
After features/support/hooks.rb:89 0.000
Tags: @product
2:23.298
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.867
When I write some dotfile expected to persist 0.083
And I shutdown Tails and wait for the computer to power off 8.362
And I start Tails from USB drive "__internal" with network unplugged and I login with persistence enabled 2:4.487
Then the expected persistent dotfile is present in the filesystem 0.498
After features/support/hooks.rb:305 0.695
After features/support/hooks.rb:89 0.012
Tags: @product
1:34.429
Scenario Feature activation fails
Before features/support/hooks.rb:259 0.019
Steps
Given I have started Tails without network from a USB drive with a persistent partition and stopped at Tails Greeter's login screen 9.370
And I create a symlink "/home/amnesia/Persistent" to "/etc" 0.099
When I try to enable persistence 0.391
Then the Welcome Screen tells me that the Persistent Folder feature couldn't be activated 31.270
When I log in to a new session after having activated the Persistent Storage 42.622
And all notifications have disappeared 10.674
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
features/persistence.feature:148:in `And all notifications have disappeared'
Then the Persistent Storage settings tell me that the Persistent Folder feature couldn't be activated 0.000
And all tps features are enabled 0.000
And all tps features but the first one are active 0.000
After features/support/hooks.rb:305 4.512

SCENARIO FAILED: 'Feature activation fails' (at time 03:34:41)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3378/artifact/build-artifacts/03:34:41_Feature_activation_fails.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3378/artifact/build-artifacts/03:34:41_Feature_activation_fails.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3378/artifact/build-artifacts/03:34:41_Feature_activation_fails.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3378/artifact/build-artifacts/03:34:41_Feature_activation_fails.journal

After features/support/hooks.rb:89 0.000
Tags: @product
5:46.216
Before features/support/hooks.rb:259 0.004
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:28.697
And I enable persistence 32.764
And I log in to a new session after having activated the Persistent Storage 43.713
Then a Tails persistence partition with LUKS version 2 and argon2id exists on USB drive "__internal" 0.897
And persistence is enabled 0.142
After features/support/hooks.rb:305 1.051
After features/support/hooks.rb:89 0.000
Tags: @product
32.773
Before features/support/hooks.rb:259 0.006
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.220
And I enable persistence but something goes wrong during the LUKS header upgrade 22.851
Then the Tails persistence partition on USB drive "__internal" still has LUKS version 1 0.701
After features/support/hooks.rb:305 0.734
After features/support/hooks.rb:89 0.000