Project Number Date
test_Tails_ISO_devel 3197 17 Dec 2023, 12:10

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 13:26.293 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.
19.519
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.718
And I prepare Tails for memory erasure tests 0.637
When I start a process allocating 128 MiB of memory with a known pattern 2.451
Then patterns cover at least 128 MiB in the guest's memory 3.335

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

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

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

After features/support/hooks.rb:291 0.732
After features/support/hooks.rb:75 0.000
1:0.309
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.597
And I prepare Tails for memory erasure tests 0.437
And I find very few patterns in the guest's memory 3.716

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

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

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

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

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

After features/support/hooks.rb:291 0.709
After features/support/hooks.rb:75 0.000
2:55.738
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.138
And I prepare Tails for memory erasure tests 0.633
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.830
Then I find very few patterns in the guest's memory 3.685

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

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

Pattern coverage: 97.209% (121 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

After features/support/hooks.rb:291 1.241
After features/support/hooks.rb:75 0.000
2:34.349
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.079
And I prepare Tails for memory erasure tests 0.666
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.636
Then I find very few patterns in the guest's memory 3.547

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.663% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.961
After features/support/hooks.rb:75 0.000
50.369
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.962
And I prepare Tails for memory erasure tests 0.643
When I fill a 128 MiB file with a known pattern on the root filesystem 14.271
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.693
Then patterns cover at least 128 MiB in the guest's memory 2.158

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

When I trigger shutdown 0.990
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.409
After features/support/hooks.rb:75 0.000
5:46.007
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 4:59.882
And I prepare Tails for memory erasure tests 0.467
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.382
When I trigger shutdown 0.227
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.475
After features/support/hooks.rb:75 0.012