Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 7 28 May 2025, 09:33

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:26.327 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.
23.917
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.141
And I prepare Tails for memory erasure tests 0.455
When I start a process allocating 128 MiB of memory with a known pattern 2.481
Then patterns cover at least 128 MiB in the guest's memory 3.374

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

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

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

After features/support/hooks.rb:330 0.740
After features/support/hooks.rb:100 0.000
25.201
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I have started Tails from DVD without network and logged in 8.233
And I prepare Tails for memory erasure tests 0.697
And I find very few patterns in the guest's memory 3.336

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.523
After features/support/hooks.rb:100 0.013