Project Number Date
test_Tails_ISO_stable 5296 27 Nov 2024, 12:57

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

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

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

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

After features/support/hooks.rb:326 0.958
After features/support/hooks.rb:100 0.000
27.111
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.577
And I prepare Tails for memory erasure tests 0.487
And I find very few patterns in the guest's memory 3.852

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.554
After features/support/hooks.rb:100 0.000
9:1.417
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 8:13.957
And I prepare Tails for memory erasure tests 0.539
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.561
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.341

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

After features/support/hooks.rb:326 3.549
After features/support/hooks.rb:100 0.026