Comments (12)
I just experienced a run from my local machine with two sauce connected browsers (chrome-linux, firefox-linux) where one 'finished' and the other hung. I killed the process manually after about a minute (trying to preserve my sauce credits).
I ran the test two more times after this and both times exited successfully on its own.
from karma-sauce-launcher.
Am experiencing a connection to iOS 6.1 which will not close on its own. I get this log:
Mobile Safari 6.0.0 (iOS 6.0): Executed 48 of 48 SUCCESS (42.064 secs / 0.783 secs)
INFO [launcher.sauce]: Shutting down Sauce Connect
But I have to manually cancel the test via Sauce's web interface.
from karma-sauce-launcher.
+1 to slow shutdown. Looks like the test is waiting for timeout of browsers before closing the connection ?
from karma-sauce-launcher.
I looks like the connection is closed before the browser loaded about:blank, which doesn't kill the browser.
from karma-sauce-launcher.
What is the state of that issue? Some builds are failing as nothing responds.
from karma-sauce-launcher.
+1 to slow shutdown. I see the heartbeat
method is being run repeatedly, just an observation.
What's the state of this?
from karma-sauce-launcher.
I still encounter the issue: https://travis-ci.org/bbcrd/peaks.js/builds/29082024#L3048
Anything specific to do?
from karma-sauce-launcher.
I use my fix #19 for a while now and haven't seen this error again. I'm not sure why this was never merged. @vojtajina ?
from karma-sauce-launcher.
In new wersion used next code in lib/sauce_launcher.js
this.on('kill', function(done) {
if (sessionIsReady) {
....
driver.get('about:blank').catch().quit().nodeify(allDone);
sessionIsReady = false;
} else {
pendingCancellations++;
process.nextTick(allDone);
}
});
};
when i run karma with existing Virtual Tunnel and setted startConnect: false - all work excellent
but when i run with creating Virtual Tunel (default) tunnel not closing
and event driver.get('about:blank').catch().quit().nodeify(allDone);
do not fired
from karma-sauce-launcher.
+1, the issue is very unfortunate because it costs money. It currently takes 15 minutes until SL shuts down the session when this happens. Which means 14 paid minutes wasted.
from karma-sauce-launcher.
+1 for us too. We currently have an active support ticket with SauceLabs to try and figure things out. Of note, the navigation to about:blank is indeed the culprit, but changing it to navigate to some other site instead (we used google) does not help. Will update as we learn more.
from karma-sauce-launcher.
For us, it was a timing issue specifically in Chrome + Sauce. Seems like removing an iframe from within its own load
event handler hangs Sauce + Chrome when the session is torn down, but only if that iframe is loading about:blank. Here is a minimal repro:
it.only('hangs SauceLabs', function(done) {
// Minimally-sufficient set of operations to trigger bug.
// All lines are needed, except the call to done().
var iframe = $('<iframe>'); iframe
.appendTo('body')
.prop('src', 'about:blank') // Needs to be about:blank.
.on('load', function() {
iframe.remove();
done(); //Not strictly needed.
});
});
One of our tests does something similar. We've worked around the issue for now by loading a different site in the iframe.
from karma-sauce-launcher.
Related Issues (20)
- undefined SaucelabsReporter adapters causes single-run=false to fail HOT 1
- Breaking change for iPhone Simulators caused by node-saucelabs version bump HOT 10
- Error is thrown when trying to run the connector HOT 12
- Error when mixing browser launched on SauceLabs and others HOT 1
- Uncaught TypeError: Cannot read property 'deleteSession' of null HOT 2
- Internet Explorer times out with Karma 6.x HOT 3
- Error for Safari & Chrome 38 on karma 6.x HOT 14
- Pass custom command line flags HOT 5
- No test names are being set, `undefined` instead HOT 8
- Update webdriverio to v7 HOT 2
- failed serving request POST /wd/hub/session: Unauthorized HOT 2
- Unable to connect to Saucelabs
- Running examples fails to compile
- Sauce Connect v4.6.4 to be deprecated 31 Jan 2022 HOT 2
- Checking for the stored log never terminates if the network is down
- Test fails under Firefox GeckoDriver 0.31.0 HOT 4
- ERROR webdriver: unknown error: failed serving request POST /wd/hub/session: Unauthorized HOT 1
- Dependency updates?
- Appium 2 compatibility
- Error from SauceLabs after updating dependencies
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from karma-sauce-launcher.