Project Number Date
test_Tails_ISO_stable 5628 06 May 2025, 19:37

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 13:11.840 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.
27.952
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.072
And I prepare Tails for memory erasure tests 0.569
When I start a process allocating 128 MiB of memory with a known pattern 2.841
Then patterns cover at least 128 MiB in the guest's memory 4.837

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

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

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

After features/support/hooks.rb:330 0.993
After features/support/hooks.rb:100 0.000
27.587
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 9.441
And I prepare Tails for memory erasure tests 0.605
And I find very few patterns in the guest's memory 4.129

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

# read cache
When I mount the USB drive again 3.210
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 5.246

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.604
After features/support/hooks.rb:100 0.000
9:0.385
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:13.064
And I prepare Tails for memory erasure tests 0.577
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.442
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 22.282

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

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