Project Number Date
test_Tails_ISO_devel 3376 06 May 2024, 13:04

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 12:17.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.
19.495
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 9.682
And I prepare Tails for memory erasure tests 0.510
When I start a process allocating 128 MiB of memory with a known pattern 1.249
Then patterns cover at least 128 MiB in the guest's memory 3.467

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

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

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

After features/support/hooks.rb:305 0.793
After features/support/hooks.rb:89 0.000
26.710
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 9.142
And I prepare Tails for memory erasure tests 0.704
And I find very few patterns in the guest's memory 3.898

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

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

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

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

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

After features/support/hooks.rb:305 0.804
After features/support/hooks.rb:89 0.000
52.137
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 9.647
And I prepare Tails for memory erasure tests 0.760
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.354
Then I find very few patterns in the guest's memory 4.791

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.813
After features/support/hooks.rb:89 0.000
1:18.710
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.500
And I prepare Tails for memory erasure tests 0.589
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 37.205
Then I find very few patterns in the guest's memory 3.467

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.885
After features/support/hooks.rb:89 0.000
55.053
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.970
And I prepare Tails for memory erasure tests 0.442
When I fill a 128 MiB file with a known pattern on the root filesystem 18.366
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.948
Then patterns cover at least 128 MiB in the guest's memory 3.280

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

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.011

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

After features/support/hooks.rb:305 3.574
After features/support/hooks.rb:89 0.000
8:25.726
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:40.768
And I prepare Tails for memory erasure tests 0.450
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.094
When I trigger shutdown 0.013
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.573
After features/support/hooks.rb:89 0.011