Project Number Date
test_Tails_ISO_stable 4866 02 Jun 2024, 13:41

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:27.965 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.
32.672
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 8.649
And I prepare Tails for memory erasure tests 0.465
When I start a process allocating 128 MiB of memory with a known pattern 2.396
Then patterns cover at least 128 MiB in the guest's memory 8.629

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

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

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

After features/support/hooks.rb:311 0.925
After features/support/hooks.rb:100 0.000
29.233
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 10.568
And I prepare Tails for memory erasure tests 0.444
And I find very few patterns in the guest's memory 5.592

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

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

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

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

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

After features/support/hooks.rb:311 1.575
After features/support/hooks.rb:100 0.000
56.142
Before features/support/hooks.rb:265 0.005
Given I have started Tails from DVD without network and logged in 9.092
And I prepare Tails for memory erasure tests 0.550
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.202
Then I find very few patterns in the guest's memory 3.834

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

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

Pattern coverage: 87.372% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:311 0.996
After features/support/hooks.rb:100 0.000
1:19.350
Before features/support/hooks.rb:265 0.005
Given I have started Tails from DVD without network and logged in 9.261
And I prepare Tails for memory erasure tests 0.577
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.857
Then I find very few patterns in the guest's memory 3.709

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:311 1.393
After features/support/hooks.rb:100 0.000
58.848
Before features/support/hooks.rb:265 0.003
Given I have started Tails from DVD without network and logged in 8.550
And I prepare Tails for memory erasure tests 0.560
When I fill a 128 MiB file with a known pattern on the root filesystem 22.757
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.023
Then patterns cover at least 128 MiB in the guest's memory 3.054

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:311 3.568
After features/support/hooks.rb:100 0.000
8:11.718
Before features/support/hooks.rb:265 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:26.350
And I prepare Tails for memory erasure tests 0.524
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.510
When I trigger shutdown 0.012
And I wait 20 seconds 20.007

Slept for 20 seconds

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

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

After features/support/hooks.rb:311 3.535
After features/support/hooks.rb:100 0.014