Project Number Date
test_Tails_ISO_stable 4583 21 Dec 2023, 13:43

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:22.871 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.566
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.862
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.450
Then patterns cover at least 128 MiB in the guest's memory 3.734

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

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

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

After features/support/hooks.rb:291 0.717
After features/support/hooks.rb:75 0.000
1:2.915
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.466
And I prepare Tails for memory erasure tests 0.528
And I find very few patterns in the guest's memory 3.939

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

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

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

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

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

After features/support/hooks.rb:291 0.892
After features/support/hooks.rb:75 0.000
3:23.916
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.958
And I prepare Tails for memory erasure tests 0.541
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.284
Then I find very few patterns in the guest's memory 4.268

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

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

Pattern coverage: 94.250% (117 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.545
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.473
After features/support/hooks.rb:75 0.000
6:26.172
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:38.383
And I prepare Tails for memory erasure tests 0.489
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.406
When I trigger shutdown 0.370
And I wait 20 seconds 20.003

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.467
After features/support/hooks.rb:75 0.015