Project Number Date
test_Tails_ISO_stable 5407 21 Jan 2025, 12:32

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 10:33.574 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.
21.299
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.869
And I prepare Tails for memory erasure tests 0.384
When I start a process allocating 128 MiB of memory with a known pattern 2.282
Then patterns cover at least 128 MiB in the guest's memory 3.348

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

When I kill the allocating process 1.532
Then I find very few patterns in the guest's memory after 3 seconds 5.882

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

After features/support/hooks.rb:326 0.731
After features/support/hooks.rb:100 0.000
23.365
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.025
And I prepare Tails for memory erasure tests 0.405
And I find very few patterns in the guest's memory 2.920

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

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

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

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

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

After features/support/hooks.rb:326 1.657
After features/support/hooks.rb:100 0.000
46.549
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.896
And I prepare Tails for memory erasure tests 0.466
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.172
Then I find very few patterns in the guest's memory 3.394

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

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

Pattern coverage: 87.654% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.875
After features/support/hooks.rb:100 0.000
1:9.833
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.030
And I prepare Tails for memory erasure tests 0.467
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 33.725
Then I find very few patterns in the guest's memory 2.376

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.810
After features/support/hooks.rb:100 0.000
48.145
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.847
And I prepare Tails for memory erasure tests 0.411
When I fill a 128 MiB file with a known pattern on the root filesystem 15.156
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.640
Then patterns cover at least 128 MiB in the guest's memory 2.345

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

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

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.000
7:4.379
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:16.961
And I prepare Tails for memory erasure tests 0.588
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.680
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.136

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

After features/support/hooks.rb:326 3.476
After features/support/hooks.rb:100 0.014