Project Number Date
test_Tails_ISO_stable 4517 15 Nov 2023, 19:53

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

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

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

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

After features/support/hooks.rb:290 3.783
After features/support/hooks.rb:75 0.000
1:3.397
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 9.504
And I prepare Tails for memory erasure tests 0.553
And I find very few patterns in the guest's memory 3.902

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

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

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

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

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

After features/support/hooks.rb:290 0.814
After features/support/hooks.rb:75 0.000
3:46.802
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.994
And I prepare Tails for memory erasure tests 0.489
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.808
Then I find very few patterns in the guest's memory 3.844

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

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

Pattern coverage: 90.453% (112 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:290 0.802
After features/support/hooks.rb:75 0.000
2:38.849
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.065
And I prepare Tails for memory erasure tests 0.469
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.613
Then I find very few patterns in the guest's memory 3.485

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.663% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:290 0.725
After features/support/hooks.rb:75 0.001
52.116
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.033
And I prepare Tails for memory erasure tests 0.445
When I fill a 128 MiB file with a known pattern on the root filesystem 14.330
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 4.163
Then patterns cover at least 128 MiB in the guest's memory 2.713

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

When I trigger shutdown 0.710
And I wait 20 seconds 20.007

Slept for 20 seconds

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

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

After features/support/hooks.rb:290 3.483
After features/support/hooks.rb:75 0.000
6:1.988
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:16.298
And I prepare Tails for memory erasure tests 0.398
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.607
When I trigger shutdown 0.451
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:290 3.499
After features/support/hooks.rb:75 0.011