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
Scan stalls with 1 job left #752
Comments
That's excellent, I've been hunting this bug for a while. You can contact me in private with the details. |
Sure, I'll send the details. |
Scanning now, thanks a lot. |
You can now enable the Enable it like so:
Monitor it like so:
|
I forgot to reference the issue from the commit message: 3533463 I believe that the issue isn't related to a browser job but with their book-keeping by the Pushing nightlies now and I'll update this issue when they are up. |
Nightlies are up and should include the fix. |
Cool, I'll give it a test run right away and get back to you. |
I'm afraid this didn't fix it. The scan is still stalling. I'll send you the debug output directly. |
The build from 20160806 is completing scans properly. |
I updated the browser cluster workers to use a new proxy instance when they respawn the PhantomJS process instead of using the old one, if something fixed it that was it. Please do run a few more scans to make sure it works. Cheers PS. I'm pushing fresh nightlies now with more debugging messages in case the issue wasn't fixed after all. |
Nightlies are up, please lest me know how they do. |
Fix was verified in private, closing. :) |
Hi Tasos Although i scanned my site successfully with the 20160806 build, I'm getting stalled scans again with the 20160808 build. I'll be more than happy to assist you in tracking this down on my current Debian setup, but I was wandering what OS and ruby version you are using, since you don't experience the problems ? |
Is this reproducible? I'm using Ubuntu 16.04 with Ruby 2.3.1 (also tried with the same Ruby version as the packages). |
The bug is persistent on the 20160808 build, I only ran one scan on the 20160806 build but that worked. I'm running with 6 scan workers now instead of 10, but that should contain the favor of completing the scan. Thanks for the system info, I'll make a similar setup and see if I can make it work. |
If it only happens with the latest build yet not the older one, I have an idea of what it may be, otherwise we're back to square one. |
It's happened on all 7-8 scans I've done with the 20160808 build, and not for the one scan I did with 20160806. So I would say your idea is worth a shot :) |
Hm, can you give the older one a few more tries? |
Sure, I'll do that and get back to you. |
It turns out that I didn't have the 20160806 build, but the 20160805 build just completed a scan with no problems. |
The commit that fixed the issue originally was made on the 6th of the month, not the 5th. |
Thats odd, let me know what you find. |
I found a way to debug this that can help:
|
I found a way to reproduce the issue and it turns out there's still something wrong with the book-keeping of pending jobs, I hadn't fixed that after all. |
Nightlies are up please give them a try and let me know how they do. |
Cool, I will give those a shot. Btw, I noticed that the 20160808 build has a tendency to leave browser cluster processes running, even after new ones have been started, so over a long scan the number of processes builds up quite a lot. This is not the case with the 20160805 build. |
The current nightlies have some big changes in the way browsers are handled so it's possible that they fix the issue; I just checked and I couldn't reproduce it. |
Sorry for the late reply. |
Please do, thank you. |
Hello, Any update on this? Did the issue go away? |
I've been trying to reproduce the issue the last few days on the current build, but the scans are running for days, creating a lot more browser jobs than usual. |
Checking it out now, thanks for the feedback. |
I can confirm this issue as resolved. I did find another inconsistency unrelated to this, so I'm closing this issue, but can you hold the stable release a few days ? |
Sure. |
I'm getting this error consistently:
Probably because my site don't support https. The odd thing is that the scan stalls with just one job left. While I can stop the scan with
kill -2
and get a report, it would be much better if the scan finished properly.I'm using the latest experimental build btw.
The text was updated successfully, but these errors were encountered: