Project Number Date
test_Tails_ISO_devel 3253 25 Jan 2024, 22:07

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 13:6.041 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.
21.319
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.173
And I prepare Tails for memory erasure tests 0.552
When I start a process allocating 128 MiB of memory with a known pattern 2.305
Then patterns cover at least 128 MiB in the guest's memory 5.557

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

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

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

After features/support/hooks.rb:291 0.969
After features/support/hooks.rb:75 0.000
1:0.279
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.023
And I prepare Tails for memory erasure tests 0.581
And I find very few patterns in the guest's memory 4.699

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

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

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

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

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

After features/support/hooks.rb:291 0.803
After features/support/hooks.rb:75 0.000
3:1.415
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 7.812
And I prepare Tails for memory erasure tests 0.617
When I plug and mount a 128 MiB USB drive with a vfat filesystem 7.203
Then I find very few patterns in the guest's memory 4.351

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

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

Pattern coverage: 92.986% (115 MiB out of 124 MiB reference memory)

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

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

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

Pattern coverage: 102.400% (127 MiB out of 124 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.834
After features/support/hooks.rb:75 0.000
2:40.776
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.267
And I prepare Tails for memory erasure tests 0.590
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 24.302
Then I find very few patterns in the guest's memory 4.076

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

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

Pattern coverage: 108.660% (97 MiB out of 89 MiB reference memory)

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

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

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

Pattern coverage: 108.661% (97 MiB out of 89 MiB reference memory)

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

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

After features/support/hooks.rb:291 0.671
After features/support/hooks.rb:75 0.000
50.092
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD without network and logged in 9.016
And I prepare Tails for memory erasure tests 0.537
When I fill a 128 MiB file with a known pattern on the root filesystem 11.539
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 1.485
Then patterns cover at least 128 MiB in the guest's memory 3.072

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

When I trigger shutdown 2.505
And I wait 20 seconds 20.016

Slept for 20 seconds

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

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

After features/support/hooks.rb:291 3.534
After features/support/hooks.rb:75 0.000
5:12.158
Scenario Erasure of read and write disk caches of persistent data on shutdown
Before features/support/hooks.rb:245 0.002
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 5:12.158
can
can not find any of the patterns ["TailsGreeterLoginButton.png", "TailsGreeterLoginButtonGerman.png"] on the screen (FindFailed)
./features/support/helpers/screen.rb:229:in `rescue in wait_any'
./features/support/helpers/screen.rb:222:in `wait_any'
./features/step_definitions/common_steps.rb:476:in `/^I log in to a new session(?: in ([^ ]*) \(([^ ]*)\))?( without activating the Persistent Storage)?( after having activated the Persistent Storage| expecting no warning about the Persistent Storage not being activated)?$/'
./features/step_definitions/snapshots.rb:148:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:145:in `each'
./features/step_definitions/snapshots.rb:145:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:168: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:291 7.421

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3253/artifact/build-artifacts/00:35:48_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3253/artifact/build-artifacts/00:35:48_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_devel/3253/artifact/build-artifacts/00:35:48_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_devel/3253/artifact/build-artifacts/00:35:48_Erasure_of_read_and_write_disk_caches_of_persistent_data_on_shutdown.journal

After features/support/hooks.rb:75 0.080