Project Number Date
test_Tails_ISO_10422-tor-browser-in-flatpak 6 01 Feb 2025, 05:06

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 88.156% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.509
After features/support/hooks.rb:100 0.016