apache / openwhisk-client-js

JavaScript client library for the Apache OpenWhisk platform
https://openwhisk.apache.org/
Apache License 2.0
83 stars 53 forks source link

Integration tests are broken with feed testing failing. #176

Closed jthomas closed 5 years ago

jthomas commented 5 years ago
{ OpenWhiskError: POST https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/whisk.system/actions/alarms/alarm?blocking=true Returned HTTP 502 (Bad Gateway) --> "could not find trigger /james.thomas@uk.ibm.com_test/sample_feed_trigger in the database"
    at Client.handleErrors (/Users/james/code/github/openwhisk/openwhisk-client-js/lib/client.js:231:13)
    at /Users/james/code/github/openwhisk/openwhisk-client-js/lib/client.js:155:22
    at run (/Users/james/code/github/openwhisk/openwhisk-client-js/node_modules/core-js/library/modules/es6.promise.js:75:22)
    at /Users/james/code/github/openwhisk/openwhisk-client-js/node_modules/core-js/library/modules/es6.promise.js:92:30
    at flush (/Users/james/code/github/openwhisk/openwhisk-client-js/node_modules/core-js/library/modules/_microtask.js:18:9)
    at process._tickCallback (internal/process/next_tick.js:61:11)
  name: 'OpenWhiskError',
  message:
   'POST https://eu-gb.functions.cloud.ibm.com/api/v1/namespaces/whisk.system/actions/alarms/alarm?blocking=true Returned HTTP 502 (Bad Gateway) --> "could not find trigger /james.thomas@uk.ibm.com_test/sample_feed_trigger in the database"',
  error:
   { activationId: '1e399726d9274c8db99726d9270c8d83',
     annotations: [ [Object], [Object], [Object], [Object], [Object] ],
     duration: 290,
     end: 1561473681719,
     logs: [],
     name: 'alarm',
     namespace: 'james.thomas@uk.ibm.com_test',
     publish: false,
     response:
      { result: [Object], status: 'application error', success: false },
     start: 1561473681429,
     subject: 'james.thomas@uk.ibm.com',
     version: '0.0.25' },
  statusCode: 502 }

  1 failed

  create, get, update, and delete a feed

  /Users/james/code/github/openwhisk/openwhisk-client-js/test/integration/feeds.test.js:35

   34:     console.log(err)
   35:     t.fail()
   36:   }

  Test failed via `t.fail()`