Project Number Date
test_Tails_ISO_codespell 9 23 Jun 2025, 12:02

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 46 1 4 0 0 51 5 1 6 21:27.313 Failed
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.
58.346
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Given I have started Tails from DVD without network and logged in 28.106
And I prepare Tails for memory erasure tests 6.640
When I start a process allocating 128 MiB of memory with a known pattern 3.038
Then patterns cover at least 128 MiB in the guest's memory 3.665

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

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

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

After features/support/hooks.rb:330 0.957
After features/support/hooks.rb:100 0.000
1:26.705
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 46.912
And I prepare Tails for memory erasure tests 6.912
And I find very few patterns in the guest's memory 5.872

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

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

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

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

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

After features/support/hooks.rb:330 9.277
After features/support/hooks.rb:100 0.000
1:43.011
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.022
Given I have started Tails from DVD without network and logged in 10.115
And I prepare Tails for memory erasure tests 8.061
When I plug and mount a 128 MiB USB drive with a vfat filesystem 21.426
Then I find very few patterns in the guest's memory 4.572

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

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

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

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

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

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

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

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

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

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

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

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

Pattern coverage: 106.113% (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 14.431

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

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

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

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

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

After features/support/hooks.rb:330 4.881
After features/support/hooks.rb:100 0.002
1:15.521
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.028
Given I have started Tails from DVD without network and logged in 15.660
And I prepare Tails for memory erasure tests 4.715
When I fill a 128 MiB file with a known pattern on the root filesystem 27.484
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 2.496
Then patterns cover at least 128 MiB in the guest's memory 4.313

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

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

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

After features/support/hooks.rb:330 10.361
After features/support/hooks.rb:100 0.000
13:0.911
Scenario Erasure of read and write disk caches of persistent data on shutdown
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.015
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13:0.911
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/erase_memory.feature:75:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I prepare Tails for memory erasure tests 0.000
When I fill a 128 MiB file with a known pattern on the persistent filesystem 0.000
When I trigger shutdown 0.000
Then I find very few patterns in the guest's memory after 20 seconds 0.000
After features/support/hooks.rb:330 5.678

SCENARIO FAILED: 'Erasure of read and write disk caches of persistent data on shutdown' (at time 01:15:31)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/01:15:31_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/01:15:31_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/01:15:31_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_codespell/9/artifact/build-artifacts/01:15:31_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:100 0.010