Project Number Date
test_Tails_ISO_21002-ponytail-keyboard-input 5 06 Jun 2025, 15:19

Feature Report

Steps Scenarios Features
Feature Passed Failed Skipped Pending Undefined Total Passed Failed Total Duration Status
Using Totem 39 1 10 0 0 50 2 1 3 1:48.716 Failed
Tags: @product
Feature Using Totem
As a Tails user I want to watch local and remote videos in Totem And AppArmor should prevent Totem from doing dangerous things And all Internet traffic should flow only through Tor
0.324
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Given I create sample videos 0.324
Tags: @product
1:1.006
Given I have started Tails from DVD without network and logged in 9.948
And I plug and mount a USB drive containing sample videos 16.696
And I copy the sample videos to "/home/amnesia" as user "amnesia" 0.113
And the file "/home/amnesia/video.mp4" exists 0.075
Given I start monitoring the AppArmor log of "/usr/bin/totem" 0.193
When I open "/home/amnesia/video.mp4" with Totem 5.097
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 7.649
And AppArmor has not denied "/usr/bin/totem" from opening "/home/amnesia/video.mp4" 1.499
Given I close Totem 0.374
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.102
And the file "/home/amnesia/.gnupg/video.mp4" exists 0.072
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.164
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 3.410
Then Totem tells me it is not allowed to open this file 2.154
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.093
Given I close Totem 0.200
And the file "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.090
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.235
When I try to open "/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 3.319
Then Totem tells me it is not allowed to open this file 0.451
And AppArmor has denied "/usr/bin/totem" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.091
Given I close Totem 0.194
And the file "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" exists 0.081
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.159
When I try to open "/live/overlay/rw/home/amnesia/.gnupg/video.mp4" with Totem 3.311
Then Totem tells me it is not allowed to open this file 0.663
# Due to our AppArmor aliases, /live/overlay will be treated
# as /usr/lib/live/mount/overlay.
And AppArmor has denied "/usr/bin/totem" from opening "/usr/lib/live/mount/overlay/rw/home/amnesia/.gnupg/video.mp4" 0.090
Given I close Totem 0.200
And I copy "/home/amnesia/video.mp4" to "/home/amnesia/.purple/otr.private_key" as user "amnesia" 0.092
And the file "/home/amnesia/.purple/otr.private_key" exists 0.079
And I restart monitoring the AppArmor log of "/usr/bin/totem" 0.172
When I try to open "/home/amnesia/.purple/otr.private_key" with Totem 3.274
Then Totem tells me it is not allowed to open this file 0.547
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.purple/otr.private_key" 0.102
After features/support/hooks.rb:330 1.317
After features/support/hooks.rb:100 0.000
0.321
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.009
Before features/support/hooks.rb:513 0.010
Given I create sample videos 0.321
25.810
Given I have started Tails from DVD and logged in and the network is connected 12.727
Then I can watch a WebM video over HTTPs 13.083
After features/support/hooks.rb:521 0.541
After features/support/hooks.rb:330 2.768
After features/support/hooks.rb:100 0.000
0.326
Before features/support/hooks.rb:266 0.000
Before features/support/hooks.rb:273 0.006
Given I create sample videos 0.326
Tags: @product
20.926
Scenario Watching MP4 videos stored on the persistent volume should work as expected given our AppArmor confinement
Steps
Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in 20.926
Ponytail failed while pressing key combo: DBusException: org.freedesktop.DBus.Error.Disconnected: Connection was disconnected before a reply was received
STDOUT:

STDERR:
Exception ignored in: <function Ponytail.__del__ at 0x783790d377e0>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/ponytail/ponytail.py", line 51, in __del__
    if (self.connected):
AttributeError: 'Ponytail' object has no attribute 'connected'

 (RuntimeError)
./features/support/helpers/screen.rb:344:in `ponytail_press'
./features/support/helpers/screen.rb:352:in `press'
./features/step_definitions/usb.rb:679:in `/^I try to enable persistence( with the changed passphrase)?$/'
./features/step_definitions/usb.rb:703: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/totem.feature:55:in `Given I have started Tails without network from a USB drive with a persistent partition enabled and logged in'
And I plug and mount a USB drive containing sample videos 0.000
And I copy the sample videos to "/home/amnesia/Persistent" as user "amnesia" 0.000
When I open "/home/amnesia/Persistent/video.mp4" with Totem 0.000
Then I see "SampleLocalMp4VideoFrame.png" after at most 40 seconds 0.000
Given I close Totem 0.000
And I start monitoring the AppArmor log of "/usr/bin/totem" 0.000
And I copy the sample videos to "/home/amnesia/.gnupg" as user "amnesia" 0.000
When I try to open "/home/amnesia/.gnupg/video.mp4" with Totem 0.000
Then Totem tells me it is not allowed to open this file 0.000
And AppArmor has denied "/usr/bin/totem" from opening "/home/amnesia/.gnupg/video.mp4" 0.000
After features/support/hooks.rb:330 6.776

SCENARIO FAILED: 'Watching MP4 videos stored on the persistent volume should work as expected given our AppArmor confinement' (at time 05:33:33)

Boot log: https://jenkins.tails.boum.org/job/test_Tails_ISO_21002-ponytail-keyboard-input/5/artifact/build-artifacts/05:33:33_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.file_content_var_log_boot.log

Screenshot: https://jenkins.tails.boum.org/job/test_Tails_ISO_21002-ponytail-keyboard-input/5/artifact/build-artifacts/05:33:33_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.png

Video: https://jenkins.tails.boum.org/job/test_Tails_ISO_21002-ponytail-keyboard-input/5/artifact/build-artifacts/05:33:33_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.mkv

Systemd journal: https://jenkins.tails.boum.org/job/test_Tails_ISO_21002-ponytail-keyboard-input/5/artifact/build-artifacts/05:33:33_Watching_MP4_videos_stored_on_the_persistent_volume_should_work_as_expected_given_our_AppArmor_confinement.journal

After features/support/hooks.rb:100 0.000