Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 29 11 Mar 2025, 17:25

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:7.457 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.
24.098
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 7.972
And I prepare Tails for memory erasure tests 0.424
When I start a process allocating 128 MiB of memory with a known pattern 2.334
Then patterns cover at least 128 MiB in the guest's memory 3.692

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

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

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

After features/support/hooks.rb:330 0.650
After features/support/hooks.rb:100 0.000
23.922
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.085
And I prepare Tails for memory erasure tests 0.404
And I find very few patterns in the guest's memory 3.333

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

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

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

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

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

After features/support/hooks.rb:330 0.760
After features/support/hooks.rb:100 0.000
48.607
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.272
And I prepare Tails for memory erasure tests 0.405
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.988
Then I find very few patterns in the guest's memory 3.471

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

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

Pattern coverage: 86.487% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.999
After features/support/hooks.rb:100 0.000
1:15.387
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.606
And I prepare Tails for memory erasure tests 0.417
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.215
Then I find very few patterns in the guest's memory 2.713

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 2.013
After features/support/hooks.rb:100 0.000
49.563
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.003
And I prepare Tails for memory erasure tests 0.395
When I fill a 128 MiB file with a known pattern on the root filesystem 14.988
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.725
Then patterns cover at least 128 MiB in the guest's memory 2.660

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

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

After features/support/hooks.rb:330 3.484
After features/support/hooks.rb:100 0.000
7:25.878
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:42.670
And I prepare Tails for memory erasure tests 0.408
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.590
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.197

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

After features/support/hooks.rb:330 3.568
After features/support/hooks.rb:100 0.014