Project Number Date
test_Tails_ISO_stable 4923 09 Jul 2024, 13:53

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

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

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

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

After features/support/hooks.rb:326 1.310
After features/support/hooks.rb:100 0.000
23.555
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.249
And I prepare Tails for memory erasure tests 0.444
And I find very few patterns in the guest's memory 4.257

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.016

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.516
After features/support/hooks.rb:100 0.000
7:24.315
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:37.290
And I prepare Tails for memory erasure tests 0.445
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.321
When I trigger shutdown 0.010
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

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