Bug #16319

Regression in ssh.feature with buster

Added by CyrilBrulebois 2019-01-07 19:43:48 . Updated 2019-04-05 09:09:30 .

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Test suite
Target version:
Start date:
2019-01-07
Due date:
% Done:

0%

Feature Branch:
Type of work:
Code
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

The ssh.feature contains a test using nautilus to mount a remote endpoint over SSH.

Quoting the relevant part of the test suite (features/step_definitions/ssh.rb):

Then /^I verify the SSH fingerprint for the SFTP server$/ do
  try_for(30) do
    Dogtail::Application.new('gnome-shell').child?('Log In Anyway')
  end
  # Here we'd like to click on the button using Dogtail, but something
  # is buggy so let's just use the keyboard.
  @screen.type(Sikuli::Key.ENTER)
end

It might be that we’re having an issue finding “Log In Anyway”, and/or the default is now to “Cancel Login”, and we’re getting a host key verification error every time (see screenshot).

(If that’s an issue with finding the right widget, using accerciser to find the right Dogtail call could help.)

In the meanwhile, as the “Cancel Login” button is highlighted (see screenshot), one needs to send a Sikuli::Key.Tab before the Sikuli::Key.ENTER one. I’ll implement this as a workaround but keep this ticket open so that we decide whether/how to fix this (properly).


Files


Subtasks


History

#1 Updated by CyrilBrulebois 2019-01-07 22:46:07

  • Status changed from New to In Progress

Applied in changeset commit:tails|5e9b01705a52e875c760a9bd9c8e9e07f2eb1667.

#2 Updated by intrigeri 2019-01-08 10:29:07

  • Assignee deleted (intrigeri)
  • Parent task set to Bug #16281

#3 Updated by intrigeri 2019-04-02 14:45:24

  • QA Check set to Ready for QA
  • Type of work changed from Test to Code

#4 Updated by hefee 2019-04-05 09:09:30

  • Status changed from In Progress to Resolved
  • QA Check changed from Ready for QA to Pass

commit is applied in feature/buster and “Logging in via SSH” does not fail anymore on feature/buster.