You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by gi...@git.apache.org on 2017/09/15 23:29:15 UTC
[GitHub] pritidesai commented on issue #486: Add the integration test for alarm service
pritidesai commented on issue #486: Add the integration test for alarm service
URL: https://github.com/apache/incubator-openwhisk-wskdeploy/pull/486#issuecomment-329926150
The biggest problem here is `bluemix` doesn't support deletion of triggers. When we were running deployment/undeployment as part of our integration tests, they were all against local openwhisk deployment which was created with every travis build. Now testing against bluemix is tricky as deletion of triggers fails with random errors, in case of message hub, trigger deletion fails with:
```
:
Error deleting trigger: {
"name": "StatusCodeError",
"statusCode": 500,
"message": "500 - \"[object Object]\"",
"error": "[object Object]",
"options": {
"method": "DELETE",
"url": "https://openwhisk.ng.bluemix.net/api/v1/web/whisk.system/messagingWeb/messageHubFeedWeb.http",
"rejectUnauthorized": false,
"json": true,
"body": {
"kafka_brokers_sasl": "kafka01-prod01.messagehub.services.us-south.bluemix.net:9093",
"kafka_admin_url": "https://kafka-admin-prod01.messagehub.services.us-south.bluemix.net:443",
},
"headers": {
"Content-Type": "application/json",
"Accept": "text/plain",
"User-Agent": "whisk"
},
"simple": true,
"resolveWithFullResponse": false,
"transform2xxOnly": false
},
"response": {
"statusCode": 500,
"body": "[object Object]",
"headers": {
"x-backside-transport": "FAIL FAIL",
"connection": "close",
"transfer-encoding": "chunked",
"server": "nginx/1.11.13",
"date": "Fri, 15 Sep 2017 23:20:37 GMT",
"content-type": "text/plain; charset=UTF-8",
"access-control-allow-origin": "*",
"access-control-allow-methods": "OPTIONS, GET, DELETE, POST, PUT, HEAD, PATCH",
"access-control-allow-headers": "Authorization, Content-Type",
"openwhisk_version_no": "latest",
"ibm_cloud_functions": "OpenWhisk",
"x-global-transaction-id": "1037818391",
"set-cookie": [
"DPJSESSIONID=PBC5YS:1376290542; Path=/; Domain=.whisk.ng.bluemix.net"
]
},
"request": {
"uri": {
"protocol": "https:",
"slashes": true,
"auth": null,
"host": "openwhisk.ng.bluemix.net",
"port": 443,
"hostname": "openwhisk.ng.bluemix.net",
"hash": null,
"search": null,
"query": null,
"pathname": "/api/v1/web/whisk.system/messagingWeb/messageHubFeedWeb.http",
"path": "/api/v1/web/whisk.system/messagingWeb/messageHubFeedWeb.http",
"href": "https://openwhisk.ng.bluemix.net/api/v1/web/whisk.system/messagingWeb/messageHubFeedWeb.http"
},
"method": "DELETE",
"headers": {
"Content-Type": "application/json",
"Accept": "text/plain",
"User-Agent": "whisk",
"content-length": 429
}
}
}
}
```
@houshengbo are you facing issue with deployment/undeployment of alarm trigger?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services