Project Number Date
test_Tails_ISO_stable 4714 13 Mar 2024, 15:12

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 9:53.122 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.
19.536
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 7.988
And I prepare Tails for memory erasure tests 0.429
When I start a process allocating 128 MiB of memory with a known pattern 1.207
Then patterns cover at least 128 MiB in the guest's memory 4.077

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

When I kill the allocating process 1.257
Then I find very few patterns in the guest's memory 4.574

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

After features/support/hooks.rb:291 0.769
After features/support/hooks.rb:75 0.000
24.335
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 9.195
And I prepare Tails for memory erasure tests 0.413
And I find very few patterns in the guest's memory 4.156

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

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

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

When I umount "/mnt" 1.297
Then I find very few patterns in the guest's memory 4.128

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

After features/support/hooks.rb:291 0.724
After features/support/hooks.rb:75 0.000
42.611
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.174
And I prepare Tails for memory erasure tests 0.360
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.919
Then I find very few patterns in the guest's memory 3.762

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

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

Pattern coverage: 94.805% (120 MiB out of 127 MiB reference memory)

When I umount the USB drive 0.936
Then I find very few patterns in the guest's memory 5.406

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

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

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

When I umount the USB drive 0.446
Then I find very few patterns in the guest's memory 4.621

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

After features/support/hooks.rb:291 0.725
After features/support/hooks.rb:75 0.000
59.445
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.088
And I prepare Tails for memory erasure tests 0.402
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 26.630
Then I find very few patterns in the guest's memory 3.527

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

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

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

When I umount the USB drive 0.672
Then I find very few patterns in the guest's memory 3.769

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

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

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

When I umount the USB drive 0.546
Then I find very few patterns in the guest's memory 3.622

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

After features/support/hooks.rb:291 0.621
After features/support/hooks.rb:75 0.000
50.797
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.051
And I prepare Tails for memory erasure tests 0.431
When I fill a 128 MiB file with a known pattern on the root filesystem 16.027
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.865
Then patterns cover at least 128 MiB in the guest's memory 2.661

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.007

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.739

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

After features/support/hooks.rb:291 3.500
After features/support/hooks.rb:75 0.000
6:36.396
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:52.675
And I prepare Tails for memory erasure tests 0.404
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.002
When I trigger shutdown 0.011
And I wait 20 seconds 20.018

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.284

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

After features/support/hooks.rb:291 3.505
After features/support/hooks.rb:75 0.013