Project Number Date
test_Tails_ISO_devel 3523 28 Sep 2024, 12:20

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

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

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

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

After features/support/hooks.rb:326 0.795
After features/support/hooks.rb:100 0.000
31.928
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.354
And I prepare Tails for memory erasure tests 0.436
And I find very few patterns in the guest's memory 3.149

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

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

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

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

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

After features/support/hooks.rb:326 1.958
After features/support/hooks.rb:100 0.000
50.992
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.602
And I prepare Tails for memory erasure tests 0.394
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.208
Then I find very few patterns in the guest's memory 3.410

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

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

Pattern coverage: 89.625% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 3.534
After features/support/hooks.rb:100 0.000
7:39.451
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:56.682
And I prepare Tails for memory erasure tests 0.494
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.091
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.170

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

After features/support/hooks.rb:326 3.552
After features/support/hooks.rb:100 0.012