Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 51 22 Apr 2024, 06:48

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.014
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.541
After features/support/hooks.rb:89 0.000
8:1.972
Before features/support/hooks.rb:259 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:17.077
And I prepare Tails for memory erasure tests 0.375
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.288
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 2.196

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

After features/support/hooks.rb:305 3.486
After features/support/hooks.rb:89 0.012