Project Number Date
test_Tails_ISO_stable 5344 18 Dec 2024, 19:04

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

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

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

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

After features/support/hooks.rb:326 0.909
After features/support/hooks.rb:100 0.000
31.655
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.885
And I prepare Tails for memory erasure tests 0.490
And I find very few patterns in the guest's memory 4.113

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.517
After features/support/hooks.rb:100 0.000
8:25.518
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:39.999
And I prepare Tails for memory erasure tests 0.435
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.910
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.161

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

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