Project Number Date
test_Tails_ISO_20263-remote-shell-debug-logging 32 01 Apr 2025, 21:34

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 10:54.886 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.053
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.707
And I prepare Tails for memory erasure tests 0.548
When I start a process allocating 128 MiB of memory with a known pattern 2.317
Then patterns cover at least 128 MiB in the guest's memory 3.546

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

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

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

After features/support/hooks.rb:330 0.715
After features/support/hooks.rb:100 0.000
23.966
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.029
And I prepare Tails for memory erasure tests 0.416
And I find very few patterns in the guest's memory 3.549

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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.763

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

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

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

After features/support/hooks.rb:330 3.483
After features/support/hooks.rb:100 0.013