Project Number Date
test_Tails_ISO_devel 3316 11 Mar 2024, 15:03

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

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

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

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

After features/support/hooks.rb:291 1.428
After features/support/hooks.rb:75 0.000
27.933
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.247
And I prepare Tails for memory erasure tests 0.421
And I find very few patterns in the guest's memory 8.656

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.001

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.489
After features/support/hooks.rb:75 0.000
6:59.848
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:12.891
And I prepare Tails for memory erasure tests 0.397
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.694
When I trigger shutdown 0.015
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.475
After features/support/hooks.rb:75 0.013