]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commit
task/internal: open gzip file if core is compressed
authorKamoltat <ksirivad@redhat.com>
Tue, 1 Mar 2022 16:49:05 +0000 (16:49 +0000)
committerKamoltat Sirivadhna <ksirivad@redhat.com>
Wed, 20 Jul 2022 20:26:04 +0000 (20:26 +0000)
commite65c680c629b7bf560d8082141ccd57e781497dd
tree4977cc2f5235ac8e9a1dea2eba4176edea908413
parent89d874d555f56b1c1f383df72487aecec0ee6cf9
task/internal: open gzip file if core is compressed

Addded a case where if core is compressed, then
we will try to open it as gzip and read the content
inside.

We also add try and except when we are parsing
through the content to prevent the program from
crashing.

Fixes: https://tracker.ceph.com/issues/53206
Signed-off-by: Kamoltat Sirivadhna <ksirivad@redhat.com>
teuthology/task/internal/__init__.py