Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 20 25 Mar 2024, 06:14

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:7.608 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
51.759
Scenario I can view and print a PDF file stored in /usr/share
Before features/support/hooks.rb:245 0.004
Steps
Given I have started Tails from DVD without network and logged in 8.218
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 3.439
Then I see "CupsTestPage.png" after at most 40 seconds 40.101
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.248

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

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/20/artifact/build-artifacts/01:56:39_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/20/artifact/build-artifacts/01:56:39_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/20/artifact/build-artifacts/01:56:39_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_20268-more-early-patch-functionality/20/artifact/build-artifacts/01:56:39_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:75 0.000
Tags: @product
20.246
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD without network and logged in 8.020
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.137
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.016
Then I see "CupsTestPage.png" after at most 40 seconds 3.344
And I can print the current document to "/home/amnesia/output.pdf" 5.727
After features/support/hooks.rb:291 0.723
After features/support/hooks.rb:75 0.000
19.983
Before features/support/hooks.rb:245 0.006
Given I have started Tails from DVD without network and logged in 7.953
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.128
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.051
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.049
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.117
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.339
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.533
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.096
When I close Evince 0.237
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.121
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.116
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.353
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.204
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.118
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.122
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.237
# 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.077
After features/support/hooks.rb:291 1.365
After features/support/hooks.rb:75 0.000
Tags: @product
20.562
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.147
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.140
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.062
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.335
Then I see "CupsTestPage.png" after at most 40 seconds 3.221
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 4.654
After features/support/hooks.rb:291 0.811
After features/support/hooks.rb:75 0.000
15.055
Before features/support/hooks.rb:245 0.005
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 8.548
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.161
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.060
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.149
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.529
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.485
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.120
After features/support/hooks.rb:291 0.948
After features/support/hooks.rb:75 0.000