Project

General

Profile

Actions

Bug #10515

closed

chef / apt-get compete during parallel runs

Added by Loïc Dachary over 9 years ago. Updated about 6 years ago.

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

0%

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

Description

http://pulpito.ceph.com/loic-2015-01-10_11:54:25-rados-giant-backports-testing-basic-vps/694228/
Maybe because parallel execution gets two competing installation jobs to run at the same time ?

2015-01-10T22:25:03.062 INFO:teuthology.orchestra.run.vpm142.stdout:[0m
2015-01-10T22:25:03.062 INFO:teuthology.orchestra.run.vpm142.stdout:================================================================================[0m
2015-01-10T22:25:03.062 INFO:teuthology.orchestra.run.vpm142.stdout:[31mError executing action `upgrade` on resource 'package[libapache2-mod-fastcgi]'[0m
2015-01-10T22:25:03.063 INFO:teuthology.orchestra.run.vpm142.stdout:================================================================================[0m
2015-01-10T22:25:03.063 INFO:teuthology.orchestra.run.vpm142.stdout:
2015-01-10T22:25:03.063 INFO:teuthology.orchestra.run.vpm142.stdout:[0m
2015-01-10T22:25:03.065 INFO:teuthology.orchestra.run.vpm142.stdout:Mixlib::ShellOut::ShellCommandFailed[0m
2015-01-10T22:25:03.065 INFO:teuthology.orchestra.run.vpm142.stdout:------------------------------------[0m
2015-01-10T22:25:03.065 INFO:teuthology.orchestra.run.vpm142.stdout:Expected process to exit with [0], but received '100'
2015-01-10T22:25:03.065 INFO:teuthology.orchestra.run.vpm142.stdout:---- Begin output of apt-get -q -y install libapache2-mod-fastcgi=2.4.7~0910052141-2~bpo70+1.ceph ----
2015-01-10T22:25:03.066 INFO:teuthology.orchestra.run.vpm142.stdout:STDOUT:
2015-01-10T22:25:03.066 INFO:teuthology.orchestra.run.vpm142.stdout:STDERR: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
2015-01-10T22:25:03.066 INFO:teuthology.orchestra.run.vpm142.stdout:E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
2015-01-10T22:25:03.066 INFO:teuthology.orchestra.run.vpm142.stdout:---- End output of apt-get -q -y install libapache2-mod-fastcgi=2.4.7~0910052141-2~bpo70+1.ceph ----
2015-01-10T22:25:03.066 INFO:teuthology.orchestra.run.vpm142.stdout:Ran apt-get -q -y install libapache2-mod-fastcgi=2.4.7~0910052141-2~bpo70+1.ceph returned 100[0m
2015-01-10T22:25:03.066 INFO:teuthology.orchestra.run.vpm142.stdout:
2015-01-10T22:25:03.067 INFO:teuthology.orchestra.run.vpm142.stdout:[0m
2015-01-10T22:25:03.067 INFO:teuthology.orchestra.run.vpm142.stdout:Resource Declaration:[0m
2015-01-10T22:25:03.067 INFO:teuthology.orchestra.run.vpm142.stdout:---------------------[0m
2015-01-10T22:25:03.067 INFO:teuthology.orchestra.run.vpm142.stdout:# In /tmp/solo-from-scratch.ncEKxkB0CC91/cookbooks/ceph-qa/recipes/radosgw.rb
2015-01-10T22:25:03.067 INFO:teuthology.orchestra.run.vpm142.stdout:
2015-01-10T22:25:03.067 INFO:teuthology.orchestra.run.vpm142.stdout: 61: package 'libapache2-mod-fastcgi' do
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout: 62:   action :upgrade
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout: 63: end
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout: 64: package 'libfcgi0ldbl'
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout:[0m
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout:
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout:[0m
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout:Compiled Resource:[0m
2015-01-10T22:25:03.068 INFO:teuthology.orchestra.run.vpm142.stdout:------------------[0m
2015-01-10T22:25:03.069 INFO:teuthology.orchestra.run.vpm142.stdout:# Declared in /tmp/solo-from-scratch.ncEKxkB0CC91/cookbooks/ceph-qa/recipes/radosgw.rb:61:in `from_file'
2015-01-10T22:25:03.069 INFO:teuthology.orchestra.run.vpm142.stdout:
2015-01-10T22:25:03.069 INFO:teuthology.orchestra.run.vpm142.stdout:package("libapache2-mod-fastcgi") do
2015-01-10T22:25:03.069 INFO:teuthology.orchestra.run.vpm142.stdout:  action [:upgrade]
2015-01-10T22:25:03.069 INFO:teuthology.orchestra.run.vpm142.stdout:  retries 0
2015-01-10T22:25:03.069 INFO:teuthology.orchestra.run.vpm142.stdout:  retry_delay 2
2015-01-10T22:25:03.070 INFO:teuthology.orchestra.run.vpm142.stdout:  package_name "libapache2-mod-fastcgi" 
2015-01-10T22:25:03.070 INFO:teuthology.orchestra.run.vpm142.stdout:  version "2.4.7~0910052141-2~bpo70+1.ceph" 
2015-01-10T22:25:03.070 INFO:teuthology.orchestra.run.vpm142.stdout:  cookbook_name :"ceph-qa" 
2015-01-10T22:25:03.070 INFO:teuthology.orchestra.run.vpm142.stdout:  recipe_name "radosgw" 
2015-01-10T22:25:03.070 INFO:teuthology.orchestra.run.vpm142.stdout:end
2015-01-10T22:25:03.070 INFO:teuthology.orchestra.run.vpm142.stdout:[0m
2015-01-10T22:25:03.070 INFO:teuthology.orchestra.run.vpm142.stdout:
2015-01-10T22:25:03.071 INFO:teuthology.orchestra.run.vpm142.stdout:[0m
2015-01-10T22:25:03.071 INFO:teuthology.orchestra.run.vpm142.stdout:[2015-01-11T06:25:03+00:00] INFO: Running queued delayed notifications before re-raising exception
2015-01-10T22:25:03.071 INFO:teuthology.orchestra.run.vpm142.stdout:[2015-01-11T06:25:03+00:00] ERROR: Running exception handlers
2015-01-10T22:25:03.071 INFO:teuthology.orchestra.run.vpm142.stdout:[2015-01-11T06:25:03+00:00] ERROR: Exception handlers complete
2015-01-10T22:25:03.071 INFO:teuthology.orchestra.run.vpm142.stdout:[2015-01-11T06:25:03+00:00] FATAL: Stacktrace dumped to /tmp/solo-from-scratch.ncEKxkB0CC91/solo/chef-stacktrace.out
2015-01-10T22:25:03.094 INFO:teuthology.orchestra.run.vpm142.stdout:[2015-01-11T06:25:03+00:00] ERROR: package[libapache2-mod-fastcgi] (ceph-qa::radosgw line 61) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
2015-01-10T22:25:03.094 INFO:teuthology.orchestra.run.vpm142.stdout:---- Begin output of apt-get -q -y install libapache2-mod-fastcgi=2.4.7~0910052141-2~bpo70+1.ceph ----
2015-01-10T22:25:03.094 INFO:teuthology.orchestra.run.vpm142.stdout:STDOUT:
2015-01-10T22:25:03.094 INFO:teuthology.orchestra.run.vpm142.stdout:STDERR: E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
2015-01-10T22:25:03.095 INFO:teuthology.orchestra.run.vpm142.stdout:E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
2015-01-10T22:25:03.095 INFO:teuthology.orchestra.run.vpm142.stdout:---- End output of apt-get -q -y install libapache2-mod-fastcgi=2.4.7~0910052141-2~bpo70+1.ceph ----
2015-01-10T22:25:03.095 INFO:teuthology.orchestra.run.vpm142.stdout:Ran apt-get -q -y install libapache2-mod-fastcgi=2.4.7~0910052141-2~bpo70+1.ceph returned 100
2015-01-10T22:25:03.183 INFO:teuthology.orchestra.run.vpm142.stdout:[2015-01-11T06:25:03+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
2015-01-10T22:25:03.259 ERROR:teuthology.parallel:Exception in parallel execution

Actions

Also available in: Atom PDF