Project Number Date
test_Tails_ISO_devel 3295 24 Feb 2024, 12:47

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

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

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

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

After features/support/hooks.rb:291 2.296
After features/support/hooks.rb:75 0.000
23.041
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.263
And I prepare Tails for memory erasure tests 0.382
And I find very few patterns in the guest's memory 3.805

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

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

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

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

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

After features/support/hooks.rb:291 0.826
After features/support/hooks.rb:75 0.000
45.281
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.477
And I prepare Tails for memory erasure tests 0.428
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.962
Then I find very few patterns in the guest's memory 4.561

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.499
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.536
After features/support/hooks.rb:75 0.000
7:25.963
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:39.585
And I prepare Tails for memory erasure tests 0.456
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.606
When I trigger shutdown 0.112
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.563
After features/support/hooks.rb:75 0.013