Project

General

Profile

Bug #44802

mgr/dashboard: ceph-api-nightly-nautilus-backend failure "ImportError: cannot import name ensure_str"

Added by Laura Paduano 6 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/qa
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature:

Description

Cloning into 'teuthology'...
New python executable in /tmp/tmp.ADp0XHCdsB/coverage-venv/bin/python
Installing setuptools, pkg_resources, pip, wheel...done.
Running virtualenv with interpreter /usr/bin/python
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
Collecting coverage==4.5.2
  Using cached coverage-4.5.2-cp27-cp27mu-manylinux1_x86_64.whl (201 kB)
Installing collected packages: coverage
Successfully installed coverage-4.5.2
Traceback (most recent call last):
  File "../qa/tasks/vstart_runner.py", line 51, in <module>
    from teuthology.orchestra.daemon import DaemonGroup
  File "/tmp/tmp.ADp0XHCdsB/venv/local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.ADp0XHCdsB/teuthology/teuthology/orchestra/daemon/__init__.py", line 1, in <module>
    from teuthology.orchestra.daemon.group import DaemonGroup  # noqa
  File "/tmp/tmp.ADp0XHCdsB/venv/local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.ADp0XHCdsB/teuthology/teuthology/orchestra/daemon/group.py", line 1, in <module>
    from teuthology import misc
  File "/tmp/tmp.ADp0XHCdsB/venv/local/lib/python2.7/site-packages/gevent/builtins.py", line 93, in __import__
    result = _import(*args, **kwargs)
  File "/tmp/tmp.ADp0XHCdsB/teuthology/teuthology/misc.py", line 32, in <module>
    from six import (reraise, ensure_str)
ImportError: cannot import name ensure_str
find: '/home/jenkins-build/build/workspace/ceph-api-nightly-nautilus-backend/src/pybind/mgr/dashboard/../../../../build/out': No such file or directory

- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-nautilus-backend/118


Related issues

Related to mgr - Bug #44063: tox: ImportError: cannot import name 'ensure_text' Resolved

History

#1 Updated by Laura Paduano 6 months ago

  • Subject changed from mgr/dashboard: ceph-api-nightly-octopus-backend failure "ImportError: cannot import name ensure_str" to mgr/dashboard: ceph-api-nightly-nautilus-backend failure "ImportError: cannot import name ensure_str"

#2 Updated by Laura Paduano 6 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai
  • Pull request ID set to 34316

#3 Updated by Laura Paduano 6 months ago

  • Related to Bug #44063: tox: ImportError: cannot import name 'ensure_text' added

#4 Updated by Kefu Chai 6 months ago

  • Status changed from Fix Under Review to Resolved

#6 Updated by Lenz Grimmer 5 months ago

Laura Paduano wrote:

Re-opened the tracker issue since this error started to show up again in the nightly nautilus builds:
- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-nautilus-backend/131/console
- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-nautilus-backend/132/consoleFull
- https://jenkins.ceph.com/view/all/job/ceph-api-nightly-nautilus-backend/133/consoleFull

I wonder it re-occurred because the nautilus branch was rolled back to a previous state via a force-push, in preparation of a hotfix release?

#7 Updated by Laura Paduano 5 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF