Project Number Date
test_Tails_ISO_stable 5486 03 Mar 2025, 13:00

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 13:5.952 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.
30.477
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 9.339
And I prepare Tails for memory erasure tests 0.785
When I start a process allocating 128 MiB of memory with a known pattern 2.478
Then patterns cover at least 128 MiB in the guest's memory 7.415

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

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

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

After features/support/hooks.rb:330 0.977
After features/support/hooks.rb:100 0.000
36.331
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 10.595
And I prepare Tails for memory erasure tests 0.753
And I find very few patterns in the guest's memory 5.187

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

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

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

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

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

After features/support/hooks.rb:330 1.335
After features/support/hooks.rb:100 0.000
1:12.372
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.261
And I prepare Tails for memory erasure tests 0.722
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.391
Then I find very few patterns in the guest's memory 5.190

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

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

Pattern coverage: 91.508% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.502
After features/support/hooks.rb:100 0.000
8:19.526
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:32.961
And I prepare Tails for memory erasure tests 1.396
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.642
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.507

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

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