Activations Fail After 5 Min Timeout Occurs
- Dominant language
- Scala
- Stars
- 6.8k
- Forks
- 1.2k
- Avg merge
- 2d 14h
- Merged PRs (30d)
- 2
Description
## Environment details:
* Adobe I/O deployment
* Not sure of the OS version but I can try to find out if required
## Steps to reproduce the issue:
1. Run action that takes longer than the max time alotted, aka 5 minutes (300,000ms)
2. Run action that should succeed and take less time than the max
3. Watch second action fail
## Provide the expected results and outputs:
```
{
"namespace": "xxxx",
"name": "dispatcher",
"version": "0.0.2",
"subject": "xxxx",
"activationId": "50f29217fa9a4d6db29217fa9a7d6d54",
"start": 1634755228463,
"end": 1634755528502,
"duration": 300039,
"statusCode": 1,
"response": {
"status": "application error",
"statusCode": 0,
"success": false,
"result": {
"error": "The action exceeded its time limits of 300000 milliseconds."
}
},
"logs": [],
"annotations": [
{
"key": "path",
"value": "xxxx/graphql-reference/dispatcher"
},
{
"key": "waitTime",
"value": 10
},
{
"key": "kind",
"value": "nodejs:14"
},
{
"key": "timeout",
"value": true
},
{
"key": "limits",
"value": {
"concurrency": 200,
"logs": 10,
"memory": 256,
"timeout": 300000
}
}
],
"publish": false
}
```
followed by a successful action (as long as it takes less than 5 mins)
## Provide the actual results and outputs:
```
{
"namespace": "xxxx",
"name": "dispatcher",
"version": "0.0.2",
"subject": "xxxx",
"activationId": "50f29217fa9a4d6db29217fa9a7d6d54",
"start": 1634755228463,
"end": 1634755528502,
"duration": 300039,
"statusCode": 1,
"response": {
"status": "application error",
"statusCode": 0,
"success": false,
"result": {
"error": "The action exceeded its time limits of 300000 milliseconds."
}
},
"logs": [],
"annotations": [
{
"key": "path",
"value": "xxxx/graphql-reference/dispatcher"
},
{
"key": "waitTime",
"value": 10
},
{
"key": "kind",
"value": "nodejs:14"
},
{
"key": "timeout",
"value": true
},
{
"key": "limits",
"value": {
"concurrency": 200,
"logs": 10,
"memory": 256,
"timeout": 300000
}
}
],
"publish": false
}
```
followed by failures every time
```
{
"namespace": "xxxx",
"name": "dispatcher",
"version": "0.0.1",
"subject": "xxxx",
"activationId": "4163948263e84268a3948263e8b2682e",
"start": 1634765247645,
"end": 1634765257663,
"duration": 10018,
"statusCode": 2,
"response": {
"status": "action developer error",
"statusCode": 0,
"success": false,
"result": {
"error": "The action did not produce a valid response and exited unexpectedly."
}
},
"logs": [],
"annotations": [
{
"key": "path",
"value": "xxxx/graphql-reference/dispatcher"
},
{
"key": "waitTime",
"value": 2
},
{
"key": "kind",
"value": "nodejs:14"
},
{
"key": "timeout",
"value": false
},
{
"key": "limits",
"value": {
"concurrency": 200,
"logs": 10,
"memory": 256,
"timeout": 60000
}
}
],
"publish": false
}
```
## Additional information you deem important:
If 1 action fails after 5 minutes, the subsequent actions shouldn't continue to fail. I guess I don't know for sure that this is related to OpenWhisk itself or with Adobe's infrastructure, but I would think it would work the same way in any cloud setting. If I'm wrong, you can close this ticket.
Contributor guide
Assessment
This issue has not been assessed yet.