[Openstack-stable-maint] Build failed in Jenkins: periodic-ceilometer-python27-stable-havana #2

OpenStack Jenkins jenkins at openstack.org
Thu Nov 21 06:07:41 UTC 2013


See <https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/2/>

------------------------------------------
[...truncated 260 lines...]
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/fields.py",> line 214, in coerce
    value.__class__.__name__)
ValueError: (u'A string is required here, not %s', 'MagicMock')
======================================================================
FAIL: test_notifier.TestNovaNotifier.test_samples
tags: worker-3
----------------------------------------------------------------------
pythonlogging:'': {{{
Loading compute driver 'nova.virt.fake.FakeDriver'
processing compute.instance.delete.start
Terminating instance
Key 'instance-00000001' not in instances '{}'
Error setting Instance.vm_state
Traceback (most recent call last):
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/base.py",> line 70, in setter
    field.coerce(self, name, value))
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/fields.py",> line 163, in coerce
    return self._type.coerce(obj, attr, value)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/fields.py",> line 214, in coerce
    value.__class__.__name__)
ValueError: (u'A string is required here, not %s', 'MagicMock')
}}}

Traceback (most recent call last):
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/mock.py",> line 1201, in patched
    return func(*args, **keywargs)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/nova_tests/test_notifier.py",> line 224, in setUp
    instance=self.instance)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 354, in decorated_function
    return function(self, context, *args, **kwargs)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/exception.py",> line 90, in wrapped
    payload)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/exception.py",> line 73, in wrapped
    return f(self, context, *args, **kw)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 244, in decorated_function
    pass
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 230, in decorated_function
    return function(self, context, *args, **kwargs)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 295, in decorated_function
    function(self, context, *args, **kwargs)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 272, in decorated_function
    e, sys.exc_info())
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 259, in decorated_function
    return function(self, context, *args, **kwargs)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 1984, in terminate_instance
    do_terminate_instance(instance, bdms)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/openstack/common/lockutils.py",> line 248, in inner
    return f(*args, **kwargs)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 1976, in do_terminate_instance
    reservations=reservations)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/hooks.py",> line 105, in inner
    rv = f(*args, **kwargs)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 1949, in _delete_instance
    user_id=user_id)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/compute/manager.py",> line 1944, in _delete_instance
    db_inst)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/instance.py",> line 225, in _from_db_object
    instance[field] = db_inst[field]
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/base.py",> line 379, in __setitem__
    setattr(self, name, value)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/base.py",> line 70, in setter
    field.coerce(self, name, value))
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/fields.py",> line 163, in coerce
    return self._type.coerce(obj, attr, value)
  File "<https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/.tox/py27/local/lib/python2.7/site-packages/nova/objects/fields.py",> line 214, in coerce
    value.__class__.__name__)
ValueError: (u'A string is required here, not %s', 'MagicMock')
======================================================================
FAIL: process-returncode
tags: worker-1
----------------------------------------------------------------------
Binary content:
  traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-1
----------------------------------------------------------------------
Binary content:
  traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-3
----------------------------------------------------------------------
Binary content:
  traceback (test/plain; charset="utf8")
======================================================================
FAIL: process-returncode
tags: worker-2
----------------------------------------------------------------------
Binary content:
  traceback (test/plain; charset="utf8")
