Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 8 19 Mar 2024, 17:27

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

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

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

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

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

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.435
Then patterns cover at least 99% of the test FS size in the guest's memory 4.866

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.833
After features/support/hooks.rb:75 0.000
58.706
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.007
And I prepare Tails for memory erasure tests 0.406
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 26.556
Then I find very few patterns in the guest's memory 3.636

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.702
After features/support/hooks.rb:75 0.000
6:12.467
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 5:27.917
And I prepare Tails for memory erasure tests 0.339
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.008
When I trigger shutdown 0.011
And I wait 20 seconds 20.011

Slept for 20 seconds

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

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

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