Project Number Date
test_Tails_ISO_devel 3489 22 Aug 2024, 12:34

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

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

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

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

After features/support/hooks.rb:326 0.912
After features/support/hooks.rb:100 0.000
27.720
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.851
And I prepare Tails for memory erasure tests 0.410
And I find very few patterns in the guest's memory 4.411

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

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

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

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

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

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

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

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

Pattern coverage: 88.468% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.790

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

After features/support/hooks.rb:326 3.511
After features/support/hooks.rb:100 0.000
7:24.156
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:39.693
And I prepare Tails for memory erasure tests 0.460
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.811
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.178

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

After features/support/hooks.rb:326 3.505
After features/support/hooks.rb:100 0.014