Project Number Date
test_Tails_ISO_stable 4732 20 Mar 2024, 16:11

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.530
After features/support/hooks.rb:75 0.000
6:25.542
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 5:37.167
And I prepare Tails for memory erasure tests 0.436
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.796
When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.606
After features/support/hooks.rb:75 0.014