Project Number Date
test_Tails_ISO_stable 5426 28 Jan 2025, 14:48

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

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

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

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

After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
27.447
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.995
And I prepare Tails for memory erasure tests 0.579
And I find very few patterns in the guest's memory 3.998

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 867 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.518
After features/support/hooks.rb:100 0.000
7:49.460
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:2.716
And I prepare Tails for memory erasure tests 0.600
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.810
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.317

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

After features/support/hooks.rb:326 3.548
After features/support/hooks.rb:100 0.011