Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 16 16 Mar 2025, 22:01

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 12:11.170 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.
28.168
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 10.375
And I prepare Tails for memory erasure tests 0.635
When I start a process allocating 128 MiB of memory with a known pattern 2.521
Then patterns cover at least 128 MiB in the guest's memory 4.528

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

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

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

After features/support/hooks.rb:330 3.080
After features/support/hooks.rb:100 0.000
29.242
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.784
And I prepare Tails for memory erasure tests 0.586
And I find very few patterns in the guest's memory 3.958

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

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

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

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

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

After features/support/hooks.rb:330 0.869
After features/support/hooks.rb:100 0.000
1:2.816
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 9.777
And I prepare Tails for memory erasure tests 0.693
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.102
Then I find very few patterns in the guest's memory 3.637

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.853
After features/support/hooks.rb:100 0.000
1:26.355
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 10.351
And I prepare Tails for memory erasure tests 0.506
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 39.782
Then I find very few patterns in the guest's memory 3.167

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

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

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

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.524
After features/support/hooks.rb:100 0.000
7:51.642
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:7.994
And I prepare Tails for memory erasure tests 0.589
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.701
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.343

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

After features/support/hooks.rb:330 3.708
After features/support/hooks.rb:100 0.017