Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 42 29 Jun 2025, 10:43

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 15:22.934 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.
45.467
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 24.356
And I prepare Tails for memory erasure tests 0.553
When I start a process allocating 128 MiB of memory with a known pattern 1.368
Then patterns cover at least 128 MiB in the guest's memory 10.345

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

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

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

After features/support/hooks.rb:330 4.499
After features/support/hooks.rb:100 0.000
41.827
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.023
Given I have started Tails from DVD without network and logged in 12.237
And I prepare Tails for memory erasure tests 0.829
And I find very few patterns in the guest's memory 9.491

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

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

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

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

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

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

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

Pattern coverage: 87.856% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:330 4.292
After features/support/hooks.rb:100 0.003
1:45.331
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.018
Given I have started Tails from DVD without network and logged in 9.682
And I prepare Tails for memory erasure tests 0.612
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 49.367
Then I find very few patterns in the guest's memory 7.021

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.550
After features/support/hooks.rb:100 0.000
9:58.709
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 9:12.149
And I prepare Tails for memory erasure tests 0.544
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.617
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.384

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

After features/support/hooks.rb:330 3.781
After features/support/hooks.rb:100 0.034