Project Number Date
test_Tails_ISO_20268-more-early-patch-functionality 123 01 Jul 2024, 06:46

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 31 1 9 0 0 41 4 1 5 2:3.647 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
22.915
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 9.101
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 3.888
Then I see "CupsTestPage.png" after at most 40 seconds 3.761
And I can print the current document to "/home/amnesia/output.pdf" 6.162
After features/support/hooks.rb:326 1.540
After features/support/hooks.rb:100 0.000
Tags: @product
20.789
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.551
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.183
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.775
Then I see "CupsTestPage.png" after at most 40 seconds 3.568
And I can print the current document to "/home/amnesia/output.pdf" 4.710
After features/support/hooks.rb:326 1.581
After features/support/hooks.rb:100 0.000
35.328
Scenario I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:269 0.005
Steps
Given I have started Tails from DVD without network and logged in 8.677
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.169
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.056
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.067
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.201
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.521
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.353
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.081
When I close Evince 20.144
Process 'evince' is still running after waiting for 20 seconds (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/common_steps.rb:817:in `/^process "([^"]+)" has stopped running after at most (\d+) seconds$/'
./features/step_definitions/evince.rb:34:in `/^I close Evince$/'
features/evince.feature:31:in `When I close Evince'
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
When I close Evince 0.000
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.000
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.000
# 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.000
After features/support/hooks.rb:326 5.098

SCENARIO FAILED: 'I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg' (at time 02:10:36)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/123/artifact/build-artifacts/02:10:36_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/123/artifact/build-artifacts/02:10:36_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/123/artifact/build-artifacts/02:10:36_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20268-more-early-patch-functionality/123/artifact/build-artifacts/02:10:36_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000
Tags: @product
25.365
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 11.491
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.178
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.133
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 3.767
Then I see "CupsTestPage.png" after at most 40 seconds 4.267
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 5.527
After features/support/hooks.rb:326 1.203
After features/support/hooks.rb:100 0.000
19.247
Before features/support/hooks.rb:269 0.008
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 10.958
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.155
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.072
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.180
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.868
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 3.845
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.166
After features/support/hooks.rb:326 1.294
After features/support/hooks.rb:100 0.000