Project Number Date
test_Tails_ISO_devel 3274 10 Feb 2024, 18:27

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

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

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

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

After features/support/hooks.rb:291 1.294
After features/support/hooks.rb:75 0.000
21.651
Before features/support/hooks.rb:245 0.004
Given I have started Tails from DVD without network and logged in 7.668
And I prepare Tails for memory erasure tests 0.401
And I find very few patterns in the guest's memory 3.716

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

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

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

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

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

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

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

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

Pattern coverage: 92.901% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

Pattern coverage: 0.001% (0 MiB out of 812 MiB reference memory)

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

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

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

Pattern coverage: 106.113% (97 MiB out of 91 MiB reference memory)

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

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

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

Pattern coverage: 106.115% (97 MiB out of 91 MiB reference memory)

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

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

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

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

When I trigger shutdown 0.433
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.496
After features/support/hooks.rb:75 0.000
6:52.734
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 6:5.779
And I prepare Tails for memory erasure tests 0.545
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.241
When I trigger shutdown 0.067
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

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