Project

General

Profile

Actions

Bug #16493

closed

Python runtime error: AttributeError: 'tuple' object has no attribute 'split'

Added by Patrick Donnelly almost 8 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Core
% Done:

0%

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

Description

2016-06-27T07:27:08.229 ERROR:teuthology.run_tasks:Manager failed: internal.archive
Traceback (most recent call last):
  File "/home/teuthworker/src/teuthology_master/teuthology/run_tasks.py", line 139, in run_tasks
    suppress = manager.__exit__(*exc_info)
  File "/usr/lib/python2.7/contextlib.py", line 35, in __exit__
    self.gen.throw(type, value, traceback)
  File "/home/teuthworker/src/teuthology_master/teuthology/task/internal.py", line 535, in archive
    fetch_binaries_for_coredumps(path, rem)
  File "/home/teuthworker/src/teuthology_master/teuthology/task/internal.py", line 482, in fetch_binaries_for_coredumps
    dump_program = dump_out.split("from '")[1].split(' ')[0]
AttributeError: 'tuple' object has no attribute 'split'

From: http://qa-proxy.ceph.com/teuthology/pdonnell-2016-06-27_06:54:23-fs-wip-pdonnell-i16164---basic-smithi/280361/teuthology.log

Actions #1

Updated by Patrick Donnelly almost 8 years ago

  • Category set to QA Suite
  • ceph-qa-suite teuthology added
Actions #2

Updated by Dan Mick almost 8 years ago

  • Assignee set to Zack Cerza
Actions #3

Updated by Ilya Dryomov over 7 years ago

  • Category changed from QA Suite to Core

The problem is the indir/name/elf_notes/elf_phnum/elf_shnum limits in file(1), which is run on the core to get the name of the binary:

$ file 1469605063.25216.core
1469605063.25216.core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), too many program header sections (178)

On recent distros, file(1) includes a -P/--parameter for overriding default values:

$ file -P elf_phnum=178 1469605063.25216.core
1469605063.25216.core: ELF 64-bit LSB core file x86-64, version 1 (SYSV), SVR4-style, from 'ceph_test_libcephfs'

I don't think Ubuntu 14.04 is that recent though...

Actions #4

Updated by Zack Cerza over 7 years ago

  • Assignee deleted (Zack Cerza)

Had no idea this was assigned to me, and I'm not actively working on it

Actions #5

Updated by Kyrylo Shatskyy almost 6 years ago

This issue is addressed by patch https://github.com/ceph/teuthology/pull/1180
shell we resolve this ticket?

Actions #6

Updated by Kyrylo Shatskyy almost 4 years ago

  • Status changed from New to Resolved

No response from the reporter, closing it since the issue supposed to be resolved.

Actions

Also available in: Atom PDF