Project Number Date
test_Tails_ISO_devel 3194 14 Dec 2023, 12:11

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 95.074% (118 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:291 0.794
After features/support/hooks.rb:75 0.000
2:27.317
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.349
And I prepare Tails for memory erasure tests 0.679
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 22.640
Then I find very few patterns in the guest's memory 3.503

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.542
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.443
After features/support/hooks.rb:75 0.000
5:53.623
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:9.122
And I prepare Tails for memory erasure tests 0.477
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.578
When I trigger shutdown 0.247
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.490
After features/support/hooks.rb:75 0.068