Project Number Date
test_Tails_ISO_20530-tca-controls-tor-flag-file 73 02 Jan 2025, 20:49

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.553
After features/support/hooks.rb:100 0.000
7:57.984
Before features/support/hooks.rb:269 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:14.397
And I prepare Tails for memory erasure tests 0.419
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.770
When I trigger shutdown 0.017
Then I find very few patterns in the guest's memory after 20 seconds 21.378

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

After features/support/hooks.rb:326 3.503
After features/support/hooks.rb:100 0.013