| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
Hello @amathuria @VallariAg @zmc here is my gsoc task 2 logs command implementation on ceph-devstack. Looking forward to your feedback. |
Sorry, something went wrong.
|
Disclosure: Github Copilot was used to add doc-strings (like args of function docs/comments) and few one liner python exceptions. Please let me know if this is acceptable or needs to be changed accordingly? |
Sorry, something went wrong.
There was a problem hiding this comment.
Reviewing
Sorry, something went wrong.
There was a problem hiding this comment.
First round comments for GSOC evaluation, good job! Will not approve the PR since it is just evaluation task.
Sorry, something went wrong.
|
@abhi4578 also can you please rebase your PR against the main branch thank you |
Sorry, something went wrong.
- ``ceph-devstack logs `` displays latest run teuthology logs of given job - ``ceph-devstack logs --log-file `` displace file location of latest run teuthology log of given job
Signed-off-by: Abhi <29863835+abhi4578@users.noreply.github.com>
Co-authored-by: Kamoltat (Junior) Sirivadhna <ksirivad@gmail.com> Signed-off-by: Abhi <29863835+abhi4578@users.noreply.github.com>
- Add appropriate comments for better understanding - Add try, except block while parsing latest job directory paths to catch ValueError - Make flag_set to boolean from str for simplicity in test_logs.py - Added chec condition if teuthology.log file exists before reading to prevent exceptions
- Also replace return statements with exit statements in test_logs.py file because pytest warnings
|
@kamoltat I have added commits resolving the above issues and rebased it against main branch. Please review. Find the screenshots of |
Sorry, something went wrong.
There was a problem hiding this comment.
Good work!
Sorry, something went wrong.
Thank you! |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Adds implementation of logs and --logs-file option
teuthology logs of given job
file location of latest run teuthology log of
given job
Adds pytest unit tests to test 'logs' command
test cases using parametrized tests and fixtures