Project Number Date
test_Tails_ISO_devel 3625 28 Dec 2024, 12:21

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 85.835% (109 MiB out of 127 MiB reference memory)

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

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

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

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 6.491

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.544
After features/support/hooks.rb:100 0.010