Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 69 09 May 2024, 07:11

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

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

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

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

After features/support/hooks.rb:305 1.230
After features/support/hooks.rb:89 0.000
27.029
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.884
And I prepare Tails for memory erasure tests 0.432
And I find very few patterns in the guest's memory 5.511

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 1.524
Then patterns cover at least 99% of the test FS size in the guest's memory 4.934

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

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

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

After features/support/hooks.rb:305 1.568
After features/support/hooks.rb:89 0.000
50.109
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 10.619
And I prepare Tails for memory erasure tests 0.474
When I plug and mount a 128 MiB USB drive with a vfat filesystem 11.505
Then I find very few patterns in the guest's memory 4.960

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

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

Pattern coverage: 87.097% (111 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.015
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.517
After features/support/hooks.rb:89 0.000
7:37.858
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:53.747
And I prepare Tails for memory erasure tests 0.445
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.345
When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.545
After features/support/hooks.rb:89 0.029