bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Electron testing through karma. #107

Open orther opened 8 years ago

orther commented 8 years ago

90

orther commented 8 years ago

I'm not sure why CircleCI is failing on npm install but I don't have time to look into it right now.

bensu commented 8 years ago

Can you trigger a rebuild?

orther commented 8 years ago

Done.

bensu commented 8 years ago

Thanks.

Looks good to me. I'll merge once we get the tests passing (which is probably npm shenanigans)

orther commented 8 years ago

Yeah I'm thinking the same thing (npm issues). I'll try trigger a build in a few hours before bed. If that doesn't work I'll try to find some time to look into it further.

orther commented 8 years ago

I ssh'd into the CircleCI container to troubleshoot the npm install of slimerjs and it seems the issue is with verifying the SSL cert of download.slimerjs.org. Before I dig into figuring out how to fix this I wanted to ask did you ever have this issue with your builds? If yes, do you have a simple solution?

Does anyone have a simple solution?


For reference here is the error message from wget:

ubuntu@box5:~/doo/library$ wget  https://download.slimerjs.org/releases/0.9.6/slimerjs-0.9.6-linux-x86_64.tar.bz2
--2016-06-08 13:27:54--  https://download.slimerjs.org/releases/0.9.6/slimerjs-0.9.6-linux-x86_64.tar.bz2
Resolving download.slimerjs.org (download.slimerjs.org)... 176.31.242.138
Connecting to download.slimerjs.org (download.slimerjs.org)|176.31.242.138|:443... connected.
ERROR: cannot verify download.slimerjs.org's certificate, issued by `/C=FR/ST=Ile de France/L=Fontenay Sous Bois/O=Innophi/CN=Innophi Certification Authority/emailAddress=ca@innophi.com':
  Unable to locally verify the issuer's authority.
    ERROR: certificate common name `whisky.jelix.org' doesn't match requested host name `download.slimerjs.org'.
To connect to download.slimerjs.org insecurely, use `--no-check-certificate'.

For reference here is the npm install slimerjs error:

ubuntu@box5:~/doo/library$ npm install slimerjs
npm WARN package.json library@1.0.0 No description
npm WARN package.json library@1.0.0 No repository field.
npm WARN package.json library@1.0.0 No README data
npm WARN package.json library@1.0.0 No license field.
npm WARN engine boom@2.10.1: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.13.5"})
npm WARN engine hoek@2.16.3: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.13.5"})
npm WARN engine cryptiles@2.0.5: wanted: {"node":">=0.10.40"} (current: {"node":"0.10.33","npm":"2.13.5"})

> slimerjs@0.906.1 install /home/ubuntu/doo/library/node_modules/slimerjs
> node install.js

SlimerJS not found on PATH
Downloading https://download.slimerjs.org/releases/0.9.6/slimerjs-0.9.6-linux-x86_64.tar.bz2
Saving to /tmp/slimerjs/slimerjs-0.9.6-linux-x86_64.tar.bz2
Receiving...

Error requesting archive.
Status: 403
Request options: {
  "uri": "https://download.slimerjs.org/releases/0.9.6/slimerjs-0.9.6-linux-x86_64.tar.bz2",
  "encoding": null,
  "followRedirect": true,
  "headers": {
    "User-Agent": "npm/2.13.5 node/v0.10.33 linux x64"
  },
  "strictSSL": true
}
Response headers: {
  "date": "Wed, 08 Jun 2016 13:20:03 GMT",
  "server": "Apache/2.2.22 (Debian)",
  "strict-transport-security": "max-age=15768000",
  "vary": "Accept-Encoding",
  "content-length": "252",
  "keep-alive": "timeout=5, max=100",
  "connection": "Keep-Alive",
  "content-type": "text/html; charset=iso-8859-1"
}
Make sure your network and proxy settings are correct.

If you continue to have issues, please report this full log at https://github.com/graingert/slimerjs
npm ERR! Linux 3.13.0-86-generic
npm ERR! argv "node" "/home/ubuntu/nvm/v0.10.33/bin/npm" "install" "slimerjs"
npm ERR! node v0.10.33
npm ERR! npm  v2.13.5
npm ERR! code ELIFECYCLE

npm ERR! slimerjs@0.906.1 install: `node install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the slimerjs@0.906.1 install script 'node install.js'.
npm ERR! This is most likely a problem with the slimerjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node install.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls slimerjs
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/ubuntu/doo/library/npm-debug.log
bensu commented 8 years ago

Hey @orther

I tried running the tests again and we've made some progress. The Slimerjs issues were probably due to something broken on their end, and I would remove the new slimerjs installation commands.

I do see that electron-advanced didn't work and there were other unrelated failures. I will refactor the integration tests so that the failure messages are more useful. In the meantime, can you check if the advanced build for electron works?

orther commented 8 years ago

Yeah I noticed the advanced failing too and have been meaning to look into it. I'm trying to stay away from the computer for a few days but if I end up on one (I always seem to) I'll try to fix that. Either way at the latest I should have it looked at by the middle-end of the week. On Jun 18, 2016 11:45 PM, "Sebastian Bensusan" notifications@github.com wrote:

Hey @orther https://github.com/orther

I tried running the tests again and we've made some progress. Slimerjs was probably something broken on their end, and I would remove it. I do see that electron-advanced didn't work and there were other, unrelated failures. I will refactor the integration tests so that the failure messages are more useful. In the meantime, can you check if the advanced build for electron works?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bensu/doo/pull/107#issuecomment-226982492, or mute the thread https://github.com/notifications/unsubscribe/AAHtHFKkwbJJl5P32e5nI1tAStQWNG9lks5qNOWDgaJpZM4IwiSt .

orther commented 8 years ago

Sorry for delay I am still trying to get this fixed.