Project Number Date
test_Tails_ISO_devel 3861 10 Jun 2025, 17:29

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:21.884 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.
28.398
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.900
And I prepare Tails for memory erasure tests 0.522
When I start a process allocating 128 MiB of memory with a known pattern 2.608
Then patterns cover at least 128 MiB in the guest's memory 5.748

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

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

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

After features/support/hooks.rb:330 1.167
After features/support/hooks.rb:100 0.000
27.483
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.574
And I prepare Tails for memory erasure tests 0.552
And I find very few patterns in the guest's memory 4.082

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

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

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

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

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

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

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

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

Pattern coverage: 92.279% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.825
After features/support/hooks.rb:100 0.000
54.303
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.839
And I prepare Tails for memory erasure tests 0.506
When I fill a 128 MiB file with a known pattern on the root filesystem 17.372
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.250
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 trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 20.942

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

After features/support/hooks.rb:330 3.505
After features/support/hooks.rb:100 0.000
9:9.823
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8:20.455
And I prepare Tails for memory erasure tests 0.461
When I fill a 128 MiB file with a known pattern on the persistent filesystem 26.614
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 22.278

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

After features/support/hooks.rb:330 3.772
After features/support/hooks.rb:100 0.012