Project Number Date
test_Tails_ISO_stable 5243 01 Nov 2024, 12:49

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.514
After features/support/hooks.rb:100 0.000
8:25.950
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:40.178
And I prepare Tails for memory erasure tests 0.948
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.175
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.634

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

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