Project Number Date
test_Tails_ISO_stable 4924 09 Jul 2024, 14: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:40.833 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.911
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.099
And I prepare Tails for memory erasure tests 0.435
When I start a process allocating 128 MiB of memory with a known pattern 1.195
Then patterns cover at least 128 MiB in the guest's memory 3.371

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

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

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

After features/support/hooks.rb:326 0.777
After features/support/hooks.rb:100 0.000
23.416
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.760
And I prepare Tails for memory erasure tests 0.424
And I find very few patterns in the guest's memory 3.912

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.116% (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.753

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

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

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

When I trigger shutdown 0.036
And I wait 20 seconds 20.018

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 883 MiB reference memory)

After features/support/hooks.rb:326 3.544
After features/support/hooks.rb:100 0.000
8:5.843
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:21.556
And I prepare Tails for memory erasure tests 0.433
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.552
When I trigger shutdown 0.011
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.505
After features/support/hooks.rb:100 0.011