Project Number Date
test_Tails_ISO_tca-remove-cruft 8 15 May 2025, 10:17

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:17.099 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.
25.387
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.933
And I prepare Tails for memory erasure tests 0.551
When I start a process allocating 128 MiB of memory with a known pattern 2.512
Then patterns cover at least 128 MiB in the guest's memory 4.244

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

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

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

After features/support/hooks.rb:330 0.907
After features/support/hooks.rb:100 0.000
26.218
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.915
And I prepare Tails for memory erasure tests 0.442
And I find very few patterns in the guest's memory 3.276

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

When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 1.949
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" 0.805
Then I find very few patterns in the guest's memory after 3 seconds 6.739

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

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

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

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

Pattern coverage: 93.366% (119 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.115% (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 6.976

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

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

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

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

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

After features/support/hooks.rb:330 3.560
After features/support/hooks.rb:100 0.000
7:29.293
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:45.287
And I prepare Tails for memory erasure tests 0.382
When I fill a 128 MiB file with a known pattern on the persistent filesystem 22.412
When I trigger shutdown 0.012
Then I find very few patterns in the guest's memory after 20 seconds 21.198

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

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