Project Number Date
test_Tails_ISO_stable 4790 16 Apr 2024, 20:06

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 10:40.307 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.
17.878
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.366
And I prepare Tails for memory erasure tests 0.403
When I start a process allocating 128 MiB of memory with a known pattern 1.274
Then patterns cover at least 128 MiB in the guest's memory 3.601

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

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

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

After features/support/hooks.rb:305 1.012
After features/support/hooks.rb:89 0.000
21.751
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.164
And I prepare Tails for memory erasure tests 0.382
And I find very few patterns in the guest's memory 3.942

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

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

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

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

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

After features/support/hooks.rb:305 0.684
After features/support/hooks.rb:89 0.000
40.167
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.182
And I prepare Tails for memory erasure tests 0.410
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.876
Then I find very few patterns in the guest's memory 3.590

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

Pattern coverage: 89.233% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:305 1.228
After features/support/hooks.rb:89 0.000
1:3.143
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.883
And I prepare Tails for memory erasure tests 0.399
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 26.987
Then I find very few patterns in the guest's memory 3.738

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 0.768
After features/support/hooks.rb:89 0.000
52.329
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.268
And I prepare Tails for memory erasure tests 0.416
When I fill a 128 MiB file with a known pattern on the root filesystem 17.477
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.981
Then patterns cover at least 128 MiB in the guest's memory 3.221

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

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 1.930

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

After features/support/hooks.rb:305 3.542
After features/support/hooks.rb:89 0.000
7:25.037
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:37.189
And I prepare Tails for memory erasure tests 0.427
When I fill a 128 MiB file with a known pattern on the persistent filesystem 25.152
When I trigger shutdown 0.010
And I wait 20 seconds 20.013

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.560
After features/support/hooks.rb:89 0.012