Project Number Date
test_Tails_ISO_stable 5292 26 Nov 2024, 08:45

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.507
After features/support/hooks.rb:100 0.000
7:28.564
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:44.599
And I prepare Tails for memory erasure tests 0.440
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.253
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.259

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

After features/support/hooks.rb:326 3.488
After features/support/hooks.rb:100 0.011