Project Number Date
test_Tails_ISO_stable 5113 24 Sep 2024, 08:46

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:7.175 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.
24.279
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.867
And I prepare Tails for memory erasure tests 0.430
When I start a process allocating 128 MiB of memory with a known pattern 3.991
Then patterns cover at least 128 MiB in the guest's memory 3.685

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
59.253
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.433
And I prepare Tails for memory erasure tests 0.463
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.027
Then I find very few patterns in the guest's memory 5.065

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.857

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

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

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

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