Clicking "Yes" for "More options?" in the Greeter sometimes fails in Jenkins
Originally created by @intrigeri on #11617 (Redmine)
See video attached. I’d rather not mark all affected scenarios as fragile, hence priority >> normal.
Seen in the last two days:
- https://jenkins.tails.boum.org/view/Tails_ISO/job/test_Tails_ISO_test-10971-more-cpus-for-tailstoaster-11588-10733/9/
- https://jenkins.tails.boum.org/view/RM/job/test_Tails_ISO_stable/lastFailedBuild/cucumberTestReport/
Debug log:
Scenario: If an administrative password is set in Tails Greeter the live user should be able to run arbitrary commands with administrative privileges. # features/root_access_control.feature:9
calling as root: echo 'hello?'
call returned: [0, "hello?\n", ""]
[log] CLICK on (1024,384)
calling as root: /sbin/ifconfig eth0 | grep -q 'inet addr'
call returned: [1, "", "eth0: error fetching interface information: Device not found\n"]
calling as root: date -s '@1470041144'
call returned: [0, "Mon Aug 1 08:45:44 UTC 2016\n", ""]
Checkpoint: I have started Tails from DVD without network and logged in with an administration password
Given I have started Tails from DVD without network and stopped at Tails Greeter's login screen
[log] CLICK on (433,404)
Step failed while creating checkpoint: I enable more Tails Greeter options
Given I have started Tails from DVD without network and logged in with an administration password # features/step_definitions/snapshots.rb:199
FindFailed: can not find TailsGreeterForward.png on the screen.
Line ?, in File ? (RuntimeError)
./features/step_definitions/snapshots.rb:182:in `block in reach_checkpoint'
./features/step_definitions/snapshots.rb:180:in `each'
./features/step_definitions/snapshots.rb:180:in `reach_checkpoint'
./features/step_definitions/snapshots.rb:200:in `/^I\ have\ started\ Tails\ from\ DVD\ without\ network\ and\ logged\ in\ with\ an\ administration\ password$/'
features/root_access_control.feature:10:in `Given I have started Tails from DVD without network and logged in with an administration password'
Then I should be able to run administration commands as the live user # features/step_definitions/root_access_control.rb:1
Scenario failed at time 00:35:56
We’re waiting 30 seconds and I doubt that bumping the timeout is worth it here, but why not try. Looks like we’re never releasing the mouse click.
Attachments
Parent Task: #10288 (closed)
Related issues
- Related to #11816 (closed)
Edited by intrigeri