Project Number Date
test_Tails_ISO_devel 3418 05 Jun 2024, 21:06

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 12:35.449 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.
22.382
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.458
And I prepare Tails for memory erasure tests 0.392
When I start a process allocating 128 MiB of memory with a known pattern 2.511
Then patterns cover at least 128 MiB in the guest's memory 4.829

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

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

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

After features/support/hooks.rb:315 0.762
After features/support/hooks.rb:100 0.000
26.584
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 8.161
And I prepare Tails for memory erasure tests 0.427
And I find very few patterns in the guest's memory 5.447

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

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

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

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

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

After features/support/hooks.rb:315 0.932
After features/support/hooks.rb:100 0.000
52.547
Before features/support/hooks.rb:269 0.002
Given I have started Tails from DVD without network and logged in 9.060
And I prepare Tails for memory erasure tests 0.472
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.952
Then I find very few patterns in the guest's memory 5.025

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

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

Pattern coverage: 88.450% (112 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:315 1.447
After features/support/hooks.rb:100 0.000
1:16.977
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.645
And I prepare Tails for memory erasure tests 0.497
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.144
Then I find very few patterns in the guest's memory 3.572

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:315 1.692
After features/support/hooks.rb:100 0.000
53.647
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.253
And I prepare Tails for memory erasure tests 0.428
When I fill a 128 MiB file with a known pattern on the root filesystem 17.078
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.189
Then patterns cover at least 128 MiB in the guest's memory 3.902

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

When I trigger shutdown 0.026
And I wait 20 seconds 20.000

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.597
After features/support/hooks.rb:100 0.000
8:43.309
Before features/support/hooks.rb:269 0.013
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:59.107
And I prepare Tails for memory erasure tests 0.462
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.307
When I trigger shutdown 0.014
And I wait 20 seconds 20.009

Slept for 20 seconds

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

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

After features/support/hooks.rb:315 3.548
After features/support/hooks.rb:100 0.016