Project Number Date
test_Tails_ISO_stable 5551 03 Apr 2025, 17:23

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:50.733 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.
27.484
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.106
And I prepare Tails for memory erasure tests 0.593
When I start a process allocating 128 MiB of memory with a known pattern 2.342
Then patterns cover at least 128 MiB in the guest's memory 4.315

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

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

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

After features/support/hooks.rb:330 1.092
After features/support/hooks.rb:100 0.000
29.535
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.143
And I prepare Tails for memory erasure tests 0.424
And I find very few patterns in the guest's memory 4.740

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

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

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

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

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

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

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

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

Pattern coverage: 85.799% (109 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

# read cache
When I mount the USB drive again 4.917
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 3.056

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

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

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

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

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

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

After features/support/hooks.rb:330 3.802
After features/support/hooks.rb:100 0.000
7:48.603
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:4.646
And I prepare Tails for memory erasure tests 0.482
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.204
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.257

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

After features/support/hooks.rb:330 3.547
After features/support/hooks.rb:100 0.029