Project Number Date
test_Tails_ISO_devel 3833 24 May 2025, 13:15

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 11:38.824 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.
25.628
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.432
And I prepare Tails for memory erasure tests 0.493
When I start a process allocating 128 MiB of memory with a known pattern 2.503
Then patterns cover at least 128 MiB in the guest's memory 4.789

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

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

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

After features/support/hooks.rb:330 0.886
After features/support/hooks.rb:100 0.000
27.519
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.445
And I prepare Tails for memory erasure tests 0.441
And I find very few patterns in the guest's memory 3.622

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

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

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

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

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

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

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

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

Pattern coverage: 91.940% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.020

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

After features/support/hooks.rb:330 3.548
After features/support/hooks.rb:100 0.000
7:43.421
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:58.900
And I prepare Tails for memory erasure tests 0.491
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.360
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.649

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

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