Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 21 26 Mar 2024, 06:18

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 9:49.659 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.
18.324
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.319
And I prepare Tails for memory erasure tests 0.561
When I start a process allocating 128 MiB of memory with a known pattern 1.248
Then patterns cover at least 128 MiB in the guest's memory 3.866

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

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

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

After features/support/hooks.rb:291 0.903
After features/support/hooks.rb:75 0.000
22.241
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.269
And I prepare Tails for memory erasure tests 0.545
And I find very few patterns in the guest's memory 3.884

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

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

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

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

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

After features/support/hooks.rb:291 1.008
After features/support/hooks.rb:75 0.000
41.621
Before features/support/hooks.rb:245 0.004
Given I have started Tails from DVD without network and logged in 8.469
And I prepare Tails for memory erasure tests 0.561
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.094
Then I find very few patterns in the guest's memory 4.067

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.151
Then patterns cover at least 86% of the test FS size in the guest's memory 3.738

Pattern coverage: 88.955% (113 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 1.678
After features/support/hooks.rb:75 0.001
1:0.065
Before features/support/hooks.rb:245 0.011
Given I have started Tails from DVD without network and logged in 8.646
And I prepare Tails for memory erasure tests 0.539
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 25.912
Then I find very few patterns in the guest's memory 3.732

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.031
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.568
After features/support/hooks.rb:75 0.000
6:32.808
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 5:47.926
And I prepare Tails for memory erasure tests 0.416
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.185
When I trigger shutdown 0.010
And I wait 20 seconds 20.000

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.537
After features/support/hooks.rb:75 0.009