Project Number Date
test_Tails_ISO_stable 4925 09 Jul 2024, 17:37

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 12:26.201 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.
23.092
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.527
And I prepare Tails for memory erasure tests 0.418
When I start a process allocating 128 MiB of memory with a known pattern 2.387
Then patterns cover at least 128 MiB in the guest's memory 5.322

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.094% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.546
After features/support/hooks.rb:100 0.000
8:25.975
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:39.349
And I prepare Tails for memory erasure tests 0.500
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.949
When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.477
After features/support/hooks.rb:100 0.012