Project Number Date
test_Tails_ISO_stable 5671 23 May 2025, 08:57

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:28.858 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.148
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.226
And I prepare Tails for memory erasure tests 0.485
When I start a process allocating 128 MiB of memory with a known pattern 2.356
Then patterns cover at least 128 MiB in the guest's memory 5.212

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

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

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

After features/support/hooks.rb:330 0.847
After features/support/hooks.rb:100 0.000
30.568
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.679
And I prepare Tails for memory erasure tests 0.543
And I find very few patterns in the guest's memory 5.573

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.701
After features/support/hooks.rb:100 0.000
7:22.869
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:39.872
And I prepare Tails for memory erasure tests 0.423
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.362
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.197

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

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