Project Number Date
test_Tails_ISO_stable 5248 04 Nov 2024, 20:34

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 12:15.312 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.
25.779
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 10.451
And I prepare Tails for memory erasure tests 0.763
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 4.704

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

When I kill the allocating process 1.224
Then I find very few patterns in the guest's memory after 3 seconds 7.293

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

After features/support/hooks.rb:326 1.272
After features/support/hooks.rb:100 0.000
30.029
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.470
And I prepare Tails for memory erasure tests 0.795
And I find very few patterns in the guest's memory 4.386

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.099
Then patterns cover at least 99% of the test FS size in the guest's memory 5.034

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

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

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

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

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

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

Pattern coverage: 86.873% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.550
After features/support/hooks.rb:100 0.000
8:6.524
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 7:23.076
And I prepare Tails for memory erasure tests 0.426
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.651
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.354

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

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