Project Number Date
test_Tails_ISO_devel 3873 18 Jun 2025, 07:16

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 12:51.217 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.
26.038
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 8.413
And I prepare Tails for memory erasure tests 0.410
When I start a process allocating 128 MiB of memory with a known pattern 1.443
Then patterns cover at least 128 MiB in the guest's memory 7.138

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

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

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

After features/support/hooks.rb:330 0.926
After features/support/hooks.rb:100 0.000
31.102
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 10.670
And I prepare Tails for memory erasure tests 0.655
And I find very few patterns in the guest's memory 3.823

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

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

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

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

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

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

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

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

Pattern coverage: 87.504% (111 MiB out of 127 MiB reference memory)

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

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

# read cache
When I mount the USB drive again 0.467
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 3.947

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

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

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

After features/support/hooks.rb:330 1.423
After features/support/hooks.rb:100 0.000
1:35.517
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 10.171
And I prepare Tails for memory erasure tests 0.425
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 42.120
Then I find very few patterns in the guest's memory 4.554

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 4.054
After features/support/hooks.rb:100 0.000
8:28.142
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:41.807
And I prepare Tails for memory erasure tests 0.510
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.446
When I trigger shutdown 0.023
Then I find very few patterns in the guest's memory after 20 seconds 21.354

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

After features/support/hooks.rb:330 3.579
After features/support/hooks.rb:100 0.011