Project

General

Profile

Actions

Bug #6717

closed

Failure to remove samba packages

Added by Zack Cerza over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

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

Description

http://qa-proxy.ceph.com/teuthology/teuthology-2013-11-03_23:01:12-fs-next-testing-basic-plana/83671/teuthology.log

2013-11-04T14:07:18.738 INFO:teuthology.task.install:Removing packages: samba on Debian system.
2013-11-04T14:07:18.738 DEBUG:teuthology.orchestra.run:Running [10.214.133.33]: 'for d in samba ; do sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" purge $d || true ; done'
2013-11-04T14:07:18.751 INFO:teuthology.orchestra.run.err:[10.214.133.33]: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
2013-11-04T14:07:18.751 INFO:teuthology.orchestra.run.err:[10.214.133.33]: E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
2013-11-04T14:07:18.752 DEBUG:teuthology.orchestra.run:Running [10.214.133.33]: "dpkg -l | grep '^.HR' | awk '{print $2}' | sudo xargs --no-run-if-empty dpkg -P --force-remove-reinstreq" 
2013-11-04T14:07:18.860 DEBUG:teuthology.orchestra.run:Running [10.214.133.33]: 'sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" autoremove'
2013-11-04T14:07:18.873 INFO:teuthology.orchestra.run.err:[10.214.133.33]: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
2013-11-04T14:07:18.873 INFO:teuthology.orchestra.run.err:[10.214.133.33]: E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
2013-11-04T14:07:18.875 ERROR:teuthology.run_tasks:Manager failed: <contextlib.GeneratorContextManager object at 0x1b56d10>
Traceback (most recent call last):
  File "/home/teuthworker/teuthology-next/teuthology/run_tasks.py", line 84, in run_tasks
    suppress = manager.__exit__(*exc_info)
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/home/teuthworker/teuthology-next/teuthology/task/install.py", line 1124, in task
    yield
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/home/teuthworker/teuthology-next/teuthology/contextutil.py", line 35, in nested
    if exit(*exc):
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/home/teuthworker/teuthology-next/teuthology/task/install.py", line 769, in install
    remove_packages(ctx, config, remove_info)
  File "/home/teuthworker/teuthology-next/teuthology/task/install.py", line 598, in remove_packages
    system_type], ctx, config, remote, pkgs[system_type])
  File "/home/teuthworker/teuthology-next/teuthology/parallel.py", line 88, in __exit__
    raise
CommandFailedError: Command failed on 10.214.133.33 with status 100: 'sudo DEBIAN_FRONTEND=noninteractive apt-get -y --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" autoremove'
Actions #1

Updated by Greg Farnum over 10 years ago

Is there something in that log which makes you think it's a test issue? dpkg locking conflicts are generally some infrastructure problem...

Actions #2

Updated by Greg Farnum over 10 years ago

  • Assignee changed from Greg Farnum to Zack Cerza
Actions #3

Updated by Zack Cerza over 10 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF