Project Number Date
test_Tails_ISO_feature-arti 33 18 Apr 2025, 16:46

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 10:56.933 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.
24.013
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 7.996
And I prepare Tails for memory erasure tests 0.448
When I start a process allocating 128 MiB of memory with a known pattern 2.413
Then patterns cover at least 128 MiB in the guest's memory 3.539

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

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

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

After features/support/hooks.rb:330 0.730
After features/support/hooks.rb:100 0.000
25.270
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 7.912
And I prepare Tails for memory erasure tests 0.401
And I find very few patterns in the guest's memory 4.169

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

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

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

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

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

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

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

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

Pattern coverage: 91.456% (116 MiB out of 127 MiB reference memory)

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

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

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

Pattern coverage: 100.596% (128 MiB out of 127 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.553

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.546
After features/support/hooks.rb:100 0.000
7:14.551
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:31.124
And I prepare Tails for memory erasure tests 0.378
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.827
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.207

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

After features/support/hooks.rb:330 3.543
After features/support/hooks.rb:100 0.013