Project Number Date
test_Tails_ISO_devel 3878 21 Jun 2025, 20:17

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 10:48.384 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.899
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.486
And I prepare Tails for memory erasure tests 0.420
When I start a process allocating 128 MiB of memory with a known pattern 2.455
Then patterns cover at least 128 MiB in the guest's memory 3.475

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

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

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

After features/support/hooks.rb:330 0.668
After features/support/hooks.rb:100 0.000
22.951
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.127
And I prepare Tails for memory erasure tests 0.416
And I find very few patterns in the guest's memory 3.014

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

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

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

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

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

After features/support/hooks.rb:330 0.793
After features/support/hooks.rb:100 0.000
44.258
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.414
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.284
Then I find very few patterns in the guest's memory 2.535

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

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

Pattern coverage: 89.775% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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