Project Number Date
test_Tails_ISO_devel 3190 12 Dec 2023, 12:15

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 13:37.726 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.702
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.327
And I prepare Tails for memory erasure tests 0.735
When I start a process allocating 128 MiB of memory with a known pattern 2.335
Then patterns cover at least 128 MiB in the guest's memory 3.386

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

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

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

After features/support/hooks.rb:291 0.831
After features/support/hooks.rb:75 0.000
1:6.480
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.178
And I prepare Tails for memory erasure tests 0.681
And I find very few patterns in the guest's memory 3.728

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

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

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

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

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

After features/support/hooks.rb:291 0.797
After features/support/hooks.rb:75 0.000
2:55.288
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.832
And I prepare Tails for memory erasure tests 0.641
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.012
Then I find very few patterns in the guest's memory 3.753

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

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

Pattern coverage: 95.162% (118 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

After features/support/hooks.rb:291 1.487
After features/support/hooks.rb:75 0.000
2:31.270
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.035
And I prepare Tails for memory erasure tests 0.655
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 27.224
Then I find very few patterns in the guest's memory 3.978

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.662% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:291 1.260
After features/support/hooks.rb:75 0.000
48.315
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.065
And I prepare Tails for memory erasure tests 0.696
When I fill a 128 MiB file with a known pattern on the root filesystem 12.732
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.975
Then patterns cover at least 128 MiB in the guest's memory 2.201

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

When I trigger shutdown 0.937
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.490
After features/support/hooks.rb:75 0.000
5:57.668
Before features/support/hooks.rb:245 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:8.377
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 26.296
When I trigger shutdown 0.383
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.463
After features/support/hooks.rb:75 0.013