Project Number Date
test_Tails_ISO_20634-greeter-tps-update-failure-fix 4 27 Oct 2024, 12:24

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 22 3 16 0 0 41 2 3 5 2:12.531 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
30.332
Scenario I can view and print a PDF file stored in /usr/share
Before features/support/hooks.rb:269 0.007
Steps
Given I have started Tails from DVD without network and logged in 8.519
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 21.812
try_for() timeout expired
Last ignored exception was: ExecutionFailedInVM: Command failed: echo -n 'evince /usr/share/cups/data/default-testpage.pdf' | xsel --input --clipboard
error code: 1
stdout: 
stderr: xsel: Can't open display: (null)
: Inappropriate ioctl for device
.
<false> is not true.
./features/support/helpers/vm_helper.rb:483:in `rescue in execute_successfully'
./features/support/helpers/vm_helper.rb:480:in `execute_successfully'
./features/support/helpers/vm_helper.rb:715:in `set_clipboard'
./features/support/helpers/screen.rb:307:in `paste'
./features/step_definitions/common_steps.rb:937:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:936:in `block in <top (required)>'
./features/step_definitions/evince.rb:2:in `block in <top (required)>' (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:936:in `/^I run "([^"]+)" in GNOME Terminal$/'
./features/step_definitions/evince.rb:2:in `/^I(?:| try to) open "([^"]+)" with Evince$/'
features/evince.feature:9:in `When I open "/usr/share/cups/data/default-testpage.pdf" with Evince'
Then I see "CupsTestPage.png" after at most 40 seconds 0.000
And I can print the current document to "/home/amnesia/output.pdf" 0.000
After features/support/hooks.rb:326 5.126

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:15_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_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:15_I_can_view_and_print_a_PDF_file_stored_in__usr_share.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:15_I_can_view_and_print_a_PDF_file_stored_in__usr_share.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:15_I_can_view_and_print_a_PDF_file_stored_in__usr_share.journal

After features/support/hooks.rb:100 0.000
Tags: @product
31.806
Scenario I can view and print a PDF file stored in non-persistent /home/amnesia
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD without network and logged in 8.987
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.175
When I open "/home/amnesia/default-testpage.pdf" with Evince 22.643
try_for() timeout expired
Last ignored exception was: ExecutionFailedInVM: Command failed: echo -n 'evince /home/amnesia/default-testpage.pdf' | xsel --input --clipboard
error code: 1
stdout: 
stderr: xsel: Can't open display: (null)
: Inappropriate ioctl for device
.
<false> is not true.
./features/support/helpers/vm_helper.rb:483:in `rescue in execute_successfully'
./features/support/helpers/vm_helper.rb:480:in `execute_successfully'
./features/support/helpers/vm_helper.rb:715:in `set_clipboard'
./features/support/helpers/screen.rb:307:in `paste'
./features/step_definitions/common_steps.rb:937:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:936:in `block in <top (required)>'
./features/step_definitions/evince.rb:2:in `block in <top (required)>' (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:936:in `/^I run "([^"]+)" in GNOME Terminal$/'
./features/step_definitions/evince.rb:2:in `/^I(?:| try to) open "([^"]+)" with Evince$/'
features/evince.feature:16:in `When I open "/home/amnesia/default-testpage.pdf" with Evince'
Then I see "CupsTestPage.png" after at most 40 seconds 0.000
And I can print the current document to "/home/amnesia/output.pdf" 0.000
After features/support/hooks.rb:326 5.149

SCENARIO FAILED: 'I can view and print a PDF file stored in non-persistent /home/amnesia' (at time 01:57:52)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:52_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:52_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:52_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:57:52_I_can_view_and_print_a_PDF_file_stored_in_non-persistent__home_amnesia.journal

After features/support/hooks.rb:100 0.000
30.308
Scenario I cannot view a PDF file stored in non-persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails from DVD without network and logged in 8.524
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.163
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.070
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.053
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.058
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.163
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 21.275
try_for() timeout expired
Last ignored exception was: ExecutionFailedInVM: Command failed: echo -n 'evince /home/amnesia/.gnupg/default-testpage.pdf' | xsel --input --clipboard
error code: 1
stdout: 
stderr: xsel: Can't open display: (null)
: Inappropriate ioctl for device
.
<false> is not true.
./features/support/helpers/vm_helper.rb:483:in `rescue in execute_successfully'
./features/support/helpers/vm_helper.rb:480:in `execute_successfully'
./features/support/helpers/vm_helper.rb:715:in `set_clipboard'
./features/support/helpers/screen.rb:307:in `paste'
./features/step_definitions/common_steps.rb:937:in `block (2 levels) in <top (required)>'
./features/support/helpers/misc_helpers.rb:78:in `block (2 levels) in try_for'
./features/support/helpers/misc_helpers.rb:66:in `loop'
./features/support/helpers/misc_helpers.rb:66:in `block in try_for'
./features/support/helpers/misc_helpers.rb:65:in `try_for'
./features/step_definitions/common_steps.rb:936:in `block in <top (required)>'
./features/step_definitions/evince.rb:2:in `block in <top (required)>' (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:936:in `/^I run "([^"]+)" in GNOME Terminal$/'
./features/step_definitions/evince.rb:2:in `/^I(?:| try to) open "([^"]+)" with Evince$/'
features/evince.feature:28:in `When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince'
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
When I close Evince 0.000
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.392

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

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:58:28_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_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:58:28_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:58:28_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_20634-greeter-tps-update-failure-fix/4/artifact/build-artifacts/01:58:28_I_cannot_view_a_PDF_file_stored_in_non-persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000
Tags: @product
23.690
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 10.634
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.193
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.056
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 4.313
Then I see "CupsTestPage.png" after at most 40 seconds 3.277
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 5.214
After features/support/hooks.rb:326 1.111
After features/support/hooks.rb:100 0.000
16.392
Before features/support/hooks.rb:269 0.007
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 9.738
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.164
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.087
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.271
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.872
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.142
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.115
After features/support/hooks.rb:326 1.084
After features/support/hooks.rb:100 0.000