Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 50 21 Apr 2024, 07:09

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.600 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.
20.283
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.416
And I prepare Tails for memory erasure tests 0.649
When I start a process allocating 128 MiB of memory with a known pattern 1.461
Then patterns cover at least 128 MiB in the guest's memory 4.244

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 3.449
After features/support/hooks.rb:89 0.000
52.907
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.350
And I prepare Tails for memory erasure tests 0.478
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.379
Then I find very few patterns in the guest's memory 5.141

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

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

Pattern coverage: 90.179% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.509
After features/support/hooks.rb:89 0.000
8:6.059
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:22.068
And I prepare Tails for memory erasure tests 0.432
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.170
When I trigger shutdown 0.017
And I wait 20 seconds 20.011

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.570
After features/support/hooks.rb:89 0.015