Project Number Date
test_Tails_ISO_stable 4690 01 Mar 2024, 00:52

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 10:16.672 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.
20.356
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.214
And I prepare Tails for memory erasure tests 0.461
When I start a process allocating 128 MiB of memory with a known pattern 3.068
Then patterns cover at least 128 MiB in the guest's memory 3.505

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 1.114
After features/support/hooks.rb:75 0.000
49.075
Before features/support/hooks.rb:245 0.009
Given I have started Tails from DVD without network and logged in 8.549
And I prepare Tails for memory erasure tests 0.406
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.424
Then I find very few patterns in the guest's memory 4.664

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 1.667
After features/support/hooks.rb:75 0.000
1:10.904
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 9.952
And I prepare Tails for memory erasure tests 0.411
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.074
Then I find very few patterns in the guest's memory 4.119

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.012

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.490
After features/support/hooks.rb:75 0.000
6:39.051
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:55.088
And I prepare Tails for memory erasure tests 0.427
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.326
When I trigger shutdown 0.013
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.527
After features/support/hooks.rb:75 0.009