Project Number Date
test_Tails_ISO_stable 4613 10 Jan 2024, 22:03

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

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

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

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

After features/support/hooks.rb:291 0.612
After features/support/hooks.rb:75 0.000
58.091
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.783
And I prepare Tails for memory erasure tests 0.475
And I find very few patterns in the guest's memory 3.689

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

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

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

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

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

After features/support/hooks.rb:291 0.791
After features/support/hooks.rb:75 0.000
3:41.267
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.627
And I prepare Tails for memory erasure tests 0.570
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.953
Then I find very few patterns in the guest's memory 3.574

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 1.696
And I wait 20 seconds 20.010

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.474
After features/support/hooks.rb:75 0.000
6:0.639
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:18.719
And I prepare Tails for memory erasure tests 0.421
When I fill a 128 MiB file with a known pattern on the persistent filesystem 18.982
When I trigger shutdown 0.378
And I wait 20 seconds 20.006

Slept for 20 seconds

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

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

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