Project Number Date
test_Tails_ISO_stable 4683 27 Feb 2024, 21:16

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:0.697 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.
18.107
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.964
And I prepare Tails for memory erasure tests 0.428
When I start a process allocating 128 MiB of memory with a known pattern 1.171
Then patterns cover at least 128 MiB in the guest's memory 3.830

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

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

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

After features/support/hooks.rb:291 0.938
After features/support/hooks.rb:75 0.000
22.161
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.347
And I prepare Tails for memory erasure tests 0.404
And I find very few patterns in the guest's memory 3.888

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.047
And I wait 20 seconds 20.004

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.526
After features/support/hooks.rb:75 0.000
6:36.512
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:48.472
And I prepare Tails for memory erasure tests 0.423
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.472
When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.460
After features/support/hooks.rb:75 0.011