Project Number Date
test_Tails_ISO_stable 5477 22 Feb 2025, 12:49

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:59.276 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.
24.871
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.478
And I prepare Tails for memory erasure tests 0.475
When I start a process allocating 128 MiB of memory with a known pattern 2.447
Then patterns cover at least 128 MiB in the guest's memory 3.410

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

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

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

After features/support/hooks.rb:330 1.046
After features/support/hooks.rb:100 0.000
25.644
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 8.096
And I prepare Tails for memory erasure tests 0.443
And I find very few patterns in the guest's memory 3.211

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

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

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

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

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

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

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.765
Then patterns cover at least 75% of the test FS size in the guest's memory 7.561

Pattern coverage: 89.928% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.492
After features/support/hooks.rb:100 0.000
8:0.816
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:13.320
And I prepare Tails for memory erasure tests 0.466
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.776
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.240

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

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