Project Number Date
test_Tails_ISO_stable 5054 28 Aug 2024, 12:12

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 40 1 0 0 0 41 4 1 5 1:53.342 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
31.132
Scenario I can view and print a PDF file stored in /usr/share
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD without network and logged in 8.222
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 4.435
Then I see "CupsTestPage.png" after at most 40 seconds 3.376
And I can print the current document to "/home/amnesia/output.pdf" 15.097
The
The document was not printed to /home/amnesia/output.pdf (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/evince.rb:27:in `/^I can print the current document to "([^"]+)"$/'
features/evince.feature:11:in `And I can print the current document to "/home/amnesia/output.pdf"'
After features/support/hooks.rb:326 4.996

SCENARIO FAILED: 'I can view and print a PDF file stored in /usr/share' (at time 01:57:41)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5054/artifact/build-artifacts/01:57:41_I_can_view_and_print_a_PDF_file_stored_in__usr_share.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5054/artifact/build-artifacts/01:57:41_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5054/artifact/build-artifacts/01:57:41_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/5054/artifact/build-artifacts/01:57:41_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:100 0.000
Tags: @product
21.127
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.265
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.159
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.592
Then I see "CupsTestPage.png" after at most 40 seconds 3.404
And I can print the current document to "/home/amnesia/output.pdf" 5.705
After features/support/hooks.rb:326 0.822
After features/support/hooks.rb:100 0.000
22.312
Before features/support/hooks.rb:269 0.005
Given I have started Tails from DVD without network and logged in 8.989
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.207
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.039
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.059
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.072
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.170
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 4.192
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.859
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.060
When I close Evince 0.183
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.114
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.161
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.304
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.083
When I close Evince 0.201
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.103
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.179
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.252
# 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.073
After features/support/hooks.rb:326 1.019
After features/support/hooks.rb:100 0.000
Tags: @product
21.882
Before features/support/hooks.rb:269 0.006
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.545
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.163
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.089
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.928
Then I see "CupsTestPage.png" after at most 40 seconds 3.311
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 4.844
After features/support/hooks.rb:326 0.838
After features/support/hooks.rb:100 0.000
16.887
Before features/support/hooks.rb:269 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.245
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.182
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.084
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.191
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.749
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.333
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.100
After features/support/hooks.rb:326 0.815
After features/support/hooks.rb:100 0.000