Project Number Date
test_Tails_ISO_stable 5123 27 Sep 2024, 12:38

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 100.596% (128 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 after 3 seconds 5.672

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.569
After features/support/hooks.rb:100 0.013