-
-
Notifications
You must be signed in to change notification settings - Fork 602
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
Fixed problem with selenium-docker failing #1924
Fixed problem with selenium-docker failing #1924
Conversation
…off scenarios in one dokcre contained without rebutting
Thank you @vgoncharenko ! I'll test and merge later today and then we can rollout the fix during the weekend (we got some things lined up to be released so that's good). Also I want push this to Browsertime (in master we are working in the new 3.0 so I want sure have it there too). @tobli have look you too when you have time! |
Yes, in my opinion this bug related to Chromedriver. Thanks |
Cool, if you have the time it would be super helpful if you could raise Chromedriver ticket too. I did quick try and I get one extra kill that for a process that is already shutdown:
Do you get the same? |
…f scenarios in one docker contained without rebutting - remove global trap for shutting down background sub-process
414291d
to
9ff9ca7
Compare
Yes, sorry, it happens because I set global trip for background process, but don't forgot to delete after testing, I make this fix some time ago, for my image, and now forgot some details of realisation |
Didn't get the time to merge/release this weekend, let me try to do it later this week, sorry. |
@vgoncharenko you have this merged in your own test right, or do you need this pushed ASAP? Been working on the coming 3.0 of Browsertime and thinking we should add so we do a hard kill of Chrome/Chromedriver if something fails, so it doesn't leave any stuff behind, that fix would be cleaner. But let me know, if you need we push it. Else I hope we can release Browsertime sometimes the coming months and then we shortly will release the new sitespeed.io using it. |
It's okay for me for waiting browsertime 3 and next version of sitespeed.io, we have your image with this fix in our internal docker hub and use it. And I can create a task for migration to your image after next official release sitespeed.io. Thanks
Get Outlook for Android<https://aka.ms/ghei36>
…________________________________
From: Peter Hedenskog <notifications@github.com>
Sent: Saturday, March 10, 2018 3:07:17 PM
To: sitespeedio/sitespeed.io
Cc: Vitaliy Goncharenko; Mention
Subject: Re: [sitespeedio/sitespeed.io] Fixed problem with selenium-docker failing (#1924)
@vgoncharenko<https://github.com/vgoncharenko> you have this merged in your own test right, or do you need this pushed ASAP? Been working on the coming 3.0 of Browsertime and thinking we should add so we do a hard kill of Chrome/Chromedriver if something fails, so it doesn't leave any stuff behind, that fix would be cleaner.
But let me know, if you need we push it. Else I hope we can release Browsertime sometimes the coming months and then we shortly will release the new sitespeed.io using it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub<#1924 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AJkRRErvQwpFBMvwH5RLde-S-sjY7UE3ks5tc9AFgaJpZM4SZjrG>.
CONFIDENTIALITY NOTICE:
This email, its contents and any of its attachments may contain Magento, Inc. proprietary information, which is privileged, confidential, or subject to copyright belonging to Magento, Inc. This email is intended solely for the use of the individual or entity to which it is addressed. If you are not the intended recipient of this email, you are hereby notified that any dissemination, distribution, copying, or action taken in relation to the contents of and attachments to this email is strictly prohibited and may be unlawful. If you have received this email in error, please notify the sender immediately and permanently delete the original and any copy of this email and any printout.
Magento, Inc. <https://magento.com/>
|
Let me merge anyway this since we have others that have the same problem. @vgoncharenko do you have any URL we can reference for your fix (just a comment in the code)? Else I see if I can find one. |
thanks @vgoncharenko ! |
@soulgalore , sorry, my English isn't perfect, can you explain for me part of your sentense about URL? What URL do you need? |
Ah no problem, I was unclear. I meant did you come up with your fix yourself or do you have any reference? I can add it to Browsertime later on, lets see first when we have a plan for releasing 3.0. Thanks again! |
@soulgalore , yes, it's my fix Ok, thanks |
Fixed problem with selenium-docker failing in case for a lot off scenarios in one docker contained without rebutting
This bug caused in case when I tested some urls (10 for example) and in case of failing url 5 for example(random fails sometimes happening in Magento2 =( ), the next steps can't be run with next error:
"Browsertime BrowserError: unknown error: Chrome failed to start: exited abnormallyINFO: Browser failed to start, trying one more time: Failed to start browser in 60 seconds."
I investigated this problems and understand that each run of browsertime starts some process: /usr/bin/dbus-daemon
/usr/lib/at-spi2-core/at-spi-bus-launcher
and don't kill after tested each URL (SUCCESS/FAIL case doesn't matter)
Your checklist for a pull request to sitespeed.io
Please review the guidelines for contributing to this repository.
npm test
and test linting bynpm run lint
Description
Please describe your pull request and tell us the fix #
Thank you for making sitespeed.io even better!