Project Number Date
test_Tails_ISO_devel 3565 28 Oct 2024, 15:27

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 12:46.604 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.
22.307
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.217
And I prepare Tails for memory erasure tests 0.480
When I start a process allocating 128 MiB of memory with a known pattern 2.424
Then patterns cover at least 128 MiB in the guest's memory 4.411

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

When I kill the allocating process 0.374
Then I find very few patterns in the guest's memory after 3 seconds 6.399

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

After features/support/hooks.rb:326 0.973
After features/support/hooks.rb:100 0.000
24.798
Before features/support/hooks.rb:269 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.450
And I find very few patterns in the guest's memory 3.275

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

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

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

When I umount "/mnt" 0.563
Then I find very few patterns in the guest's memory after 3 seconds 5.932

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

After features/support/hooks.rb:326 1.751
After features/support/hooks.rb:100 0.000
55.756
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.483
And I prepare Tails for memory erasure tests 0.668
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.420
Then I find very few patterns in the guest's memory 3.341

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

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

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

When I umount the USB drive 1.516
Then I find very few patterns in the guest's memory after 3 seconds 6.770

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

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

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

When I umount the USB drive 0.895
Then I find very few patterns in the guest's memory after 3 seconds 7.565

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

After features/support/hooks.rb:326 1.683
After features/support/hooks.rb:100 0.000
1:25.750
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.265
And I prepare Tails for memory erasure tests 0.528
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 42.613
Then I find very few patterns in the guest's memory 3.306

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

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

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

When I umount the USB drive 1.076
Then I find very few patterns in the guest's memory after 3 seconds 6.266

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

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

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

When I umount the USB drive 0.765
Then I find very few patterns in the guest's memory after 3 seconds 6.225

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

After features/support/hooks.rb:326 2.377
After features/support/hooks.rb:100 0.000
51.698
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.830
And I prepare Tails for memory erasure tests 0.499
When I fill a 128 MiB file with a known pattern on the root filesystem 16.135
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.949
Then patterns cover at least 128 MiB in the guest's memory 3.395

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

When I trigger shutdown 0.020
Then I find very few patterns in the guest's memory after 20 seconds 20.867

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

After features/support/hooks.rb:326 3.544
After features/support/hooks.rb:100 0.000
8:46.292
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:57.741
And I prepare Tails for memory erasure tests 0.600
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.608
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 23.323

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

After features/support/hooks.rb:326 4.063
After features/support/hooks.rb:100 0.026