Project Number Date
test_Tails_ISO_devel 3371 02 May 2024, 13:52

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 10:39.513 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.
20.195
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.433
And I prepare Tails for memory erasure tests 0.468
When I start a process allocating 128 MiB of memory with a known pattern 1.360
Then patterns cover at least 128 MiB in the guest's memory 4.085

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

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

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

After features/support/hooks.rb:305 0.869
After features/support/hooks.rb:89 0.000
23.883
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.913
And I prepare Tails for memory erasure tests 0.467
And I find very few patterns in the guest's memory 4.159

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

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

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

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

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

After features/support/hooks.rb:305 1.577
After features/support/hooks.rb:89 0.000
44.927
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.315
And I prepare Tails for memory erasure tests 0.429
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.240
Then I find very few patterns in the guest's memory 4.331

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

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

Pattern coverage: 92.007% (117 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:305 0.861
After features/support/hooks.rb:89 0.000
1:11.269
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.109
And I prepare Tails for memory erasure tests 0.515
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 35.112
Then I find very few patterns in the guest's memory 3.780

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:305 1.163
After features/support/hooks.rb:89 0.000
51.376
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.380
And I prepare Tails for memory erasure tests 0.847
When I fill a 128 MiB file with a known pattern on the root filesystem 15.474
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.900
Then patterns cover at least 128 MiB in the guest's memory 2.945

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

When I trigger shutdown 0.016
And I wait 20 seconds 20.008

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.555
After features/support/hooks.rb:89 0.000
7:7.861
Before features/support/hooks.rb:259 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:21.256
And I prepare Tails for memory erasure tests 1.064
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.267
When I trigger shutdown 0.017
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.512
After features/support/hooks.rb:89 0.011