Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 17 14 Feb 2025, 16:09

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

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

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

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

After features/support/hooks.rb:326 2.121
After features/support/hooks.rb:100 0.000
27.990
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 9.435
And I prepare Tails for memory erasure tests 0.489
And I find very few patterns in the guest's memory 3.986

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

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

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

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

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

After features/support/hooks.rb:326 1.658
After features/support/hooks.rb:100 0.000
58.408
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.103
And I prepare Tails for memory erasure tests 0.511
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.465
Then I find very few patterns in the guest's memory 3.975

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

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

Pattern coverage: 88.747% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.493
After features/support/hooks.rb:100 0.000
8:27.613
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 7:43.768
And I prepare Tails for memory erasure tests 0.452
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.140
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.239

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

After features/support/hooks.rb:326 3.550
After features/support/hooks.rb:100 0.011