Project Number Date
test_Tails_ISO_20531-early-reporting-of-bad-devices 8 09 Dec 2024, 00:08

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.784
After features/support/hooks.rb:100 0.000
51.473
Before features/support/hooks.rb:269 0.007
Given I have started Tails from DVD without network and logged in 9.405
And I prepare Tails for memory erasure tests 0.428
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.095
Then I find very few patterns in the guest's memory 3.643

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.516
After features/support/hooks.rb:100 0.010