-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
node-chome tab crash in docker only #79
Comments
Yes... more info here elgalu/docker-selenium#20 |
so is elgalu repository part of the Selenium official one? I know there is already a ticket in yours, but I thought people who worked on the official repository should also know. |
elgalu repo is mine, not official. yeah @RubyTester is aware, not sure if we can solve this on our end, as I said is Chrome crashing, Firefox does not so maybe Google guys needs some help reproducing the bug to take a look, so far none seem to be involved. |
I have seen this crashing also on chrome 39 and I wonder if java HeapSize has anything to do with this. Wild guess, our hub crashed when it's running regular java with default heapsize
However when I start hub with java I'll try running a Chrome node with |
and we are also running on OpenJDK. Should we be running on official Oracle runtime? |
I'm running with My case is an angular.js app with many UI based tests including drag and On Wed, Jul 29, 2015 at 3:46 AM, rubytester notifications@github.com
|
Thanks for the field report. We'll try a test today with hub on a VM with Xmx1024m and another VM hosting 4 docker contaieners, each container serving 2 chrome sessions (chrome 39). We have 40 nodes attached to the hub. We'll see how running parallel 100 browser sessions affects this. Yesterday the hub crashed and by limiting the Xmx1024m it did not and kept session requests in the queue just fine. (NotAJavaGuy(tm)) |
Tried with exactly So in my case don't need to overload it to recreate but maybe we are talking about 2 different issues, let's see how the load tests goes :) |
Chrome 42 - 44 crashes when manually open http://www.google.com/adwords Is there issue already opened for Chrome browser in docker. Should I submit a new one for Chromium? We are running into similar issue with our application same as with http://www.google.com/adwords Steps to reproduce manually on public selenium image: start vnc viewver on default docker IP 127.0.0.1:5900 Right mouse click. Open Applications\Terminal Emulators\XTerm
In google chrome window type It loads page and then shows: Aw, Snap! It is reproducible in all Chrome browsers starting 42 (till latest 44) It is not reproducible on the our old docker-selenium image with older Chrome/41.0.2272.89 Please refer correct duplicate or let me know where I can submit this issue? |
So @issuj figured this out, I just tried below code and Chrome no longer crashes: Easiest option is sharing Other option is to use the new docker run option Finally you can do it yourself inside the container:
docker exec $id sudo umount /dev/shm
docker exec $id sudo mount -t tmpfs -o rw,nosuid,nodev,noexec,relatime,size=512M tmpfs /dev/shm However it would be nice to avoid privileged mode. Other refs: |
It also works if use |
Thanks all you guys for poking around and finding the solution. Major win for all. And thanks @kkochubey1 for the -v /dev/shm:/dev/shm solution. That was the next thing I was thinking about... I'll be glad to test it in my grids setups and I'll report how this works in a larger grid setups |
Thank you all for finding the solution. I will close this ticket once my test went through. If you are using docker-compose add the volume under your Chrome image setting in docker-compose.yml
|
Thanks @issuj, @elgalu, @kkochubey1 Closes #79
Hi all.. Actually I experience the same. I'm new in docker, and I found this issue is occur on my Windows Machine. I've tried the Please help with this error.. Thanks |
Thanks for he workaround, @elgalu solution worked for me, big time and straight away |
Welcome @sloppylopez , my comment was a bit outdated so I updated with this: Easiest option is sharing |
This seem to happen only for chrome docker nodes. Many other has reported in https://code.google.com/p/chromedriver/issues/detail?id=1097 as well. Don't know if a fix is in the process or not.
The text was updated successfully, but these errors were encountered: