Project Number Date
test_Tails_ISO_devel 3654 19 Jan 2025, 17:37

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.494
After features/support/hooks.rb:100 0.000
44.800
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.919
And I prepare Tails for memory erasure tests 0.367
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.045
Then I find very few patterns in the guest's memory 3.147

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

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

Pattern coverage: 87.387% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 874 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.527
After features/support/hooks.rb:100 0.000
7:17.435
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:30.500
And I prepare Tails for memory erasure tests 0.652
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.087
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.176

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

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