Project Number Date
test_Tails_ISO_stable 4734 21 Mar 2024, 16:22

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 39 1 1 0 0 41 4 1 5 2:15.120 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
53.046
Scenario I can view and print a PDF file stored in /usr/share
Before features/support/hooks.rb:245 0.012
Steps
Given I have started Tails from DVD without network and logged in 9.614
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 3.096
Then I see "CupsTestPage.png" after at most 40 seconds 40.335
cannot find CupsTestPage.png on the screen (FindFailed)
./features/support/helpers/screen.rb:166:in `rescue in wait'
./features/support/helpers/screen.rb:159:in `wait'
./features/step_definitions/common_steps.rb:753:in `/^I (do not )?see "([^"]*)" after at most (\d+) seconds$/'
features/evince.feature:10:in `Then I see "CupsTestPage.png" after at most 40 seconds'
And I can print the current document to "/home/amnesia/output.pdf" 0.000
After features/support/hooks.rb:291 4.288

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4734/artifact/build-artifacts/01:43:35_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4734/artifact/build-artifacts/01:43:35_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4734/artifact/build-artifacts/01:43:35_I_can_view_and_print_a_PDF_file_stored_in__usr_share.boot-log

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_stable/4734/artifact/build-artifacts/01:43:35_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:75 0.000
Tags: @product
23.336
Before features/support/hooks.rb:245 0.002
Given I have started Tails from DVD without network and logged in 8.509
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.168
When I open "/home/amnesia/default-testpage.pdf" with Evince 4.828
Then I see "CupsTestPage.png" after at most 40 seconds 3.247
And I can print the current document to "/home/amnesia/output.pdf" 6.582
After features/support/hooks.rb:291 0.784
After features/support/hooks.rb:75 0.000
21.310
Before features/support/hooks.rb:245 0.003
Given I have started Tails from DVD without network and logged in 8.768
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.054
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.062
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.048
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.130
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 4.250
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.090
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.068
When I close Evince 0.193
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.138
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.149
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.276
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.065
When I close Evince 0.193
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.122
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.134
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.269
# 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.086
After features/support/hooks.rb:291 1.571
After features/support/hooks.rb:75 0.000
Tags: @product
20.889
Before features/support/hooks.rb:245 0.004
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.051
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.164
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.072
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.444
Then I see "CupsTestPage.png" after at most 40 seconds 3.279
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 4.875
After features/support/hooks.rb:291 0.726
After features/support/hooks.rb:75 0.000
16.536
Before features/support/hooks.rb:245 0.003
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.135
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.245
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.102
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.162
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.313
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 3.449
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.126
After features/support/hooks.rb:291 0.722
After features/support/hooks.rb:75 0.000