Project Number Date
test_Tails_ISO_21014-htpdateerror 15 27 Jun 2025, 23:56

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 11:23.655 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:1.556
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 34.149
And I prepare Tails for memory erasure tests 1.976
When I start a process allocating 128 MiB of memory with a known pattern 3.357
Then patterns cover at least 128 MiB in the guest's memory 3.626

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

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

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

After features/support/hooks.rb:330 0.979
After features/support/hooks.rb:100 0.000
1:55.187
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 1:5.755
And I prepare Tails for memory erasure tests 3.481
And I find very few patterns in the guest's memory 9.512

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

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

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

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

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

After features/support/hooks.rb:330 1.634
After features/support/hooks.rb:100 0.000
2:1.761
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 32.499
And I prepare Tails for memory erasure tests 4.555
When I plug and mount a 128 MiB USB drive with a vfat filesystem 15.160
Then I find very few patterns in the guest's memory 9.763

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 1.231
After features/support/hooks.rb:100 0.000
2:23.982
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.005
Given I have started Tails from DVD without network and logged in 26.237
And I prepare Tails for memory erasure tests 2.215
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 40.122
Then I find very few patterns in the guest's memory 9.858

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.611
After features/support/hooks.rb:100 0.013
1:14.825
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.247
Given I have started Tails from DVD without network and logged in 16.032
And I prepare Tails for memory erasure tests 2.601
When I fill a 128 MiB file with a known pattern on the root filesystem 25.393
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 5.747
Then patterns cover at least 128 MiB in the guest's memory 2.997

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

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

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

After features/support/hooks.rb:330 6.952
After features/support/hooks.rb:100 0.000
2:46.342
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.107
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 2:46.342
execution expired (RemoteShell::SocketReadTimeout)
./features/support/helpers/misc_helpers.rb:114:in `sleep'
./features/support/helpers/misc_helpers.rb:114:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/support/helpers/vm_helper.rb:548:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:450:in `/^the computer (?:re)?boots Tails$/'
./features/step_definitions/common_steps.rb:284:in `/^I start Tails from (.+?) drive "(.+?)"( with network unplugged)?( and I login( with persistence enabled)?( with the changed persistence passphrase)?( (?:and|with) an administration password)?)?$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150: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: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.323
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 01:00:38)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21014-htpdateerror/15/artifact/build-artifacts/01:00:38_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/15/artifact/build-artifacts/01:00:38_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/15/artifact/build-artifacts/01:00:38_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

After features/support/hooks.rb:100 0.019