Project Number Date
test_Tails_ISO_20575-disable-cups-browsed 9 07 Oct 2024, 02:42

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
System memory erasure on shutdown 5 5 41 0 0 51 1 5 6 14:51.405 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:31.928
Scenario Erasure of memory freed by killed userspace processes
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.928
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/erase_memory.feature:14:in `Given I have started Tails from DVD without network and logged in'
And I prepare Tails for memory erasure tests 0.000
When I start a process allocating 128 MiB of memory with a known pattern 0.000
Then patterns cover at least 128 MiB in the guest's memory 0.000
When I kill the allocating process 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
After features/support/hooks.rb:326 10.620

SCENARIO FAILED: 'Erasure of memory freed by killed userspace processes' (at time 00:47:58)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:47:58_Erasure_of_memory_freed_by_killed_userspace_processes.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:47:58_Erasure_of_memory_freed_by_killed_userspace_processes.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:47:58_Erasure_of_memory_freed_by_killed_userspace_processes.journal

After features/support/hooks.rb:100 0.000
1:31.832
Scenario Erasure of tmpfs data on unmount
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.832
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/erase_memory.feature:22:in `Given I have started Tails from DVD without network and logged in'
And I prepare Tails for memory erasure tests 0.000
And I find very few patterns in the guest's memory 0.000
When I mount a 128 MiB tmpfs on "/mnt" and fill it with a known pattern 0.000
Then patterns cover at least 99% of the test FS size in the guest's memory 0.000
When I umount "/mnt" 0.000
Then I find very few patterns in the guest's memory after 3 seconds 0.000
After features/support/hooks.rb:326 10.620

SCENARIO FAILED: 'Erasure of tmpfs data on unmount' (at time 00:49:41)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:49:41_Erasure_of_tmpfs_data_on_unmount.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:49:41_Erasure_of_tmpfs_data_on_unmount.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:49:41_Erasure_of_tmpfs_data_on_unmount.journal

After features/support/hooks.rb:100 0.000
1:31.853
Scenario Erasure of read and write disk caches on unmount: vfat
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.853
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/erase_memory.feature:31:in `Given I have started Tails from DVD without network and logged in'
And I prepare Tails for memory erasure tests 0.000
When I plug and mount a 128 MiB USB drive with a vfat filesystem 0.000
Then I find very few patterns in the guest's memory 0.000
# write cache
When I fill the USB drive with a known pattern 0.000
Then patterns cover at least 75% 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
# 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
After features/support/hooks.rb:326 10.679

SCENARIO FAILED: 'Erasure of read and write disk caches on unmount: vfat' (at time 00:51:23)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:51:23_Erasure_of_read_and_write_disk_caches_on_unmount:_vfat.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:51:23_Erasure_of_read_and_write_disk_caches_on_unmount:_vfat.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:51:23_Erasure_of_read_and_write_disk_caches_on_unmount:_vfat.journal

After features/support/hooks.rb:100 0.000
1:31.851
Scenario Erasure of read and write disk caches on unmount: LUKS-encrypted ext4
Before features/support/hooks.rb:269 0.003
Steps
Given I have started Tails from DVD without network and logged in 1:31.851
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/erase_memory.feature:48:in `Given I have started Tails from DVD without network and logged in'
And I prepare Tails for memory erasure tests 0.000
When I plug and mount a 128 MiB USB drive with an ext4 filesystem encrypted with password "asdf" 0.000
Then I find very few patterns in the guest's memory 0.000
# write cache
When I fill the USB drive with a known pattern 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
# 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
After features/support/hooks.rb:326 10.676

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:53:06_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:53:06_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:53:06_Erasure_of_read_and_write_disk_caches_on_unmount:_LUKS-encrypted_ext4.journal

After features/support/hooks.rb:100 0.000
1:31.901
Scenario Erasure of the overlayfs read-write branch on shutdown
Before features/support/hooks.rb:269 0.002
Steps
Given I have started Tails from DVD without network and logged in 1:31.901
Remote shell seems to be down (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/support/helpers/vm_helper.rb:534:in `wait_until_remote_shell_is_up'
./features/step_definitions/common_steps.rb:58:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:139:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in$/'
features/erase_memory.feature:65:in `Given I have started Tails from DVD without network 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 root filesystem 0.000
# ensure the pattern is in memory due to tmpfs, not to disk cache
And I drop all kernel caches 0.000
Then patterns cover at least 128 MiB in the guest's memory 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:326 10.610

SCENARIO FAILED: 'Erasure of the overlayfs read-write branch on shutdown' (at time 00:54:48)

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:54:48_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:54:48_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20575-disable-cups-browsed/9/artifact/build-artifacts/00:54:48_Erasure_of_the_overlayfs_read-write_branch_on_shutdown.journal

After features/support/hooks.rb:100 0.000
7:12.037
Before features/support/hooks.rb:269 0.001
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 6:28.950
And I prepare Tails for memory erasure tests 0.442
When I fill a 128 MiB file with a known pattern on the persistent filesystem 21.444
When I trigger shutdown 0.013
Then I find very few patterns in the guest's memory after 20 seconds 21.186

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

After features/support/hooks.rb:326 3.489
After features/support/hooks.rb:100 0.011