DAOS-18292 ddb: Debug level of the DDB GO code can not be defined#17232
DAOS-18292 ddb: Debug level of the DDB GO code can not be defined#17232daltonbohning merged 18 commits intomasterfrom
Conversation
|
Ticket title is 'Debug level of the DDB GO code can not be defined' |
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/1/execution/node/1276/log |
3df67cc to
85e6a34
Compare
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/2/execution/node/1073/log |
85e6a34 to
caf8936
Compare
9891709 to
9cbf6fe
Compare
caf8936 to
72a9f0c
Compare
|
Test stage Functional on EL 8.8 completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-17232/4/display/redirect |
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-17232/5/testReport/ |
|
Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/5/execution/node/1358/log |
|
Test stage Functional Hardware Medium MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/5/execution/node/1399/log |
795df75 to
0187ab0
Compare
0187ab0 to
0f34795
Compare
|
Test stage NLT on EL 8.8 completed with status UNSTABLE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos//view/change-requests/job/PR-17232/8/testReport/ |
|
Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/8/execution/node/1398/log |
Properly configure C DAOS debug facilities from Golang DDB code. Features: recovery Signed-off-by: Cedric Koch-Hofer <[email protected]>
0f34795 to
981d4b8
Compare
Fix building issue: add missing LD_LIBRARY path. Features: recovery Allow-unstable-test: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
Fix reviewers remarks: - Add short description of VOS path in live help output. Features: recovery Allow-unstable-test: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
Fix reviewers remarks: - Use consistent logging facilities Features: recovery Allow-unstable-test: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
|
Test stage Functional Hardware Large MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net/job/daos-stack/job/daos/job/PR-17232/17/display/redirect |
|
Test stage Functional Hardware Medium Verbs Provider MD on SSD completed with status FAILURE. https://jenkins-3.daos.hpc.amslabs.hpecorp.net//job/daos-stack/job/daos/view/change-requests/job/PR-17232/18/execution/node/1347/log |
kjacque
left a comment
There was a problem hiding this comment.
Comments are minor, not something I would block on. Nice improvements! I like the change to pass the log level--this really makes more sense from the perspective of a developer and/or a user collecting logs to troubleshoot.
Fix reviewers remarks: - Improvement of --debug= option help message Features: recovery Allow-unstable-test: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
tanabarr
left a comment
There was a problem hiding this comment.
request for documentation could just be a link to the man page in the source. otherwise LGTM
| setenvIfNotSet("DD_STDERR", "INFO") | ||
| } else { | ||
| setenvIfNotSet("DD_STDERR", "ERR") | ||
| func strToLogLevels(level string) (logging.LogLevel, engine.LogLevel, error) { |
There was a problem hiding this comment.
Would be really helpful to have a good documentation comment here as it has the potential to generate a lot of questions. Explain Why/What/How.
There was a problem hiding this comment.
just link man pages it is covered there
There was a problem hiding this comment.
- Add description comment of the function
strToLogLevels()
There was a problem hiding this comment.
- Add description comment of the function
strToLogLevels()
Fixed with commit b0a5e38
Fix reviewers remarks: - Add description comment of the function strToLogLevels() Features: recovery Allow-unstable-test: true Signed-off-by: Cedric Koch-Hofer <[email protected]>
Nasf-Fan
left a comment
There was a problem hiding this comment.
Thanks for offering ddb man page that is very useful. It looks fine for me.
|
Please @daos-stack/daos-gatekeeper could you land this PR with the following message:
|
Description
Properly configure C DAOS debug facilities from Golang DDB code.
Steps for the author:
After all prior steps are complete: