Project Number Date
test_Tails_ISO_21014-htpdateerror 25 08 Jul 2025, 03:17

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 38 2 11 0 0 51 4 2 6 19:0.155 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.022
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 14.341
And I prepare Tails for memory erasure tests 1.379
When I start a process allocating 128 MiB of memory with a known pattern 2.942
Then patterns cover at least 128 MiB in the guest's memory 3.949

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

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

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

After features/support/hooks.rb:330 0.921
After features/support/hooks.rb:100 0.000
56.801
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 25.909
And I prepare Tails for memory erasure tests 0.508
And I find very few patterns in the guest's memory 12.149

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

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

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

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

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

After features/support/hooks.rb:330 1.005
After features/support/hooks.rb:100 0.000
1:23.875
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.579
And I prepare Tails for memory erasure tests 3.622
When I plug and mount a 128 MiB USB drive with a vfat filesystem 14.846
Then I find very few patterns in the guest's memory 12.782

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.686
After features/support/hooks.rb:100 0.000
1:22.182
Scenario Erasure of read and write disk caches on unmount: LUKS-encrypted ext4
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.007
Steps
Given I have started Tails from DVD without network and logged in 24.699
And I prepare Tails for memory erasure tests 2.212
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 40.069
Then I find very few patterns in the guest's memory 8.755

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

# write cache
When I fill the USB drive with a known pattern 2.065
Then patterns cover at least 99% of the test FS size in the guest's memory 4.379
97.821% of the test FS size (91.490234375 MiB) has the pattern, but more than 99.000% was expected.
<false> is not true. (Test::Unit::AssertionFailedError)
./features/step_definitions/erase_memory.rb:170:in `/^patterns cover at least (\d+)% of the test FS size in the guest's memory$/'
features/erase_memory.feature:54:in `Then patterns cover at least 99% of the test FS size in the guest's memory'
Output 1

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

When I umount the USB drive 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
# read cache
When I mount the USB drive again 0.000
And I read the content of the test FS 0.000
Then patterns cover at least 99% of the test FS size in the guest's memory 0.000
When I umount the USB drive 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
Hooks
After features/support/hooks.rb:330 9.327
no implicit conversion of nil into String (TypeError)
./features/support/hooks.rb:455:in `exist?'
./features/support/hooks.rb:455:in `block (2 levels) in <top (required)>'
./features/support/hooks.rb:450:in `each'
./features/support/hooks.rb:450:in `After'
Output 1

SCENARIO FAILED: 'Erasure of read and write disk caches on unmount: LUKS-encrypted ext4' (at time 00:40:49)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/25/artifact/build-artifacts/00:40:49_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/25/artifact/build-artifacts/00:40:49_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/25/artifact/build-artifacts/00:40:49_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.mkv

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

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

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

After features/support/hooks.rb:330 3.763
After features/support/hooks.rb:100 0.000
13:33.790
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.003
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 13:33.790
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
Hooks
After features/support/hooks.rb:330 5.475
no implicit conversion of nil into String (TypeError)
./features/support/hooks.rb:455:in `exist?'
./features/support/hooks.rb:455:in `block (2 levels) in <top (required)>'
./features/support/hooks.rb:450:in `each'
./features/support/hooks.rb:450:in `After'
Output 1

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/25/artifact/build-artifacts/00:55:39_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_21014-htpdateerror/25/artifact/build-artifacts/00:55:39_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/25/artifact/build-artifacts/00:55:39_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

After features/support/hooks.rb:100 0.014