Project Number Date
test_Tails_ISO_devel 3394 19 May 2024, 13:37

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 12:5.015 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.438
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.187
And I prepare Tails for memory erasure tests 0.452
When I start a process allocating 128 MiB of memory with a known pattern 4.263
Then patterns cover at least 128 MiB in the guest's memory 3.640

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

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

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

After features/support/hooks.rb:305 1.173
After features/support/hooks.rb:89 0.000
30.094
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 11.616
And I prepare Tails for memory erasure tests 0.454
And I find very few patterns in the guest's memory 5.222

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

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

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

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

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

After features/support/hooks.rb:305 1.365
After features/support/hooks.rb:89 0.000
58.166
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 9.442
And I prepare Tails for memory erasure tests 0.546
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.690
Then I find very few patterns in the guest's memory 5.928

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

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

Pattern coverage: 92.592% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:305 1.099
After features/support/hooks.rb:89 0.001
1:31.544
Before features/support/hooks.rb:259 0.009
Given I have started Tails from DVD without network and logged in 8.753
And I prepare Tails for memory erasure tests 0.528
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.434
Then I find very few patterns in the guest's memory 3.915

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.019
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.497
After features/support/hooks.rb:89 0.000
7:50.866
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 7:5.087
And I prepare Tails for memory erasure tests 0.438
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.023
When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.558
After features/support/hooks.rb:89 0.011