Project Number Date
test_Tails_ISO_feature-arti 16 01 Dec 2024, 16:32

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.907
After features/support/hooks.rb:100 0.000
50.829
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.565
And I prepare Tails for memory erasure tests 0.505
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.600
Then I find very few patterns in the guest's memory 3.140

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

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

Pattern coverage: 90.911% (116 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 1.350
After features/support/hooks.rb:100 0.000
50.096
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.353
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 16.090
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.044
Then patterns cover at least 128 MiB in the guest's memory 2.263

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

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

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

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

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

After features/support/hooks.rb:326 3.517
After features/support/hooks.rb:100 0.015