Project Number Date
test_Tails_ISO_stable 5593 24 Apr 2025, 09:19

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:10.442 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.674
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.240
And I prepare Tails for memory erasure tests 0.415
When I start a process allocating 128 MiB of memory with a known pattern 2.441
Then patterns cover at least 128 MiB in the guest's memory 5.616

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

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

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

After features/support/hooks.rb:330 0.738
After features/support/hooks.rb:100 0.000
26.836
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.163
And I prepare Tails for memory erasure tests 0.373
And I find very few patterns in the guest's memory 3.711

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

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

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

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

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

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

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

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

Pattern coverage: 88.618% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.589
After features/support/hooks.rb:100 0.000
7:53.328
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:1.682
And I prepare Tails for memory erasure tests 1.099
When I fill a 128 MiB file with a known pattern on the persistent filesystem 29.188
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.346

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

After features/support/hooks.rb:330 3.593
After features/support/hooks.rb:100 0.013