Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 10 11 Feb 2025, 16:19

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.787
After features/support/hooks.rb:100 0.012