Project Number Date
test_Tails_ISO_15451-support-manual-fsck-on-error 52 28 Aug 2024, 19:47

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Evince 28 2 11 0 0 41 3 2 5 5:21.818 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
21.576
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.544
When I open "/usr/share/cups/data/default-testpage.pdf" with Evince 4.396
Then I see "CupsTestPage.png" after at most 40 seconds 3.560
And I can print the current document to "/home/amnesia/output.pdf" 5.073
After features/support/hooks.rb:326 2.231
After features/support/hooks.rb:100 0.000
Tags: @product
20.237
Before features/support/hooks.rb:269 0.004
Given I have started Tails from DVD without network and logged in 8.225
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia" as user "amnesia" 0.154
When I open "/home/amnesia/default-testpage.pdf" with Evince 3.605
Then I see "CupsTestPage.png" after at most 40 seconds 3.463
And I can print the current document to "/home/amnesia/output.pdf" 4.789
After features/support/hooks.rb:326 0.786
After features/support/hooks.rb:100 0.000
21.581
Before features/support/hooks.rb:269 0.006
Given I have started Tails from DVD without network and logged in 8.279
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.072
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.068
And the file "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" exists after at most 10 seconds 0.057
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.282
When I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 3.658
Then Evince tells me it cannot open "/home/amnesia/.gnupg/default-testpage.pdf" 2.960
And AppArmor has denied "/usr/bin/evince" from opening "/home/amnesia/.gnupg/default-testpage.pdf" 0.063
When I close Evince 0.209
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.150
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.301
Then Evince tells me it cannot open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.340
And AppArmor has denied "/usr/bin/evince" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.082
When I close Evince 0.224
Given I restart monitoring the AppArmor log of "/usr/bin/evince" 0.138
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" with Evince 2.190
Then Evince tells me it cannot open "/live/overlay/rw/home/amnesia/.gnupg/default-testpage.pdf" 0.262
# 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.075
After features/support/hooks.rb:326 0.835
After features/support/hooks.rb:100 0.000
Tags: @product
2:9.318
Scenario I can view and print a PDF file stored in persistent /home/amnesia/Persistent
Before features/support/hooks.rb:269 0.006
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 2:9.318
try_for() timeout expired (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/usb.rb:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/evince.feature:45:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/Persistent" as user "amnesia" 0.000
Then the file "/home/amnesia/Persistent/default-testpage.pdf" exists 0.000
When I open "/home/amnesia/Persistent/default-testpage.pdf" with Evince 0.000
Then I see "CupsTestPage.png" after at most 40 seconds 0.000
And I can print the current document to "/home/amnesia/Persistent/output.pdf" 0.000
After features/support/hooks.rb:326 5.428

SCENARIO FAILED: 'I can view and print a PDF file stored in persistent /home/amnesia/Persistent' (at time 01:53:23)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:53:23_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:53:23_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:53:23_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:53:23_I_can_view_and_print_a_PDF_file_stored_in_persistent__home_amnesia_Persistent.journal

After features/support/hooks.rb:100 0.000
2:9.104
Scenario I cannot view a PDF file stored in persistent /home/amnesia/.gnupg
Before features/support/hooks.rb:269 0.004
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 2:9.104
try_for() timeout expired (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/usb.rb:683:in `/^persistence is successfully enabled$/'
./features/step_definitions/usb.rb:702:in `/^I enable persistence( with the changed passphrase)?$/'
./features/step_definitions/snapshots.rb:153:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:150:in `each'
./features/step_definitions/snapshots.rb:150:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:173:in `/^I\ have\ started\ Tails\ without\ network\ from\ a\ USB\ drive\ with\ a\ persistent\ partition\ enabled\ and\ logged\ in$/'
features/evince.feature:54:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I copy "/usr/share/cups/data/default-testpage.pdf" to "/home/amnesia/.gnupg" as user "amnesia" 0.000
Then the file "/home/amnesia/.gnupg/default-testpage.pdf" exists 0.000
Given I start monitoring the AppArmor log of "/usr/bin/evince" 0.000
And I try to open "/home/amnesia/.gnupg/default-testpage.pdf" with Evince 0.000
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
After features/support/hooks.rb:326 5.037

SCENARIO FAILED: 'I cannot view a PDF file stored in persistent /home/amnesia/.gnupg' (at time 01:55:38)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:55:38_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:55:38_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:55:38_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_15451-support-manual-fsck-on-error/52/artifact/build-artifacts/01:55:38_I_cannot_view_a_PDF_file_stored_in_persistent__home_amnesia_.gnupg.journal

After features/support/hooks.rb:100 0.000