Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 94 04 Jun 2024, 06:42

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:57.012 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.356
Before features/support/hooks.rb:265 0.003
Given I have started Tails from DVD without network and logged in 8.450
And I prepare Tails for memory erasure tests 0.454
When I start a process allocating 128 MiB of memory with a known pattern 1.455
Then patterns cover at least 128 MiB in the guest's memory 4.303

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

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

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

After features/support/hooks.rb:311 1.042
After features/support/hooks.rb:100 0.000
23.743
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 8.251
And I prepare Tails for memory erasure tests 0.419
And I find very few patterns in the guest's memory 3.992

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

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

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

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

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

After features/support/hooks.rb:311 1.107
After features/support/hooks.rb:100 0.000
51.319
Before features/support/hooks.rb:265 0.003
Given I have started Tails from DVD without network and logged in 8.365
And I prepare Tails for memory erasure tests 0.508
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.070
Then I find very few patterns in the guest's memory 5.749

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:311 1.460
After features/support/hooks.rb:100 0.001
1:10.595
Before features/support/hooks.rb:265 0.010
Given I have started Tails from DVD without network and logged in 8.835
And I prepare Tails for memory erasure tests 0.426
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 34.227
Then I find very few patterns in the guest's memory 3.761

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:311 0.791
After features/support/hooks.rb:100 0.000
50.827
Before features/support/hooks.rb:265 0.002
Given I have started Tails from DVD without network and logged in 8.590
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the root filesystem 15.494
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.577
Then patterns cover at least 128 MiB in the guest's memory 2.785

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.006

Slept for 20 seconds

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

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

After features/support/hooks.rb:311 3.478
After features/support/hooks.rb:100 0.000
8:20.169
Before features/support/hooks.rb:265 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:33.387
And I prepare Tails for memory erasure tests 0.418
When I fill a 128 MiB file with a known pattern on the persistent filesystem 24.063
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.268

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

After features/support/hooks.rb:311 3.499
After features/support/hooks.rb:100 0.102