Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 23 28 Mar 2024, 06:25

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

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

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

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

After features/support/hooks.rb:291 1.911
After features/support/hooks.rb:75 0.000
23.694
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.191
And I prepare Tails for memory erasure tests 0.516
And I find very few patterns in the guest's memory 4.673

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

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

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

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

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

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

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

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

Pattern coverage: 87.733% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.020
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.495
After features/support/hooks.rb:75 0.000
6:26.039
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:41.053
And I prepare Tails for memory erasure tests 0.434
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.286
When I trigger shutdown 0.015
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 911 MiB reference memory)

After features/support/hooks.rb:291 3.499
After features/support/hooks.rb:75 0.010