Project Number Date
test_Tails_ISO_20263-test-suite-disable-spice-vdagent 2 07 Mar 2025, 16: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 11:45.197 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.
30.342
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 7.892
And I prepare Tails for memory erasure tests 0.460
When I start a process allocating 128 MiB of memory with a known pattern 8.803
Then patterns cover at least 128 MiB in the guest's memory 3.703

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

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

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

After features/support/hooks.rb:330 1.027
After features/support/hooks.rb:100 0.000
25.768
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.608
And I prepare Tails for memory erasure tests 0.421
And I find very few patterns in the guest's memory 3.446

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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