Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 42 14 Apr 2024, 06:30

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:19.184 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.477
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.506
And I prepare Tails for memory erasure tests 0.614
When I start a process allocating 128 MiB of memory with a known pattern 2.818
Then patterns cover at least 128 MiB in the guest's memory 4.072

Pattern coverage: 100.000% (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 4.044

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.019
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.576
After features/support/hooks.rb:89 0.000
7:1.582
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:16.744
And I prepare Tails for memory erasure tests 0.472
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.137
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.198

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

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