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
intermittently fails to download driver when running in parallel #186
Comments
I would need to reproduce the error. Could you please provide a running example in which this behavior can be observed? |
@damonsmith any update on this? |
Sorry i haven't had a chance, I'll try to get into it this week.
…On 7 Mar. 2018 12:27 am, "Boni García" ***@***.***> wrote:
@damonsmith <https://github.com/damonsmith> any update on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#186 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABcKjCEdGQuY_NxzLglPnbCPvbHVRTRNks5tbo7OgaJpZM4RxhAX>
.
|
having same issue -
for failing cases 2nd line absent, not sure how to get more logs |
@dimkin-eu Could you provide some example to reproduce it? |
i will try to create some small scenario. |
Thank you @dimkin-eu. Regarding logs, yes, wdm is logging additional info in the
|
due bug in chromedriver (https://bugs.chromium.org/p/chromedriver/issues/detail?id=2144) we are using 2.33
blablabla
kaboom |
just a hint
|
@dimkin-eu I committed a mechanism that (I think) is going to solve the problem. Please do the following:
Please let me know if the problem is gone now. |
removed forceCache, added snapshot
we got 2 nodes - one with cleaned cache, one - w/o (accidentally) with cache
w/o cache
|
@dimkin-eu I have uploaded a new version of wdm |
|
@dimkin-eu Thanks for helping in the debugging of this issue (unfortunately I am not able to reproduce it). I have committed a new version of the SNAPSHOT artifact. Please repeat the test, let see if this time everything works fine. |
@bonigarcia , no problems :) Locally I also not able to reproduce, only with jenkins matrix jobs
|
@dimkin-eu I have committed a new change to avoid that problem... hopefully this time is the good one. Please repeat the test with the latest SNAPSHOT. |
Wrong version again due IO - remember, same .m2 could be used by all parallel jobs
|
Sorry, my mistake. I have solved it. Please try again... |
imho, there is no point to +x tmp file, only destination one
|
Grrr yes, that was another problem on the current logic (I have changed the way in which files are uncompressed and moved to the target folder). Let's see this time... please try again. |
some logical bomb appeared - previous file wasnt executable, so this will not make it executable as well :)
|
Well... I think we are almost there ;) Please @dimkin-eu, test one more time. |
@bonigarcia , now something strange - there is no log from
but this happens only with node with old drivers ( not purged .m2) |
Something wrong with extraction (previously ?) - right size is ~8MB
for successful
|
looks like best solution - to purge .m2 |
Maybe your cache were corrupted in a previous test. By default, wdm tries to use the cached file. To force the download to start there is the option
The option All in all... are your parallel tests working? Just in case you want to test again, I have uploaded a new SNAPSHOT with an slight change (now the set executable logic is done at the end only if required). |
|
Now there was an additional problem with the |
@bonigarcia with latest (for this morning) build everything seems fine for me 👍 |
Version 2.2.0 has been released, solving this issue. Thanks @damonsmith and @dimkin-eu for helping in the debug process. |
Am getting this error |
Hi, I've got a set of tests that run in parallel, in 8 browsers at the same time. It uses TestNG and Surefire to do the parallel tests. They run on an ubuntu VM so each time a test run starts they need to download the chromedriver binaries but intermittently they just report that the binary is not found.
The logs I get are:
java.lang.IllegalStateException: The path to the driver executable must be set by the webdriver.chrome.driver system property; for more information, see https://github.com/SeleniumHQ/selenium/wiki/ChromeDriver. The latest version can be downloaded from http://chromedriver.storage.googleapis.com/index.html
The text was updated successfully, but these errors were encountered: