Project Number Date
test_Tails_ISO_devel 3288 19 Feb 2024, 15:17

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.455
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.490
After features/support/hooks.rb:75 0.000
7:12.379
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:26.590
And I prepare Tails for memory erasure tests 0.410
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.207
When I trigger shutdown 0.047
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.477
After features/support/hooks.rb:75 0.040