Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 36 10 Apr 2024, 06:27

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 90.348% (115 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.011
And I wait 20 seconds 20.014

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.533
After features/support/hooks.rb:89 0.000
6:45.526
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 6:1.186
And I prepare Tails for memory erasure tests 0.413
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.626
When I trigger shutdown 0.017
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.539
After features/support/hooks.rb:89 0.010