groupon / Selenium-Grid-Extras

Simplify the management of the Selenium Grid Nodes and stabilize said nodes by cleaning up the test environment after the build has been completed
BSD 3-Clause "New" or "Revised" License
537 stars 210 forks source link

Linux Bit is null - fails to download geckodriver #370

Open sharonlambson opened 6 years ago

sharonlambson commented 6 years ago

We are using selenium-grid-extras version 1.12.17

gecko-driver 0.19.0 is failing to download. For some reason the linux "bit" (64/32) is not getting set so it can't find the file to download.

I see this in the logs:

2017-10-13 21:27:19 INFO ExecuteOSTask:177 - Downloading Gecko Driver 0.19.0 2017-10-13 21:27:19 INFO GeckoDriverDownloader:91 - Downloading from https://github.com/mozilla/geckodriver/releases/download/v0.19.0/geckodriver-v0.19.0-linuxnull.tar.gz 2017-10-13 21:27:19 INFO Downloader:94 - Starting to download from https://github.com/mozilla/geckodriver/releases/download/v0.19.0/geckodriver-v0.19.0-linuxnull.tar.gz 2017-10-13 21:27:20 ERROR Downloader:102 - java.io.FileNotFoundException: https://github.com/mozilla/geckodriver/releases/download/v0.19.0/geckodriver-v0.19.0-linuxnull.tar.gz 2017-10-13 21:27:20 ERROR Downloader:105 - Download failed 2017-10-13 21:27:20 INFO DownloadGeckoDriver:162 - {"exit_code":1,"out":[],"error":["java.io.FileNotFoundException: https://github.com/mozilla/geckodriver/releases/download/v0.19.0/geckodriver-v0.19.0-linuxnull.tar.gz"],"root_dir":["/tmp/webdriver/geckodriver"],"file":["geckodriver_0.19.0.tar.gz"],"file_full_path":["/tmp/webdriver/geckodriver/geckodriver_0.19.0.tar.gz"],"source_url":["https://github.com/mozilla/geckodriver/releases/download/v0.19.0/geckodriver-v0.19.0-linuxnull.tar.gz"]}

sharonlambson commented 6 years ago

I ensured that the selenium_grid_extras_config.json file explicitly specifies the bit "geckodriver": { "bit": "64", "version": "0.19.0" } this did not help though

zsucic commented 6 years ago

I just tried with SGE 1.12.17 and changing the selenium_grid_extras.json file to

   "geckodriver": {
      "bit": "64",
      "version": "0.19.0"
    },

made it download the geckodriver without problems. And it seems that it all works in the following combination: Ubuntu 16.10 SGE 1.12.17 selenium 3.6 firefox v56.02 chrome v62.0