Project Number Date
test_Tails_ISO_stable 5609 29 Apr 2025, 13:08

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:20.031 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.
23.795
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.301
And I prepare Tails for memory erasure tests 0.491
When I start a process allocating 128 MiB of memory with a known pattern 1.186
Then patterns cover at least 128 MiB in the guest's memory 4.850

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

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

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

After features/support/hooks.rb:330 0.724
After features/support/hooks.rb:100 0.000
23.300
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.032
And I prepare Tails for memory erasure tests 0.389
And I find very few patterns in the guest's memory 2.616

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

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

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

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

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

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

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.693
Then patterns cover at least 75% of the test FS size in the guest's memory 3.580

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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