Project Number Date
test_Tails_ISO_devel 3704 21 Feb 2025, 12: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:32.313 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.983
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.422
And I prepare Tails for memory erasure tests 0.406
When I start a process allocating 128 MiB of memory with a known pattern 3.757
Then patterns cover at least 128 MiB in the guest's memory 3.391

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 93.207% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 20.844

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

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

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

After features/support/hooks.rb:326 3.545
After features/support/hooks.rb:100 0.010