Project Number Date
test_Tails_ISO_stable 5116 25 Sep 2024, 08:52

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 92.087% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.488
After features/support/hooks.rb:100 0.000
7:56.240
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:5.865
And I prepare Tails for memory erasure tests 1.500
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.555
When I trigger shutdown 0.019
Then I find very few patterns in the guest's memory after 20 seconds 21.300

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

After features/support/hooks.rb:326 3.522
After features/support/hooks.rb:100 0.015