Project Number Date
test_Tails_ISO_stable 5033 17 Aug 2024, 12:07

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.503
After features/support/hooks.rb:100 0.000
7:2.272
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 6:19.204
And I prepare Tails for memory erasure tests 0.433
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.443
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.179

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

After features/support/hooks.rb:326 3.528
After features/support/hooks.rb:100 0.014