Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 12 12 Feb 2025, 19:35

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:29.982 Passed
Feature System memory erasure on shutdown
As a Tails user when I shutdown Tails I want the system memory to be free from sensitive data.
22.125
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.094
And I prepare Tails for memory erasure tests 0.632
When I start a process allocating 128 MiB of memory with a known pattern 1.342
Then patterns cover at least 128 MiB in the guest's memory 3.128

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I kill the allocating process 1.211
Then I find very few patterns in the guest's memory after 5 seconds 7.715

Pattern coverage: 0.000% (0 MiB out of 864 MiB reference memory)

After features/support/hooks.rb:326 1.492
After features/support/hooks.rb:100 0.000
23.120
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.085
And I prepare Tails for memory erasure tests 1.187
And I find very few patterns in the guest's memory 2.847

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 1.626
Then patterns cover at least 99% of the test FS size in the guest's memory 3.124

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I umount "/mnt" 0.460
Then I find very few patterns in the guest's memory after 3 seconds 5.787

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

After features/support/hooks.rb:326 0.749
After features/support/hooks.rb:100 0.000
45.012
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.159
And I prepare Tails for memory erasure tests 0.574
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.025
Then I find very few patterns in the guest's memory 2.628

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 2.567
Then patterns cover at least 75% of the test FS size in the guest's memory 3.130

Pattern coverage: 87.409% (111 MiB out of 127 MiB reference memory)

When I umount the USB drive 2.099
Then I find very few patterns in the guest's memory after 3 seconds 5.646

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

# read cache
When I mount the USB drive again 1.035
And I read the content of the test FS 0.510
Then patterns cover at least 99% of the test FS size in the guest's memory 3.240

Pattern coverage: 100.596% (128 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.509
Then I find very few patterns in the guest's memory after 3 seconds 5.884

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

After features/support/hooks.rb:326 0.985
After features/support/hooks.rb:100 0.000
1:21.418
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.949
And I prepare Tails for memory erasure tests 0.527
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.079
Then I find very few patterns in the guest's memory 2.571

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

# write cache
When I fill the USB drive with a known pattern 3.157
Then patterns cover at least 99% of the test FS size in the guest's memory 3.459

Pattern coverage: 106.113% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 1.077
Then I find very few patterns in the guest's memory after 3 seconds 5.923

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

# read cache
When I mount the USB drive again 6.245
And I read the content of the test FS 0.464
Then patterns cover at least 99% of the test FS size in the guest's memory 3.336

Pattern coverage: 106.115% (97 MiB out of 91 MiB reference memory)

When I umount the USB drive 1.639
Then I find very few patterns in the guest's memory after 3 seconds 5.985

Pattern coverage: 0.000% (0 MiB out of 881 MiB reference memory)

After features/support/hooks.rb:326 1.013
After features/support/hooks.rb:100 0.000
53.940
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.047
And I prepare Tails for memory erasure tests 0.425
When I fill a 128 MiB file with a known pattern on the root filesystem 18.614
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.467
Then patterns cover at least 128 MiB in the guest's memory 2.641

Pattern coverage: 100.000% (128 MiB out of 128 MiB reference memory)

When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 20.728

Pattern coverage: 0.000% (0 MiB out of 871 MiB reference memory)

After features/support/hooks.rb:326 3.503
After features/support/hooks.rb:100 0.000
7:44.365
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:57.304
And I prepare Tails for memory erasure tests 1.818
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.966
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.258

Pattern coverage: 0.000% (0 MiB out of 869 MiB reference memory)

After features/support/hooks.rb:326 3.555
After features/support/hooks.rb:100 0.011