Project Number Date
test_Tails_ISO_20297-debug-proxy-refusing-connections 101 24 Jun 2025, 21:09

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 12:27.078 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.
39.149
Before features/support/hooks.rb:271 0.000
Before features/support/hooks.rb:278 0.003
Given I have started Tails from DVD without network and logged in 14.879
And I prepare Tails for memory erasure tests 1.629
When I start a process allocating 128 MiB of memory with a known pattern 1.454
Then patterns cover at least 128 MiB in the guest's memory 3.588

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

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

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

After features/support/hooks.rb:335 1.091
After features/support/hooks.rb:105 0.000
59.839
Before features/support/hooks.rb:271 0.000
Before features/support/hooks.rb:278 0.002
Given I have started Tails from DVD without network and logged in 26.185
And I prepare Tails for memory erasure tests 1.003
And I find very few patterns in the guest's memory 10.579

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

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

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

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

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

After features/support/hooks.rb:335 1.068
After features/support/hooks.rb:105 0.000
1:24.566
Before features/support/hooks.rb:271 0.000
Before features/support/hooks.rb:278 0.002
Given I have started Tails from DVD without network and logged in 28.177
And I prepare Tails for memory erasure tests 2.009
When I plug and mount a 128 MiB USB drive with a vfat filesystem 14.046
Then I find very few patterns in the guest's memory 7.869

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

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

Pattern coverage: 89.729% (114 MiB out of 127 MiB reference memory)

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

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

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

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

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

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

After features/support/hooks.rb:335 2.494
After features/support/hooks.rb:105 0.002
1:46.454
Before features/support/hooks.rb:271 0.000
Before features/support/hooks.rb:278 0.087
Given I have started Tails from DVD without network and logged in 13.479
And I prepare Tails for memory erasure tests 0.493
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 51.162
Then I find very few patterns in the guest's memory 6.749

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:335 2.869
After features/support/hooks.rb:105 0.000
1:3.998
Before features/support/hooks.rb:271 0.000
Before features/support/hooks.rb:278 0.002
Given I have started Tails from DVD without network and logged in 8.781
And I prepare Tails for memory erasure tests 1.686
When I fill a 128 MiB file with a known pattern on the root filesystem 21.370
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 4.649
Then patterns cover at least 128 MiB in the guest's memory 6.711

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

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

After features/support/hooks.rb:335 3.612
After features/support/hooks.rb:105 0.000
6:33.069
Scenario Erasure of read and write disk caches of persistent data on shutdown
Before features/support/hooks.rb:271 0.000
Before features/support/hooks.rb:278 0.005
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:33.069
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:335 5.901

SCENARIO FAILED: 'Erasure of read and write disk caches of persistent data on shutdown' (at time 00:50:48)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-debug-proxy-refusing-connections/101/artifact/build-artifacts/00:50:48_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_20297-debug-proxy-refusing-connections/101/artifact/build-artifacts/00:50:48_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-debug-proxy-refusing-connections/101/artifact/build-artifacts/00:50:48_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20297-debug-proxy-refusing-connections/101/artifact/build-artifacts/00:50:48_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:105 0.008