Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in geckodriver #9633

Closed
andriusjakas opened this issue Jul 4, 2021 · 1 comment
Closed

Exception in geckodriver #9633

andriusjakas opened this issue Jul 4, 2021 · 1 comment

Comments

@andriusjakas
Copy link

andriusjakas commented Jul 4, 2021

🐛 Bug Report

/opt/geckodriver-0.29.1: 1: Syntax error: "(" unexpected

To Reproduce

Build on arm64 (pi 4)

VERSION=local make standalone_firefox

run in docker

docker run -d -p 4444:4444 -p 7900:7900 --shm-size 2g selenium/standalone-firefox:local-20210704

Expected behavior

/opt/geckodriver-0.29.1: 1: Syntax error: "(" unexpected

16:40:04.203 INFO [LocalDistributor.newSession] - Session request received by the distributor: 
 [Capabilities {acceptInsecureCerts: true, browserName: firefox, moz:firefoxOptions: {args: [], prefs: {}}}]
/opt/geckodriver-0.29.1: 1: Syntax error: "(" unexpected
16:40:04.398 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "a4da31f0ab634c88b36a18e639974c61","eventTime": 1625416804383938433,"eventName": "exception","attributes": {"exception.message": "Error while creating session with the driver service. Stopping driver service: Driver server process died prematurely.\nBuild info: version: '4.0.0-rc-1', revision: '23ece4f646'\nSystem info: host: '131924c739d1', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'aarch64', os.version: '5.12.10-1-MANJARO-ARM', java.version: '11.0.11'\nDriver info: driver.version: unknown","exception.stacktrace": "org.openqa.selenium.WebDriverException: Driver server process died prematurely.\nBuild info: version: '4.0.0-rc-1', revision: '23ece4f646'\nSystem info: host: '131924c739d1', ip: '172.17.0.2', os.name: 'Linux', os.arch: 'aarch64', os.version: '5.12.10-1-MANJARO-ARM', java.version: '11.0.11'\nDriver info: driver.version: unknown\n\tat org.openqa.selenium.remote.service.DriverService.start(DriverService.java:230)\n\tat org.openqa.selenium.grid.node.config.DriverServiceSessionFactory.apply(DriverServiceSessionFactory.java:120)\n\tat org.openqa.selenium.grid.node.config.DriverServiceSessionFactory.apply(DriverServiceSessionFactory.java:63)\n\tat org.openqa.selenium.grid.node.local.SessionSlot.apply(SessionSlot.java:143)\n\tat org.openqa.selenium.grid.node.local.LocalNode.newSession(LocalNode.java:324)\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor.startSession(LocalDistributor.java:481)\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor.newSession(LocalDistributor.java:408)\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.handleNewSessionRequest(LocalDistributor.java:616)\n\tat java.base\u002fjava.util.Optional.ifPresent(Optional.java:183)\n\tat org.openqa.selenium.grid.distributor.local.LocalDistributor$NewSessionRunnable.run(LocalDistributor.java:580)\n\tat org.openqa.selenium.concurrent.Regularly$RetryingRunnable.run(Regularly.java:105)\n\tat java.base\u002fjava.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)\n\tat java.base\u002fjava.util.concurrent.FutureTask.run(FutureTask.java:264)\n\tat java.base\u002fjava.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)\n\tat java.base\u002fjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)\n\tat java.base\u002fjava.lang.Thread.run(Thread.java:829)\n","exception.type": "org.openqa.selenium.WebDriverException","logger": "org.openqa.selenium.grid.node.config.DriverServiceSessionFactory","session.capabilities": "{\"acceptInsecureCerts\": true,\"browserName\": \"firefox\",\"moz:firefoxOptions\": {\"args\": [  ],  \"prefs\": {  }  },  \"se:vncEnabled\": true  }\n"}}

16:40:04.495 WARN [SeleniumSpanExporter$1.lambda$export$0] - {"traceId": "a4da31f0ab634c88b36a18e639974c61","eventTime": 1625416804490879277,"eventName": "HTTP request execution complete","attributes": {"http.flavor": 1,"http.handler_class": "org.openqa.selenium.grid.sessionqueue.local.LocalNewSessionQueue","http.host": "swarm-node2:4444","http.method": "POST","http.request_content_length": "427","http.scheme": "HTTP","http.status_code": 500,"http.target": "\u002fsession","http.user_agent": "selenium\u002f4.0.0-beta-4 (java unix)"}}

Test script or set of commands reproducing this issue

    FirefoxOptions firefoxOptions = new FirefoxOptions();
    WebDriver driver = new RemoteWebDriver(new URL("http://remote:4444"), firefoxOptions);
    driver.get("https://........com");
    String page = driver.getPageSource();
    File scrFile = ((TakesScreenshot)driver).getScreenshotAs(OutputType.FILE);
    FileUtils.copyFile(scrFile, new File("screenshot.png"));
    driver.quit();
    return "ok";

Environment

OS: Manjaro ARM 21.06
Browser: Firefox
Browser Driver version: geckodriver-0.29.1
Language Bindings version: Java

@ghost ghost added the needs-triaging label Jul 4, 2021
@diemol
Copy link
Member

diemol commented Jul 9, 2021

We still do not support ARM for our Docker images, follow SeleniumHQ/docker-selenium#1076 for updates.

@diemol diemol closed this as completed Jul 9, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Sep 5, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants