Project Number Date
test_Tails_ISO_stable 5553 04 Apr 2025, 09:43

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:4.887 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.
23.795
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.191
And I prepare Tails for memory erasure tests 0.417
When I start a process allocating 128 MiB of memory with a known pattern 2.481
Then patterns cover at least 128 MiB in the guest's memory 3.482

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

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

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

After features/support/hooks.rb:330 0.712
After features/support/hooks.rb:100 0.000
24.783
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 8.334
And I prepare Tails for memory erasure tests 0.426
And I find very few patterns in the guest's memory 2.759

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

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

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

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

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

After features/support/hooks.rb:330 0.734
After features/support/hooks.rb:100 0.000
49.073
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.565
And I prepare Tails for memory erasure tests 0.627
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.127
Then I find very few patterns in the guest's memory 3.470

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

Pattern coverage: 92.083% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.717
After features/support/hooks.rb:100 0.000
1:14.478
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.206
And I prepare Tails for memory erasure tests 0.382
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.444
Then I find very few patterns in the guest's memory 2.271

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.224
After features/support/hooks.rb:100 0.000
47.942
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.545
And I prepare Tails for memory erasure tests 0.462
When I fill a 128 MiB file with a known pattern on the root filesystem 13.259
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.705
Then patterns cover at least 128 MiB in the guest's memory 3.172

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

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

After features/support/hooks.rb:330 3.520
After features/support/hooks.rb:100 0.000
7:24.814
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:40.550
And I prepare Tails for memory erasure tests 0.505
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.574
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.171

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

After features/support/hooks.rb:330 3.517
After features/support/hooks.rb:100 0.019