Project Number Date
test_Tails_ISO_devel 3306 02 Mar 2024, 12: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:17.999 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.498
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.070
And I prepare Tails for memory erasure tests 0.510
When I start a process allocating 128 MiB of memory with a known pattern 1.339
Then patterns cover at least 128 MiB in the guest's memory 4.622

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.541
After features/support/hooks.rb:75 0.000
6:44.107
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 6:0.115
And I prepare Tails for memory erasure tests 0.417
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.150
When I trigger shutdown 0.010
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

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