Project Number Date
test_Tails_ISO_stable 4712 12 Mar 2024, 18:08

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 10:10.219 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.
19.587
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.401
And I prepare Tails for memory erasure tests 0.517
When I start a process allocating 128 MiB of memory with a known pattern 1.188
Then patterns cover at least 128 MiB in the guest's memory 3.443

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

When I kill the allocating process 2.382
Then I find very few patterns in the guest's memory 3.653

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

After features/support/hooks.rb:291 0.690
After features/support/hooks.rb:75 0.000
23.071
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.101
And I prepare Tails for memory erasure tests 0.428
And I find very few patterns in the guest's memory 4.227

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

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

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

When I umount "/mnt" 0.420
Then I find very few patterns in the guest's memory 4.471

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

After features/support/hooks.rb:291 0.745
After features/support/hooks.rb:75 0.000
49.452
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.007
And I prepare Tails for memory erasure tests 0.420
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.760
Then I find very few patterns in the guest's memory 4.517

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

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

Pattern coverage: 92.977% (118 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.939
Then I find very few patterns in the guest's memory 6.681

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

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

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

When I umount the USB drive 0.736
Then I find very few patterns in the guest's memory 3.891

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

After features/support/hooks.rb:291 0.822
After features/support/hooks.rb:75 0.000
1:8.775
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.287
And I prepare Tails for memory erasure tests 0.438
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 28.239
Then I find very few patterns in the guest's memory 4.181

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

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

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

When I umount the USB drive 1.074
Then I find very few patterns in the guest's memory 4.053

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

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

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

When I umount the USB drive 0.514
Then I find very few patterns in the guest's memory 3.864

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

After features/support/hooks.rb:291 0.847
After features/support/hooks.rb:75 0.000
49.595
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 9.018
And I prepare Tails for memory erasure tests 0.540
When I fill a 128 MiB file with a known pattern on the root filesystem 13.308
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.284
Then patterns cover at least 128 MiB in the guest's memory 3.449

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

When I trigger shutdown 0.018
And I wait 20 seconds 20.016

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.959

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

After features/support/hooks.rb:291 3.555
After features/support/hooks.rb:75 0.000
6:39.738
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:54.850
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.926
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.498

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

After features/support/hooks.rb:291 3.609
After features/support/hooks.rb:75 0.013