Project Number Date
test_Tails_ISO_devel 3494 27 Aug 2024, 12:42

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 12:44.115 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.
28.178
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.418
And I prepare Tails for memory erasure tests 0.513
When I start a process allocating 128 MiB of memory with a known pattern 2.399
Then patterns cover at least 128 MiB in the guest's memory 4.861

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.577
After features/support/hooks.rb:100 0.000
7:56.695
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 7:11.662
And I prepare Tails for memory erasure tests 0.433
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.013
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.574

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

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