Sauce Labs Customer Idea Portal

Submit an idea and make Sauce Labs even better!

Open source Sauce Connect or document its protocol

It'd be nice to run Sauce tests with purely free software.

 

The current SC license doesn't even seem to allow binary redistribution?

"You may copy and install the number of copies of Software you indicated to Sauce Labs at the time of download. You may also make one copy of the Software for back-up and archival purposes."

To run SC tests from Travis I've been using several node.js wrappers for SC (currently https://www.npmjs.com/package/sauce-tunnel) most of which include the binaries or the .jar.  The community helps you by packaging SC in more convenient forms, but is in legal limbo whether it's actually OK :-(

  • Beni Cherniavsky-Paskin
  • Aug 21 2016
  • Evaluating
  • Attach files
  • Daniel W commented
    19 Sep, 2016 04:04pm

    Reading the last comment from Chiarng Lin, the glibc 2.14 dependency might go away once sc is ported to Go.  But having the source freely available would perhaps be useful in similar situations in the future.

  • Daniel W commented
    19 Sep, 2016 03:59pm

    This became a want for us now that Sauce Connect 4.4.0 has added a glibc 2.14 dependency that makes it impractical to run Sauce Connect on Red Hat Enterprise Linux 6.  If the source were freely available, we could simply remove the dependency and maintain a Sauce Connect branch with Red Hat Enterprise Linux 6 support in-house.  Instead we're stuck using an old version of Sauce Connect with an uncertain lifetime.

    If the source were freely available we could perhaps even make changes to support RHEL 6 (and CentOS 6) ourselves, and contribute back a patch, so Sauce Connect would get improved for free!

  • Chiarng Lin commented
    8 Sep, 2016 08:43pm

    Oh no, not entitled at all. I'm just trying to better understand your use case so we can update our legal language appropriately. I'm currently working with our legal team to update the part regarding binary redistribution, we're ok with that. 

    What sorts of protocols would you like access to? And why? 

    Also, we're currently migrating SC to Go, so even the C library parts will eventually go away. Jar won't be coming back, sorry! 

  • Beni Cherniavsky-Paskin commented
    8 Sep, 2016 10:47am

    It's one of many many wrapper packages: https://www.npmjs.com/search?q=sauce+connect (that's only nodejs, I suppose there are more in other languages...)

    sauce-tunnel simply carries your binaries: https://github.com/jmreidy/sauce-tunnel/tree/master/vendor

    Some other implementations download a binary from you when they run, e.g.: https://github.com/bermi/sauce-connect-launcher/blob/3f3e23cc1/lib/sauce-connect-launcher.js#L133-L138 — sounds more in line with your license (?) but is slower and puts extra load on your server.

     

    Why are such wrappers convenient? I want my app to have automatic tests using Sauce.  On my machine I could just install Sauce Connect once, but I want anyone that does `git checkout` and `npm install` to be able to run `npm test` without manual steps.  Most importantly, I want this to work on CI servers, such as Travis or Codeship.

    Bottom line is I add one of these wrappers as dependency, call a function to open/close a tunnel and it Just Works.

     

    Lastly, you only distribute Sauce Connect for a few major platforms.  I think once upon a time you distributed SC as a .jar which could run anywhere?  Now it seems to be a native C (?) binary.

     

    [I apologize if I sound "entitled".  I'm a non-paying user (Open Sauce) and am thankful for your service in any case.  I do suspect allowing binary redistribution couldn't hurt your business, given that it's freely downloadable.]

  • Chiarng Lin commented
    6 Sep, 2016 07:12pm

    Hi Beni,

    Thanks for the suggestion. Can you tell me more about what sauce-tunnel does, and what you would like to do with Sauce Connect going forward as a part of the binary redistribution or documentation of the protocol? 

    Thanks,

    Chiarng

  • Chiarng Lin commented
    6 Sep, 2016 07:11pm

    Hi Beni,

    Thanks for the suggestion. Can you tell me more about what sauce-tunnel does, and what you would like to do with Sauce Connect going forward as a part of the binary redistribution or documentation of the protocol? 

    Thanks,

    Chiarng