question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not really reliable results using engine Chromy

See original GitHub issue

I have searched the issues and found many problems regarding zombie processes. Even if I stop all zombies, I have a failure rate between 10-30%, having 35 scenarios with three viewports each. I digged into the code and logged out the errors saying

Error: Invalid target undefined in chrome-remote-interface/lib/chrome.js which seems to be related to ports already in use by another instance.

If I change the port assigning code so that the port is chosen short before Chromy is initialized like

 const portfinder = require('portfinder');
  
  let port = await portfinder.getPortPromise();
  let defaultOptions = {
    chromeFlags: undefined,
    port: port,
    waitTimeout: TEST_TIMEOUT,
    visible: config.debugWindow || false
  };

I actually get no port errors or any other errors, but I still only got 97 of 105 screenshots. I also tried decreasing the concurrent processes to 5 or less, but I never got all screenshots.

Is anybody running a similar scenario with more success? I am using the newest version of everything.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (17 by maintainers)

github_iconTop GitHub Comments

2reactions
garriscommented, Mar 20, 2018

Just bumped to 3.2.0 and pushed to NPM!

You can…

npm install backstopjs@beta
2reactions
krisdigitalcommented, Mar 16, 2018

@garris All right, I will try to get the selector screenshots running and to make Puppeteer and Chromy coexist to get it to a ‘near release’ status! Thank’s for the coordination and if you need a AU Plugin let me know 😜

Read more comments on GitHub >

github_iconTop Results From Across the Web

Replacing chromy with puppeteer (originally: Failing with no ...
I'm having some issues with randomly getting failed tests where the error report does not show any images; Console log: Error report: Chrome ......
Read more >
Chromy chromy : r/chrome - Reddit
That's true but Chrome changed the market. Browsers all copied their framework so they a have split process architectures which use a ton...
Read more >
What makes Japanese engines so reliable? - Quora
I have found that Japanese engines are no more or less reliable than their American counterparts. Now days engines by most manufactures seldom...
Read more >
National Survey on Drug Use and Health (NSDUH) - SAMHSA
RESULTS/CONCLUSIONS: The data showed no statistically significant ... reliable, valid self-reported drug use data could be obtained (Hubbard et al., 1976; ...
Read more >
A survey on vulnerability assessment tools and databases for ...
Sections 4 Vulnerability database analysis, 5 Vulnerability assessment tool analysis evaluate the identified vulnerability scanning tools and databases, ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found