Project Number Date
test_Tails_ISO_stable 4766 03 Apr 2024, 18: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:29.887 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.
19.928
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.126
And I prepare Tails for memory erasure tests 0.389
When I start a process allocating 128 MiB of memory with a known pattern 1.211
Then patterns cover at least 128 MiB in the guest's memory 4.949

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

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

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

After features/support/hooks.rb:291 1.825
After features/support/hooks.rb:75 0.000
25.465
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.979
And I prepare Tails for memory erasure tests 0.412
And I find very few patterns in the guest's memory 4.585

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

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

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

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

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

After features/support/hooks.rb:291 0.720
After features/support/hooks.rb:75 0.000
48.094
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.219
And I prepare Tails for memory erasure tests 0.437
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.058
Then I find very few patterns in the guest's memory 5.426

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

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

Pattern coverage: 91.964% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 1.064
After features/support/hooks.rb:75 0.000
1:5.858
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.580
And I prepare Tails for memory erasure tests 0.404
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.330
Then I find very few patterns in the guest's memory 4.027

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:291 0.724
After features/support/hooks.rb:75 0.000
51.420
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.126
And I prepare Tails for memory erasure tests 0.429
When I fill a 128 MiB file with a known pattern on the root filesystem 15.356
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.576
Then patterns cover at least 128 MiB in the guest's memory 4.082

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.575
After features/support/hooks.rb:75 0.000
6:59.120
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:12.961
And I prepare Tails for memory erasure tests 0.444
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.376
When I trigger shutdown 0.011
And I wait 20 seconds 20.006

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.554
After features/support/hooks.rb:75 0.012