Project Number Date
test_Tails_ISO_stable 5404 20 Jan 2025, 14:39

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

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

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

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

After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
30.549
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 9.427
And I prepare Tails for memory erasure tests 0.761
And I find very few patterns in the guest's memory 4.339

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.307
Then patterns cover at least 99% of the test FS size in the guest's memory 5.482

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.660
After features/support/hooks.rb:100 0.000
8:16.782
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:29.604
And I prepare Tails for memory erasure tests 0.578
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.309
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.275

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

After features/support/hooks.rb:326 3.560
After features/support/hooks.rb:100 0.011