Project Number Date
test_Tails_ISO_stable 4818 30 Apr 2024, 19:00

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 47 1 5 0 0 53 5 1 6 10:46.725 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.
23.079
Before features/support/hooks.rb:259 0.002
Given I have started Tails from DVD without network and logged in 8.912
And I prepare Tails for memory erasure tests 0.411
When I start a process allocating 128 MiB of memory with a known pattern 2.838
Then patterns cover at least 128 MiB in the guest's memory 4.233

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

When I kill the allocating process 1.659
Then I find very few patterns in the guest's memory 5.023

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

After features/support/hooks.rb:305 0.806
After features/support/hooks.rb:89 0.000
25.123
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.191
And I prepare Tails for memory erasure tests 0.436
And I find very few patterns in the guest's memory 4.471

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

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

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

When I umount "/mnt" 0.945
Then I find very few patterns in the guest's memory 4.488

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

After features/support/hooks.rb:305 1.479
After features/support/hooks.rb:89 0.000
48.269
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.565
And I prepare Tails for memory erasure tests 0.448
When I plug and mount a 128 MiB USB drive with a vfat filesystem 10.182
Then I find very few patterns in the guest's memory 4.427

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

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

Pattern coverage: 92.194% (117 MiB out of 127 MiB reference memory)

When I umount the USB drive 1.475
Then I find very few patterns in the guest's memory 4.630

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

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

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

When I umount the USB drive 0.608
Then I find very few patterns in the guest's memory 4.772

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

After features/support/hooks.rb:305 1.463
After features/support/hooks.rb:89 0.000
1:14.696
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.344
And I prepare Tails for memory erasure tests 0.401
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 36.362
Then I find very few patterns in the guest's memory 3.998

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

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

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

When I umount the USB drive 1.003
Then I find very few patterns in the guest's memory 3.421

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

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

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

When I umount the USB drive 1.405
Then I find very few patterns in the guest's memory 4.449

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

After features/support/hooks.rb:305 1.649
After features/support/hooks.rb:89 0.000
54.958
Before features/support/hooks.rb:259 0.003
Given I have started Tails from DVD without network and logged in 8.573
And I prepare Tails for memory erasure tests 0.440
When I fill a 128 MiB file with a known pattern on the root filesystem 16.046
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 4.414
Then patterns cover at least 128 MiB in the guest's memory 3.544

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

When I trigger shutdown 0.012
And I wait 20 seconds 20.013

Slept for 20 seconds

Then I find very few patterns in the guest's memory 1.912

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

After features/support/hooks.rb:305 3.569
After features/support/hooks.rb:89 0.000
7:0.597
Scenario Erasure of read and write disk caches of persistent data on shutdown
Before features/support/hooks.rb:259 0.002
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 7:0.597
The
The Dogtail init script raised: SearchError: child of [desktop frame | main]: "gnome-shell" application
STDOUT:

STDERR:

 (Dogtail::Failure)
./features/support/helpers/dogtail.rb:93:in `run'
./features/support/helpers/dogtail.rb:70:in `initialize'
./features/step_definitions/common_steps.rb:711:in `new'
./features/step_definitions/common_steps.rb:711:in `/^all notifications have disappeared$/'
./features/step_definitions/snapshots.rb:152:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:149:in `each'
./features/step_definitions/snapshots.rb:149:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:172:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/erase_memory.feature:76: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
And I wait 20 seconds 0.000
Then I find very few patterns in the guest's memory 0.000
After features/support/hooks.rb:305 4.213

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4818/artifact/build-artifacts/00:39:19_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4818/artifact/build-artifacts/00:39:19_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4818/artifact/build-artifacts/00:39:19_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4818/artifact/build-artifacts/00:39:19_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:89 0.015