]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
scrape: searching backtrace with gzip 1931/head
authornmordech@redhat.com <nmordech@redhat.com>
Sun, 31 Mar 2024 11:49:03 +0000 (11:49 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Sun, 18 May 2025 05:17:22 +0000 (05:17 +0000)
commit9a1107d1c03e841dd6c6c07725f4083fc1477598
tree5ff4ce03f2aecd86fd80c616ebc004ed0ce5b4ad
parent6d70f8ac25e9fc2b0aebf5550c9dd556cac7645d
scrape: searching backtrace with gzip

Scrape script that trying to find backtrace in gzip log files
can hit TypeError: a bytes-like object is required, not 'str' error
and fail to collect results. the gzip file need to be decoded.

Fixes: https://tracker.ceph.com/issues/64402
Signed-off-by: Nitzan Mordechai <nmordec@redhat.com>
teuthology/scrape.py
teuthology/test/test_scrape.py