Project

General

Profile

Bug #16319

Bug #16281: Update the test suite for Buster

Regression in ssh.feature with buster

Added by CyrilBrulebois 10 months ago. Updated 7 months ago.

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

0%

Feature Branch:
Type of work:
Code
Blueprint:
Starter:
Affected tool:

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).

tails-ssh-host-key-verification-failed.png View (67 KB) CyrilBrulebois, 01/07/2019 07:42 PM

tails-ssh-cant-verify-identity.png View (168 KB) CyrilBrulebois, 01/07/2019 07:43 PM

Associated revisions

Revision 5e9b0170 (diff)
Added by CyrilBrulebois 10 months ago

Make nautilus vs. ssh work (refs: #16281, #16319).

History

#1 Updated by CyrilBrulebois 10 months ago

  • Status changed from New to In Progress

#2 Updated by intrigeri 10 months ago

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

#3 Updated by intrigeri 7 months ago

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

#4 Updated by hefee 7 months ago

  • 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.

Also available in: Atom PDF