Project Number Date
test_Tails_ISO_stable 4791 17 Apr 2024, 12:21

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:38.451 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.991
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.206
And I prepare Tails for memory erasure tests 0.383
When I start a process allocating 128 MiB of memory with a known pattern 1.174
Then patterns cover at least 128 MiB in the guest's memory 4.465

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

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

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

After features/support/hooks.rb:305 1.122
After features/support/hooks.rb:89 0.000
29.785
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.669
And I prepare Tails for memory erasure tests 0.415
And I find very few patterns in the guest's memory 4.674

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

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

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

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

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

After features/support/hooks.rb:305 1.139
After features/support/hooks.rb:89 0.000
43.803
Before features/support/hooks.rb:259 0.007
Given I have started Tails from DVD without network and logged in 8.286
And I prepare Tails for memory erasure tests 0.464
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.110
Then I find very few patterns in the guest's memory 4.387

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.756
After features/support/hooks.rb:89 0.000
1:5.172
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.545
And I prepare Tails for memory erasure tests 0.369
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 31.003
Then I find very few patterns in the guest's memory 3.764

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.953
After features/support/hooks.rb:89 0.000
52.257
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.099
And I prepare Tails for memory erasure tests 0.396
When I fill a 128 MiB file with a known pattern on the root filesystem 18.256
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.243
Then patterns cover at least 128 MiB in the guest's memory 2.482

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.000

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 4.157
After features/support/hooks.rb:89 0.000
7:7.440
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:21.612
And I prepare Tails for memory erasure tests 0.555
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.722
When I trigger shutdown 0.011
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.630
After features/support/hooks.rb:89 0.010