Project Number Date
test_Tails_ISO_19139-arti-bridges 18 01 Dec 2024, 22:02

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 87.954% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.806

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

After features/support/hooks.rb:326 3.500
After features/support/hooks.rb:100 0.000
7:14.325
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 6:27.548
And I prepare Tails for memory erasure tests 1.230
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.343
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.189

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.009