Project Number Date
test_Tails_ISO_stable 4802 20 Apr 2024, 16:32

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.210
After features/support/hooks.rb:89 0.000
54.808
Before features/support/hooks.rb:259 0.007
Given I have started Tails from DVD without network and logged in 9.184
And I prepare Tails for memory erasure tests 0.584
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.215
Then I find very few patterns in the guest's memory 5.867

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

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

Pattern coverage: 90.100% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.017
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.538
After features/support/hooks.rb:89 0.000
7:38.081
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:50.893
And I prepare Tails for memory erasure tests 0.405
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.481
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.270

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

After features/support/hooks.rb:305 3.544
After features/support/hooks.rb:89 0.010