Project Number Date
test_Tails_ISO_feature-arti 5 20 Nov 2024, 16:40

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:36.868 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.
22.572
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.678
And I prepare Tails for memory erasure tests 0.453
When I start a process allocating 128 MiB of memory with a known pattern 2.366
Then patterns cover at least 128 MiB in the guest's memory 3.753

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

When I kill the allocating process 1.353
Then I find very few patterns in the guest's memory after 3 seconds 5.967

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

After features/support/hooks.rb:326 0.920
After features/support/hooks.rb:100 0.000
24.697
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.750
And I prepare Tails for memory erasure tests 0.402
And I find very few patterns in the guest's memory 2.802

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

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

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

When I umount "/mnt" 1.082
Then I find very few patterns in the guest's memory after 3 seconds 6.091

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

After features/support/hooks.rb:326 0.819
After features/support/hooks.rb:100 0.000
50.430
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.760
And I prepare Tails for memory erasure tests 0.614
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.128
Then I find very few patterns in the guest's memory 3.218

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

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

Pattern coverage: 88.970% (113 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.358
Then I find very few patterns in the guest's memory after 3 seconds 6.014

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

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

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

When I umount the USB drive 0.664
Then I find very few patterns in the guest's memory after 3 seconds 6.542

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

After features/support/hooks.rb:326 0.865
After features/support/hooks.rb:100 0.000
1:19.767
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.444
And I prepare Tails for memory erasure tests 0.460
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 34.126
Then I find very few patterns in the guest's memory 3.152

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

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

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

When I umount the USB drive 0.907
Then I find very few patterns in the guest's memory after 3 seconds 6.259

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

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

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

When I umount the USB drive 0.844
Then I find very few patterns in the guest's memory after 3 seconds 5.607

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

After features/support/hooks.rb:326 2.545
After features/support/hooks.rb:100 0.000
56.148
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.174
And I prepare Tails for memory erasure tests 0.473
When I fill a 128 MiB file with a known pattern on the root filesystem 18.788
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 3.237
Then patterns cover at least 128 MiB in the guest's memory 2.659

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

When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 20.797

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

After features/support/hooks.rb:326 3.743
After features/support/hooks.rb:100 0.000
7:43.251
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:0.173
And I prepare Tails for memory erasure tests 0.525
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.389
When I trigger shutdown 0.016
Then I find very few patterns in the guest's memory after 20 seconds 21.146

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

After features/support/hooks.rb:326 3.534
After features/support/hooks.rb:100 0.017