Project Number Date
test_Tails_ISO_devel 3431 18 Jun 2024, 12:41

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:31.609 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.976
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.534
And I prepare Tails for memory erasure tests 0.486
When I start a process allocating 128 MiB of memory with a known pattern 2.331
Then patterns cover at least 128 MiB in the guest's memory 4.141

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

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

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

After features/support/hooks.rb:320 4.568
After features/support/hooks.rb:100 0.000
24.504
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.258
And I prepare Tails for memory erasure tests 0.564
And I find very few patterns in the guest's memory 4.277

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

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

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

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

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

After features/support/hooks.rb:320 0.782
After features/support/hooks.rb:100 0.000
46.157
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.384
And I prepare Tails for memory erasure tests 0.446
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.198
Then I find very few patterns in the guest's memory 4.189

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 1.847

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

After features/support/hooks.rb:320 3.494
After features/support/hooks.rb:100 0.000
7:45.333
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 7:1.306
And I prepare Tails for memory erasure tests 0.426
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.386
When I trigger shutdown 0.020
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:320 3.533
After features/support/hooks.rb:100 0.022