Project Number Date
test_Tails_ISO_stable 5006 07 Aug 2024, 15:22

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:31.307 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.477
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.250
And I prepare Tails for memory erasure tests 0.466
When I start a process allocating 128 MiB of memory with a known pattern 1.315
Then patterns cover at least 128 MiB in the guest's memory 4.149

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 6.544

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.500
After features/support/hooks.rb:100 0.000
7:43.635
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:57.718
And I prepare Tails for memory erasure tests 0.423
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.312
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.167

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

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