Project Number Date
test_Tails_ISO_stable 5503 08 Mar 2025, 12:43

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:21.903 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.
22.336
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 7.971
And I prepare Tails for memory erasure tests 0.442
When I start a process allocating 128 MiB of memory with a known pattern 2.406
Then patterns cover at least 128 MiB in the guest's memory 3.192

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

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

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

After features/support/hooks.rb:330 0.788
After features/support/hooks.rb:100 0.000
24.263
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.071
And I prepare Tails for memory erasure tests 0.402
And I find very few patterns in the guest's memory 2.823

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

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

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

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

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

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

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

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

Pattern coverage: 91.107% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.533
After features/support/hooks.rb:100 0.012