Project Number Date
test_Tails_ISO_stable 5621 01 May 2025, 19:35

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:32.724 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.302
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.204
And I prepare Tails for memory erasure tests 0.461
When I start a process allocating 128 MiB of memory with a known pattern 2.369
Then patterns cover at least 128 MiB in the guest's memory 5.100

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

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

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

After features/support/hooks.rb:330 0.724
After features/support/hooks.rb:100 0.000
27.171
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.162
And I prepare Tails for memory erasure tests 0.489
And I find very few patterns in the guest's memory 3.709

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

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

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

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

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

After features/support/hooks.rb:330 1.010
After features/support/hooks.rb:100 0.000
52.371
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.178
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.151
Then I find very few patterns in the guest's memory 4.007

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

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

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

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

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

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

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

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

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

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

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.686
Then patterns cover at least 99% of the test FS size in the guest's memory 4.918

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

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

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

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

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

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

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

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

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 21.171

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

After features/support/hooks.rb:330 3.637
After features/support/hooks.rb:100 0.000
8:21.511
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:34.139
And I prepare Tails for memory erasure tests 0.580
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.402
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.372

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

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