Project Number Date
test_Tails_ISO_stable 5263 14 Nov 2024, 08:44

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

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

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

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

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

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

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

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

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

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

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

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.464
Then patterns cover at least 75% of the test FS size in the guest's memory 3.380

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.539
After features/support/hooks.rb:100 0.000
7:15.924
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:32.849
And I prepare Tails for memory erasure tests 0.619
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.295
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.148

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

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