Project Number Date
test_Tails_ISO_devel 3472 09 Aug 2024, 12:36

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.797
After features/support/hooks.rb:100 0.001
49.816
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.341
And I prepare Tails for memory erasure tests 0.425
When I fill a 128 MiB file with a known pattern on the root filesystem 15.259
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.445
Then patterns cover at least 128 MiB in the guest's memory 2.579

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

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

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

After features/support/hooks.rb:326 3.504
After features/support/hooks.rb:100 0.000
7:49.352
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 6:59.765
And I prepare Tails for memory erasure tests 0.419
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.855
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.295

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

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