Project Number Date
test_Tails_ISO_feature-arti 54 10 May 2025, 16: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:15.359 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.486
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.049
And I prepare Tails for memory erasure tests 0.519
When I start a process allocating 128 MiB of memory with a known pattern 2.569
Then patterns cover at least 128 MiB in the guest's memory 7.097

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

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

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

After features/support/hooks.rb:330 0.780
After features/support/hooks.rb:100 0.000
27.660
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.856
And I prepare Tails for memory erasure tests 0.470
And I find very few patterns in the guest's memory 3.690

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.113% (97 MiB out of 91 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 6.271

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

# read cache
When I mount the USB drive again 6.745
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.374

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

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

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

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

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 21.036

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

After features/support/hooks.rb:330 3.541
After features/support/hooks.rb:100 0.000
8:14.394
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:28.173
And I prepare Tails for memory erasure tests 0.536
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.421
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.245

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

After features/support/hooks.rb:330 3.526
After features/support/hooks.rb:100 0.012