Project Number Date
test_Tails_ISO_stable 4873 04 Jun 2024, 21:15

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

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

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

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

After features/support/hooks.rb:315 1.877
After features/support/hooks.rb:100 0.000
24.738
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.061
And I prepare Tails for memory erasure tests 0.428
And I find very few patterns in the guest's memory 4.486

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

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

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

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

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

After features/support/hooks.rb:315 1.455
After features/support/hooks.rb:100 0.000
45.398
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.110
And I prepare Tails for memory erasure tests 0.387
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.248
Then I find very few patterns in the guest's memory 4.534

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:315 1.140
After features/support/hooks.rb:100 0.000
51.699
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.868
And I prepare Tails for memory erasure tests 0.470
When I fill a 128 MiB file with a known pattern on the root filesystem 15.303
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.921
Then patterns cover at least 128 MiB in the guest's memory 3.287

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.486
After features/support/hooks.rb:100 0.000
7:32.873
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:49.038
And I prepare Tails for memory erasure tests 0.394
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.221
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.186

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

After features/support/hooks.rb:315 3.530
After features/support/hooks.rb:100 0.012