Project Number Date
test_Tails_ISO_devel 3177 24 Nov 2023, 03:13

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 14:50.638 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.450
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.996
And I prepare Tails for memory erasure tests 0.821
When I start a process allocating 128 MiB of memory with a known pattern 1.296
Then patterns cover at least 128 MiB in the guest's memory 6.744

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

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

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

After features/support/hooks.rb:290 0.712
After features/support/hooks.rb:75 0.000
1:8.735
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 9.408
And I prepare Tails for memory erasure tests 0.531
And I find very few patterns in the guest's memory 4.933

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

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

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

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

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

After features/support/hooks.rb:290 2.359
After features/support/hooks.rb:75 0.000
3:26.468
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.785
And I prepare Tails for memory erasure tests 0.699
When I plug and mount a 128 MiB USB drive with a vfat filesystem 8.050
Then I find very few patterns in the guest's memory 3.689

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

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

Pattern coverage: 93.149% (116 MiB out of 124 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 108.660% (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.520

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

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

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

When I trigger shutdown 0.578
And I wait 20 seconds 20.019

Slept for 20 seconds

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

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

After features/support/hooks.rb:290 3.475
After features/support/hooks.rb:75 0.000
6:8.472
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:21.688
And I prepare Tails for memory erasure tests 0.554
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.598
When I trigger shutdown 0.366
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:290 3.754
After features/support/hooks.rb:75 0.014