Project Number Date
test_Tails_ISO_feature-arti 17 02 Dec 2024, 16:26

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 12:25.178 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.
30.375
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.953
And I prepare Tails for memory erasure tests 1.197
When I start a process allocating 128 MiB of memory with a known pattern 7.892
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 2.587
Then I find very few patterns in the guest's memory after 3 seconds 6.308

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

After features/support/hooks.rb:326 0.854
After features/support/hooks.rb:100 0.000
26.571
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.496
And I prepare Tails for memory erasure tests 0.647
And I find very few patterns in the guest's memory 3.092

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

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

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

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

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

After features/support/hooks.rb:326 1.162
After features/support/hooks.rb:100 0.000
48.578
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.548
And I prepare Tails for memory erasure tests 0.469
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.176
Then I find very few patterns in the guest's memory 3.380

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.946
After features/support/hooks.rb:100 0.000
53.887
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.166
And I prepare Tails for memory erasure tests 0.479
When I fill a 128 MiB file with a known pattern on the root filesystem 19.388
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.895
Then patterns cover at least 128 MiB in the guest's memory 3.043

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

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

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

After features/support/hooks.rb:326 3.571
After features/support/hooks.rb:100 0.000
8:23.472
Before features/support/hooks.rb:269 0.010
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:36.160
And I prepare Tails for memory erasure tests 0.473
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.416
When I trigger shutdown 0.023
Then I find very few patterns in the guest's memory after 20 seconds 21.397

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

After features/support/hooks.rb:326 3.888
After features/support/hooks.rb:100 0.020