Project Number Date
test_Tails_ISO_stable 4577 19 Dec 2023, 12:09

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 95.892% (119 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.754
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.451
After features/support/hooks.rb:75 0.000
5:47.324
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:2.041
And I prepare Tails for memory erasure tests 0.482
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.375
When I trigger shutdown 0.327
And I wait 20 seconds 20.015

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.515
After features/support/hooks.rb:75 0.011