Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 12 02 Jun 2025, 09:18

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:16.275 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.
24.115
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.769
And I prepare Tails for memory erasure tests 0.469
When I start a process allocating 128 MiB of memory with a known pattern 2.420
Then patterns cover at least 128 MiB in the guest's memory 3.562

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

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

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

After features/support/hooks.rb:330 0.687
After features/support/hooks.rb:100 0.000
24.097
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.983
And I prepare Tails for memory erasure tests 0.440
And I find very few patterns in the guest's memory 2.981

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

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

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

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

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

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

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

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

Pattern coverage: 82.146% (104 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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.064
Then patterns cover at least 99% of the test FS size in the guest's memory 3.218

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.568
After features/support/hooks.rb:100 0.000
7:36.995
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:48.740
And I prepare Tails for memory erasure tests 0.405
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.453
When I trigger shutdown 0.039
Then I find very few patterns in the guest's memory after 20 seconds 21.356

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

After features/support/hooks.rb:330 3.569
After features/support/hooks.rb:100 0.009