Project Number Date
test_Tails_ISO_devel 3601 03 Dec 2024, 12:41

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.895
After features/support/hooks.rb:100 0.000
56.648
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.540
And I prepare Tails for memory erasure tests 0.601
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.249
Then I find very few patterns in the guest's memory 4.353

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

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

Pattern coverage: 91.024% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.679
After features/support/hooks.rb:100 0.000
7:43.418
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:57.126
And I prepare Tails for memory erasure tests 0.549
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.534
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.197

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