Project Number Date
test_Tails_ISO_devel 3606 08 Dec 2024, 12:34

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.766
After features/support/hooks.rb:100 0.000
1:0.461
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.965
And I prepare Tails for memory erasure tests 0.797
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.543
Then I find very few patterns in the guest's memory 3.502

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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