Project Number Date
test_Tails_ISO_devel 3441 29 Jun 2024, 12:43

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.018
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:326 3.520
After features/support/hooks.rb:100 0.000
8:9.484
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 7:24.201
And I prepare Tails for memory erasure tests 0.488
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.560
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.199

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

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