Ran 8 tests in 0.447s
FAILED (id=0, failures=8)
error: testr failed (1)
ERROR: InvocationError: '/bin/bash -x <https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/run-tests.sh'>
py27 runtests: commands[1] | <https://jenkins02.openstack.org/job/periodic-ceilometer-python27-stable-havana/ws/tools/config/check_uptodate.sh>
No module named deprecated
No module named crypto
___________________________________ summary ____________________________________
ERROR:   py27: commands failed
+ result=1
+ echo 'Begin pip freeze output from test virtualenv:'
Begin pip freeze output from test virtualenv:
+ echo ======================================================================
======================================================================
+ .tox/py27/bin/pip freeze
Babel==1.3
Flask==0.10.1
Jinja2==2.7.1
Mako==0.9.0
MarkupSafe==0.18
Paste==1.7.5.1
PasteDeploy==1.5.0
PyYAML==3.10
Pygments==1.6
Routes==2.0
SQLAlchemy==0.7.10
Sphinx==1.1.3
Tempita==0.5.1
WSME==0.5b5
WebOb==1.2.3
WebTest==2.0.10
Werkzeug==0.9.4
alembic==0.6.0
amqp==1.3.3
amqplib==1.0.2
anyjson==0.3.3
argparse==1.2.1
beautifulsoup4==4.3.2
boto==2.17.0
-e git://git.openstack.org/openstack/ceilometer@d90c8e1638e957f867ed507464c889782edc241e#egg=ceilometer-origin/stable/havana
cffi==0.8
cliff==1.4.5
cmd2==0.6.7
coverage==3.7
decorator==3.4.0
discover==0.4.0
dnspython==1.11.1
docutils==0.9.1
ecdsa==0.10
eventlet==0.14.0
extras==0.0.3
fixtures==0.3.14
flake8==2.0
greenlet==0.4.1
hacking==0.7.2
happybase==0.7
httplib2==0.8
iso8601==0.1.8
itsdangerous==0.23
jsonpatch==1.3
jsonpointer==1.1
jsonschema==2.3.0
kombu==3.0.5
lxml==3.2.4
mccabe==0.2.1
mock==1.0.1
mox==0.5.3
msgpack-python==0.4.0
netaddr==0.7.10
netifaces==0.8
nova==2014.1.dev785.g9b44d9d
numpy==1.8.0
oslo.config==1.2.1
oslo.sphinx==1.1
paramiko==1.12.0
pbr==0.5.23
pecan==0.4.2
pep8==1.4.5
prettytable==0.7.2
pyOpenSSL==0.13.1
pyasn1==0.1.7
pycparser==2.10
pycrypto==2.6.1
pyflakes==0.7.3
pymongo==2.6.3
pyparsing==2.0.1
python-ceilometerclient==1.0.6
python-cinderclient==1.0.7
python-glanceclient==0.12.0
python-keystoneclient==0.4.1
python-mimeparse==0.1.4
python-neutronclient==2.3.1
python-novaclient==2.15.0
python-subunit==0.0.15
python-swiftclient==1.8.0
pytz==2013.8
repoze.lru==0.6
requests==2.0.1
simplegeneric==0.8.1
simplejson==3.3.1
singledispatch==3.4.0.2
six==1.4.1
sphinxcontrib-httpdomain==1.2.0
sphinxcontrib-pecanwsme==0.5
sqlalchemy-migrate==0.8.2
stevedore==0.12
suds==0.4
swift==1.10.0
testrepository==0.0.18
testscenarios==0.4
testtools==0.9.33
thrift==0.9.1
waitress==0.8.7
warlock==1.1.0
websockify==0.5.1
wsgiref==0.1.2
xattr==0.7.2
+ echo ======================================================================
======================================================================
+ '[' -d .testrepository ']'
+ '[' -f .testrepository/0.2 ']'
+ '[' -f .testrepository/0 ']'
+ .tox/py27/bin/python /usr/local/jenkins/slave_scripts/subunit2html.py ./subunit_log.txt testr_results.html
Traceback (most recent call last):
  File "/usr/local/jenkins/slave_scripts/subunit2html.py", line 727, in <module>
    main()
  File "/usr/local/jenkins/slave_scripts/subunit2html.py", line 702, in main
    stream = open(subunit_file, 'rb')
IOError: [Errno 2] No such file or directory: './subunit_log.txt'
+ gzip -9 ./subunit_log.txt
gzip: ./subunit_log.txt: No such file or directory
+ gzip -9 ./testr_results.html
gzip: ./testr_results.html: No such file or directory
+ sudo /usr/local/jenkins/slave_scripts/jenkins-sudo-grep.sh post
+ sudoresult=0
+ '[' 0 -ne 0 ']'
+ /usr/local/jenkins/slave_scripts/jenkins-oom-grep.sh post
+ oomresult=0
+ '[' 0 -ne 0 ']'
++ find . -name nose_results.html
+ htmlreport=
+ '[' -f '' ']'
+ echo

+ echo 'WARNING: Unable to find  to confirm results!'
WARNING: Unable to find  to confirm results!
+ echo

+ exit 1
+ rm -rf /tmp/tmp.NzXbYIJG4p
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] No file(s) found: **/*nose_results.html
[SCP] '**/*nose_results.html' doesn't match anything: '**' exists but not '**/*nose_results.html'
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-ceilometer-python27-stable-havana/precise26
[SCP] Trying to create /srv/static/logs/periodic/periodic-ceilometer-python27-stable-havana/precise26/2
[SCP] Copying console log.



More information about the Openstack-stable-maint mailing list