Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 13 20 Mar 2024, 07:05

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:33.719 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.384
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 7.940
And I prepare Tails for memory erasure tests 0.394
When I start a process allocating 128 MiB of memory with a known pattern 1.183
Then patterns cover at least 128 MiB in the guest's memory 3.897

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

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

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

After features/support/hooks.rb:291 1.099
After features/support/hooks.rb:75 0.000
22.464
Before features/support/hooks.rb:245 0.004
Given I have started Tails from DVD without network and logged in 8.092
And I prepare Tails for memory erasure tests 0.397
And I find very few patterns in the guest's memory 3.936

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

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

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

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

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

After features/support/hooks.rb:291 1.357
After features/support/hooks.rb:75 0.000
40.675
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.217
And I prepare Tails for memory erasure tests 0.420
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.936
Then I find very few patterns in the guest's memory 3.896

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

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

Pattern coverage: 90.948% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 0.938
After features/support/hooks.rb:75 0.000
1:9.503
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.817
And I prepare Tails for memory erasure tests 0.437
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 29.722
Then I find very few patterns in the guest's memory 4.759

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.053
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.522
After features/support/hooks.rb:75 0.000
6:12.462
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:26.160
And I prepare Tails for memory erasure tests 0.335
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.850
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 2.084

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

After features/support/hooks.rb:291 3.518
After features/support/hooks.rb:75 0.011