meteor-velocity / velocity-examples

Examples of using testing frameworks that are integrated with Velocity.
84 stars 59 forks source link

Jasmine example client unit tests not executing #40

Closed guysmoilov closed 9 years ago

guysmoilov commented 9 years ago

This is the exact series of commands I executed:

And the HTML view shows client integration\server unit tests passing, but client unit tests are stuck loading forever.

I did notice the following in .meteor/local/log/jasmin-client-unit.log:

Spawn script arguments:
parentPid: null
command: /home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/build/programs/server/npm/sanjo:karma/node_modules/karma/bin/karma
commandArguments: [ 'start',
  '/home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/karma/jasmine-client-unit.config.js' ]
/usr/bin/env: node: No such file or directory

That does not look good. I shouldn't have to install node, right?

This is the output of meteor run:

=> Started proxy.
=> A patch (Meteor 1.0.3.2) for your current release is available!
   Update this project now with 'meteor update --patch'.
=> Started MongoDB.
I20150316-00:19:00.123(2)? ** You've set up some data subscriptions with Meteor.publish(), but
I20150316-00:19:00.124(2)? ** you still have autopublish turned on. Because autopublish is still
I20150316-00:19:00.125(2)? ** on, your Meteor.publish() calls won't have much effect. All data
I20150316-00:19:00.125(2)? ** will still be sent to all clients.
I20150316-00:19:00.125(2)? **
I20150316-00:19:00.125(2)? ** Turn off autopublish by removing the autopublish package:
I20150316-00:19:00.126(2)? **
I20150316-00:19:00.127(2)? **   $ meteor remove autopublish
I20150316-00:19:00.127(2)? **
I20150316-00:19:00.127(2)? ** .. and make sure you have Meteor.publish() and Meteor.subscribe() calls
I20150316-00:19:00.127(2)? ** for each collection that you want clients to see.
I20150316-00:19:00.127(2)? 
I20150316-00:19:00.128(2)? [velocity] adding velocity core
I20150316-00:19:00.128(2)? [velocity] Not adding mirror-registrar because NODE_ENV is development and IS_MIRROR is false
I20150316-00:19:00.435(2)? [velocity] Velocity not started. Queueing func
I20150316-00:19:00.455(2)? [node-soft-mirror] adding server code
I20150316-00:19:00.457(2)? [velocity] Velocity not started. Queueing func
I20150316-00:19:00.457(2)? [velocity] Server startup
I20150316-00:19:00.458(2)? [velocity] app dir /home/user/workspace/velocity-examples/leaderboard-jasmine
I20150316-00:19:00.459(2)? [velocity] config = {
I20150316-00:19:00.459(2)?   "jasmine-client-integration": {
I20150316-00:19:00.459(2)?     "regex": "^tests/jasmine/client/integration/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:00.459(2)?     "name": "jasmine-client-integration",
I20150316-00:19:00.459(2)?     "_regexp": {}
I20150316-00:19:00.459(2)?   },
I20150316-00:19:00.459(2)?   "jasmine-client-unit": {
I20150316-00:19:00.459(2)?     "regex": "^tests/jasmine/client/unit/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:00.459(2)?     "name": "jasmine-client-unit",
I20150316-00:19:00.460(2)?     "_regexp": {}
I20150316-00:19:00.460(2)?   },
I20150316-00:19:00.460(2)?   "jasmine-server-integration": {
I20150316-00:19:00.460(2)?     "regex": "^tests/jasmine/server/integration/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:00.460(2)?     "name": "jasmine-server-integration",
I20150316-00:19:00.460(2)?     "_regexp": {}
I20150316-00:19:00.460(2)?   },
I20150316-00:19:00.461(2)?   "jasmine-server-unit": {
I20150316-00:19:00.461(2)?     "regex": "^tests/jasmine/server/unit/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:00.461(2)?     "name": "jasmine-server-unit",
I20150316-00:19:00.461(2)?     "_regexp": {}
I20150316-00:19:00.461(2)?   }
I20150316-00:19:00.462(2)? }
I20150316-00:19:00.466(2)? [velocity] resetting the world
I20150316-00:19:00.467(2)? [velocity] frameworks with disable auto reset: []
I20150316-00:19:00.522(2)? [velocity-node-mirror] Server restarted.
I20150316-00:19:00.523(2)? [velocity-node-mirror] Aggressively restarting all mirrors
I20150316-00:19:00.524(2)? [node-soft-mirror] Aggressively reload client
=> Started your app.

