Project Number Date
test_Tails_ISO_stable 5521 18 Mar 2025, 17:56

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:33.499 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.
25.530
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 8.213
And I prepare Tails for memory erasure tests 0.646
When I start a process allocating 128 MiB of memory with a known pattern 3.538
Then patterns cover at least 128 MiB in the guest's memory 3.443

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

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

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

After features/support/hooks.rb:330 0.988
After features/support/hooks.rb:100 0.000
24.288
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 8.257
And I prepare Tails for memory erasure tests 0.669
And I find very few patterns in the guest's memory 2.821

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

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

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

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

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

After features/support/hooks.rb:330 1.181
After features/support/hooks.rb:100 0.000
49.148
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 8.593
And I prepare Tails for memory erasure tests 0.452
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.259
Then I find very few patterns in the guest's memory 2.894

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

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

Pattern coverage: 94.000% (119 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 0.949
After features/support/hooks.rb:100 0.000
1:11.556
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 8.062
And I prepare Tails for memory erasure tests 0.549
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 33.393
Then I find very few patterns in the guest's memory 2.535

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.444
After features/support/hooks.rb:100 0.000
48.467
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 7.939
And I prepare Tails for memory erasure tests 0.488
When I fill a 128 MiB file with a known pattern on the root filesystem 14.511
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.101
Then patterns cover at least 128 MiB in the guest's memory 2.724

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

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

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

After features/support/hooks.rb:330 3.511
After features/support/hooks.rb:100 0.000
7:54.507
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:9.351
And I prepare Tails for memory erasure tests 0.419
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.450
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.273

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

After features/support/hooks.rb:330 3.510
After features/support/hooks.rb:100 0.011