Project Number Date
test_Tails_ISO_stable 4530 24 Nov 2023, 12:16

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

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

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

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

After features/support/hooks.rb:290 0.736
After features/support/hooks.rb:75 0.000
1:4.799
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 9.092
And I prepare Tails for memory erasure tests 0.607
And I find very few patterns in the guest's memory 3.602

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

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

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

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

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

After features/support/hooks.rb:290 0.793
After features/support/hooks.rb:75 0.000
3:5.391
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.182
And I prepare Tails for memory erasure tests 0.716
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.961
Then I find very few patterns in the guest's memory 3.893

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

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

Pattern coverage: 92.748% (115 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

After features/support/hooks.rb:290 0.822
After features/support/hooks.rb:75 0.000
2:59.648
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.220
And I prepare Tails for memory erasure tests 0.523
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 23.582
Then I find very few patterns in the guest's memory 3.461

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.663% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:290 0.812
After features/support/hooks.rb:75 0.001
51.518
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.493
And I prepare Tails for memory erasure tests 0.693
When I fill a 128 MiB file with a known pattern on the root filesystem 15.829
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.541
Then patterns cover at least 128 MiB in the guest's memory 2.536

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

When I trigger shutdown 0.624
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:290 3.420
After features/support/hooks.rb:75 0.000
6:13.900
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:21.591
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 29.356
When I trigger shutdown 0.214
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:290 3.440
After features/support/hooks.rb:75 0.013