Project Number Date
test_Tails_ISO_stable 5422 27 Jan 2025, 21: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:30.112 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.786
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.654
And I prepare Tails for memory erasure tests 0.471
When I start a process allocating 128 MiB of memory with a known pattern 2.344
Then patterns cover at least 128 MiB in the guest's memory 4.208

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 89.151% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.492
After features/support/hooks.rb:100 0.010