=> App running at: http://localhost:3000/
I20150316-00:19:00.587(2)? [velocity] Target framework for tests/jasmine/client/integration/LeaderboardSpec.js is jasmine-client-integration
I20150316-00:19:00.589(2)? [velocity] Target framework for tests/jasmine/client/unit/PlayersServiceSpec.js is jasmine-client-unit
I20150316-00:19:00.590(2)? [velocity] Target framework for tests/jasmine/server/unit/PlayersServiceSpec.js is jasmine-server-unit
I20150316-00:19:00.591(2)? [velocity] File scan complete, now watching /tests
I20150316-00:19:00.591(2)? [velocity] Triggering queued startup functions
I20150316-00:19:00.613(2)? [proxy-package-sync] Test file added tests/jasmine/client/integration/LeaderboardSpec.js
I20150316-00:19:00.617(2)? [proxy-package-sync] Test file added tests/jasmine/client/unit/PlayersServiceSpec.js
I20150316-00:19:00.622(2)? [proxy-package-sync] Test file added tests/jasmine/server/unit/PlayersServiceSpec.js
I20150316-00:19:00.626(2)? [sanjo:jasmine]: Starting mirror for jasmine-client-integration
I20150316-00:19:00.635(2)? [sanjo:jasmine]: No tests for jasmine-server-integration found. Reporting completed.
I20150316-00:19:00.729(2)? [velocity] Mirror requested { framework: 'jasmine-client-integration',
I20150316-00:19:00.729(2)?   port: 34150,
I20150316-00:19:00.729(2)?   rootUrlPath: '?jasmine=true',
I20150316-00:19:00.729(2)?   host: 'http://localhost:34150/',
I20150316-00:19:00.730(2)?   rootUrl: 'http://localhost:34150/?jasmine=true' }
I20150316-00:19:00.730(2)? [node-soft-mirror]: LongRunningChildProcess.constructor(taskName=jasmine-client-integration)
I20150316-00:19:00.730(2)? [node-soft-mirror]: LongRunningChildProcess.readPid()
I20150316-00:19:00.732(2)? [node-soft-mirror]: LongRunningChildProcess.readPid returns null
I20150316-00:19:00.733(2)? [node-soft-mirror]: LongRunningChildProcess.isRunning returns false
I20150316-00:19:00.734(2)? [node-soft-mirror]: LongRunningChildProcess.spawn() { command: '/home/user/.meteor/packages/meteor-tool/.1.0.40.cxlz9q++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/bin/node',
I20150316-00:19:00.734(2)?   args: [ '/home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/build/main.js' ],
I20150316-00:19:00.734(2)?   options: 
I20150316-00:19:00.734(2)?    { detached: true,
I20150316-00:19:00.734(2)?      cwd: '/home/user/workspace/velocity-examples/leaderboard-jasmine',
I20150316-00:19:00.734(2)?      env: 
I20150316-00:19:00.734(2)?       { PORT: 34150,
I20150316-00:19:00.734(2)?         HOST: 'http://localhost:34150/',
I20150316-00:19:00.735(2)?         ROOT_URL_PATH: '?jasmine=true',
I20150316-00:19:00.735(2)?         ROOT_URL: 'http://localhost:34150/?jasmine=true',
I20150316-00:19:00.735(2)?         FRAMEWORK: 'jasmine-client-integration',
I20150316-00:19:00.735(2)?         MONGO_URL: 'mongodb://127.0.0.1:3001/jasmine-client-integration',
I20150316-00:19:00.735(2)?         PARENT_URL: 'http://localhost:3000/',
I20150316-00:19:00.735(2)?         IS_MIRROR: true,
I20150316-00:19:00.735(2)?         METEOR_SETTINGS: '{}',
I20150316-00:19:00.735(2)?         LC_PAPER: 'he_IL.UTF-8',
I20150316-00:19:00.735(2)?         XDG_VTNR: '7',
I20150316-00:19:00.735(2)?         XDG_SESSION_ID: 'c2',
I20150316-00:19:00.735(2)?         KDE_MULTIHEAD: 'false',
I20150316-00:19:00.736(2)?         LC_ADDRESS: 'he_IL.UTF-8',
I20150316-00:19:00.736(2)?         LC_MONETARY: 'he_IL.UTF-8',
I20150316-00:19:00.736(2)?         XDG_GREETER_DATA_DIR: '/var/lib/lightdm-data/user',
I20150316-00:19:00.737(2)?         SESSION: 'kde-plasma',
I20150316-00:19:00.737(2)?         GPG_AGENT_INFO: '/run/user/1000/keyring-8Nlvcr/gpg:0:1',
I20150316-00:19:00.738(2)?         SHELL: '/bin/bash',
I20150316-00:19:00.738(2)?         TERM: 'xterm',
I20150316-00:19:00.738(2)?         KONSOLE_DBUS_SERVICE: ':1.41',
I20150316-00:19:00.738(2)?         GTK2_RC_FILES: '/etc/gtk-2.0/gtkrc:/home/user/.gtkrc-2.0:/home/user/.kde/share/config/gtkrc-2.0',
I20150316-00:19:00.738(2)?         KONSOLE_PROFILE_NAME: 'Shell',
I20150316-00:19:00.738(2)?         GS_LIB: '/home/user/.fonts',
I20150316-00:19:00.738(2)?         GTK_RC_FILES: '/etc/gtk/gtkrc:/home/user/.gtkrc:/home/user/.kde/share/config/gtkrc',
I20150316-00:19:00.738(2)?         LC_NUMERIC: 'he_IL.UTF-8',
I20150316-00:19:00.738(2)?         WINDOWID: '58720295',
I20150316-00:19:00.738(2)?         GNOME_KEYRING_CONTROL: '/run/user/1000/keyring-8Nlvcr',
I20150316-00:19:00.738(2)?         UPSTART_SESSION: 'unix:abstract=/com/ubuntu/upstart-session/1000/1873',
I20150316-00:19:00.738(2)?         OLDPWD: '/home/user/.meteor/packages/meteor-tool/1.0.40/meteor-tool-os.linux.x86_64',
I20150316-00:19:00.739(2)?         SHELL_SESSION_ID: '4e3bd5007b1a4000867f3c0c0a790546',
I20150316-00:19:00.739(2)?         KDE_FULL_SESSION: 'true',
I20150316-00:19:00.739(2)?         JASMINE_DEBUG: '1',
I20150316-00:19:00.739(2)?         USER: 'user',
I20150316-00:19:00.739(2)?         LC_TELEPHONE: 'he_IL.UTF-8',
I20150316-00:19:00.739(2)?         LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:',
I20150316-00:19:00.739(2)?         XDG_SESSION_PATH: '/org/freedesktop/DisplayManager/Session0',
I20150316-00:19:00.829(2)?         XDG_SEAT_PATH: '/org/freedesktop/DisplayManager/Seat0',
I20150316-00:19:00.831(2)?         SSH_AUTH_SOCK: '/run/user/1000/keyring-8Nlvcr/ssh',
I20150316-00:19:00.831(2)?         DEFAULTS_PATH: '/usr/share/gconf/kde-plasma.default.path',
I20150316-00:19:00.831(2)?         SESSION_MANAGER: 'local/kubuntu-VirtualBox:@/tmp/.ICE-unix/2222,unix/kubuntu-VirtualBox:/tmp/.ICE-unix/2222',
I20150316-00:19:00.831(2)?         XDG_CONFIG_DIRS: '/etc/xdg/xdg-kde-plasma:/usr/share/upstart/xdg:/etc/xdg',
I20150316-00:19:00.831(2)?         PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games',
I20150316-00:19:00.831(2)?         DESKTOP_SESSION: 'kde-plasma',
I20150316-00:19:00.831(2)?         VELOCITY_DEBUG_MIRROR: '1',
I20150316-00:19:00.831(2)?         LC_IDENTIFICATION: 'he_IL.UTF-8',
I20150316-00:19:00.831(2)?         PWD: '/home/user/workspace/velocity-examples/leaderboard-jasmine',
I20150316-00:19:00.831(2)?         XDG_SESSION_TYPE: 'x11',
I20150316-00:19:00.831(2)?         JOB: 'dbus',
I20150316-00:19:00.831(2)?         KONSOLE_DBUS_WINDOW: '/Windows/2',
I20150316-00:19:00.831(2)?         KDE_SESSION_UID: '1000',
I20150316-00:19:00.831(2)?         GNOME_KEYRING_PID: '1870',
I20150316-00:19:00.832(2)?         LANG: 'en_US.UTF-8',
I20150316-00:19:00.833(2)?         GDM_LANG: 'en_US',
I20150316-00:19:00.833(2)?         MANDATORY_PATH: '/usr/share/gconf/kde-plasma.mandatory.path',
I20150316-00:19:00.833(2)?         LC_MEASUREMENT: 'he_IL.UTF-8',
I20150316-00:19:00.833(2)?         IM_CONFIG_PHASE: '1',
I20150316-00:19:00.834(2)?         KONSOLE_DBUS_SESSION: '/Sessions/6',
I20150316-00:19:00.834(2)?         GDMSESSION: 'kde-plasma',
I20150316-00:19:00.834(2)?         SESSIONTYPE: '',
I20150316-00:19:00.835(2)?         HOME: '/home/user',
I20150316-00:19:00.837(2)?         XDG_SEAT: 'seat0',
I20150316-00:19:00.837(2)?         COLORFGBG: '15;0',
I20150316-00:19:00.837(2)?         SHLVL: '1',
I20150316-00:19:00.837(2)?         LANGUAGE: 'en_US',
I20150316-00:19:00.837(2)?         KDE_SESSION_VERSION: '4',
I20150316-00:19:00.837(2)?         XCURSOR_THEME: 'oxy-white',
I20150316-00:19:00.837(2)?         UPSTART_INSTANCE: '',
I20150316-00:19:00.837(2)?         VELOCITY_DEBUG: '1',
I20150316-00:19:00.837(2)?         LOGNAME: 'user',
I20150316-00:19:00.838(2)?         XDG_SESSION_DESKTOP: 'kde-plasma',
I20150316-00:19:00.838(2)?         UPSTART_EVENTS: 'started xsession',
I20150316-00:19:00.838(2)?         XDG_DATA_DIRS: '/usr/share:/usr/share/kde-plasma:/usr/local/share/:/usr/share/',
I20150316-00:19:00.838(2)?         DBUS_SESSION_BUS_ADDRESS: 'unix:abstract=/tmp/dbus-brQGXTpAle',
I20150316-00:19:00.838(2)?         LESSOPEN: '| /usr/bin/lesspipe %s',
I20150316-00:19:00.839(2)?         TEXTDOMAIN: 'im-config',
I20150316-00:19:00.839(2)?         UPSTART_JOB: 'startkde',
I20150316-00:19:00.839(2)?         INSTANCE: '',
I20150316-00:19:00.839(2)?         DISPLAY: ':0',
I20150316-00:19:00.839(2)?         XDG_RUNTIME_DIR: '/run/user/1000',
I20150316-00:19:00.839(2)?         PROFILEHOME: '',
I20150316-00:19:00.839(2)?         QT_PLUGIN_PATH: '/home/user/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/',
I20150316-00:19:00.839(2)?         XDG_CURRENT_DESKTOP: 'KDE',
I20150316-00:19:00.839(2)?         PAM_KWALLET_LOGIN: '/tmp//user.socket',
I20150316-00:19:00.839(2)?         LC_TIME: 'he_IL.UTF-8',
I20150316-00:19:00.839(2)?         LESSCLOSE: '/usr/bin/lesspipe %s %s',
I20150316-00:19:00.839(2)?         DEBUG: '1',
I20150316-00:19:00.839(2)?         TEXTDOMAINDIR: '/usr/share/locale/',
I20150316-00:19:00.839(2)?         LC_NAME: 'he_IL.UTF-8',
I20150316-00:19:00.841(2)?         XAUTHORITY: '/tmp/kde-user/xauth-1000-_0',
I20150316-00:19:00.841(2)?         MOBILE_DDP_URL: 'http://localhost:3000',
I20150316-00:19:00.841(2)?         MOBILE_ROOT_URL: 'http://localhost:3000',
I20150316-00:19:00.841(2)?         MONGO_OPLOG_URL: 'mongodb://127.0.0.1:3001/local',
I20150316-00:19:00.841(2)?         APP_ID: 'xpe36g116hja314fpuu5',
I20150316-00:19:00.841(2)?         NODE_ENV: 'development',
I20150316-00:19:00.841(2)?         HTTP_FORWARDED_COUNT: '1',
I20150316-00:19:00.842(2)?         ENABLE_METEOR_SHELL: 'true',
I20150316-00:19:00.842(2)?         METEOR_PARENT_PID: '18882',
I20150316-00:19:00.842(2)?         METEOR_PRINT_ON_LISTEN: 'true' } } }
I20150316-00:19:00.842(2)? [node-soft-mirror]: LongRunningChildProcess.isRunning returns false
I20150316-00:19:00.843(2)? [node-soft-mirror]: /home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/build/programs/server/assets/packages/velocity_node-soft-mirror/lib/spawnScript.js
I20150316-00:19:00.843(2)? [node-soft-mirror]: The pid of the main Meteor app process is null
I20150316-00:19:00.843(2)? [node-soft-mirror]: LongRunningChildProcess.spawn is spawning 'node'
I20150316-00:19:00.843(2)? [node-soft-mirror]: LongRunningChildProcess._setPid(pid=18997)
I20150316-00:19:00.843(2)? [node-soft-mirror]: Saving jasmine-client-integration pid 18997 to /home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/run/jasmine-client-integration.pid
I20150316-00:19:00.848(2)? [velocity-node-mirror] Mirror process forked with pid 18997
I20150316-00:19:00.849(2)? [proxy-package-sync] Checking if a new package.js needs to be written because {} undefined
I20150316-00:19:00.849(2)? [proxy-package-sync] Generating in-memory package.js
I20150316-00:19:00.849(2)? [proxy-package-sync] Fixture files list length:  0
I20150316-00:19:00.849(2)? [proxy-package-sync] Test files list length:  3
I20150316-00:19:00.849(2)? [proxy-package-sync] Test file will be included in mirror tests/jasmine/client/integration/LeaderboardSpec.js
I20150316-00:19:00.850(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/client/unit/PlayersServiceSpec.js
I20150316-00:19:00.850(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/server/unit/PlayersServiceSpec.js
I20150316-00:19:00.850(2)? [proxy-package-sync] package.js file does not exist
I20150316-00:19:00.850(2)? [proxy-package-sync] Changes detected. Clearing package.js file and restarting
I20150316-00:19:00.850(2)? [proxy-package-sync] creating symlink to tests directory
I20150316-00:19:00.850(2)? [proxy-package-sync] writing package.js file
W20150316-00:19:00.926(2)? (STDERR) connections property is deprecated. Use getConnections() method
I20150316-00:19:01.052(2)? [velocity] Target framework for tests/jasmine/server/unit/package-stubs.js is jasmine-server-unit
I20150316-00:19:01.059(2)? [proxy-package-sync] Test file added tests/jasmine/server/unit/package-stubs.js
=> Server modified -- restarting...

I20150316-00:19:04.337(2)? ** You've set up some data subscriptions with Meteor.publish(), but
I20150316-00:19:04.338(2)? ** you still have autopublish turned on. Because autopublish is still
I20150316-00:19:04.338(2)? ** on, your Meteor.publish() calls won't have much effect. All data
I20150316-00:19:04.338(2)? ** will still be sent to all clients.
I20150316-00:19:04.338(2)? **
I20150316-00:19:04.338(2)? ** Turn off autopublish by removing the autopublish package:
I20150316-00:19:04.339(2)? **
I20150316-00:19:04.339(2)? **   $ meteor remove autopublish
I20150316-00:19:04.339(2)? **
I20150316-00:19:04.339(2)? ** .. and make sure you have Meteor.publish() and Meteor.subscribe() calls
I20150316-00:19:04.339(2)? ** for each collection that you want clients to see.
I20150316-00:19:04.339(2)? 
I20150316-00:19:04.343(2)? [velocity] adding velocity core
I20150316-00:19:04.384(2)? [velocity] Not adding mirror-registrar because NODE_ENV is development and IS_MIRROR is false
I20150316-00:19:04.662(2)? [velocity] Velocity not started. Queueing func
I20150316-00:19:04.683(2)? [node-soft-mirror] adding server code
I20150316-00:19:04.690(2)? [velocity] Velocity not started. Queueing func
I20150316-00:19:04.690(2)? [velocity] Server startup
I20150316-00:19:04.691(2)? [velocity] app dir /home/user/workspace/velocity-examples/leaderboard-jasmine
I20150316-00:19:04.691(2)? [velocity] config = {
I20150316-00:19:04.691(2)?   "jasmine-client-integration": {
I20150316-00:19:04.692(2)?     "regex": "^tests/jasmine/client/integration/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:04.692(2)?     "name": "jasmine-client-integration",
I20150316-00:19:04.692(2)?     "_regexp": {}
I20150316-00:19:04.692(2)?   },
I20150316-00:19:04.692(2)?   "jasmine-client-unit": {
I20150316-00:19:04.693(2)?     "regex": "^tests/jasmine/client/unit/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:04.693(2)?     "name": "jasmine-client-unit",
I20150316-00:19:04.693(2)?     "_regexp": {}
I20150316-00:19:04.693(2)?   },
I20150316-00:19:04.693(2)?   "jasmine-server-integration": {
I20150316-00:19:04.693(2)?     "regex": "^tests/jasmine/server/integration/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:04.693(2)?     "name": "jasmine-server-integration",
I20150316-00:19:04.693(2)?     "_regexp": {}
I20150316-00:19:04.693(2)?   },
I20150316-00:19:04.693(2)?   "jasmine-server-unit": {
I20150316-00:19:04.693(2)?     "regex": "^tests/jasmine/server/unit/.+\\.(js|coffee|litcoffee|coffee\\.md)$",
I20150316-00:19:04.694(2)?     "name": "jasmine-server-unit",
I20150316-00:19:04.694(2)?     "_regexp": {}
I20150316-00:19:04.694(2)?   }
I20150316-00:19:04.694(2)? }
I20150316-00:19:04.697(2)? [velocity] resetting the world
I20150316-00:19:04.698(2)? [velocity] frameworks with disable auto reset: []
I20150316-00:19:04.733(2)? [velocity-node-mirror] Server restarted.
I20150316-00:19:04.734(2)? [velocity-node-mirror] Aggressively restarting all mirrors
I20150316-00:19:04.740(2)? [node-soft-mirror]: LongRunningChildProcess.constructor(taskName=jasmine-client-integration)
I20150316-00:19:04.741(2)? [node-soft-mirror]: LongRunningChildProcess.readPid()
I20150316-00:19:04.741(2)? [node-soft-mirror]: LongRunningChildProcess.readPid returns 18997
I20150316-00:19:04.743(2)? [node-soft-mirror]: LongRunningChildProcess.isRunning returns true
I20150316-00:19:04.744(2)? [node-soft-mirror] Restarting Mirror for framework jasmine-client-integration
I20150316-00:19:04.744(2)? [node-soft-mirror]: LongRunningChildProcess.kill(signal=SIGINT)
I20150316-00:19:04.752(2)? [velocity] Mirror requested { framework: 'jasmine-client-integration',
I20150316-00:19:04.752(2)?   port: 34150,
I20150316-00:19:04.752(2)?   rootUrlPath: '?jasmine=true',
I20150316-00:19:04.752(2)?   host: 'http://localhost:34150/',
I20150316-00:19:04.752(2)?   rootUrl: 'http://localhost:34150/?jasmine=true' }
I20150316-00:19:04.754(2)? [node-soft-mirror]: LongRunningChildProcess.isRunning returns false
I20150316-00:19:04.756(2)? [node-soft-mirror]: LongRunningChildProcess.spawn() { command: '/home/user/.meteor/packages/meteor-tool/.1.0.40.cxlz9q++os.linux.x86_64+web.browser+web.cordova/meteor-tool-os.linux.x86_64/dev_bundle/bin/node',
I20150316-00:19:04.757(2)?   args: [ '/home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/build/main.js' ],
I20150316-00:19:04.757(2)?   options: 
I20150316-00:19:04.757(2)?    { detached: true,
I20150316-00:19:04.757(2)?      cwd: '/home/user/workspace/velocity-examples/leaderboard-jasmine',
I20150316-00:19:04.757(2)?      env: 
I20150316-00:19:04.757(2)?       { PORT: 34150,
I20150316-00:19:04.757(2)?         HOST: 'http://localhost:34150/',
I20150316-00:19:04.757(2)?         ROOT_URL_PATH: '?jasmine=true',
I20150316-00:19:04.757(2)?         ROOT_URL: 'http://localhost:34150/?jasmine=true',
I20150316-00:19:04.757(2)?         FRAMEWORK: 'jasmine-client-integration',
I20150316-00:19:04.757(2)?         MONGO_URL: 'mongodb://127.0.0.1:3001/jasmine-client-integration',
I20150316-00:19:04.758(2)?         PARENT_URL: 'http://localhost:3000/',
I20150316-00:19:04.758(2)?         IS_MIRROR: true,
I20150316-00:19:04.758(2)?         METEOR_SETTINGS: '{}',
I20150316-00:19:04.758(2)?         LC_PAPER: 'he_IL.UTF-8',
I20150316-00:19:04.758(2)?         XDG_VTNR: '7',
I20150316-00:19:04.758(2)?         XDG_SESSION_ID: 'c2',
I20150316-00:19:04.758(2)?         KDE_MULTIHEAD: 'false',
I20150316-00:19:04.758(2)?         LC_ADDRESS: 'he_IL.UTF-8',
I20150316-00:19:04.758(2)?         LC_MONETARY: 'he_IL.UTF-8',
I20150316-00:19:04.758(2)?         XDG_GREETER_DATA_DIR: '/var/lib/lightdm-data/user',
I20150316-00:19:04.758(2)?         SESSION: 'kde-plasma',
I20150316-00:19:04.758(2)?         GPG_AGENT_INFO: '/run/user/1000/keyring-8Nlvcr/gpg:0:1',
I20150316-00:19:04.758(2)?         SHELL: '/bin/bash',
I20150316-00:19:04.758(2)?         TERM: 'xterm',
I20150316-00:19:04.758(2)?         KONSOLE_DBUS_SERVICE: ':1.41',
I20150316-00:19:04.758(2)?         GTK2_RC_FILES: '/etc/gtk-2.0/gtkrc:/home/user/.gtkrc-2.0:/home/user/.kde/share/config/gtkrc-2.0',
I20150316-00:19:04.758(2)?         KONSOLE_PROFILE_NAME: 'Shell',
I20150316-00:19:04.759(2)?         GS_LIB: '/home/user/.fonts',
I20150316-00:19:04.759(2)?         GTK_RC_FILES: '/etc/gtk/gtkrc:/home/user/.gtkrc:/home/user/.kde/share/config/gtkrc',
I20150316-00:19:04.759(2)?         LC_NUMERIC: 'he_IL.UTF-8',
I20150316-00:19:04.759(2)?         WINDOWID: '58720295',
I20150316-00:19:04.759(2)?         GNOME_KEYRING_CONTROL: '/run/user/1000/keyring-8Nlvcr',
I20150316-00:19:04.759(2)?         UPSTART_SESSION: 'unix:abstract=/com/ubuntu/upstart-session/1000/1873',
I20150316-00:19:04.759(2)?         OLDPWD: '/home/user/.meteor/packages/meteor-tool/1.0.40/meteor-tool-os.linux.x86_64',
I20150316-00:19:04.759(2)?         SHELL_SESSION_ID: '4e3bd5007b1a4000867f3c0c0a790546',
I20150316-00:19:04.759(2)?         KDE_FULL_SESSION: 'true',
I20150316-00:19:04.759(2)?         JASMINE_DEBUG: '1',
I20150316-00:19:04.759(2)?         USER: 'user',
I20150316-00:19:04.760(2)?         LC_TELEPHONE: 'he_IL.UTF-8',
I20150316-00:19:04.760(2)?         LS_COLORS: 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:',
I20150316-00:19:04.760(2)?         XDG_SESSION_PATH: '/org/freedesktop/DisplayManager/Session0',
I20150316-00:19:04.760(2)?         XDG_SEAT_PATH: '/org/freedesktop/DisplayManager/Seat0',
I20150316-00:19:04.760(2)?         SSH_AUTH_SOCK: '/run/user/1000/keyring-8Nlvcr/ssh',
I20150316-00:19:04.760(2)?         DEFAULTS_PATH: '/usr/share/gconf/kde-plasma.default.path',
I20150316-00:19:04.760(2)?         SESSION_MANAGER: 'local/kubuntu-VirtualBox:@/tmp/.ICE-unix/2222,unix/kubuntu-VirtualBox:/tmp/.ICE-unix/2222',
I20150316-00:19:04.760(2)?         XDG_CONFIG_DIRS: '/etc/xdg/xdg-kde-plasma:/usr/share/upstart/xdg:/etc/xdg',
I20150316-00:19:04.761(2)?         PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games',
I20150316-00:19:04.761(2)?         DESKTOP_SESSION: 'kde-plasma',
I20150316-00:19:04.761(2)?         VELOCITY_DEBUG_MIRROR: '1',
I20150316-00:19:04.761(2)?         LC_IDENTIFICATION: 'he_IL.UTF-8',
I20150316-00:19:04.761(2)?         PWD: '/home/user/workspace/velocity-examples/leaderboard-jasmine',
I20150316-00:19:04.762(2)?         XDG_SESSION_TYPE: 'x11',
I20150316-00:19:04.762(2)?         JOB: 'dbus',
I20150316-00:19:04.762(2)?         KONSOLE_DBUS_WINDOW: '/Windows/2',
I20150316-00:19:04.762(2)?         KDE_SESSION_UID: '1000',
I20150316-00:19:04.762(2)?         GNOME_KEYRING_PID: '1870',
I20150316-00:19:04.762(2)?         LANG: 'en_US.UTF-8',
I20150316-00:19:04.762(2)?         GDM_LANG: 'en_US',
I20150316-00:19:04.762(2)?         MANDATORY_PATH: '/usr/share/gconf/kde-plasma.mandatory.path',
I20150316-00:19:04.763(2)?         LC_MEASUREMENT: 'he_IL.UTF-8',
I20150316-00:19:04.763(2)?         IM_CONFIG_PHASE: '1',
I20150316-00:19:04.763(2)?         KONSOLE_DBUS_SESSION: '/Sessions/6',
I20150316-00:19:04.763(2)?         GDMSESSION: 'kde-plasma',
I20150316-00:19:04.763(2)?         SESSIONTYPE: '',
I20150316-00:19:04.763(2)?         HOME: '/home/user',
I20150316-00:19:04.764(2)?         XDG_SEAT: 'seat0',
I20150316-00:19:04.769(2)?         COLORFGBG: '15;0',
I20150316-00:19:04.769(2)?         SHLVL: '1',
I20150316-00:19:04.769(2)?         LANGUAGE: 'en_US',
I20150316-00:19:04.769(2)?         KDE_SESSION_VERSION: '4',
I20150316-00:19:04.769(2)?         XCURSOR_THEME: 'oxy-white',
I20150316-00:19:04.769(2)?         UPSTART_INSTANCE: '',
I20150316-00:19:04.770(2)?         VELOCITY_DEBUG: '1',
I20150316-00:19:04.773(2)?         LOGNAME: 'user',
I20150316-00:19:04.773(2)?         XDG_SESSION_DESKTOP: 'kde-plasma',
I20150316-00:19:04.773(2)?         UPSTART_EVENTS: 'started xsession',
I20150316-00:19:04.773(2)?         XDG_DATA_DIRS: '/usr/share:/usr/share/kde-plasma:/usr/local/share/:/usr/share/',
I20150316-00:19:04.773(2)?         DBUS_SESSION_BUS_ADDRESS: 'unix:abstract=/tmp/dbus-brQGXTpAle',
I20150316-00:19:04.773(2)?         LESSOPEN: '| /usr/bin/lesspipe %s',
I20150316-00:19:04.773(2)?         TEXTDOMAIN: 'im-config',
I20150316-00:19:04.774(2)?         UPSTART_JOB: 'startkde',
I20150316-00:19:04.774(2)?         INSTANCE: '',
I20150316-00:19:04.774(2)?         DISPLAY: ':0',
I20150316-00:19:04.774(2)?         XDG_RUNTIME_DIR: '/run/user/1000',
I20150316-00:19:04.774(2)?         PROFILEHOME: '',
I20150316-00:19:04.774(2)?         QT_PLUGIN_PATH: '/home/user/.kde/lib/kde4/plugins/:/usr/lib/kde4/plugins/',
I20150316-00:19:04.774(2)?         XDG_CURRENT_DESKTOP: 'KDE',
I20150316-00:19:04.774(2)?         PAM_KWALLET_LOGIN: '/tmp//user.socket',
I20150316-00:19:04.774(2)?         LC_TIME: 'he_IL.UTF-8',
I20150316-00:19:04.774(2)?         LESSCLOSE: '/usr/bin/lesspipe %s %s',
I20150316-00:19:04.774(2)?         DEBUG: '1',
I20150316-00:19:04.774(2)?         TEXTDOMAINDIR: '/usr/share/locale/',
I20150316-00:19:04.774(2)?         LC_NAME: 'he_IL.UTF-8',
I20150316-00:19:04.774(2)?         XAUTHORITY: '/tmp/kde-user/xauth-1000-_0',
I20150316-00:19:04.774(2)?         MOBILE_DDP_URL: 'http://localhost:3000',
I20150316-00:19:04.774(2)?         MOBILE_ROOT_URL: 'http://localhost:3000',
I20150316-00:19:04.774(2)?         MONGO_OPLOG_URL: 'mongodb://127.0.0.1:3001/local',
I20150316-00:19:04.774(2)?         APP_ID: 'xpe36g116hja314fpuu5',
I20150316-00:19:04.774(2)?         NODE_ENV: 'development',
I20150316-00:19:04.775(2)?         HTTP_FORWARDED_COUNT: '1',
I20150316-00:19:04.775(2)?         ENABLE_METEOR_SHELL: 'true',
I20150316-00:19:04.775(2)?         METEOR_PARENT_PID: '18882',
I20150316-00:19:04.775(2)?         METEOR_PRINT_ON_LISTEN: 'true' } } }
I20150316-00:19:04.775(2)? [node-soft-mirror]: LongRunningChildProcess.isRunning returns false
I20150316-00:19:04.775(2)? [node-soft-mirror]: /home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/build/programs/server/assets/packages/velocity_node-soft-mirror/lib/spawnScript.js
I20150316-00:19:04.775(2)? [node-soft-mirror]: The pid of the main Meteor app process is null
I20150316-00:19:04.775(2)? [node-soft-mirror]: LongRunningChildProcess.spawn is spawning 'node'
I20150316-00:19:04.827(2)? [node-soft-mirror]: LongRunningChildProcess._setPid(pid=19047)
I20150316-00:19:04.829(2)? [node-soft-mirror]: Saving jasmine-client-integration pid 19047 to /home/user/workspace/velocity-examples/leaderboard-jasmine/.meteor/local/run/jasmine-client-integration.pid
I20150316-00:19:04.829(2)? [velocity-node-mirror] Mirror process forked with pid 19047
I20150316-00:19:04.831(2)? [node-soft-mirror] Aggressively reload client
=> Meteor server restarted
I20150316-00:19:04.978(2)? [velocity] Target framework for tests/jasmine/client/integration/LeaderboardSpec.js is jasmine-client-integration
I20150316-00:19:04.981(2)? [velocity] Target framework for tests/jasmine/client/unit/PlayersServiceSpec.js is jasmine-client-unit
I20150316-00:19:04.983(2)? [velocity] Target framework for tests/jasmine/server/unit/PlayersServiceSpec.js is jasmine-server-unit
I20150316-00:19:04.986(2)? [velocity] Target framework for tests/jasmine/server/unit/package-stubs.js is jasmine-server-unit
I20150316-00:19:04.989(2)? [velocity] File scan complete, now watching /tests
I20150316-00:19:04.989(2)? [velocity] Triggering queued startup functions
I20150316-00:19:05.023(2)? [proxy-package-sync] Test file added tests/jasmine/client/integration/LeaderboardSpec.js
I20150316-00:19:05.029(2)? [proxy-package-sync] Test file added tests/jasmine/client/unit/PlayersServiceSpec.js
I20150316-00:19:05.030(2)? [proxy-package-sync] Test file added tests/jasmine/server/unit/PlayersServiceSpec.js
I20150316-00:19:05.030(2)? [proxy-package-sync] Test file added tests/jasmine/server/unit/package-stubs.js
I20150316-00:19:05.036(2)? [sanjo:jasmine]: Starting mirror for jasmine-client-integration
I20150316-00:19:05.045(2)? [sanjo:jasmine]: No tests for jasmine-server-integration found. Reporting completed.
I20150316-00:19:05.137(2)? [velocity] Mirror requested { framework: 'jasmine-client-integration',
I20150316-00:19:05.138(2)?   port: 45891,
I20150316-00:19:05.138(2)?   rootUrlPath: '?jasmine=true',
I20150316-00:19:05.138(2)?   host: 'http://localhost:45891/',
I20150316-00:19:05.138(2)?   rootUrl: 'http://localhost:45891/?jasmine=true' }
I20150316-00:19:05.138(2)? [node-soft-mirror]: LongRunningChildProcess.isRunning returns true
I20150316-00:19:05.231(2)? [proxy-package-sync] Checking if a new package.js needs to be written because {} undefined
I20150316-00:19:05.231(2)? [proxy-package-sync] Generating in-memory package.js
I20150316-00:19:05.234(2)? [proxy-package-sync] Fixture files list length:  0
I20150316-00:19:05.234(2)? [proxy-package-sync] Test files list length:  4
I20150316-00:19:05.234(2)? [proxy-package-sync] Test file will be included in mirror tests/jasmine/client/integration/LeaderboardSpec.js
I20150316-00:19:05.234(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/client/unit/PlayersServiceSpec.js
I20150316-00:19:05.234(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/server/unit/package-stubs.js
I20150316-00:19:05.234(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/server/unit/PlayersServiceSpec.js
I20150316-00:19:05.234(2)? [proxy-package-sync] Comparing:
I20150316-00:19:05.235(2)? [proxy-package-sync] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I20150316-00:19:05.235(2)? [proxy-package-sync] - - - - - - - - - currentPackageJS: - - - - - - - - - - - - -
I20150316-00:19:05.235(2)? Package.describe({
I20150316-00:19:05.235(2)?    name: "velocity:test-proxy",
I20150316-00:19:05.235(2)?    summary: "Dynamically created package to expose test files to mirrors",
I20150316-00:19:05.235(2)?    version: "0.0.4",
I20150316-00:19:05.235(2)?    debugOnly: true
I20150316-00:19:05.235(2)? });
I20150316-00:19:05.235(2)? 
I20150316-00:19:05.235(2)? Package.on_use(function (api) {
I20150316-00:19:05.235(2)?    api.use("coffeescript", ["client", "server"]);
I20150316-00:19:05.235(2)?    api.add_files("tests/jasmine/client/integration/LeaderboardSpec.js",["client"]);
I20150316-00:19:05.235(2)? });
I20150316-00:19:05.235(2)? [proxy-package-sync] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I20150316-00:19:05.235(2)? [proxy-package-sync] - - - - - - - - - generatedPackageJsContent - - - - - - - - -
I20150316-00:19:05.235(2)? Package.describe({
I20150316-00:19:05.235(2)?    name: "velocity:test-proxy",
I20150316-00:19:05.235(2)?    summary: "Dynamically created package to expose test files to mirrors",
I20150316-00:19:05.236(2)?    version: "0.0.4",
I20150316-00:19:05.236(2)?    debugOnly: true
I20150316-00:19:05.237(2)? });
I20150316-00:19:05.237(2)? 
I20150316-00:19:05.237(2)? Package.on_use(function (api) {
I20150316-00:19:05.237(2)?    api.use("coffeescript", ["client", "server"]);
I20150316-00:19:05.237(2)?    api.add_files("tests/jasmine/client/integration/LeaderboardSpec.js",["client"]);
I20150316-00:19:05.237(2)? });
I20150316-00:19:05.237(2)? [proxy-package-sync] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I20150316-00:19:05.237(2)? [proxy-package-sync] No changes to package.js file required
W20150316-00:19:05.321(2)? (STDERR) connections property is deprecated. Use getConnections() method
I20150316-00:19:05.416(2)? [velocity] File changed: tests/jasmine/server/unit/package-stubs.js
I20150316-00:19:05.509(2)? [sanjo:jasmine]: loading mock file: /home/user/workspace/velocity-examples/leaderboard-jasmine/tests/jasmine/server/unit/package-stubs.js
I20150316-00:19:05.512(2)? [sanjo:jasmine]: loading source file: /home/user/workspace/velocity-examples/leaderboard-jasmine/tests/jasmine/server/unit/package-stubs.js
I20150316-00:19:05.612(2)? [sanjo:jasmine]: loading source file: /home/user/workspace/velocity-examples/leaderboard-jasmine/leaderboard.js
I20150316-00:19:05.621(2)? [sanjo:jasmine]: loading source file: /home/user/workspace/velocity-examples/leaderboard-jasmine/tests/jasmine/server/unit/PlayersServiceSpec.js
I20150316-00:19:05.624(2)? [velocity] Target framework for tests/jasmine/server/unit/packageMocksSpec.js is jasmine-server-unit
I20150316-00:19:05.630(2)? [proxy-package-sync] Test file added tests/jasmine/server/unit/packageMocksSpec.js
I20150316-00:19:05.643(2)? [sanjo:jasmine]: loading source file: /home/user/workspace/velocity-examples/leaderboard-jasmine/tests/jasmine/server/unit/package-stubs.js
I20150316-00:19:05.675(2)? [sanjo:jasmine]: loading source file: /home/user/workspace/velocity-examples/leaderboard-jasmine/tests/jasmine/server/unit/packageMocksSpec.js
I20150316-00:19:05.832(2)? [proxy-package-sync] Checking if a new package.js needs to be written because {} undefined
I20150316-00:19:05.833(2)? [proxy-package-sync] Generating in-memory package.js
I20150316-00:19:05.835(2)? [proxy-package-sync] Fixture files list length:  0
I20150316-00:19:05.838(2)? [proxy-package-sync] Test files list length:  5
I20150316-00:19:05.838(2)? [proxy-package-sync] Test file will be included in mirror tests/jasmine/client/integration/LeaderboardSpec.js
I20150316-00:19:05.839(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/client/unit/PlayersServiceSpec.js
I20150316-00:19:05.839(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/server/unit/package-stubs.js
I20150316-00:19:05.839(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/server/unit/packageMocksSpec.js
I20150316-00:19:05.839(2)? [proxy-package-sync] Test file will not be included in mirror tests/jasmine/server/unit/PlayersServiceSpec.js
I20150316-00:19:05.842(2)? [proxy-package-sync] Comparing:
I20150316-00:19:05.843(2)? [proxy-package-sync] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I20150316-00:19:05.843(2)? [proxy-package-sync] - - - - - - - - - currentPackageJS: - - - - - - - - - - - - -
I20150316-00:19:05.843(2)? Package.describe({
I20150316-00:19:05.843(2)?    name: "velocity:test-proxy",
I20150316-00:19:05.844(2)?    summary: "Dynamically created package to expose test files to mirrors",
I20150316-00:19:05.848(2)?    version: "0.0.4",
I20150316-00:19:05.848(2)?    debugOnly: true
I20150316-00:19:05.848(2)? });
I20150316-00:19:05.848(2)? 
I20150316-00:19:05.848(2)? Package.on_use(function (api) {
I20150316-00:19:05.848(2)?    api.use("coffeescript", ["client", "server"]);
I20150316-00:19:05.848(2)?    api.add_files("tests/jasmine/client/integration/LeaderboardSpec.js",["client"]);
I20150316-00:19:05.848(2)? });
I20150316-00:19:05.851(2)? [proxy-package-sync] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I20150316-00:19:05.851(2)? [proxy-package-sync] - - - - - - - - - generatedPackageJsContent - - - - - - - - -
I20150316-00:19:05.852(2)? Package.describe({
I20150316-00:19:05.852(2)?    name: "velocity:test-proxy",
I20150316-00:19:05.852(2)?    summary: "Dynamically created package to expose test files to mirrors",
I20150316-00:19:05.852(2)?    version: "0.0.4",
I20150316-00:19:05.852(2)?    debugOnly: true
I20150316-00:19:05.852(2)? });
I20150316-00:19:05.852(2)? 
I20150316-00:19:05.852(2)? Package.on_use(function (api) {
I20150316-00:19:05.852(2)?    api.use("coffeescript", ["client", "server"]);
I20150316-00:19:05.852(2)?    api.add_files("tests/jasmine/client/integration/LeaderboardSpec.js",["client"]);
I20150316-00:19:05.852(2)? });
I20150316-00:19:05.853(2)? [proxy-package-sync] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
I20150316-00:19:05.853(2)? [proxy-package-sync] No changes to package.js file required
I20150316-00:19:06.139(2)? [velocity] Mirror registered. Handshaking with mirror...
I20150316-00:19:06.451(2)? [velocity] Connected to mirror, setting state to ready { framework: 'jasmine-client-integration',
I20150316-00:19:06.451(2)?   port: '34150',
I20150316-00:19:06.452(2)?   host: 'http://localhost:34150/' }

Thanks guys!

guysmoilov commented 9 years ago

BTW, I'm running on a Kubuntu 14.10 64 bit VM on top of VirtualBox.

ghost commented 9 years ago

Can you first try to update to the latest versions with meteor update. Maybe it's still required to install node for Karma (Client Unit mode).

You can do this easily with nvm.

guysmoilov commented 9 years ago

Thanks for the reply, I did try meteor update, it has no effect. Furthermore, this seems to happen in every project where I try to use meteor-jasmine. As a side effect, I think it causes velocity to report the whole test process as pending indefinitely despite there being no client unit tests and all other tests passing. So maybe this should be an issue on meteor-jasmine or meteor-karma?

If you want, I could try to maybe patch karma to use meteor's node? Not even sure if it's possible...

ghost commented 9 years ago

Can you try if this branch fixes the issue https://github.com/Sanjo/meteor-karma/tree/hotfix/node-path (Branch: hotfix/node-path). If you don't know how to use this branch in you project, I can tell you.

guysmoilov commented 9 years ago

Thanks OK, this is weird. That hotfix didn't help, and from putting debugging messages in files as you see below: https://gist.github.com/guysmoilov/7c814dff5bf8e673f0d5 I can see that all the debug messages in ClientUnitTestFramework.js start method are called and printed successfully, and they show the correct ouput. The log.debug(Karma.start) even shows my own debug line in there! But the debug message in Karma.start never shows! What sorcery is this?

I20150318-19:21:05.520(2)? [sanjo:jasmine]: This is the Karma and Karma.start objects:
I20150318-19:21:05.520(2)? [sanjo:jasmine]: { start: [Function], setConfig: [Function] }
I20150318-19:21:05.521(2)? [sanjo:jasmine]: function (id, options) {                                                                            // 7
I20150318-19:21:05.522(2)?     log.debug("-----------------GUY!!!!!!!!---------")                                                       // 8
I20150318-19:21:05.522(2)?     log.debug("Inside karma start for client unit tests probably")                                           // 9
I20150318-19:21:05.522(2)?     options = options || {}                                                                                  // 10
I20150318-19:21:05.522(2)?     log.debug('Karma.start', id)                                                                             // 11
I20150318-19:21:05.522(2)?                                                                                                              // 12
I20150318-19:21:05.528(2)?     Karma.setConfig(id, options)                                                                             // 13
I20150318-19:21:05.529(2)?                                                                                                              // 14
I20150318-19:21:05.530(2)?     return KarmaInternals.startKarmaServer(id, options)                                                      // 15
I20150318-19:21:05.532(2)?   }
I20150318-19:21:05.569(2)? [sanjo:jasmine]: No tests for jasmine-server-integration found. Reporting completed.
I20150318-19:21:05.596(2)? [velocity] Mirror requested { framework: 'jasmine-client-integration',
I20150318-19:21:05.596(2)?   port: 47391,
I20150318-19:21:05.596(2)?   rootUrlPath: '?jasmine=true',
I20150318-19:21:05.596(2)?   host: 'http://localhost:47391/',
I20150318-19:21:05.596(2)?   rootUrl: 'http://localhost:47391/?jasmine=true' }

etc...

ghost commented 9 years ago

What does the .meteor/local/log/jasmin-client-unit.log say? I think the log statements that you have put in are all before the point where the old error happened.

guysmoilov commented 9 years ago

Says the exact same thing as before, and I think I'm an idiot and didn't set the env property for karma logging. Now I get the debug messages.

Now trying to debug why it's not running, I'll update soon.

guysmoilov commented 9 years ago

Finally! Turns out your fix was the right idea, but _.extend doesn't seem to work that way, it doesn't replace values already on the source object... Anyway, I created a pull request for the fix.

ghost commented 9 years ago

Oops. I've confused it with _.defaults. Thanks.

ghost commented 9 years ago

Fixed in sanjo:jasmine 0.12.6.