Project Number Date
test_Tails_ISO_stable 5494 04 Mar 2025, 22:55

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:12.071 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.
24.530
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.520
And I prepare Tails for memory erasure tests 0.508
When I start a process allocating 128 MiB of memory with a known pattern 2.411
Then patterns cover at least 128 MiB in the guest's memory 3.531

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

When I kill the allocating process 1.553
Then I find very few patterns in the guest's memory after 5 seconds 8.004

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

After features/support/hooks.rb:330 0.775
After features/support/hooks.rb:100 0.000
26.567
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.689
And I prepare Tails for memory erasure tests 0.469
And I find very few patterns in the guest's memory 3.206

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

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

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

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

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

After features/support/hooks.rb:330 1.373
After features/support/hooks.rb:100 0.000
1:4.822
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 21.912
And I prepare Tails for memory erasure tests 0.473
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.165
Then I find very few patterns in the guest's memory 3.829

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

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

Pattern coverage: 87.271% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 1.437
After features/support/hooks.rb:100 0.000
1:37.224
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.716
And I prepare Tails for memory erasure tests 0.424
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 41.612
Then I find very few patterns in the guest's memory 3.852

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.752
After features/support/hooks.rb:100 0.000
52.679
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 9.835
And I prepare Tails for memory erasure tests 0.451
When I fill a 128 MiB file with a known pattern on the root filesystem 17.395
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.528
Then patterns cover at least 128 MiB in the guest's memory 2.573

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

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

After features/support/hooks.rb:330 3.675
After features/support/hooks.rb:100 0.000
7:46.246
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:0.452
And I prepare Tails for memory erasure tests 0.507
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.725
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.547

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

After features/support/hooks.rb:330 3.518
After features/support/hooks.rb:100 0.010