Project Number Date
test_Tails_ISO_18530-do-not-restart-tor 4 10 Nov 2024, 10:25

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:12.636 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.
22.382
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.021
And I prepare Tails for memory erasure tests 0.406
When I start a process allocating 128 MiB of memory with a known pattern 2.420
Then patterns cover at least 128 MiB in the guest's memory 3.622

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

When I kill the allocating process 1.857
Then I find very few patterns in the guest's memory after 3 seconds 6.054

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

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

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

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

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

When I umount "/mnt" 0.819
Then I find very few patterns in the guest's memory after 3 seconds 6.492

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

After features/support/hooks.rb:326 1.348
After features/support/hooks.rb:100 0.000
48.034
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 7.939
And I prepare Tails for memory erasure tests 0.401
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.064
Then I find very few patterns in the guest's memory 2.526

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

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

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

When I umount the USB drive 1.419
Then I find very few patterns in the guest's memory after 3 seconds 6.549

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

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

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

When I umount the USB drive 0.671
Then I find very few patterns in the guest's memory after 3 seconds 6.453

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

After features/support/hooks.rb:326 1.353
After features/support/hooks.rb:100 0.001
1:14.000
Before features/support/hooks.rb:269 0.009
Given I have started Tails from DVD without network and logged in 8.047
And I prepare Tails for memory erasure tests 0.428
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.894
Then I find very few patterns in the guest's memory 3.282

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

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

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

When I umount the USB drive 1.117
Then I find very few patterns in the guest's memory after 3 seconds 5.458

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

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

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

When I umount the USB drive 0.922
Then I find very few patterns in the guest's memory after 3 seconds 5.312

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

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

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

When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 20.730

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

After features/support/hooks.rb:326 3.520
After features/support/hooks.rb:100 0.000
7:22.118
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:37.193
And I prepare Tails for memory erasure tests 0.673
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.094
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.143

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

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