Project Number Date
test_Tails_ISO_feature-arti 30 15 Dec 2024, 16:19

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 84.920% (108 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.524
After features/support/hooks.rb:100 0.000
7:44.723
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 6:58.153
And I prepare Tails for memory erasure tests 0.673
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.480
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.402

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

After features/support/hooks.rb:326 3.538
After features/support/hooks.rb:100 0.015