Issue with Testcase4
hsiehkaofeng opened this issue · 2 comments
Hello, first of all,thanks for the benchmark, it’s great.
However, I encountered some errors when I was running the Testcase4.
--alexa
After the deployment, I tried to invoke the functions. Both alexa-remainder and alexa-fact were fine, but I couldn’t invoke smarthome related functions successfully(action_invoke_smarthome.sh). The message showed that:
{
"response": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
},
"reprompt": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
}
},
"shouldEndSession": false
},
"sessionAttributes": {},
"startTimes": {
"door-controller": "[2021-01-27T16:25:10.785Z]"
},
"userAgent": "ask-node/2.10.1 Node/v10.23.0",
"version": "1.0"
}
{
"response": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
},
"reprompt": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
}
},
"shouldEndSession": false
},
"sessionAttributes": {},
"startTimes": {
"light-controller": "[2021-01-27T16:25:10.968Z]"
},
"userAgent": "ask-node/2.10.1 Node/v10.23.0",
"version": "1.0"
}
{
"response": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
},
"reprompt": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
}
},
"shouldEndSession": false
},
"sessionAttributes": {},
"startTimes": {
"tv-controller": "[2021-01-27T16:25:11.158Z]"
},
"userAgent": "ask-node/2.10.1 Node/v10.23.0",
"version": "1.0"
}
{
"response": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
},
"reprompt": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
}
},
"shouldEndSession": false
},
"sessionAttributes": {},
"startTimes": {
"air-conditioning-controller": "[2021-01-27T16:25:11.325Z]"
},
"userAgent": "ask-node/2.10.1 Node/v10.23.0",
"version": "1.0"
}
{
"response": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
},
"reprompt": {
"outputSpeech": {
"ssml": "<speak>Sorry, an error occurred.</speak>",
"type": "SSML"
}
},
"shouldEndSession": false
},
"sessionAttributes": {},
"startTimes": {
"plug-controller": "[2021-01-27T16:25:11.526Z]"
},
"userAgent": "ask-node/2.10.1 Node/v10.23.0",
"version": "1.0"
}
{
"response": {
"card": {
"content": [
{
"door-controller": "[2021-01-27T16:25:11.836Z]"
},
{
"light-controller": "[2021-01-27T16:25:11.836Z]"
},
{
"tv-controller": "[2021-01-27T16:25:11.881Z]"
},
{
"air-conditioning-controller": "[2021-01-27T16:25:11.833Z]"
},
{
"plug-controller": "[2021-01-27T16:25:11.887Z]"
}
],
"title": "startTimes",
"type": "Simple"
},
"outputSpeech": {
"ssml": "<speak>[object Object], [object Object], [object Object], [object Object], [object Object]</speak>",
"type": "SSML"
}
},
"sessionAttributes": {},
"startTimes": {
"smarthome": "[2021-01-27T16:25:11.699Z]"
},
"userAgent": "ask-node/2.10.1 Node/v10.23.0 sample/basic-fact/v2",
"version": "1.0"
}
Because all these functions were invoked with parameters-open.json, I was wondering if the json file was outdated?
--data-analysis
The Dockerfile in src/openwhisk-package-couchdb.When I was deploying data-analysis, it couldn't find the package.json, there is no package.json in this folder.
Hello. Try #12 to see that if the problem can be fixed. Be sure that your local.env
in Testcase4-Application-breakdown
is configured correctly.
Thank you so much. The errors are all fixed now.