Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 106 14 Jun 2024, 15:16

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

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

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

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

After features/support/hooks.rb:320 6.959
After features/support/hooks.rb:100 0.000
36.372
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.383
And I prepare Tails for memory erasure tests 0.586
And I find very few patterns in the guest's memory 3.910

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

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

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

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

After features/support/hooks.rb:320 1.168
After features/support/hooks.rb:100 0.000
52.472
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.412
And I prepare Tails for memory erasure tests 0.493
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.596
Then I find very few patterns in the guest's memory 5.115

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:320 1.187
After features/support/hooks.rb:100 0.000
50.569
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.405
And I prepare Tails for memory erasure tests 0.532
When I fill a 128 MiB file with a known pattern on the root filesystem 15.128
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.008
Then patterns cover at least 128 MiB in the guest's memory 2.615

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

When I trigger shutdown 0.018
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:320 3.744
After features/support/hooks.rb:100 0.000
8:6.676
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:19.181
And I prepare Tails for memory erasure tests 0.487
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.796
When I trigger shutdown 0.010
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:320 3.530
After features/support/hooks.rb:100 0.013