Project

General

Profile

Actions

Bug #44564

closed

"Failed to build unknown" (ImportError: No module named zipp) in ceph-disk

Added by Yuri Weinstein about 4 years ago. Updated almost 3 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
% Done:

0%

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

Description

Run: http://pulpito.ceph.com/teuthology-2020-03-11_05:10:02-ceph-disk-mimic-distro-basic-mira/
Jobs: '4845828', '4845824', '4845826'
Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2020-03-11_05:10:02-ceph-disk-mimic-distro-basic-mira/4845828/teuthology.log

2020-03-11T05:57:32.733 INFO:tasks.workunit.client.0.mira057.stdout:Successfully built unknown scandir
2020-03-11T05:57:32.733 INFO:tasks.workunit.client.0.mira057.stdout:Failed to build unknown
2020-03-11T05:57:32.733 INFO:tasks.workunit.client.0.mira057.stdout:Installing collected packages: atomicwrites, packaging, wcwidth, contextlib2, unknown, scandir, pathlib2, configparser, importlib-metadata, py, pluggy, funcsigs, attrs, more-itertools, pytest
2020-03-11T05:57:32.733 INFO:tasks.workunit.client.0.mira057.stderr:  Failed cleaning build dir for unknown
2020-03-11T05:57:34.044 INFO:tasks.workunit.client.0.mira057.stdout:Successfully installed atomicwrites-1.3.0 attrs-19.3.0 configparser-4.0.2 contextlib2-0.6.0.post1 funcsigs-1.0.2 importlib-metadata-1.5.0 more-itertools-5.0.0 packaging-20.3 pathlib2-2.3.5 pluggy-0.13.1 py-1.8.1 pytest-4.6.6 scandir-1.10.0 unknown-0.0.0 wcwidth-0.1.8
2020-03-11T05:57:34.299 INFO:tasks.workunit.client.0.mira057.stderr:You are using pip version 8.1.1, however version 20.0.2 is available.
2020-03-11T05:57:34.300 INFO:tasks.workunit.client.0.mira057.stderr:You should consider upgrading via the 'pip install --upgrade pip' command.
2020-03-11T05:57:34.331 INFO:tasks.workunit.client.0.mira057.stderr:+ python -m pytest --version
2020-03-11T05:57:34.396 INFO:tasks.workunit.client.0.mira057.stderr:Traceback (most recent call last):
2020-03-11T05:57:34.397 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
2020-03-11T05:57:34.407 INFO:tasks.workunit.client.0.mira057.stderr:    "__main__", fname, loader, pkg_name)
2020-03-11T05:57:34.407 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
2020-03-11T05:57:34.407 INFO:tasks.workunit.client.0.mira057.stderr:    exec code in run_globals
2020-03-11T05:57:34.408 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/pytest.py", line 8, in <module>
2020-03-11T05:57:34.408 INFO:tasks.workunit.client.0.mira057.stderr:    from _pytest.assertion import register_assert_rewrite
2020-03-11T05:57:34.408 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/assertion/__init__.py", line 13, in <module>
2020-03-11T05:57:34.408 INFO:tasks.workunit.client.0.mira057.stderr:    from _pytest.assertion import rewrite
2020-03-11T05:57:34.409 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/assertion/rewrite.py", line 24, in <module>
2020-03-11T05:57:34.409 INFO:tasks.workunit.client.0.mira057.stderr:    from _pytest.assertion import util
2020-03-11T05:57:34.409 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/assertion/util.py", line 11, in <module>
2020-03-11T05:57:34.409 INFO:tasks.workunit.client.0.mira057.stderr:    import _pytest._code
2020-03-11T05:57:34.409 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/_code/__init__.py", line 7, in <module>
2020-03-11T05:57:34.410 INFO:tasks.workunit.client.0.mira057.stderr:    from .code import Code  # noqa
2020-03-11T05:57:34.410 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/_code/code.py", line 15, in <module>
2020-03-11T05:57:34.410 INFO:tasks.workunit.client.0.mira057.stderr:    import pluggy
2020-03-11T05:57:34.410 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/pluggy/__init__.py", line 16, in <module>
2020-03-11T05:57:34.411 INFO:tasks.workunit.client.0.mira057.stderr:    from .manager import PluginManager, PluginValidationError
2020-03-11T05:57:34.411 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/pluggy/manager.py", line 11, in <module>
2020-03-11T05:57:34.411 INFO:tasks.workunit.client.0.mira057.stderr:    import importlib_metadata
2020-03-11T05:57:34.411 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/importlib_metadata/__init__.py", line 9, in <module>
2020-03-11T05:57:34.411 INFO:tasks.workunit.client.0.mira057.stderr:    import zipp
2020-03-11T05:57:34.412 INFO:tasks.workunit.client.0.mira057.stderr:ImportError: No module named zipp
2020-03-11T05:57:34.417 INFO:tasks.workunit.client.0.mira057.stderr:++ id -u
2020-03-11T05:57:34.419 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo chown 1000 /etc/ceph/ceph.conf
2020-03-11T05:57:34.431 INFO:tasks.workunit.client.0.mira057.stderr:+ test -f /etc/ceph/ceph.client.admin.keyring
2020-03-11T05:57:34.432 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo cp /etc/ceph/ceph.keyring /etc/ceph/ceph.client.admin.keyring
2020-03-11T05:57:34.442 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo test -f /var/lib/ceph/bootstrap-osd/ceph.keyring
2020-03-11T05:57:34.461 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo ceph-create-keys --id a
2020-03-11T05:57:34.602 INFO:tasks.workunit.client.0.mira057.stderr:INFO:ceph-create-keys:Key exists already: /etc/ceph/ceph.client.admin.keyring
2020-03-11T05:57:34.603 INFO:tasks.workunit.client.0.mira057.stderr:INFO:ceph-create-keys:Talking to monitor...
2020-03-11T05:57:34.926 INFO:tasks.workunit.client.0.mira057.stderr:INFO:ceph-create-keys:Talking to monitor...
2020-03-11T05:57:35.287 INFO:tasks.workunit.client.0.mira057.stderr:INFO:ceph-create-keys:Talking to monitor...
2020-03-11T05:57:35.631 INFO:tasks.workunit.client.0.mira057.stderr:INFO:ceph-create-keys:Talking to monitor...
2020-03-11T05:57:36.017 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo ceph osd crush rm osd.0
2020-03-11T05:57:36.689 INFO:tasks.workunit.client.0.mira057.stderr:removed item id 0 name 'osd.0' from crush map
2020-03-11T05:57:36.714 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo ceph osd crush rm osd.1
2020-03-11T05:57:37.688 INFO:tasks.workunit.client.0.mira057.stderr:removed item id 1 name 'osd.1' from crush map
2020-03-11T05:57:37.711 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo cp /home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk/60-ceph-by-partuuid.rules /lib/udev/rules.d
2020-03-11T05:57:37.722 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo udevadm control --reload
2020-03-11T05:57:37.734 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo perl -pi -e 's|pid file.*|pid file = /var/run/ceph/\$cluster-\$name.pid|' /etc/ceph/ceph.conf
2020-03-11T05:57:37.746 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo env PATH=/home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk:/home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk/..:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/sbin PYTHONWARNINGS=ignore python -m pytest -s -v --rootdir=/home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk /home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk/ceph-disk-test.py
2020-03-11T05:57:37.825 INFO:tasks.workunit.client.0.mira057.stderr:Traceback (most recent call last):
2020-03-11T05:57:37.825 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
2020-03-11T05:57:37.825 INFO:tasks.workunit.client.0.mira057.stderr:    "__main__", fname, loader, pkg_name)
2020-03-11T05:57:37.826 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
2020-03-11T05:57:37.826 INFO:tasks.workunit.client.0.mira057.stderr:    exec code in run_globals
2020-03-11T05:57:37.826 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/pytest.py", line 8, in <module>
2020-03-11T05:57:37.826 INFO:tasks.workunit.client.0.mira057.stderr:    from _pytest.assertion import register_assert_rewrite
2020-03-11T05:57:37.826 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/assertion/__init__.py", line 13, in <module>
2020-03-11T05:57:37.826 INFO:tasks.workunit.client.0.mira057.stderr:    from _pytest.assertion import rewrite
2020-03-11T05:57:37.826 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/assertion/rewrite.py", line 24, in <module>
2020-03-11T05:57:37.827 INFO:tasks.workunit.client.0.mira057.stderr:    from _pytest.assertion import util
2020-03-11T05:57:37.827 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/assertion/util.py", line 11, in <module>
2020-03-11T05:57:37.827 INFO:tasks.workunit.client.0.mira057.stderr:    import _pytest._code
2020-03-11T05:57:37.827 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/_code/__init__.py", line 7, in <module>
2020-03-11T05:57:37.827 INFO:tasks.workunit.client.0.mira057.stderr:    from .code import Code  # noqa
2020-03-11T05:57:37.827 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/_pytest/_code/code.py", line 15, in <module>
2020-03-11T05:57:37.827 INFO:tasks.workunit.client.0.mira057.stderr:    import pluggy
2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/pluggy/__init__.py", line 16, in <module>
2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:    from .manager import PluginManager, PluginValidationError
2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/pluggy/manager.py", line 11, in <module>
2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:    import importlib_metadata
2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:  File "/usr/local/lib/python2.7/dist-packages/importlib_metadata/__init__.py", line 9, in <module>
2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:    import zipp
2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:ImportError: No module named zipp
2020-03-11T05:57:37.831 INFO:tasks.workunit.client.0.mira057.stderr:+ result=1
2020-03-11T05:57:37.832 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo rm -rf /home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk/.pytest_cache
2020-03-11T05:57:37.842 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo rm -f /lib/udev/rules.d/60-ceph-by-partuuid.rules
2020-03-11T05:57:37.853 INFO:tasks.workunit.client.0.mira057.stderr:++ id -u
2020-03-11T05:57:37.854 INFO:tasks.workunit.client.0.mira057.stderr:+ sudo chown -R 1000 /home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk
2020-03-11T05:57:37.863 INFO:tasks.workunit.client.0.mira057.stderr:+ exit 1
2020-03-11T05:57:37.864 DEBUG:teuthology.orchestra.run:got remote process result: 1
2020-03-11T05:57:37.865 INFO:tasks.workunit:Stopping ['ceph-disk/ceph-disk.sh'] on client.0...
2020-03-11T05:57:37.865 INFO:teuthology.orchestra.run.mira057:> sudo rm -rf -- /home/ubuntu/cephtest/workunits.list.client.0 /home/ubuntu/cephtest/clone.client.0
2020-03-11T05:57:38.100 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 86, in run_tasks
    manager = run_one_task(taskname, ctx=ctx, config=config)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 65, in run_one_task
    return task(**kwargs)
  File "/home/teuthworker/src/git.ceph.com_ceph_mimic/qa/tasks/workunit.py", line 136, in task
    cleanup=cleanup)
  File "/home/teuthworker/src/git.ceph.com_ceph_mimic/qa/tasks/workunit.py", line 286, in _spawn_on_all_clients
    timeout=timeout)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 87, in __exit__
    for result in self:
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 101, in __next__
    resurrect_traceback(result)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 37, in resurrect_traceback
    reraise(*exc_info)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/parallel.py", line 24, in capture_traceback
    return func(*args, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_ceph_mimic/qa/tasks/workunit.py", line 409, in _run_tests
    label="workunit test {workunit}".format(workunit=workunit)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 198, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 433, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 158, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 180, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed (workunit test ceph-disk/ceph-disk.sh) on mira057 with status 1: 'mkdir -p -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && cd -- /home/ubuntu/cephtest/mnt.0/client.0/tmp && CEPH_CLI_TEST_DUP_COMMAND=1 CEPH_REF=faa7fc4b58b614cb6428986be3f965103b37e9b2 TESTDIR="/home/ubuntu/cephtest" CEPH_ARGS="--cluster ceph" CEPH_ID="0" PATH=$PATH:/usr/sbin CEPH_BASE=/home/ubuntu/cephtest/clone.client.0 CEPH_ROOT=/home/ubuntu/cephtest/clone.client.0 adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 3h /home/ubuntu/cephtest/clone.client.0/qa/workunits/ceph-disk/ceph-disk.sh'
Actions #1

Updated by Greg Farnum about 4 years ago

Not sure who owns this but I think the important part is

2020-03-11T05:57:37.828 INFO:tasks.workunit.client.0.mira057.stderr:ImportError: No module named zipp

Actions #3

Updated by Yuri Weinstein almost 4 years ago

  • Subject changed from "Failed to build unknown" in ceph-disk to "Failed to build unknown" (ImportError: No module named zipp) in ceph-disk
Actions #4

Updated by Sage Weil almost 3 years ago

  • Status changed from New to Won't Fix
Actions

Also available in: Atom PDF