Project

General

Profile

Bug #58232

Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)

Added by Laura Flores 12 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
% 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-2022-12-08_15:36:34-rados-wip-yuri2-testing-2022-12-07-0821-pacific-distro-default-smithi/7108550

2022-12-08T19:53:51.190 INFO:teuthology.task.kernel:normalize config orig: {'kdb': True, 'sha1': 'distro'}
2022-12-08T19:53:51.191 INFO:teuthology.task.kernel:config {'mon.a': {'kdb': True, 'sha1': 'distro'}, 'mon.b': {'kdb': True, 'sha1': 'distro'}, 'mon.c': {'kdb': True, 'sha1': 'distro'}}, timeout 300
2022-12-08T19:53:51.191 DEBUG:teuthology.orchestra.run.smithi044:> test -f /run/.containerenv -o -f /.dockerenv
2022-12-08T19:53:51.192 DEBUG:teuthology.orchestra.run.smithi154:> test -f /run/.containerenv -o -f /.dockerenv
2022-12-08T19:53:51.193 DEBUG:teuthology.orchestra.run.smithi169:> test -f /run/.containerenv -o -f /.dockerenv
2022-12-08T19:53:51.200 DEBUG:teuthology.orchestra.run:got remote process result: 1
2022-12-08T19:53:51.200 DEBUG:teuthology.orchestra.run:got remote process result: 1
2022-12-08T19:53:51.202 DEBUG:teuthology.orchestra.run.smithi154:> uname -r
2022-12-08T19:53:51.203 DEBUG:teuthology.orchestra.run.smithi044:> uname -r
2022-12-08T19:53:51.204 DEBUG:teuthology.orchestra.run:got remote process result: 1
2022-12-08T19:53:51.205 DEBUG:teuthology.orchestra.run.smithi169:> uname -r
2022-12-08T19:53:51.259 INFO:teuthology.orchestra.run.smithi044.stdout:4.15.0-194-generic
2022-12-08T19:53:51.260 INFO:teuthology.task.kernel:Running kernel on smithi044: 4.15.0-194-generic
2022-12-08T19:53:51.260 DEBUG:teuthology.orchestra.run.smithi044:> sudo apt-get clean
2022-12-08T19:53:51.263 INFO:teuthology.orchestra.run.smithi154.stdout:4.15.0-194-generic
2022-12-08T19:53:51.264 INFO:teuthology.task.kernel:Running kernel on smithi154: 4.15.0-194-generic
2022-12-08T19:53:51.264 DEBUG:teuthology.orchestra.run.smithi154:> sudo apt-get clean
2022-12-08T19:53:51.268 INFO:teuthology.orchestra.run.smithi169.stdout:4.15.0-194-generic
2022-12-08T19:53:51.268 INFO:teuthology.task.kernel:Running kernel on smithi169: 4.15.0-194-generic
2022-12-08T19:53:51.269 DEBUG:teuthology.orchestra.run.smithi169:> sudo apt-get clean
2022-12-08T19:53:51.325 INFO:teuthology.orchestra.run.smithi169.stderr:E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
2022-12-08T19:53:51.326 INFO:teuthology.orchestra.run.smithi169.stderr:E: Unable to lock directory /var/lib/apt/lists/
2022-12-08T19:53:51.327 DEBUG:teuthology.orchestra.run:got remote process result: 100
2022-12-08T19:53:51.327 ERROR:teuthology.run_tasks:Saw exception from tasks.


Related issues

Duplicated by sepia - Bug #58456: "Socket exception: Connection reset by peer" when trying to install linux-image-generic Duplicate

History

#1 Updated by adam kraitman 12 months ago

  • Status changed from New to Pending Backport
  • Assignee set to adam kraitman

Please check if you still see this error

#3 Updated by Laura Flores 11 months ago

  • Status changed from Pending Backport to Resolved

Zack fixed nodes that were double-locked due to a second copy of paddles that was started up again, using the old method of deployment and very old code. He stopped it, and the problem resolved.

This issue also manifests in teuthology runs as "Cannot connect to host".

#4 Updated by Laura Flores 11 months ago

  • Duplicated by Bug #58456: "Socket exception: Connection reset by peer" when trying to install linux-image-generic added

Also available in: Atom PDF