-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Open
Labels
bugThis issue is a confirmed bug.This issue is a confirmed bug.iotp3This is a minor priority issueThis is a minor priority issueresponse-requestedWaiting on additional information or feedback.Waiting on additional information or feedback.
Description
Describe the bug
Statistics for jobProcessDetails in describe_job function don't report the correct numbers.
Regression Issue
- Select this option if this issue appears to be a regression.
Expected Behavior
Like their name and description in the documentation indicates it should return the number of things whose job execution failed or timed out.
Current Behavior
numberOfFailedThings and numberOfTimedOutThings returns the number execution that failed or timed out. If a job implements retries, the number reported by numberOfFailedThings could actually be above the number of targets thing for that job.
This is misleading.
Reproduction Steps
- Create a job for one thing, using a retry mechanism equal to 3
- Fail the job on purpose
- describe_job would return numberOfFailedThings: 3 instead of 1.
Possible Solution
Actually count the number of things who job have failed or timed out regardless of the number of execution.
Additional Information/Context
No response
SDK version used
1.38.3
Environment details (OS name and version, etc.)
AWS Lambda Linux Python 3.11
Metadata
Metadata
Assignees
Labels
bugThis issue is a confirmed bug.This issue is a confirmed bug.iotp3This is a minor priority issueThis is a minor priority issueresponse-requestedWaiting on additional information or feedback.Waiting on additional information or feedback.