Project

General

Profile

Actions

Bug #64402

open

results.log sees TypeError in _search_backtrace

Added by Laura Flores 3 months ago. Updated 28 days ago.

Status:
Fix Under Review
Priority:
Normal
Category:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

/a/yuriw-2024-02-10_17:31:55-rados-wip-yuri6-testing-2024-02-09-1422-distro-default-smithi/results.log

2024-02-10T17:38:05.983 INFO:root:teuthology version: 0.0.1.dev249+gcd45576
2024-02-10T17:38:05.983 INFO:teuthology.results:subset: '111/120000'
2024-02-10T17:38:05.983 INFO:teuthology.results:seed: '3672'
2024-02-11T08:49:52.626 INFO:root:teuthology version: 0.0.1.dev249+gcd45576
2024-02-11T08:49:52.654 INFO:teuthology.results:Waiting up to 43200 seconds for tests to finish...
2024-02-11T20:50:14.973 WARNING:teuthology.results:test(s) did not finish before timeout of 43200 seconds
2024-02-11T20:50:39.181 INFO:scrape:Found 325 jobs
2024-02-11T20:50:39.330 WARNING:scrape:Missing teuthology log /home/teuthworker/archive/yuriw-2024-02-10_17:31:55-rados-wip-yuri6-testing-2024-02-09-1422-distro-default-smithi/7555990/teuthology.log
2024-02-11T20:50:39.672 ERROR:teuthology.results:error generating memo/results
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/results.py", line 33, in main
    results(args['--archive-dir'], args['--name'], args['--email'],
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/results.py", line 71, in results
    Scraper(archive_dir).analyze()
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/scrape.py", line 502, in analyze
    reasons[give_me_a_reason(job)].append(job)
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/scrape.py", line 464, in give_me_a_reason
    if klass.could_be(job):
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/scrape.py", line 147, in could_be
    if not super(LockdepReason, cls).could_be(job):
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/scrape.py", line 132, in could_be
    return job.get_assertion() is not None
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/scrape.py", line 339, in get_assertion
    self._populate_backtrace()
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/scrape.py", line 390, in _populate_backtrace
    bt, ass = self._search_backtrace(GzipFile(gzipped_log_path))
  File "/home/teuthworker/src/git.ceph.com_teuthology_cd45576300487d997e5a85abed65500b9f5d143b/teuthology/scrape.py", line 305, in _search_backtrace
    if ".stderr:" in line:
TypeError: a bytes-like object is required, not 'str'


Related issues 1 (1 open0 closed)

Related to teuthology - Bug #65181: Scrape log not properly collectedNew

Actions
Actions #1

Updated by Nitzan Mordechai 28 days ago

  • Assignee set to Nitzan Mordechai
Actions #2

Updated by Nitzan Mordechai 28 days ago

  • Status changed from New to Fix Under Review
Actions #3

Updated by Nitzan Mordechai 28 days ago

  • Related to Bug #65181: Scrape log not properly collected added
Actions

Also available in: Atom PDF