Project Number Date
test_Tails_ISO_feature-arti 27 12 Dec 2024, 16:51

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:46.796 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.
25.139
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.675
And I prepare Tails for memory erasure tests 0.540
When I start a process allocating 128 MiB of memory with a known pattern 2.392
Then patterns cover at least 128 MiB in the guest's memory 4.484

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.916
After features/support/hooks.rb:100 0.000
58.965
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.420
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.343
Then I find very few patterns in the guest's memory 4.292

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.942
After features/support/hooks.rb:100 0.000
1:1.827
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.406
And I prepare Tails for memory erasure tests 0.445
When I fill a 128 MiB file with a known pattern on the root filesystem 21.111
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 7.375
Then patterns cover at least 128 MiB in the guest's memory 3.596

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

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

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

After features/support/hooks.rb:326 3.566
After features/support/hooks.rb:100 0.000
8:26.314
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 7:36.491
And I prepare Tails for memory erasure tests 0.441
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.867
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.495

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

After features/support/hooks.rb:326 3.567
After features/support/hooks.rb:100 0.022