Project Number Date
test_Tails_ISO_20522-ocr-more 52 03 Feb 2025, 16:47

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 12:3.732 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.
24.403
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.051
And I prepare Tails for memory erasure tests 0.535
When I start a process allocating 128 MiB of memory with a known pattern 2.456
Then patterns cover at least 128 MiB in the guest's memory 3.491

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

When I kill the allocating process 1.860
Then I find very few patterns in the guest's memory after 5 seconds 8.007

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

After features/support/hooks.rb:326 2.121
After features/support/hooks.rb:100 0.000
24.745
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 10.152
And I prepare Tails for memory erasure tests 0.526
And I find very few patterns in the guest's memory 2.807

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.525
After features/support/hooks.rb:100 0.000
8:4.917
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:14.849
And I prepare Tails for memory erasure tests 0.994
When I fill a 128 MiB file with a known pattern on the persistent filesystem 27.549
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.511

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

After features/support/hooks.rb:326 4.823
After features/support/hooks.rb:100 0.016