deepforge-dev / deepforge-keras

A deepforge extension providing support for neural networks using keras
Apache License 2.0
8 stars 3 forks source link

Tests are failing in travis #182

Closed umesh-timalsina closed 4 years ago

umesh-timalsina commented 4 years ago

Error logs:

  1) CreateKerasMeta
       "before all" hook:
     Error: Timeout of 5000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/travis/build/deepforge-dev/deepforge-keras/test/plugins/CreateKerasMeta/CreateKerasMeta.spec.js)

  2) ExportKeras
       "before all" hook:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/travis/build/deepforge-dev/deepforge-keras/test/plugins/ExportKeras/ExportKeras.spec.js)

  3) ExportKeras
       "after all" hook:
     TypeError: Cannot read property 'closeDatabase' of undefined
      at Context.<anonymous> (test/plugins/ExportKeras/ExportKeras.spec.js:49:23)
  4) GenerateKeras
       "before all" hook:
     Error: Timeout of 2000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/home/travis/build/deepforge-dev/deepforge-keras/test/plugins/GenerateKeras/GenerateKeras.spec.js)

  5) GenerateKeras
       "after all" hook:
     TypeError: Cannot read property 'closeDatabase' of undefined
      at Context.<anonymous> (test/plugins/GenerateKeras/GenerateKeras.spec.js:46:23)
  6) ValidateKeras
       "before all" hook:
     MongoError: ns not found
      at Function.MongoError.create (node_modules/mongodb-core/lib/error.js:31:11)
      at /home/travis/build/deepforge-dev/deepforge-keras/node_modules/mongodb-core/lib/connection/pool.js:497:72
      at authenticateStragglers (node_modules/mongodb-core/lib/connection/pool.js:443:16)
      at Connection.messageHandler (node_modules/mongodb-core/lib/connection/pool.js:477:5)
      at Socket.<anonymous> (node_modules/mongodb-core/lib/connection/connection.js:331:22)
      at addChunk (_stream_readable.js:288:12)
      at readableAddChunk (_stream_readable.js:269:11)
      at Socket.Readable.push (_stream_readable.js:224:10)
      at TCP.onStreamRead [as onread] (internal/stream_base_commons.js:94:17)
  7) ValidateKeras
       "after all" hook:
     TypeError: Cannot read property 'closeDatabase' of undefined
      at Context.<anonymous> (test/plugins/ValidateKeras/ValidateKeras.spec.js:58:17)