Project Number Date
test_Tails_ISO_feature-arti 15 30 Nov 2024, 16:30

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 92.806% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.006
1:19.920
Before features/support/hooks.rb:269 0.020
Given I have started Tails from DVD without network and logged in 8.466
And I prepare Tails for memory erasure tests 0.473
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 40.482
Then I find very few patterns in the guest's memory 2.665

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.521
After features/support/hooks.rb:100 0.000
8:10.318
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:23.796
And I prepare Tails for memory erasure tests 0.496
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.709
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.303

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

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