Bug #14407

[Workbench] tests fail on current version of firefox

Added by Tom Clegg 8 months ago. Updated 7 months ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Tests
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-
Release:
Release relationship:
Auto

Description

Example

https://ci.curoverse.com/view/Arvados%20build%20pipeline/job/run-tests-apps-workbench-integration/2349/consoleFull

Many (all?) of the selenium tests fail.

17:34:23    1) Error:
17:34:23  JobsTest#test_view_partial_job_log:
17:34:23  Selenium::WebDriver::Error::WebDriverError: unable to obtain stable firefox connection in 60 seconds (127.0.0.1:42309)
17:34:23      test/integration/jobs_test.rb:57:in `block in <class:JobsTest>'
17:34:23      test/test_helper.rb:288:in `run'

Associated revisions

Revision 84dbb989
Added by Tom Clegg 8 months ago

Merge branch '14407-selenium'

refs #14407

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <>

Revision cb4e95b6 (diff)
Added by Tom Clegg 8 months ago

Fix crash in test cleanup.

refs #14407

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <>

Revision ba4464e2 (diff)
Added by Tom Clegg 8 months ago

Make geckodriver sanity check non-fatal.

Allows non-workbench test runs to pass without geckodriver.

refs #14407

Arvados-DCO-1.1-Signed-off-by: Tom Clegg <>

History

#1 Updated by Tom Clegg 8 months ago

It seems we're supposed to use selenium-webdriver 3 + geckodriver.

This makes some tests pass, but there seems to be a problem with assert_triggers_dom_event:

  1) Error:
WebsocketTest#test_job_graph_appears_when_first_data_point_arrives_by_websocket:
Selenium::WebDriver::Error::UnknownError: InternalError: too much recursion
    test/integration_helper.rb:106:in `assert_triggers_dom_event'
    test/integration/websockets_test.rb:171:in `job_graph_first_datapoint_test'
    test/integration/websockets_test.rb:149:in `block in <class:WebsocketTest>'
    test/test_helper.rb:288:in `run'

14407-selenium @ 8aeabdc8bbcc545e07e1a0569f1c26583d89d68d

#2 Updated by Tom Clegg 8 months ago

14407-selenium @ 732327f837bd01864d6a56d1a29b3f459b547f9f
  • fixes recursion problem
  • adds geckodriver to arvbox

Added geckodriver to Hacking prerequisites too.

#3 Updated by Tom Clegg 8 months ago

  • Status changed from New to In Progress
  • Assigned To set to Tom Clegg

#4 Updated by Tom Clegg 8 months ago

  • Target version set to 2018-10-31 sprint

#5 Updated by Fernando Monserrat 8 months ago

Jenkins slave image to run tests updated to include Geckodriver
  1. geckodriver
    (
    set -e
    GD=v0.23.0
    wget -P /tmp https://github.com/mozilla/geckodriver/releases/download/$GD/geckodriver-$GD-linux64.tar.gz
    sudo tar -C /usr/local/bin -xzf /tmp/geckodriver-$GD-linux64.tar.gz geckodriver
    )

#6 Updated by Tom Clegg 8 months ago

  • Status changed from In Progress to Resolved

#7 Updated by Tom Morris 7 months ago

  • Release set to 14

Also available in: Atom PDF