Project Number Date
test_Tails_ISO_devel 3304 29 Feb 2024, 17:57

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 10:5.038 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.838
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.642
And I prepare Tails for memory erasure tests 0.460
When I start a process allocating 128 MiB of memory with a known pattern 1.211
Then patterns cover at least 128 MiB in the guest's memory 4.112

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 95.552% (121 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 0.994
After features/support/hooks.rb:75 0.000
1:0.815
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.487
And I prepare Tails for memory erasure tests 0.422
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.773
Then I find very few patterns in the guest's memory 3.562

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.751
After features/support/hooks.rb:75 0.000
51.734
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.574
And I prepare Tails for memory erasure tests 0.446
When I fill a 128 MiB file with a known pattern on the root filesystem 16.234
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.368
Then patterns cover at least 128 MiB in the guest's memory 3.203

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.519
After features/support/hooks.rb:75 0.000
6:46.925
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:2.418
And I prepare Tails for memory erasure tests 0.377
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.862
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 2.233

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

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