Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 11 01 Jun 2025, 09:08

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:6.007 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.525
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.263
And I prepare Tails for memory erasure tests 0.664
When I start a process allocating 128 MiB of memory with a known pattern 4.728
Then patterns cover at least 128 MiB in the guest's memory 3.679

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

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

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

After features/support/hooks.rb:330 0.795
After features/support/hooks.rb:100 0.000
24.514
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.259
And I prepare Tails for memory erasure tests 0.575
And I find very few patterns in the guest's memory 3.310

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

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

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

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

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

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

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

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

Pattern coverage: 85.153% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.875

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

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

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

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