Project Number Date
test_Tails_ISO_stable 4593 27 Dec 2023, 12:28

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

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

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

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

After features/support/hooks.rb:291 0.608
After features/support/hooks.rb:75 0.000
1:1.708
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.431
And I prepare Tails for memory erasure tests 0.483
And I find very few patterns in the guest's memory 3.920

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

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

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

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

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

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

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

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

Pattern coverage: 93.419% (116 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.833
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.572
After features/support/hooks.rb:75 0.000
6:8.829
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:23.648
And I prepare Tails for memory erasure tests 0.451
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.065
When I trigger shutdown 0.366
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.445
After features/support/hooks.rb:75 0.012