Bug #11617

Clicking "Yes" for "More options?" in the Greeter sometimes fails in Jenkins

Added by intrigeri 2016-08-01 03:31:30 . Updated 2020-04-15 06:01:52 .

Status:
Resolved
Priority:
Elevated
Assignee:
Category:
Test suite
Target version:
Start date:
2016-08-01
Due date:
% Done:

100%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Welcome Screen
Deliverable for:

Description

See video attached. I’d rather not mark all affected scenarios as fragile, hence priority >> normal.

Seen in the last two days:

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.


Files


Subtasks


Related issues

Related to Tails - Bug #11816: Test suite often freezes after clicking "Login" in the Greeter Resolved 2016-09-20

History

#1 Updated by intrigeri 2016-12-19 17:47:13

  • related to Bug #11816: Test suite often freezes after clicking "Login" in the Greeter added

#2 Updated by intrigeri 2017-05-18 17:34:29

  • Status changed from Confirmed to Resolved
  • Target version set to Tails_3.0~rc1
  • % Done changed from 0 to 100

I haven’t seen any such problem with the new Greeter.

#3 Updated by intrigeri 2020-04-15 06:01:52

  • Affected tool changed from Greeter to Welcome Screen