{"action":"created","issue":{"url":"https://api.github.com/repos/meteor-velocity/velocity/issues/258","labels_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/258/labels{/name}","comments_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/258/comments","events_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/258/events","html_url":"https://github.com/meteor-velocity/velocity/issues/258","id":59105311,"number":258,"title":"Velocity & Jasmine failing silently on CI server?","user":{"login":"keyscores","id":1364012,"avatar_url":"https://avatars.githubusercontent.com/u/1364012?v=3","gravatar_id":"","url":"https://api.github.com/users/keyscores","html_url":"https://github.com/keyscores","followers_url":"https://api.github.com/users/keyscores/followers","following_url":"https://api.github.com/users/keyscores/following{/other_user}","gists_url":"https://api.github.com/users/keyscores/gists{/gist_id}","starred_url":"https://api.github.com/users/keyscores/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyscores/subscriptions","organizations_url":"https://api.github.com/users/keyscores/orgs","repos_url":"https://api.github.com/users/keyscores/repos","events_url":"https://api.github.com/users/keyscores/events{/privacy}","received_events_url":"https://api.github.com/users/keyscores/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-26T17:13:06Z","updated_at":"2015-02-26T17:31:52Z","closed_at":null,"body":"I'm setting up CircleCI for a meteor project. Locally all is fine. \r\n\r\nOn CircleCI the test runner goes to timeout. No errors. Nothing informative in logs. Strangely it worked once on CircleCi, and then never again.\r\n\r\nThe test command is simply:\r\n\r\n    meteor --test\r\n\r\nThe output I get doesn't print any tests:\r\n\r\n    stream error Network error: ws://localhost:3000/websocket: connect ECONNREFUSED\r\n    [[[[[ ~/app ]]]]]                  \r\n    \r\n    => Started proxy.                             \r\n    => Started MongoDB.                           \r\n    => Started your app.                          \r\n    \r\n    => App running at: http://localhost:3000/\r\n\r\nIn the .meteor/local/log/jasmine-client-unit.log this is the last line:\r\n\r\n    Chrome 38.0.2125 (Linux): Executed 0 of 0^[[32m SUCCESS^[[39m (0 secs / 0 secs)\r\n    ^[[1A^[[2KChrome 38.0.2125 (Linux): Executed 0 of 0^[[31m ERROR^[[39m (0.023 secs / 0 secs)\r\n\r\nI confirmed that the versions are the same Meteor 1.03.2, Node 0.10.33, Phantomjs 2.0.0, Chrome 40. Sorry that I can't provide a reproducible repository, it's a very intermittent error likely related to environment. "},"comment":{"url":"https://api.github.com/repos/meteor-velocity/velocity/issues/comments/76224175","html_url":"https://github.com/meteor-velocity/velocity/issues/258#issuecomment-76224175","issue_url":"https://api.github.com/repos/meteor-velocity/velocity/issues/258","id":76224175,"user":{"login":"dcsan","id":514002,"avatar_url":"https://avatars.githubusercontent.com/u/514002?v=3","gravatar_id":"","url":"https://api.github.com/users/dcsan","html_url":"https://github.com/dcsan","followers_url":"https://api.github.com/users/dcsan/followers","following_url":"https://api.github.com/users/dcsan/following{/other_user}","gists_url":"https://api.github.com/users/dcsan/gists{/gist_id}","starred_url":"https://api.github.com/users/dcsan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dcsan/subscriptions","organizations_url":"https://api.github.com/users/dcsan/orgs","repos_url":"https://api.github.com/users/dcsan/repos","events_url":"https://api.github.com/users/dcsan/events{/privacy}","received_events_url":"https://api.github.com/users/dcsan/received_events","type":"User","site_admin":false},"created_at":"2015-02-26T17:31:52Z","updated_at":"2015-02-26T17:31:52Z","body":"which tests are failing? I started setting up travisCI the other day, and it worked fine for unit tests, but had problems with client side integration. \r\n\r\nin order of complexity:\r\n\r\n-  JASMINE_CLIENT_UNIT=1\r\n-  JASMINE_SERVER_UNIT=1\r\n-  JASMINE_CLIENT_INTEGRATION=0\r\n\r\nso you can also turn off certain off the tests with these switches:\r\n\r\n     - JASMINE_BROWSER=Firefox JASMINE_CLIENT_UNIT=1 JASMINE_SERVER_UNIT=1 JASMINE_SERVER_INTEGRATION=0 meteor --test --once\r\n\r\nwhich also works running locally with velo:\r\n\r\n```\r\n  # JASMINE_DEBUG=0 \\\r\n  # VELOCITY_DEBUG=0 \\\r\n  JASMINE_CLIENT_UNIT=0 \\\r\n  JASMINE_SERVER_UNIT=0 \\\r\n  # JASMINE_CLIENT_INTEGRATION=1 \\\r\n  meteor\r\n```\r\n\r\nthere are also various other bugs like turning on integration turned everything else on, and something we couldn't figure out about client unit disabling integration or some combo of the above.\r\n\r\nalso apparently Phantom has some errors so Firefox is recommended, which means a bit more tweaking in your ci file:\r\nhttps://github.com/dcsan/velo-ci/blob/master/.travis.yml\r\n\r\nalso this:\r\n\r\n    rm -rf packages/tests-proxy\r\n\r\nlocally before each test.\r\n\r\n@shilman may have some more ideas.\r\n\r\nlet us know if you solved it, if you can post an CI spec file / travis.yml equivalent for circle?\r\n\r\nso this repo may help to get going with jasmine:\r\nhttps://github.com/dcsan/velo-ci/\r\n"}}