Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 36 24 Jun 2025, 15:11

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:21.669 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.
27.245
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 9.577
And I prepare Tails for memory erasure tests 0.599
When I start a process allocating 128 MiB of memory with a known pattern 2.397
Then patterns cover at least 128 MiB in the guest's memory 4.162

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

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

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

After features/support/hooks.rb:330 0.996
After features/support/hooks.rb:100 0.000
32.189
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 8.378
And I prepare Tails for memory erasure tests 1.027
And I find very few patterns in the guest's memory 7.557

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

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

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

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

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

After features/support/hooks.rb:330 1.743
After features/support/hooks.rb:100 0.000
54.792
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 9.169
And I prepare Tails for memory erasure tests 0.566
When I plug and mount a 128 MiB USB drive with a vfat filesystem 12.561
Then I find very few patterns in the guest's memory 4.271

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

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

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

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

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

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

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

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

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

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

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.992
Then patterns cover at least 99% of the test FS size in the guest's memory 4.164

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

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

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

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

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

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

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

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

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

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

After features/support/hooks.rb:330 3.534
After features/support/hooks.rb:100 0.000
7:0.540
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 7:0.540
try_for() timeout expired
Last ignored exception was: Dogtail::Failure: The Dogtail init script raised: SearchError: descendent of [application | Welcome to Tails!]: child with name="Your Persistent Storage is unlocked. Its content will be available until you shut down Tails." roleName='label'
STDOUT:

STDERR:


./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:339:in `initialize'
./features/support/helpers/dogtail.rb:268:in `new'
./features/support/helpers/dogtail.rb:268:in `call_tree_api_method'
./features/support/helpers/dogtail.rb:276:in `child'
./features/step_definitions/usb.rb:696:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78: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/step_definitions/usb.rb:694:in `block in <top (required)>'
./features/step_definitions/usb.rb:704:in `block in <top (required)>'
./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:173:in `block (2 levels) in <top (required)>' (Timeout::Error)
./features/support/helpers/misc_helpers.rb:145:in `rescue in try_for'
./features/support/helpers/misc_helpers.rb:51:in `try_for'
./features/step_definitions/usb.rb:694:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:704:in `/^I enable persistence( with the changed passphrase)?$/'
./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: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 10.780

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/36/artifact/build-artifacts/00:42:56_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/36/artifact/build-artifacts/00:42:56_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/36/artifact/build-artifacts/00:42:56_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:100 0.015