Project Number Date
test_Tails_ISO_stable 5419 27 Jan 2025, 12:51

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:25.826 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.
38.373
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 21.025
And I prepare Tails for memory erasure tests 0.453
When I start a process allocating 128 MiB of memory with a known pattern 2.296
Then patterns cover at least 128 MiB in the guest's memory 4.056

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

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

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

After features/support/hooks.rb:326 0.770
After features/support/hooks.rb:100 0.000
30.651
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.211
And I prepare Tails for memory erasure tests 0.494
And I find very few patterns in the guest's memory 8.217

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

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

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

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

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

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

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

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

Pattern coverage: 87.795% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.493
After features/support/hooks.rb:100 0.000
7:22.259
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:39.755
And I prepare Tails for memory erasure tests 0.369
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.960
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.161

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

After features/support/hooks.rb:326 3.565
After features/support/hooks.rb:100 0.012