Project Number Date
test_Tails_ISO_stable 4888 13 Jun 2024, 12:51

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 53 0 0 0 0 53 6 0 6 12:6.545 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.625
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.076
And I prepare Tails for memory erasure tests 0.459
When I start a process allocating 128 MiB of memory with a known pattern 2.487
Then patterns cover at least 128 MiB in the guest's memory 3.929

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

When I kill the allocating process 1.725
Then I find very few patterns in the guest's memory 5.947

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

After features/support/hooks.rb:320 1.002
After features/support/hooks.rb:100 0.000
29.827
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.982
And I prepare Tails for memory erasure tests 0.427
And I find very few patterns in the guest's memory 5.344

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

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

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

When I umount "/mnt" 3.565
Then I find very few patterns in the guest's memory 5.112

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

After features/support/hooks.rb:320 0.801
After features/support/hooks.rb:100 0.000
1:6.665
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.418
And I prepare Tails for memory erasure tests 0.510
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.720
Then I find very few patterns in the guest's memory 4.248

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

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

Pattern coverage: 86.484% (110 MiB out of 127 MiB reference memory)

When I umount the USB drive 22.403
Then I find very few patterns in the guest's memory 4.400

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

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

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

When I umount the USB drive 0.775
Then I find very few patterns in the guest's memory 3.950

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

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

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

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

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

When I umount the USB drive 7.346
Then I find very few patterns in the guest's memory 3.642

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

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

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

When I umount the USB drive 1.040
Then I find very few patterns in the guest's memory 3.808

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

After features/support/hooks.rb:320 1.881
After features/support/hooks.rb:100 0.000
53.912
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 9.720
And I prepare Tails for memory erasure tests 0.525
When I fill a 128 MiB file with a known pattern on the root filesystem 16.986
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.888
Then patterns cover at least 128 MiB in the guest's memory 2.832

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

When I trigger shutdown 0.016
And I wait 20 seconds 20.014

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.926

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

After features/support/hooks.rb:320 3.539
After features/support/hooks.rb:100 0.000
7:54.685
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 7:10.534
And I prepare Tails for memory erasure tests 0.365
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.552
When I trigger shutdown 0.011
And I wait 20 seconds 20.020

Slept for 20 seconds

Then I find very few patterns in the guest's memory 2.202

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

After features/support/hooks.rb:320 3.520
After features/support/hooks.rb:100 0.012