Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 90 28 Jan 2025, 21:50

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.595
After features/support/hooks.rb:100 0.044