Project Number Date
test_Tails_ISO_devel 3311 07 Mar 2024, 12:56

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

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

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

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

After features/support/hooks.rb:291 1.068
After features/support/hooks.rb:75 0.000
21.482
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.964
And I prepare Tails for memory erasure tests 0.443
And I find very few patterns in the guest's memory 3.723

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.514
After features/support/hooks.rb:75 0.000
6:52.203
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 6:7.820
And I prepare Tails for memory erasure tests 0.402
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.642
When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.542
After features/support/hooks.rb:75 0.041