Project Number Date
test_Tails_ISO_stable 5444 05 Feb 2025, 17:13

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

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

When I kill the allocating process 2.152
Then I find very few patterns in the guest's memory after 5 seconds 8.962

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.642% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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