Project Number Date
test_Tails_ISO_devel 3279 13 Feb 2024, 22: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 11:31.886 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.
18.878
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 7.703
And I prepare Tails for memory erasure tests 0.396
When I start a process allocating 128 MiB of memory with a known pattern 1.276
Then patterns cover at least 128 MiB in the guest's memory 4.289

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 1.498
After features/support/hooks.rb:75 0.000
1:12.452
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.973
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" 25.841
Then I find very few patterns in the guest's memory 6.140

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.454
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.491
After features/support/hooks.rb:75 0.000
7:51.914
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 7:6.387
And I prepare Tails for memory erasure tests 0.426
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.592
When I trigger shutdown 0.054
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.544
After features/support/hooks.rb:75 0.011