Project Number Date
test_Tails_ISO_devel 3397 23 May 2024, 14:02

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 92.478% (118 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.013
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:305 3.550
After features/support/hooks.rb:89 0.000
7:57.281
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 7:13.185
And I prepare Tails for memory erasure tests 0.392
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.421
When I trigger shutdown 0.010
And I wait 20 seconds 20.017

Slept for 20 seconds

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

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

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