Project Number Date
test_Tails_ISO_devel 3324 17 Mar 2024, 12:27

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

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

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

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

After features/support/hooks.rb:291 0.811
After features/support/hooks.rb:75 0.000
24.428
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.637
And I prepare Tails for memory erasure tests 0.471
And I find very few patterns in the guest's memory 4.602

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

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

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

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

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

After features/support/hooks.rb:291 0.688
After features/support/hooks.rb:75 0.000
42.776
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.248
And I prepare Tails for memory erasure tests 0.433
When I plug and mount a 128 MiB USB drive with a vfat filesystem 6.882
Then I find very few patterns in the guest's memory 4.606

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

When I trigger shutdown 0.016
And I wait 20 seconds 20.018

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.612
After features/support/hooks.rb:75 0.000
6:47.031
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 6:4.259
And I prepare Tails for memory erasure tests 0.380
When I fill a 128 MiB file with a known pattern on the persistent filesystem 20.158
When I trigger shutdown 0.010
And I wait 20 seconds 20.020

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.503
After features/support/hooks.rb:75 0.014