Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 14 12 Dec 2024, 00:22

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 93.051% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.544
After features/support/hooks.rb:100 0.000
8:1.541
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:16.884
And I prepare Tails for memory erasure tests 0.857
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.476
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.307

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

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