Project Number Date
test_Tails_ISO_devel 3516 21 Sep 2024, 15:24

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:0.057 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.
22.464
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.088
And I prepare Tails for memory erasure tests 0.421
When I start a process allocating 128 MiB of memory with a known pattern 2.411
Then patterns cover at least 128 MiB in the guest's memory 3.437

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

When I kill the allocating process 1.279
Then I find very few patterns in the guest's memory after 3 seconds 6.825

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

After features/support/hooks.rb:326 1.047
After features/support/hooks.rb:100 0.000
26.151
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.430
And I prepare Tails for memory erasure tests 0.399
And I find very few patterns in the guest's memory 2.923

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

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

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

When I umount "/mnt" 0.994
Then I find very few patterns in the guest's memory after 3 seconds 5.896

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

After features/support/hooks.rb:326 1.155
After features/support/hooks.rb:100 0.000
46.278
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.358
And I prepare Tails for memory erasure tests 0.454
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.256
Then I find very few patterns in the guest's memory 3.000

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

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

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

When I umount the USB drive 1.400
Then I find very few patterns in the guest's memory after 3 seconds 5.612

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

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

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

When I umount the USB drive 0.630
Then I find very few patterns in the guest's memory after 3 seconds 6.310

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

After features/support/hooks.rb:326 2.410
After features/support/hooks.rb:100 0.000
1:15.705
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.348
And I prepare Tails for memory erasure tests 0.471
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 33.673
Then I find very few patterns in the guest's memory 3.193

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

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

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

When I umount the USB drive 1.828
Then I find very few patterns in the guest's memory after 3 seconds 5.620

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

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

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

When I umount the USB drive 1.109
Then I find very few patterns in the guest's memory after 3 seconds 6.139

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

After features/support/hooks.rb:326 2.706
After features/support/hooks.rb:100 0.000
49.402
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.783
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 14.268
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.850
Then patterns cover at least 128 MiB in the guest's memory 3.222

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

When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 20.789

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.000
7:20.054
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:36.367
And I prepare Tails for memory erasure tests 0.400
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.072
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.198

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

After features/support/hooks.rb:326 3.498
After features/support/hooks.rb:100 0.011