Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 27 27 Mar 2025, 21:55

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:38.431 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.
23.828
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.729
And I prepare Tails for memory erasure tests 0.612
When I start a process allocating 128 MiB of memory with a known pattern 2.314
Then patterns cover at least 128 MiB in the guest's memory 3.600

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

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

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

After features/support/hooks.rb:330 0.733
After features/support/hooks.rb:100 0.000
25.299
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.626
And I prepare Tails for memory erasure tests 0.614
And I find very few patterns in the guest's memory 2.955

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.673
Then patterns cover at least 99% of the test FS size in the guest's memory 3.949

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

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

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

After features/support/hooks.rb:330 0.705
After features/support/hooks.rb:100 0.000
51.828
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.597
And I prepare Tails for memory erasure tests 0.622
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.197
Then I find very few patterns in the guest's memory 3.405

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.541
After features/support/hooks.rb:100 0.000
1:20.330
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails from DVD without network and logged in 8.262
And I prepare Tails for memory erasure tests 0.494
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 38.923
Then I find very few patterns in the guest's memory 3.320

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.740
After features/support/hooks.rb:100 0.000
52.224
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.567
And I prepare Tails for memory erasure tests 0.576
When I fill a 128 MiB file with a known pattern on the root filesystem 16.625
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.431
Then patterns cover at least 128 MiB in the guest's memory 3.117

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

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

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

After features/support/hooks.rb:330 3.521
After features/support/hooks.rb:100 0.000
7:44.920
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 7:0.603
And I prepare Tails for memory erasure tests 0.562
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.495
When I trigger shutdown 0.015
Then I find very few patterns in the guest's memory after 20 seconds 21.243

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

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