Project

General

Profile

Actions

Bug #14407

closed

[Workbench] tests fail on current version of firefox

Added by Tom Clegg about 6 years ago. Updated about 6 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Tests
Target version:
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'
Actions #1

Updated by Tom Clegg about 6 years 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

Actions #2

Updated by Tom Clegg about 6 years ago

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

Added geckodriver to Hacking prerequisites too.

Actions #3

Updated by Tom Clegg about 6 years ago

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

Updated by Tom Clegg about 6 years ago

  • Target version set to 2018-10-31 sprint
Actions #5

Updated by Fernando Monserrat about 6 years 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
    )
Actions #6

Updated by Tom Clegg about 6 years ago

  • Status changed from In Progress to Resolved
Actions #7

Updated by Tom Morris about 6 years ago

  • Release set to 14
Actions

Also available in: Atom PDF