Project Number Date
test_Tails_ISO_5501-plaintext-locale-greeter 51 08 Jul 2025, 04:20

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 34 1 6 0 0 41 4 1 5 5:7.536 Failed
Tags: @product
Feature Using Evince
As a Tails user I want to view and print PDF files in Evince And AppArmor should prevent Evince from doing dangerous things
Tags: @product
40.383
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.014
Given I have started Tails from DVD without network and logged in 11.227
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 10.974
Then I see "CupsTestPage.png" after at most 40 seconds 4.020
And I can print the current document to "/home/amnesia/output.pdf" 14.159
After features/support/hooks.rb:330 1.252
After features/support/hooks.rb:100 0.000
Tags: @product
1:12.213
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.012
Given I have started Tails from DVD without network and logged in 48.295
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.919
When I open "/home/amnesia/default-testpage.pdf" with Evince 10.912
Then I see "CupsTestPage.png" after at most 40 seconds 2.943
And I can print the current document to "/home/amnesia/output.pdf" 9.143
After features/support/hooks.rb:330 2.990
After features/support/hooks.rb:100 0.000
42.070
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.172
Given I have started Tails from DVD without network and logged in 11.226
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 1.181
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 1.053
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 1.346
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 1.090
Given I start monitoring the AppArmor log of "/usr/bin/evince" 2.317
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 6.727
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.721
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.098
When I close Evince 0.335
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.353
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.321
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 2.155
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.660
When I close Evince 0.627
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 1.682
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 4.817
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 1.174
# Due to our AppArmor aliases, /live/overlay will be treated
# as /usr/lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.178
After features/support/hooks.rb:330 1.806
After features/support/hooks.rb:100 0.000
Tags: @product
1:20.727
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.011
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 55.581
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 1.250
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.379
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 4.663
Then I see "CupsTestPage.png" after at most 40 seconds 3.916
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 14.936
After features/support/hooks.rb:330 1.356
After features/support/hooks.rb:100 0.000
1:12.141
Scenario I cannot view a PDF file stored in persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 1:12.141
Failed to restore snapshot (RuntimeError)
./features/step_definitions/common_steps.rb:89:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167:in `reach_checkpoint'
./features/step_definitions/common_steps.rb:95:in `rescue in post_snapshot_restore_hook'
./features/step_definitions/common_steps.rb:72:in `post_snapshot_restore_hook'
./features/step_definitions/snapshots.rb:167: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/evince.feature:54:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.000
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.000
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.000
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.000
After features/support/hooks.rb:330 6.289

SCENARIO FAILED: 'I cannot view a PDF file stored in persistent /home/amnesia/.gnupg' (at time 04:01:00)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/51/artifact/build-artifacts/04:01:00_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/51/artifact/build-artifacts/04:01:00_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/51/artifact/build-artifacts/04:01:00_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_5501-plaintext-locale-greeter/51/artifact/build-artifacts/04:01:00_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000