Project Number Date
test_Tails_ISO_stable 5007 07 Aug 2024, 18:55

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 95.038% (121 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.586
After features/support/hooks.rb:100 0.000
9:23.325
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 8:38.645
And I prepare Tails for memory erasure tests 0.511
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.721
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.432

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

After features/support/hooks.rb:326 3.538
After features/support/hooks.rb:100 0.016