Project Number Date
test_Tails_ISO_stable 4933 11 Jul 2024, 21:52

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

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

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

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

After features/support/hooks.rb:326 0.911
After features/support/hooks.rb:100 0.000
23.415
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 7.984
And I prepare Tails for memory erasure tests 0.483
And I find very few patterns in the guest's memory 4.856

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

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

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

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

After features/support/hooks.rb:326 1.063
After features/support/hooks.rb:100 0.000
43.514
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 7.987
And I prepare Tails for memory erasure tests 0.459
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.234
Then I find very few patterns in the guest's memory 4.497

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.905
After features/support/hooks.rb:100 0.000
52.214
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.188
And I prepare Tails for memory erasure tests 0.506
When I fill a 128 MiB file with a known pattern on the root filesystem 15.983
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.002
Then patterns cover at least 128 MiB in the guest's memory 2.759

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.005

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.502
After features/support/hooks.rb:100 0.000
7:46.559
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:58.774
And I prepare Tails for memory erasure tests 0.438
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.053
When I trigger shutdown 0.011
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.534
After features/support/hooks.rb:100 0.012