Project Number Date
test_Tails_ISO_stable 5273 16 Nov 2024, 22:18

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:47.920 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.
25.301
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.386
And I prepare Tails for memory erasure tests 0.603
When I start a process allocating 128 MiB of memory with a known pattern 2.363
Then patterns cover at least 128 MiB in the guest's memory 4.217

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

When I kill the allocating process 1.203
Then I find very few patterns in the guest's memory after 3 seconds 6.526

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

After features/support/hooks.rb:326 0.813
After features/support/hooks.rb:100 0.000
28.429
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.708
And I prepare Tails for memory erasure tests 0.538
And I find very few patterns in the guest's memory 3.641

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

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

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

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

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

After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.000
51.911
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.307
And I prepare Tails for memory erasure tests 0.638
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.129
Then I find very few patterns in the guest's memory 3.283

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

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

Pattern coverage: 88.110% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
1:20.762
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.200
And I prepare Tails for memory erasure tests 0.548
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.169
Then I find very few patterns in the guest's memory 3.015

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.099
After features/support/hooks.rb:100 0.000
55.743
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.710
And I prepare Tails for memory erasure tests 0.492
When I fill a 128 MiB file with a known pattern on the root filesystem 17.614
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.682
Then patterns cover at least 128 MiB in the guest's memory 3.313

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

When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 20.916

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

After features/support/hooks.rb:326 3.563
After features/support/hooks.rb:100 0.000
7:45.771
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:59.610
And I prepare Tails for memory erasure tests 0.456
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.387
When I trigger shutdown 0.018
Then I find very few patterns in the guest's memory after 20 seconds 21.298

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

After features/support/hooks.rb:326 3.485
After features/support/hooks.rb:100 0.083