Project Number Date
test_Tails_ISO_stable 4665 14 Feb 2024, 14:38

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 14:9.670 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.
20.044
Before features/support/hooks.rb:245 0.005
Given I have started Tails from DVD without network and logged in 8.686
And I prepare Tails for memory erasure tests 0.589
When I start a process allocating 128 MiB of memory with a known pattern 2.395
Then patterns cover at least 128 MiB in the guest's memory 3.731

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

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

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

After features/support/hooks.rb:291 0.890
After features/support/hooks.rb:75 0.000
1:1.486
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.748
And I prepare Tails for memory erasure tests 0.508
And I find very few patterns in the guest's memory 4.000

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

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

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

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

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

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

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

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

Pattern coverage: 98.203% (122 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.661% (97 MiB out of 89 MiB reference memory)

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

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

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

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

When I trigger shutdown 1.053
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.558
After features/support/hooks.rb:75 0.000
6:3.670
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 5:18.455
And I prepare Tails for memory erasure tests 0.556
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.016
When I trigger shutdown 0.410
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.499
After features/support/hooks.rb:75 0.027