Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Cannot generate proper exit diagnostics when too much storage is used #4769

Closed
hzy46 opened this issue Jul 28, 2020 · 3 comments · Fixed by #4867
Closed

Cannot generate proper exit diagnostics when too much storage is used #4769

hzy46 opened this issue Jul 28, 2020 · 3 comments · Fixed by #4867
Assignees
Labels

Comments

@hzy46
Copy link
Contributor

hzy46 commented Jul 28, 2020

status.taskRoleStatuses[0].taskStatuses[0].attemptStatus.diagnostics is

Pod failed: PodPattern matched: {\"reason\":\"Evicted\",\"message\":\"The node was low on resource: ephemeral-storage. Container app was using 154520Ki, which exceeds its request of 0. \"}"

The rest-server will fail at:

TypeError: Cannot read property 'Symbol(Symbol.iterator)' of undefined
   at extractRuntimeOutput (/usr/src/app/src/utils/frameworkConverter.js:58:47)
   at generateExitDiagnostics (/usr/src/app/src/utils/frameworkConverter.js:120:29)
   at convertToJobAttempt (/usr/src/app/src/utils/frameworkConverter.js:233:27)
   at Promise.all.pgResult.map (/usr/src/app/src/models/v2/job-attempt.js:102:16)
   at Array.map (anonymous)
   at Object.list (/usr/src/app/src/models/v2/job-attempt.js:101:16)
   at anonymous
@hzy46 hzy46 added the bug label Jul 28, 2020
@hzy46 hzy46 changed the title Cannot generate proper exit diagnostics Cannot generate proper exit diagnostics when too much storage is used Jul 28, 2020
@fanyangCS
Copy link
Contributor

relate to this issue: #4694

@fanyangCS
Copy link
Contributor

@hzy46 , could you handle this bug?

@hzy46
Copy link
Contributor Author

hzy46 commented Jul 30, 2020

@hzy46 , could you handle this bug?

I think @debuggy can handle this in the future, because he will refactor the code here. Reference item: server history and detail page code refactor in #4642

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants