Strider-CD / strider-webhooks

Fire webhooks reporting build status
6 stars 9 forks source link

New install, no webhooks added: bson.node: invalid ELF header #9

Open emcniece opened 8 years ago

emcniece commented 8 years ago

I have recently added strider-webhooks to my instance, but I haven't added any actual webhooks yet. The log is spitting out an error for this module, and the tests/builds now error on the front-end with no message.

22228 forked
2016-02-04T23:11:04.491Z - info: Using SMTP transport from config
2016-02-04T23:11:04.912Z - info: Using MongoDB URL: 127.0.0.1:27017
[Error: /usr/local/lib/node_modules/strider/node_modules/strider-webhooks/node_modules/bson/build/Release/bson.node: invalid ELF header]
2016-02-04T23:11:05.631Z - error: js-bson: Failed to load c++ bson extension, using pure JS version
2016-02-04T23:11:05.701Z - info: RUNNER INIT
2016-02-04T23:11:05.821Z - info: loaded templates
2016-02-04T23:11:05.950Z - info: initalized webapps
2016-02-04T23:11:05.950Z - info: [job plugins]
2016-02-04T23:11:05.950Z - info: - custom
2016-02-04T23:11:05.950Z - info: - emailnotifier
2016-02-04T23:11:05.950Z - info: - env
2016-02-04T23:11:05.951Z - info: - github-status
2016-02-04T23:11:05.951Z - info: - heroku
2016-02-04T23:11:05.951Z - info: - metadata
2016-02-04T23:11:05.951Z - info: - node
2016-02-04T23:11:05.951Z - info: - python
2016-02-04T23:11:05.951Z - info: - ruby
2016-02-04T23:11:05.951Z - info: - slack
2016-02-04T23:11:05.951Z - info: - ssh_deploy
2016-02-04T23:11:05.951Z - info: - webhooks
2016-02-04T23:11:05.952Z - info: [runner plugins]
2016-02-04T23:11:05.952Z - info: - simple-runner
2016-02-04T23:11:05.952Z - info: [provider plugins]
2016-02-04T23:11:05.952Z - info: - bitbucket
2016-02-04T23:11:05.952Z - info: - git
2016-02-04T23:11:05.952Z - info: - github
2016-02-04T23:11:05.952Z - info: [basic plugins]
2016-02-04T23:11:05.952Z - info: - buildbadge
2016-02-04T23:11:05.954Z - info: initalized static directories
2016-02-04T23:11:05.994Z - info: loaded config pages
2016-02-04T23:11:05.997Z - info: loaded account config pages
2016-02-04T23:11:06.008Z - info: loaded plugin status blocks
2016-02-04T23:11:06.008Z - info: loaded plugins
2016-02-04T23:11:06.012Z - info: Express server listening on port 4000 in development mode
2016-02-04T23:11:06.013Z - info: Marking zombie jobs as finished...
2016-02-04T23:11:06.019Z - info: 1 zombie jobs marked as finished
jpantarotto commented 7 years ago

I have the same error. I'm wondering if it's related to the old version of CentOS I'm running on. Here's the output when I run make in the strider-webhooks/node_modules/bson/build directory: bson_make_output.docx

knownasilya commented 7 years ago

As long as it falls back to the js version, this should be a non issue. What are the symptoms you're seeing?

jpantarotto commented 7 years ago

I get an issue at line 12 of worker.js hooks.forEach is not a function. Possibly something to do with the bson dependency in webapp.js?
edit On further inspection this may be an unrelated error... webhooks_error.txt

edit 2 Should I open a new bug with regard to my observation?