Project Number Date
test_Tails_ISO_stable 5306 30 Nov 2024, 13:11

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:3.061 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.
25.675
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.890
And I prepare Tails for memory erasure tests 0.527
When I start a process allocating 128 MiB of memory with a known pattern 2.428
Then patterns cover at least 128 MiB in the guest's memory 3.680

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

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

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

After features/support/hooks.rb:326 2.583
After features/support/hooks.rb:100 0.000
30.612
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.531
And I prepare Tails for memory erasure tests 0.485
And I find very few patterns in the guest's memory 2.998

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

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

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

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

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

After features/support/hooks.rb:326 0.885
After features/support/hooks.rb:100 0.000
51.302
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.591
And I prepare Tails for memory erasure tests 0.403
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.388
Then I find very few patterns in the guest's memory 3.894

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

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

Pattern coverage: 90.237% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.146
After features/support/hooks.rb:100 0.000
59.806
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.441
When I fill a 128 MiB file with a known pattern on the root filesystem 23.069
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.731
Then patterns cover at least 128 MiB in the guest's memory 3.381

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

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

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

After features/support/hooks.rb:326 3.559
After features/support/hooks.rb:100 0.000
7:55.628
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:10.771
And I prepare Tails for memory erasure tests 0.706
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.728
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.407

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

After features/support/hooks.rb:326 3.522
After features/support/hooks.rb:100 0.015