axemclion / grunt-saucelabs

Grunt task for running all your browser tests using Sauce Labs
MIT License
182 stars 98 forks source link

Running qunit example fails #161

Open giuscri opened 10 years ago

giuscri commented 10 years ago

Here's the step to reproduce the issue

$ git clone git@github.com:axemclion/grunt-saucelabs.git
$ cd grunt-saucelabs/examples/qunit
$ npm install
$ grunt
=> Starting Tunnel to Sauce Labs
>> /home/nue/grunt-saucelabs/examples/qunit/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/vendor/linux/bin/sc: /home/nue/grunt-saucelabs/examples/qunit/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/vendor/linux/bin/sc: cannot execute binary file
=> Stopping Tunnel to Sauce Labs

Am I doing something wrong?

Jonahss commented 10 years ago

huh. I'll check.

Jonahss commented 10 years ago

maybe it's a permissions issue? Try running the command as root, or setting relaxed permissions on the /sc binary mentioned in the log output

giuscri commented 10 years ago

@Jonahss, i'd say no ... Outputs!,

$ ls -l /home/nue/grunt-saucelabs/examples/qunit/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/vendor/linux/bin/sc
-rwxr-xr-x 1 nue nue 8220147 Jun 25 16:52 /home/nue/grunt-saucelabs/examples/qunit/node_modules/grunt-saucelabs/node_modules/sauce-tunnel/vendor/linux/bin/sc

and machine infos

Linux banzi 3.15.7-1-ARCH #1 SMP PREEMPT Mon Jul 28 20:25:42 CEST 2014 i686 GNU/Linux

Maybe the 32 bit architecture which I'm running is a problem?

Jonahss commented 10 years ago

Hmm, that shouldn't be a problem... Try creating a project that just calls the sauce-tunnel npm package

cvrebert commented 9 years ago

The 32-bit arch might indeed be the problem: https://github.com/jmreidy/sauce-tunnel/issues/27