Project Number Date
test_Tails_ISO_test-suite-options 9 25 Jun 2025, 22:19

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 17:42.785 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.
1:39.670
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 1:8.201
And I prepare Tails for memory erasure tests 3.581
When I start a process allocating 128 MiB of memory with a known pattern 6.817
Then patterns cover at least 128 MiB in the guest's memory 4.517

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

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

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

After features/support/hooks.rb:330 1.329
After features/support/hooks.rb:100 0.000
1:16.755
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 27.695
And I prepare Tails for memory erasure tests 3.071
And I find very few patterns in the guest's memory 10.063

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

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

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

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

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

After features/support/hooks.rb:330 1.401
After features/support/hooks.rb:100 0.000
2:41.691
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 1:14.421
And I prepare Tails for memory erasure tests 1.647
When I plug and mount a 128 MiB USB drive with a vfat filesystem 21.678
Then I find very few patterns in the guest's memory 4.584

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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 21.193

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

After features/support/hooks.rb:330 6.569
After features/support/hooks.rb:100 0.000
6:27.666
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.038
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:27.666
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:167:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:137: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.504

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/01:09:19_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_test-suite-options/9/artifact/build-artifacts/01:09:19_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/01:09:19_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_test-suite-options/9/artifact/build-artifacts/01:09:19_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:100 0.006