Project Number Date
test_Tails_ISO_stable 5437 01 Feb 2025, 12:43

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 10:57.314 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.
24.534
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 7.924
And I prepare Tails for memory erasure tests 0.522
When I start a process allocating 128 MiB of memory with a known pattern 2.295
Then patterns cover at least 128 MiB in the guest's memory 4.373

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.913
After features/support/hooks.rb:100 0.000
50.354
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.036
And I prepare Tails for memory erasure tests 0.539
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.107
Then I find very few patterns in the guest's memory 3.805

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.731

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

After features/support/hooks.rb:326 3.547
After features/support/hooks.rb:100 0.000
7:11.521
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:26.838
And I prepare Tails for memory erasure tests 0.938
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.582
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.149

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

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