Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 6 07 Mar 2025, 00:23

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:58.227 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.
23.646
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.019
And I prepare Tails for memory erasure tests 0.420
When I start a process allocating 128 MiB of memory with a known pattern 2.348
Then patterns cover at least 128 MiB in the guest's memory 3.253

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

When I kill the allocating process 1.788
Then I find very few patterns in the guest's memory after 5 seconds 7.816

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

After features/support/hooks.rb:330 0.822
After features/support/hooks.rb:100 0.000
28.318
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.197
And I prepare Tails for memory erasure tests 0.425
And I find very few patterns in the guest's memory 3.558

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

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

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

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

After features/support/hooks.rb:330 2.424
After features/support/hooks.rb:100 0.000
57.794
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 9.931
And I prepare Tails for memory erasure tests 0.444
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.452
Then I find very few patterns in the guest's memory 3.834

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.315
After features/support/hooks.rb:100 0.000
1:14.513
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.444
And I prepare Tails for memory erasure tests 0.465
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 34.792
Then I find very few patterns in the guest's memory 3.151

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.843
After features/support/hooks.rb:100 0.000
51.146
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.204
And I prepare Tails for memory erasure tests 0.427
When I fill a 128 MiB file with a known pattern on the root filesystem 16.952
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.722
Then patterns cover at least 128 MiB in the guest's memory 2.972

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.853

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

After features/support/hooks.rb:330 3.535
After features/support/hooks.rb:100 0.000
8:2.807
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:18.711
And I prepare Tails for memory erasure tests 0.437
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.364
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.276

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

After features/support/hooks.rb:330 3.535
After features/support/hooks.rb:100 0.014