Project Number Date
test_Tails_ISO_devel 3703 20 Feb 2025, 12:51

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
52.450
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.568
And I prepare Tails for memory erasure tests 0.604
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.368
Then I find very few patterns in the guest's memory 3.683

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

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

Pattern coverage: 90.231% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.115% (97 MiB out of 91 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.140

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

After features/support/hooks.rb:326 0.918
After features/support/hooks.rb:100 0.000
55.273
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.165
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 18.596
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.467
Then patterns cover at least 128 MiB in the guest's memory 3.127

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 21.418

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

After features/support/hooks.rb:326 3.546
After features/support/hooks.rb:100 0.000
7:46.899
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:0.476
And I prepare Tails for memory erasure tests 0.414
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.733
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.264

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

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