Project Number Date
test_Tails_ISO_stable 5269 15 Nov 2024, 20:33

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:58.051 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.
26.000
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.441
And I prepare Tails for memory erasure tests 0.458
When I start a process allocating 128 MiB of memory with a known pattern 2.571
Then patterns cover at least 128 MiB in the guest's memory 3.913

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

When I kill the allocating process 2.550
Then I find very few patterns in the guest's memory after 3 seconds 8.066

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

After features/support/hooks.rb:326 1.894
After features/support/hooks.rb:100 0.000
28.488
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 9.401
And I prepare Tails for memory erasure tests 0.400
And I find very few patterns in the guest's memory 3.596

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

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

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

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

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

After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000
54.045
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.908
And I prepare Tails for memory erasure tests 0.454
When I plug and mount a 128 MiB USB drive with a vfat filesystem 9.533
Then I find very few patterns in the guest's memory 3.334

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 2.732
After features/support/hooks.rb:100 0.000
1:26.429
Before features/support/hooks.rb:269 0.003
Given I have started Tails from DVD without network and logged in 8.662
And I prepare Tails for memory erasure tests 0.418
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.200
Then I find very few patterns in the guest's memory 3.393

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:326 0.925
After features/support/hooks.rb:100 0.000
58.042
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.338
And I prepare Tails for memory erasure tests 0.405
When I fill a 128 MiB file with a known pattern on the root filesystem 18.663
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 7.139
Then patterns cover at least 128 MiB in the guest's memory 2.704

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

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

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

After features/support/hooks.rb:326 3.569
After features/support/hooks.rb:100 0.000
7:45.045
Before features/support/hooks.rb:269 0.002
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:59.661
And I prepare Tails for memory erasure tests 0.557
When I fill a 128 MiB file with a known pattern on the persistent filesystem 23.602
When I trigger shutdown 0.014
Then I find very few patterns in the guest's memory after 20 seconds 21.210

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

After features/support/hooks.rb:326 3.533
After features/support/hooks.rb:100 0.013