Project Number Date
test_Tails_ISO_feature-arti 45 29 Apr 2025, 19:57

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 51 0 0 0 0 51 6 0 6 11:28.795 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.
24.338
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.004
Given I have started Tails from DVD without network and logged in 8.079
And I prepare Tails for memory erasure tests 0.414
When I start a process allocating 128 MiB of memory with a known pattern 2.296
Then patterns cover at least 128 MiB in the guest's memory 3.725

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

When I kill the allocating process 1.408
Then I find very few patterns in the guest's memory after 5 seconds 8.414

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

After features/support/hooks.rb:330 0.713
After features/support/hooks.rb:100 0.000
23.668
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 8.042
And I prepare Tails for memory erasure tests 0.429
And I find very few patterns in the guest's memory 3.254

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

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

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

When I umount "/mnt" 0.464
Then I find very few patterns in the guest's memory after 3 seconds 6.448

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

After features/support/hooks.rb:330 0.636
After features/support/hooks.rb:100 0.000
50.032
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.956
And I prepare Tails for memory erasure tests 0.434
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.354
Then I find very few patterns in the guest's memory 4.656

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

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

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

When I umount the USB drive 0.962
Then I find very few patterns in the guest's memory after 3 seconds 6.726

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

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

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

When I umount the USB drive 0.339
Then I find very few patterns in the guest's memory after 3 seconds 6.569

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

After features/support/hooks.rb:330 1.096
After features/support/hooks.rb:100 0.000
1:21.390
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 9.081
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" 40.900
Then I find very few patterns in the guest's memory 2.660

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

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

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

When I umount the USB drive 0.638
Then I find very few patterns in the guest's memory after 3 seconds 6.062

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

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

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

When I umount the USB drive 0.649
Then I find very few patterns in the guest's memory after 3 seconds 6.358

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

After features/support/hooks.rb:330 1.123
After features/support/hooks.rb:100 0.000
53.524
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails from DVD without network and logged in 7.994
And I prepare Tails for memory erasure tests 0.424
When I fill a 128 MiB file with a known pattern on the root filesystem 18.370
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.817
Then patterns cover at least 128 MiB in the guest's memory 4.018

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

When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 20.886

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

After features/support/hooks.rb:330 3.563
After features/support/hooks.rb:100 0.000
7:35.841
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:52.422
And I prepare Tails for memory erasure tests 0.473
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.685
When I trigger shutdown 0.011
Then I find very few patterns in the guest's memory after 20 seconds 21.247

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

After features/support/hooks.rb:330 3.535
After features/support/hooks.rb:100 0.012