Project Number Date
test_Tails_ISO_feature-arti 107 05 Jul 2025, 18:37

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:10.505 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.995
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.033
And I prepare Tails for memory erasure tests 0.675
When I start a process allocating 128 MiB of memory with a known pattern 3.155
Then patterns cover at least 128 MiB in the guest's memory 3.713

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

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

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

After features/support/hooks.rb:330 1.261
After features/support/hooks.rb:100 0.000
26.870
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.229
And I prepare Tails for memory erasure tests 0.630
And I find very few patterns in the guest's memory 3.014

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

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

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

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

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

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

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

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

Pattern coverage: 86.172% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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