Project Number Date
test_Tails_ISO_devel 3893 01 Jul 2025, 13:50

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 21:28.775 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.
37.199
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.503
And I prepare Tails for memory erasure tests 0.549
When I start a process allocating 128 MiB of memory with a known pattern 2.703
Then patterns cover at least 128 MiB in the guest's memory 10.450

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

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

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

After features/support/hooks.rb:330 2.161
After features/support/hooks.rb:100 0.000
40.211
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 10.903
And I prepare Tails for memory erasure tests 1.933
And I find very few patterns in the guest's memory 9.406

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

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

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

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

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

After features/support/hooks.rb:330 1.266
After features/support/hooks.rb:100 0.000
1:7.284
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I have started Tails from DVD without network and logged in 8.553
And I prepare Tails for memory erasure tests 0.490
When I plug and mount a 128 MiB USB drive with a vfat filesystem 16.660
Then I find very few patterns in the guest's memory 7.968

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

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

Pattern coverage: 88.682% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.730

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

After features/support/hooks.rb:330 3.718
After features/support/hooks.rb:100 0.000
16:10.261
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 15:17.581
And I prepare Tails for memory erasure tests 0.603
When I fill a 128 MiB file with a known pattern on the persistent filesystem 28.111
When I trigger shutdown 0.127
Then I find very few patterns in the guest's memory after 20 seconds 23.836

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

After features/support/hooks.rb:330 3.590
After features/support/hooks.rb:100 0.014