Project Number Date
test_Tails_ISO_feature-arti 1 18 Mar 2025, 20:30

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:42.904 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.895
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.570
And I prepare Tails for memory erasure tests 0.514
When I start a process allocating 128 MiB of memory with a known pattern 2.350
Then patterns cover at least 128 MiB in the guest's memory 5.294

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

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

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

After features/support/hooks.rb:330 0.967
After features/support/hooks.rb:100 0.000
30.764
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.323
And I prepare Tails for memory erasure tests 0.434
And I find very few patterns in the guest's memory 6.656

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

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

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

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

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

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

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

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

Pattern coverage: 85.202% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.813

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

After features/support/hooks.rb:330 3.593
After features/support/hooks.rb:100 0.000
8:34.768
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:49.462
And I prepare Tails for memory erasure tests 0.488
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.511
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.293

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

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