Comments (5)
Ah, figured out the issue, I added the option after --u
, which gets a url appended to it. We need a comment added to the testem.js
saying that no options should be added after that option.
from ember-cli-sauce.
Hum, even after adding the option I still get failures. The first launcher runs and succeeds, but the other's fail, e.g.
not ok 164 Browser "ember sauce:launch -b internet explorer -v 11.103 --vi public -p Windows 10 --n MapGeo: Map tests (IE11) --build 576d70bc9f984ace31d1a4c6 --vi public --at --no-ct --u http://localhost:7000/5212/tests/index.html?hidepassed" exited unexpectedly with exit code 1.
not ok 165 Browser "ember sauce:launch -b firefox -v 46.0 --vi public -p Windows 10 --n MapGeo: Map tests (Firefox) --build 576d70bc9f984ace31d1a4c6 --vi public --at --no-ct --u http://localhost:7000/1342/tests/index.html?hidepassed" exited unexpectedly with exit code 1.
not ok 166 Browser "ember sauce:launch -b safari -v 9.0 --vi public -p OS X 10.11 --n MapGeo: Map tests (Safari) --build 576d70bc9f984ace31d1a4c6 --vi public --at --no-ct --u http://localhost:7000/7883/tests/index.html?hidepassed" exited unexpectedly with exit code 1.
There are no jobs in saucelabs for the failed launchers.
Is there a way to know what the error was?
from ember-cli-sauce.
Does https://github.com/johanneswuerbach/saucie/blob/master/lib/launch.js#L77 need a catch(..)
statement?
Running the tests locally I get:
Browser "ember sauce:launch -b internet explorer -v 11.103 --vi public -p Windows 10 --n MapGeo: Map tests (IE11) --build local --vi public
--at --no-ct --u http://localhost:7357/2555/tests/index.html?hidepassed" exited unexpectedly with exit code 1.
Stdout:
The option '--b' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--v' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--vi' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--p' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--n' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--build' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--at' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--ct' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
The option '--u' is not registered with the sauce:launch command. Run `ember sauce:launch --help` for a list of supported options.
Bail out! Error: [init({"browserName":"internet explorer","version":"11.103","platform":"Windows 10","deviceName":"","device-orientation":"
","tags":["Saucie","test"],"name":"MapGeo: Map tests (IE11)","public":["public","public"],"build":"local","record-video":true})] The enviro
nment you requested was unavailable.
Stderr:
[init({"browserName":"internet explorer","version":"11.103","platform":"Windows 10","deviceName":"","device-orientation":"","tags":["Saucie
","test"],"name":"MapGeo: Map tests (IE11)","public":["public","public"],"build":"local","record-video":true})] The environment you request
ed was unavailable.
Error: [init({"browserName":"internet explorer","version":"11.103","platform":"Windows 10","deviceName":"","device-orientation":"","tags":[
"Saucie","test"],"name":"MapGeo: Map tests (IE11)","public":["public","public"],"build":"local","record-video":true})] The environment you
requested was unavailable.
from ember-cli-sauce.
This catch should technically take care of that: https://github.com/johanneswuerbach/saucie/blob/e77cfa07c1bd38fef62d7c7801cae32e04c33639/lib/index.js#L6
Not sure why you are seeing the stderr
only locally as both should display this. Maybe the testem reporter is swallowing the error message somehow.
from ember-cli-sauce.
Seems like the same thing happens locally and in the CI, but in the CI I cannot see the testem terminal interface that shows me the full error.
from ember-cli-sauce.
Related Issues (20)
- Individual test failure details are not sent to SauceLabs
- An in-range update of ember-data is breaking the build 🚨 HOT 1
- An in-range update of saucie is breaking the build 🚨 HOT 5
- An in-range update of loader.js is breaking the build 🚨 HOT 2
- An in-range update of loader.js is breaking the build 🚨 HOT 4
- Is Mocha supported?
- Testing Edge/Safari always ends with 'Browser disconnected' error HOT 7
- Sauceconnect fails to transmit "all-test-results" event on polling transport HOT 23
- An in-range update of ember-cli-babel is breaking the build 🚨 HOT 7
- An in-range update of rsvp is breaking the build 🚨 HOT 3
- Allow to set connectVersion via environment
- An in-range update of ember-resolver is breaking the build 🚨 HOT 4
- Version 10 of node.js has been released
- An in-range update of saucie is breaking the build 🚨 HOT 1
- An in-range update of ember-cli-inject-live-reload is breaking the build 🚨 HOT 3
- An in-range update of ember-cli-qunit is breaking the build 🚨 HOT 1
- An in-range update of ember-cli-inject-live-reload is breaking the build 🚨 HOT 2
- An in-range update of ember-cli-sri is breaking the build 🚨 HOT 1
- An in-range update of rsvp is breaking the build 🚨 HOT 1
- An in-range update of ember-export-application-global is breaking the build 🚨 HOT 1
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 ember-cli-sauce.