Project Number Date
test_Tails_ISO_stable 5545 02 Apr 2025, 16:58

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:43.387 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.588
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.750
And I prepare Tails for memory erasure tests 0.691
When I start a process allocating 128 MiB of memory with a known pattern 2.679
Then patterns cover at least 128 MiB in the guest's memory 4.698

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

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

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

After features/support/hooks.rb:330 0.929
After features/support/hooks.rb:100 0.000
26.792
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 9.294
And I prepare Tails for memory erasure tests 0.581
And I find very few patterns in the guest's memory 3.833

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

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

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

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

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

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

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

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

Pattern coverage: 86.983% (110 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.040

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

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

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

After features/support/hooks.rb:330 3.715
After features/support/hooks.rb:100 0.016