Project Number Date
test_Tails_ISO_devel 3883 24 Jun 2025, 13: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:58.015 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.
27.888
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.244
And I prepare Tails for memory erasure tests 0.698
When I start a process allocating 128 MiB of memory with a known pattern 2.460
Then patterns cover at least 128 MiB in the guest's memory 4.615

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

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

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

After features/support/hooks.rb:330 0.700
After features/support/hooks.rb:100 0.000
28.380
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.365
And I prepare Tails for memory erasure tests 0.805
And I find very few patterns in the guest's memory 3.300

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

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

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

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

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

After features/support/hooks.rb:330 0.829
After features/support/hooks.rb:100 0.000
54.321
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 9.759
And I prepare Tails for memory erasure tests 0.592
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.361
Then I find very few patterns in the guest's memory 3.098

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

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

Pattern coverage: 89.711% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 878 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.621
After features/support/hooks.rb:100 0.025