Project Number Date
test_Tails_ISO_stable 5355 24 Dec 2024, 12:20

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:48.245 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.
20.472
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.773
And I prepare Tails for memory erasure tests 0.434
When I start a process allocating 128 MiB of memory with a known pattern 2.486
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.953
Then I find very few patterns in the guest's memory after 3 seconds 5.572

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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