Project Number Date
test_Tails_ISO_devel 3219 01 Jan 2024, 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 13:42.477 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.
19.512
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 9.240
And I prepare Tails for memory erasure tests 0.610
When I start a process allocating 128 MiB of memory with a known pattern 1.387
Then patterns cover at least 128 MiB in the guest's memory 3.267

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

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

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

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

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

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

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

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

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

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

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:3.410
Then patterns cover at least 86% of the test FS size in the guest's memory 3.204

Pattern coverage: 92.224% (114 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.753
And I wait 20 seconds 20.002

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.453
After features/support/hooks.rb:75 0.000
6:0.848
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:18.682
And I prepare Tails for memory erasure tests 0.559
When I fill a 128 MiB file with a known pattern on the persistent filesystem 18.995
When I trigger shutdown 0.258
And I wait 20 seconds 20.005

Slept for 20 seconds

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

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

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