Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

teuthology/run_tasks.py: Add more loggings #1791

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

kamoltat
Copy link
Member

Add more logging for debugging purposes and
add exceptions to make trouble shooting easier.

Fixes: https://tracker.ceph.com/issues/54372

Signed-off-by: Kamoltat Sirivadhna [email protected]

@kamoltat kamoltat self-assigned this Sep 26, 2022
@kamoltat kamoltat requested a review from zmc September 27, 2022 15:06
Add more logging for debuging purposes and
add exceptions to make trouble shooting easier.

Fixes: https://tracker.ceph.com/issues/54372

Signed-off-by: Kamoltat Sirivadhna <[email protected]>
@kamoltat
Copy link
Member Author

kamoltat commented Oct 5, 2022

@zmc
I ran the PR through one-shot mode from the docker-compose script and it seems like there is no issue as it logs the module_name and task_name

2022-10-05T21:10:33.700 DEBUG:teuthology.run_tasks:importing module_name: tests and task_name: task
2022-10-05T21:10:34.508 INFO:teuthology.task.internal:Transferring binaries for coredumps...
2022-10-05T21:10:34.508 INFO:teuthology.task.internal: core looks like: ELF 64-bit LSB core file, x86-64, version 1 (SYSV), SVR4-style, from 'ceph_test_rados_api_io', real uid: 1194, effective uid: 1194, real gid: 1194, effective gid: 1194, execfn: '/usr/bin/ceph_test_rados_api_io', platform: 'x86_64'
2022-10-05T21:10:34.508 INFO:teuthology.task.internal: dump_program: ceph_test_rados_api_io
2022-10-05T21:10:34.511 INFO:teuthology.task.tests::TestFetchCoreDumps.test_uncompressed_correct_format Passed
2022-10-05T21:10:34.516 INFO:teuthology.task.internal:Transferring binaries for coredumps...
2022-10-05T21:10:34.517 INFO:teuthology.task.internal: core looks like: ASCII text
2022-10-05T21:10:34.517 INFO:teuthology.task.internal:core doesn't have the desired format, moving on ...
2022-10-05T21:10:34.517 ERROR:teuthology.task.internal:list index out of range
2022-10-05T21:10:34.518 INFO:teuthology.task.tests::TestFetchCoreDumps.test_uncompressed_incorrect_format Passed

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

Successfully merging this pull request may close these issues.

1 participant