Project Number Date
test_Tails_ISO_devel 3819 18 May 2025, 13:10

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:21.403 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.713
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.773
And I prepare Tails for memory erasure tests 0.603
When I start a process allocating 128 MiB of memory with a known pattern 2.868
Then patterns cover at least 128 MiB in the guest's memory 5.350

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

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

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

After features/support/hooks.rb:330 1.694
After features/support/hooks.rb:100 0.000
28.097
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.079
And I prepare Tails for memory erasure tests 0.961
And I find very few patterns in the guest's memory 3.716

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 1.735
Then patterns cover at least 99% of the test FS size in the guest's memory 4.134

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.097
After features/support/hooks.rb:100 0.001
52.056
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 8.657
And I prepare Tails for memory erasure tests 0.479
When I fill a 128 MiB file with a known pattern on the root filesystem 16.806
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.066
Then patterns cover at least 128 MiB in the guest's memory 3.107

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

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

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

After features/support/hooks.rb:330 3.556
After features/support/hooks.rb:100 0.000
8:15.195
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 7:28.812
And I prepare Tails for memory erasure tests 0.512
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.402
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.454

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

After features/support/hooks.rb:330 3.538
After features/support/hooks.rb:100 0.017