Openstack-stable-maint
Threads by month
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
November 2012
- 12 participants
- 38 discussions
Hi,
Yesterday a serious bug regarding the handling of floating IP's was
reported (https://code.launchpad.net/bugs/1083990) This has been fixed
and has been back ported to the stable branch
(https://review.openstack.org/#/c/17108/)
Thanks
Gary
1
0
Hey,
We're still hoping to releasing 2012.2.1 on Thursday but we need to lock
things down now to allow last minute regression testing.
So, please don't approve any more fixes for the branch until after the
release. If there's something you think warrants an exception, leave a
+2 with a comment explaining you're thinking and I'll make the call as
release manager.
We've had a huge amount of activity in the last week, so I'm a little
nervous that we might have broken something. The current "bugs fixed"
tallies are:
79 nova
33 quantum
11 glance
7 keystone
3 cinder
1 horizon
134 total
Things to note:
* It looks like there might be a regression on stable/folsom with
ceph/rbd:
https://bugs.launchpad.net/nova/+bug/1083818
Adam Gandelman and Josh Durgin are chasing it.
* There's a very serious known issue with the image cache cleanup
code when you're using shared storage:
https://bugs.launchpad.net/nova/+bug/1078594
The fix is invasive and risky, but there's a known workaround (i.e.
disable the image cache manager) which Vish has documented in the
release notes.
We may just disable the image cache manager by default for the
release.
* The Quantum linuxbridge plugin fix which allows us to move away from
using libvirt's type="ethernet" has been merged, but it isn't
really useful without the corresponding change to the Nova VIF
driver.
https://review.openstack.org/16223
Given the limited number of users affected, maybe we can consider
merging the Nova change before the release too.
One detail here is that if we merge the Nova VIF change, we would
need to warn users to update Quantum before Nova.
* Please add stuff to the release notes as it occurs to you:
http://wiki.openstack.org/ReleaseNotes/2012.2.1
Cheers,
Mark.
4
7
Hi,
There is valid concern about the upgrade procedure with this patch.
There is a way that we are able to do this without creating an major
problems:
1. Leave the class QuantumLinuxBridgeVIFDriver unchanged
2. Add in a new class QuantumLinuxBridgeVIFDriverEnhanced (or if someone
has a better name). This class will contain the changes. If someone
wants to benefit fro the changes then she/he will need to update their
configuration file to:
libvirt_vif_driver=nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriverEnhanced
This can be documented and it may treat all of the concerns. Naturally a
patch upstream will need to be added so that this wil be forward compatible.
Thoughts?
Thanks
Gary
4
5
26 Nov '12
See <https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/56/>
------------------------------------------
[...truncated 900 lines...]
TestPolicyEnforcer
test_policy_file_custom_location [32mOK [0m[32m 0.01[0m
test_policy_file_custom_rules_default_location [32mOK [0m[32m 0.01[0m
test_policy_file_default_rules_default_location [32mOK [0m[32m 0.01[0m
TestPolicyEnforcerNoFile
test_policy_file_default_not_found [32mOK [0m[32m 0.01[0m
test_policy_file_specified_but_not_found [32mOK [0m[32m 0.01[0m
TestStore
test_add [32mOK [0m[32m 0.01[0m
test_add_already_existing [32mOK [0m[32m 0.01[0m
test_add_host_variations [32mOK [0m[33m 0.03[0m
test_calling_format_default [32mOK [0m[32m 0.01[0m
test_calling_format_path [32mOK [0m[32m 0.01[0m
test_calling_format_subdomain [32mOK [0m[32m 0.01[0m
test_delete [32mOK [0m[32m 0.01[0m
test_delete_non_existing [32mOK [0m[32m 0.02[0m
test_get [32mOK [0m[32m 0.01[0m
test_get_calling_format_default [32mOK [0m[32m 0.01[0m
test_get_calling_format_path [32mOK [0m[32m 0.01[0m
test_get_non_existing [32mOK [0m[32m 0.01[0m
test_get_s3_bad_location [32mOK [0m[32m 0.01[0m
test_get_s3_good_location [32mOK [0m[32m 0.01[0m
test_no_access_key [32mOK [0m[32m 0.01[0m
test_no_host [32mOK [0m[32m 0.01[0m
test_no_secret_key [32mOK [0m[32m 0.01[0m
TestBasicSchema
test_filter_strips_extra_properties [32mOK [0m[32m 0.00[0m
test_merge_conflicting_but_identical_properties [32mOK [0m[32m 0.01[0m
test_merge_conflicting_properties [32mOK [0m[32m 0.01[0m
test_merge_properties [32mOK [0m[32m 0.00[0m
test_raw_json_schema [32mOK [0m[32m 0.01[0m
test_validate_fails_on_bad_type [32mOK [0m[32m 0.01[0m
test_validate_fails_on_extra_properties [32mOK [0m[32m 0.01[0m
test_validate_passes [32mOK [0m[32m 0.01[0m
TestBasicSchemaLinks
test_raw_json_schema [32mOK [0m[32m 0.01[0m
TestCollectionSchema
test_raw_json_schema [32mOK [0m[32m 0.01[0m
TestPermissiveSchema
test_filter_passes_extra_properties [32mOK [0m[32m 0.00[0m
test_raw_json_schema [32mOK [0m[32m 0.01[0m
test_validate_rejects_non_string_extra_properties [32mOK [0m[32m 0.01[0m
test_validate_with_additional_properties_allowed [32mOK [0m[32m 0.01[0m
TestSkipExamples
test_001_increase_test_counter [32mOK [0m[32m 0.00[0m
test_002_increase_test_counter [32mOK [0m[32m 0.01[0m
test_003_verify_test_counter [32mOK [0m[32m 0.01[0m
test_skip_if_example [34mSKIP[0m
test_skip_test_example [34mSKIP[0m
test_skip_unless_example [34mSKIP[0m
TestStoreLocation
test_bad_store_scheme [32mOK [0m[32m 0.01[0m
test_filesystem_store_location [32mOK [0m[32m 0.01[0m
test_get_location_from_uri_back_to_uri [32mOK [0m[32m 0.01[0m
test_get_store_from_scheme [32mOK [0m[32m 0.02[0m
test_http_store_location [32mOK [0m[32m 0.01[0m
test_rbd_store_location [32mOK [0m[32m 0.01[0m
test_s3_store_location [32mOK [0m[32m 0.01[0m
test_swift_store_location [32mOK [0m[32m 0.01[0m
TestChunkReader
test_read_all_data [32mOK [0m[32m 0.01[0m
TestStoreAuthV1
test_add [32mOK [0m[32m 0.01[0m
test_add_already_existing [32mOK [0m[32m 0.01[0m
test_add_auth_url_variations [32mOK [0m[32m 0.02[0m
test_add_large_object [32mOK [0m[32m 0.01[0m
test_add_large_object_zero_size [32mOK [0m[32m 0.01[0m
test_add_no_container_and_create [32mOK [0m[32m 0.01[0m
test_add_no_container_no_create [32mOK [0m[32m 0.01[0m
test_delete [32mOK [0m[32m 0.01[0m
test_delete_non_existing [32mOK [0m[32m 0.01[0m
test_get [32mOK [0m[32m 0.01[0m
test_get_non_existing [32mOK [0m[32m 0.01[0m
test_get_size [32mOK [0m[32m 0.01[0m
test_get_with_http_auth [32mOK [0m[32m 0.01[0m
test_no_auth_address [32mOK [0m[32m 0.01[0m
test_no_key [32mOK [0m[32m 0.01[0m
test_no_user [32mOK [0m[32m 0.01[0m
test_read_acl_public [32mOK [0m[32m 0.01[0m
test_read_acl_tenants [32mOK [0m[32m 0.01[0m
test_read_write_public [32mOK [0m[32m 0.01[0m
TestStoreAuthV2
test_add [32mOK [0m[32m 0.01[0m
test_add_already_existing [32mOK [0m[32m 0.01[0m
test_add_auth_url_variations [32mOK [0m[32m 0.02[0m
test_add_large_object [32mOK [0m[32m 0.01[0m
test_add_large_object_zero_size [32mOK [0m[32m 0.01[0m
test_add_no_container_and_create [32mOK [0m[32m 0.01[0m
test_add_no_container_no_create [32mOK [0m[32m 0.01[0m
test_delete [32mOK [0m[32m 0.02[0m
test_delete_non_existing [32mOK [0m[32m 0.01[0m
test_get [32mOK [0m[32m 0.01[0m
test_get_non_existing [32mOK [0m[32m 0.01[0m
test_get_size [32mOK [0m[32m 0.01[0m
test_get_with_http_auth [32mOK [0m[32m 0.01[0m
test_no_auth_address [32mOK [0m[32m 0.01[0m
test_no_key [32mOK [0m[32m 0.01[0m
test_no_user [32mOK [0m[32m 0.01[0m
test_read_acl_public [32mOK [0m[32m 0.01[0m
test_read_acl_tenants [32mOK [0m[32m 0.01[0m
test_read_write_public [32mOK [0m[32m 0.01[0m
test_v2_multi_tenant_location [32mOK [0m[32m 0.01[0m
test_v2_with_no_tenant [32mOK [0m[32m 0.01[0m
TestUtils
test_cooperative_reader [32mOK [0m[33m 0.04[0m
test_generate_uuid_format [32mOK [0m[32m 0.01[0m
test_generate_uuid_unique [32mOK [0m[32m 0.01[0m
test_is_uuid_like_fails [32mOK [0m[32m 0.01[0m
test_is_uuid_like_success [32mOK [0m[32m 0.00[0m
test_limiting_reader [32mOK [0m[32m 0.01[0m
test_limiting_reader_fails [32mOK [0m[32m 0.01[0m
VersionNegotiationTest
test_request_accept_v1 [32mOK [0m[32m 0.01[0m
test_request_url_v1 [32mOK [0m[32m 0.01[0m
test_request_url_v1_0 [32mOK [0m[32m 0.01[0m
test_request_url_v1_1 [32mOK [0m[32m 0.01[0m
test_request_url_v2 [32mOK [0m[32m 0.01[0m
test_request_url_v2_0 [32mOK [0m[32m 0.01[0m
test_request_url_v2_1_unsupported [32mOK [0m[32m 0.01[0m
test_request_url_v3_unsupported [32mOK [0m[32m 0.01[0m
VersionsTest
test_get_version_list [32mOK [0m[32m 0.01[0m
JSONRequestDeserializerTest
test_default_no_body [32mOK [0m[32m 0.01[0m
test_default_with_body [32mOK [0m[32m 0.01[0m
test_from_json [32mOK [0m[32m 0.01[0m
test_from_json_malformed [32mOK [0m[32m 0.01[0m
test_has_body_has_content_length [32mOK [0m[32m 0.01[0m
test_has_body_no_content_length [32mOK [0m[32m 0.01[0m
test_has_body_zero_content_length [32mOK [0m[32m 0.01[0m
test_no_body_no_content_length [32mOK [0m[32m 0.01[0m
JSONResponseSerializerTest
test_default [32mOK [0m[32m 0.01[0m
test_to_json [32mOK [0m[32m 0.00[0m
RequestTest
test_content_type_accept_default [32mOK [0m[32m 0.01[0m
test_content_type_from_accept_json [32mOK [0m[32m 0.01[0m
test_content_type_from_accept_json_xml_quality [32mOK [0m[32m 0.01[0m
test_content_type_from_accept_xml [32mOK [0m[32m 0.00[0m
test_content_type_from_accept_xml_json [32mOK [0m[32m 0.01[0m
test_content_type_missing [32mOK [0m[32m 0.01[0m
test_content_type_unsupported [32mOK [0m[32m 0.01[0m
test_content_type_with_charset [32mOK [0m[32m 0.01[0m
ResourceTest
test_dispatch [32mOK [0m[32m 0.01[0m
test_dispatch_default [32mOK [0m[32m 0.01[0m
test_dispatch_no_default [32mOK [0m[32m 0.01[0m
test_get_action_args [32mOK [0m[32m 0.01[0m
TestHelpers
test_data_passed_properly_through_headers [32mOK [0m[32m 0.01[0m
test_headers_are_unicode [32mOK [0m[32m 0.01[0m
======================================================================
FAIL: Ensure an interrupt signal does not cause a respawn storm.
----------------------------------------------------------------------
Traceback (most recent call last):
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 71, in test_interrupt_avoids_respawn_storm
self.assertTrue(child in children)
AssertionError: False is not true
'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>> raise self.failureException('False is not true')
----------------------------------------------------------------------
XML: nosetests.xml
Slowest 5 tests took 67.96 secs:
[31m 14.17 TestScrubber.test_delayed_delete[0m
[31m 13.82 TestGlanceControl.test_reload[0m
[31m 13.63 TestGlanceControl.test_respawn[0m
[31m 13.63 TestGlanceControl.test_bouncing[0m
[31m 12.73 TestApi.test_unsupported_default_store[0m
----------------------------------------------------------------------
Ran 912 tests in 475.808s
FAILED (SKIP=100, failures=1)
ERROR: InvocationError: '<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…'>
___________________________________ 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==0.9.6
Jinja2==2.6
Paste==1.7.5.1
PasteDeploy==1.5.0
Pygments==1.5
Routes==1.13
SQLAlchemy==0.7.9
Sphinx==1.1.3
Tempita==0.5.1
WebOb==1.0.8
amqplib==1.0.2
anyjson==0.3.3
argparse==1.2.1
boto==2.1.1
colorama==0.2.4
coverage==3.5.3
decorator==3.4.0
distribute==0.6.31
docutils==0.9.1
eventlet==0.9.17
glance==jenkins-periodic-glance-python27-stable-folsom-56
greenlet==0.4.0
httplib2==0.7.7
iso8601==0.1.4
jsonschema==0.7
kombu==2.4.10
lxml==3.0.1
mox==0.5.3
nose==1.2.1
nose-exclude==0.1.9
nosehtmloutput==0.0.4
openstack.nose-plugin==0.11
passlib==1.6.1
pep8==1.1
pycrypto==2.6
pysendfile==2.0.0
python-swiftclient==1.2.0
repoze.lru==0.6
requests==0.14.2
simplejson==2.6.2
sqlalchemy-migrate==0.7.2
termcolor==1.1.0
wsgiref==0.1.2
xattr==0.6.4
+ echo ======================================================================
======================================================================
+ 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=./nose_results.html
+ '[' -f ./nose_results.html ']'
++ grep -c 'tr class=.passClass' ./nose_results.html
+ passcount=94
+ '[' 94 -eq 0 ']'
+ exit 1
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-glance-python27-stable-folsom/56
[SCP] uploading file: '/srv/static/logs/periodic/periodic-glance-python27-stable-folsom/56/nose_results.html'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.
2
2
Build failed in Jenkins: periodic-tempest-devstack-vm-cinder-stable-folsom #55
by OpenStack Jenkins 25 Nov '12
by OpenStack Jenkins 25 Nov '12
25 Nov '12
See <https://jenkins.openstack.org/job/periodic-tempest-devstack-vm-cinder-stabl…>
------------------------------------------
[...truncated 12137 lines...]
# Cluster: the 'nova' user must have scp access between cluster nodes
resize_available = False
# Does the compute API support changing the admin password?
change_password_available = False
# Level to log Compute API request/response details.
log_level = ERROR
# Whitebox options for compute. Whitebox options enable the
# whitebox test cases, which look at internal Nova database state,
# SSH into VMs to check instance state, etc.
# Should we run whitebox tests for Compute?
whitebox_enabled = True
# Path of nova source directory
source_dir = /opt/stack/nova
# Path of nova configuration file
config_path = /etc/nova/nova.conf
# Directory containing nova binaries such as nova-manage
bin_dir = /usr/bin/nova
# Path to a private key file for SSH access to remote hosts
path_to_private_key = /opt/stack/tempest/id_rsa
# Connection string to the database of Compute service
db_uri = mysql://root:secret@localhost/nova
[image]
# This section contains configuration options used when executing tests
# against the OpenStack Images API
# The type of endpoint for an Image API service. Unless you have a
# custom Keystone service catalog implementation, you probably want to leave
# this value as "image"
catalog_type = image
# The version of the OpenStack Images API to use
api_version = 1
# This is the main host address of the Image API
host = 127.0.0.1
# Port that the Image API is running on
port = 9292
# This should be the username of a user WITHOUT administrative privileges
username = demo
# The above non-administrative user's password
password = secret
# The above non-administrative user's tenant name
tenant_name = demo
[compute-admin]
# This section contains configuration options for an administrative
# user of the Compute API. These options are used in tests that stress
# the admin-only parts of the Compute API
# This should be the username of a user WITH administrative privileges
username = admin
# The above administrative user's password
password = secret
# The above administrative user's tenant name
tenant_name = admin
[identity-admin]
# This section contains configuration options for an administrative
# user of the Compute API. These options are used in tests that stress
# the admin-only parts of the Compute API
# This should be the username of a user WITH administrative privileges
username = admin
# The above administrative user's password
password = secret
# The above administrative user's tenant name
tenant_name = admin
[volume]
# This section contains the configuration options used when executing tests
# against the OpenStack Block Storage API service
# The type of endpoint for a Cinder or Block Storage API service.
# Unless you have a custom Keystone service catalog implementation, you
# probably want to leave this value as "volume"
catalog_type = volume
# Number of seconds to wait while looping to check the status of a
# volume that is being made available
build_interval = 3
# Number of seconds to time out on waiting for a volume
# to be available or reach an expected status
build_timeout = 300
+ echo '\n'
\n
+ echo '**************************************************'
**************************************************
+ echo 'Finished Configuring Tempest'
Finished Configuring Tempest
+ echo '**************************************************'
**************************************************
Running tempest smoke tests
nose.config: INFO: Ignoring files matching ['^\\.', '^_', '^setup\\.py$']
Check that the required fields are returned with values ... ok
The created server should be in the list of all servers ... ok
The created server should be in the detailed list of all servers ... ok
Verify the specified server attributes are set correctly ... ok
Check that the required fields are returned with values ... ok
The created server should be in the list of all servers ... ok
The created server should be in the detailed list of all servers ... ok
Verify the specified server attributes are set correctly ... ok
The expected flavor details should be returned ... ok
List of all flavors should contain the expected flavor ... ok
Detailed list of all flavors should contain the expected flavor ... ok
The expected flavor details should be returned ... ok
List of all flavors should contain the expected flavor ... ok
Detailed list of all flavors should contain the expected flavor ... ok
SKIP: Until Bug 1046870 is fixed
SKIP: Until Bug 1046870 is fixed
Returns the correct details for a single image ... ok
The list of all images should contain the image ... ok
Detailed list of all images should contain the expected images ... ok
The server's password should be set to the provided password ... SKIP: Change password not available.
The server should be power cycled ... ok
The server should be signaled to reboot gracefully ... SKIP: Until bug 1014647 is dealt with.
The server should be rebuilt using the provided image and data ... ok
The server's RAM and disk space should be modified to that of ... SKIP: Resize not available.
The server's password should be set to the provided password ... SKIP: Change password not available.
The server should be power cycled ... ok
The server should be signaled to reboot gracefully ... SKIP: Until bug 1014647 is dealt with.
The server should be rebuilt using the provided image and data ... ok
The server's RAM and disk space should be modified to that of ... SKIP: Resize not available.
All public and private addresses for ... ok
Providing a network type should filter ... ok
CREATE, GET, DELETE Volume ... No handlers could be found for logger "tempest.common.rest_client"
ok
CREATE, GET, DELETE Volume ... ok
Create a user ... ok
Delete a user ... ok
Get a list of users and find the test user ... ok
Valid user's token is authenticated ... ok
Create a user ... ok
Delete a user ... ok
Get a list of users and find the test user ... ok
Valid user's token is authenticated ... ok
Volume is attached and detached successfully from an instance ... ok
Create a volume, Get it's details and Delete the volume ... ERROR
Create a volume, Get it's details and Delete the volume ... ERROR
ERROR
ERROR
======================================================================
ERROR: Create a volume, Get it's details and Delete the volume
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/tests/volume/test_volumes_get.py", line 68, in test_volume_create_get_delete
self.client.wait_for_resource_deletion(volume['id'])
File "/opt/stack/tempest/tempest/common/rest_client.py", line 260, in wait_for_resource_deletion
raise exceptions.TimeoutException
TimeoutException: Request timed out
======================================================================
ERROR: Create a volume, Get it's details and Delete the volume
----------------------------------------------------------------------
Traceback (most recent call last):
File "/opt/stack/tempest/tempest/tests/volume/test_volumes_get.py", line 66, in test_volume_create_get_delete
resp, _ = self.client.delete_volume(volume['id'])
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py", line 93, in delete_volume
return self.delete("volumes/%s" % str(volume_id))
File "/opt/stack/tempest/tempest/common/rest_client.py", line 169, in delete
return self.request('DELETE', url, headers)
File "/opt/stack/tempest/tempest/common/rest_client.py", line 208, in request
raise exceptions.BadRequest(resp_body)
BadRequest: Bad request
Details: {u'badRequest': {u'message': u'Invalid volume: Volume status must be available or error', u'code': 400}}
======================================================================
ERROR: test suite for <class 'tempest.tests.volume.test_volumes_list.VolumeListTestJSON'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
return func()
File "/opt/stack/tempest/tempest/tests/volume/test_volumes_list.py", line 125, in setUpClass
cls.client.wait_for_volume_status(volume['id'], 'available')
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py", line 132, in wait_for_volume_status
raise exceptions.TimeoutException(message)
TimeoutException: Request timed out
Details: Volume volume791820 failed to reach available status within the required time (300.0 s).
======================================================================
ERROR: test suite for <class 'tempest.tests.volume.test_volumes_list.VolumeListTestXML'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 208, in run
self.setUp()
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 291, in setUp
self.setupContext(ancestor)
File "/usr/lib/python2.7/dist-packages/nose/suite.py", line 314, in setupContext
try_run(context, names)
File "/usr/lib/python2.7/dist-packages/nose/util.py", line 478, in try_run
return func()
File "/opt/stack/tempest/tempest/tests/volume/test_volumes_list.py", line 79, in setUpClass
cls.client.wait_for_volume_status(volume['id'], 'available')
File "/opt/stack/tempest/tempest/services/volume/json/volumes_client.py", line 132, in wait_for_volume_status
raise exceptions.TimeoutException(message)
TimeoutException: Request timed out
Details: Volume volume456398 failed to reach available status within the required time (300.0 s).
----------------------------------------------------------------------
XML: nosetests-smoke.xml
----------------------------------------------------------------------
Ran 42 tests in 1684.636s
FAILED (SKIP=8, errors=4)
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/devstack-gate-cleanup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/devstack-gate-setup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/devstack-gate-setup-workspace.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/devstacklog.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/kern_log.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/localrc.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-c-api.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-c-sch.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-c-vol.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-g-api.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-g-reg.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-horizon.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-key.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-n-api.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-n-cpu.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-n-crt.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-n-net.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-n-obj.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-n-sch.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/screen-swift.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder-stable-folsom/55/logs/syslog.txt'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.
1
1
Build failed in Jenkins: periodic-tempest-devstack-vm-stable-folsom #55
by OpenStack Jenkins 25 Nov '12
by OpenStack Jenkins 25 Nov '12
25 Nov '12
See <https://jenkins.openstack.org/job/periodic-tempest-devstack-vm-stable-folso…>
------------------------------------------
[...truncated 5214 lines...]
Using /usr/local/lib/python2.7/dist-packages
Searching for Tempita==0.5.1
Best match: Tempita 0.5.1
Adding Tempita 0.5.1 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Searching for decorator==3.3.2
Best match: decorator 3.3.2
Adding decorator 3.3.2 to easy-install.pth file
Using /usr/lib/python2.7/dist-packages
Finished processing dependencies for keystone==2012.2.1
+ [[ ! -d /etc/keystone ]]
+ [[ /etc/keystone != \/\o\p\t\/\s\t\a\c\k\/\k\e\y\s\t\o\n\e\/\e\t\c ]]
+ cp -p /opt/stack/keystone/etc/keystone.conf.sample /etc/keystone/keystone.conf
+ cp -p /opt/stack/keystone/etc/policy.json /etc/keystone
+ iniset /etc/keystone/keystone.conf DEFAULT admin_token 111222333444
+ local file=/etc/keystone/keystone.conf
+ local section=DEFAULT
+ local option=admin_token
+ local value=111222333444
+ grep -q '^\[DEFAULT\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf DEFAULT admin_token
++ local file=/etc/keystone/keystone.conf
++ local section=DEFAULT
++ local option=admin_token
++ local line
+++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^admin_token[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[DEFAULT\]/ a\
admin_token = 111222333444
' /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf sql connection 'mysql://root:secret@localhost/keystone?charset=utf8'
+ local file=/etc/keystone/keystone.conf
+ local section=sql
+ local option=connection
+ local 'value=mysql://root:secret@localhost/keystone?charset=utf8'
+ grep -q '^\[sql\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf sql connection
++ local file=/etc/keystone/keystone.conf
++ local section=sql
++ local option=connection
++ local line
+++ sed -ne '/^\[sql\]/,/^\[.*\]/ { /^connection[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[sql\]/ a\
connection = mysql://root:secret@localhost/keystone?charset=utf8
' /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf ec2 driver keystone.contrib.ec2.backends.sql.Ec2
+ local file=/etc/keystone/keystone.conf
+ local section=ec2
+ local option=driver
+ local value=keystone.contrib.ec2.backends.sql.Ec2
+ grep -q '^\[ec2\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf ec2 driver
++ local file=/etc/keystone/keystone.conf
++ local section=ec2
++ local option=driver
++ local line
+++ sed -ne '/^\[ec2\]/,/^\[.*\]/ { /^driver[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[ec2\]/ a\
driver = keystone.contrib.ec2.backends.sql.Ec2
' /etc/keystone/keystone.conf
+ sed -e '
/^pipeline.*ec2_extension crud_/s|ec2_extension crud_extension|ec2_extension s3_extension crud_extension|;
' -i /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf filter:s3_extension paste.filter_factory keystone.contrib.s3:S3Extension.factory
+ local file=/etc/keystone/keystone.conf
+ local section=filter:s3_extension
+ local option=paste.filter_factory
+ local value=keystone.contrib.s3:S3Extension.factory
+ grep -q '^\[filter:s3_extension\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf filter:s3_extension paste.filter_factory
++ local file=/etc/keystone/keystone.conf
++ local section=filter:s3_extension
++ local option=paste.filter_factory
++ local line
+++ sed -ne '/^\[filter:s3_extension\]/,/^\[.*\]/ { /^paste.filter_factory[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line='paste.filter_factory = keystone.contrib.s3:S3Extension.factory'
++ echo keystone.contrib.s3:S3Extension.factory
+ [[ -z keystone.contrib.s3:S3Extension.factory ]]
+ sed -i -e '/^\[filter:s3_extension\]/,/^\[.*\]/ s|^\(paste.filter_factory[ \t]*=[ \t]*\).*$|\1keystone.contrib.s3:S3Extension.factory|' /etc/keystone/keystone.conf
+ [[ sql = \s\q\l ]]
+ iniset /etc/keystone/keystone.conf catalog driver keystone.catalog.backends.sql.Catalog
+ local file=/etc/keystone/keystone.conf
+ local section=catalog
+ local option=driver
+ local value=keystone.catalog.backends.sql.Catalog
+ grep -q '^\[catalog\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf catalog driver
++ local file=/etc/keystone/keystone.conf
++ local section=catalog
++ local option=driver
++ local line
+++ sed -ne '/^\[catalog\]/,/^\[.*\]/ { /^driver[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[catalog\]/ a\
driver = keystone.catalog.backends.sql.Catalog
' /etc/keystone/keystone.conf
+ inicomment /etc/keystone/keystone.conf catalog template_file
+ local file=/etc/keystone/keystone.conf
+ local section=catalog
+ local option=template_file
+ sed -i -e '/^\[catalog\]/,/^\[.*\]/ s|^\(template_file[ \t]*=.*$\)|#\1|' /etc/keystone/keystone.conf
+ LOGGING_ROOT=devel
+ '[' True '!=' False ']'
+ LOGGING_ROOT=devel,production
+ KEYSTONE_LOG_CONFIG='--log-config /etc/keystone/logging.conf'
+ cp /opt/stack/keystone/etc/logging.conf.sample /etc/keystone/logging.conf
+ iniset /etc/keystone/logging.conf logger_root level DEBUG
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=level
+ local value=DEBUG
+ grep -q '^\[logger_root\]' /etc/keystone/logging.conf
++ iniget /etc/keystone/logging.conf logger_root level
++ local file=/etc/keystone/logging.conf
++ local section=logger_root
++ local option=level
++ local line
+++ sed -ne '/^\[logger_root\]/,/^\[.*\]/ { /^level[ \t]*=/ p; }' /etc/keystone/logging.conf
++ line=level=WARNING
++ echo WARNING
+ [[ -z WARNING ]]
+ sed -i -e '/^\[logger_root\]/,/^\[.*\]/ s|^\(level[ \t]*=[ \t]*\).*$|\1DEBUG|' /etc/keystone/logging.conf
+ iniset /etc/keystone/logging.conf logger_root handlers devel,production
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=handlers
+ local value=devel,production
+ grep -q '^\[logger_root\]' /etc/keystone/logging.conf
++ iniget /etc/keystone/logging.conf logger_root handlers
++ local file=/etc/keystone/logging.conf
++ local section=logger_root
++ local option=handlers
++ local line
+++ sed -ne '/^\[logger_root\]/,/^\[.*\]/ { /^handlers[ \t]*=/ p; }' /etc/keystone/logging.conf
++ line=handlers=file
++ echo file
+ [[ -z file ]]
+ sed -i -e '/^\[logger_root\]/,/^\[.*\]/ s|^\(handlers[ \t]*=[ \t]*\).*$|\1devel,production|' /etc/keystone/logging.conf
+ init_keystone
+ mysql -uroot -psecret -e 'DROP DATABASE IF EXISTS keystone;'
+ mysql -uroot -psecret -e 'CREATE DATABASE keystone CHARACTER SET utf8;'
+ /opt/stack/keystone/bin/keystone-manage db_sync
+ /opt/stack/keystone/bin/keystone-manage pki_setup
Generating RSA private key, 1024 bit long modulus
...............++++++
......................++++++
e is 65537 (0x10001)
Generating RSA private key, 1024 bit long modulus
..++++++
.....................................++++++
e is 65537 (0x10001)
Using configuration from /etc/keystone/ssl/certs/openssl.conf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'US'
stateOrProvinceName :PRINTABLE:'Unset'
localityName :PRINTABLE:'Unset'
organizationName :PRINTABLE:'Unset'
commonName :PRINTABLE:'www.example.com'
Certificate is to be certified until Nov 25 00:07:05 2013 GMT (365 days)
Write out database with 1 new entries
Data Base Updated
Looking for /etc/keystone/ssl/certs/openssl.conf: [NOT FOUND]
Looking for /etc/keystone/ssl/certs: [NOT FOUND]
Looking for /etc/keystone/ssl/certs/index.txt: [NOT FOUND]
Looking for /etc/keystone/ssl/certs/serial: [NOT FOUND]
Looking for /etc/keystone/ssl/certs/ca.pem: [NOT FOUND]
Looking for /etc/keystone/ssl/certs: [FOUND]
openssl genrsa -out /etc/keystone/ssl/certs/cakey.pem 1024 -config /etc/keystone/ssl/certs/openssl.conf
Generating CA certificate
openssl req -new -x509 -extensions v3_ca -passin pass:None -key /etc/keystone/ssl/certs/cakey.pem -out /etc/keystone/ssl/certs/ca.pem -days 3650 -config /etc/keystone/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
Looking for /etc/keystone/ssl/private/signing_key.pem: [NOT FOUND]
Looking for /etc/keystone/ssl/private: [NOT FOUND]
openssl genrsa -out /etc/keystone/ssl/private/signing_key.pem 1024 -config /etc/keystone/ssl/certs/openssl.conf
Looking for /etc/keystone/ssl/certs/signing_cert.pem: [NOT FOUND]
Looking for /etc/keystone/ssl/certs: [FOUND]
openssl req -key /etc/keystone/ssl/private/signing_key.pem -new -nodes -out /etc/keystone/ssl/certs/req.pem -config /etc/keystone/ssl/certs/openssl.conf -subj /C=US/ST=Unset/L=Unset/O=Unset/CN=www.example.com
openssl ca -batch -out /etc/keystone/ssl/certs/signing_cert.pem -config /etc/keystone/ssl/certs/openssl.conf -infiles /etc/keystone/ssl/certs/req.pem
+ start_keystone
+ screen_it key 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug'
++ echo -ne '\015'
+ NL=$'\r'
+ SCREEN_NAME=stack
+ is_service_enabled key
+ services=key
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-sch,horizon,mysql,rabbit,tempest,n-net,swift,n-vol, =~ ,key, ]]
+ return 0
+ screen_rc key 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug'
+ SCREEN_NAME=stack
+ SCREENRC=/opt/stack/devstack/stack-screenrc
+ [[ ! -e /opt/stack/devstack/stack-screenrc ]]
+ echo 'sessionname stack'
+ echo 'hardstatus alwayslastline '\''%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'\'''
+ echo 'screen -t shell bash'
+ grep key /opt/stack/devstack/stack-screenrc
++ echo -ne '\015'
+ NL=$'\r'
+ echo 'screen -t key bash'
+ echo 'stuff "cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug
"'
+ screen -S stack -X screen -t key
+ sleep 1.5
+ [[ -n /opt/stack/screen-logs ]]
+ screen -S stack -p key -X logfile /opt/stack/screen-logs/screen-key.2012-11-25-000352.log
+ screen -S stack -p key -X log on
+ ln -sf /opt/stack/screen-logs/screen-key.2012-11-25-000352.log /opt/stack/screen-logs/screen-key.log
+ screen -S stack -p key -X stuff 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug
'
+ echo 'Waiting for keystone to start...'
Waiting for keystone to start...
+ timeout 60 sh -c 'while ! http_proxy= curl -s http://127.0.0.1:5000/v2.0/ >/dev/null; do sleep 1; done'
+ echo 'keystone did not start'
keystone did not start
+ exit 1
+ clean
+ local r=1
++ jobs -p
+ kill
+ exit 1
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/devstack-gate-cleanup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/devstack-gate-setup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/devstack-gate-setup-workspace.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/devstacklog.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/kern_log.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/localrc.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/screen-key.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/55/logs/syslog.txt'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.
1
1
22 Nov '12
See <https://jenkins.openstack.org/job/periodic-tempest-devstack-vm-cinder/45/>
------------------------------------------
[...truncated 6304 lines...]
+ database_connection_url_mysql dburl keystone
+ local output=dburl
+ local db=keystone
+ eval 'dburl=mysql://root:secret@localhost/keystone?charset=utf8'
++ dburl='mysql://root:secret@localhost/keystone?charset=utf8'
+ iniset /etc/keystone/keystone.conf DEFAULT admin_token 111222333444
+ local file=/etc/keystone/keystone.conf
+ local section=DEFAULT
+ local option=admin_token
+ local value=111222333444
+ grep -q '^\[DEFAULT\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf DEFAULT admin_token
++ local file=/etc/keystone/keystone.conf
++ local section=DEFAULT
++ local option=admin_token
++ local line
+++ sed -ne '/^\[DEFAULT\]/,/^\[.*\]/ { /^admin_token[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[DEFAULT\]/ a\
admin_token = 111222333444
' /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf signing token_format PKI
+ local file=/etc/keystone/keystone.conf
+ local section=signing
+ local option=token_format
+ local value=PKI
+ grep -q '^\[signing\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf signing token_format
++ local file=/etc/keystone/keystone.conf
++ local section=signing
++ local option=token_format
++ local line
+++ sed -ne '/^\[signing\]/,/^\[.*\]/ { /^token_format[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[signing\]/ a\
token_format = PKI
' /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf sql connection 'mysql://root:secret@localhost/keystone?charset=utf8'
+ local file=/etc/keystone/keystone.conf
+ local section=sql
+ local option=connection
+ local 'value=mysql://root:secret@localhost/keystone?charset=utf8'
+ grep -q '^\[sql\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf sql connection
++ local file=/etc/keystone/keystone.conf
++ local section=sql
++ local option=connection
++ local line
+++ sed -ne '/^\[sql\]/,/^\[.*\]/ { /^connection[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[sql\]/ a\
connection = mysql://root:secret@localhost/keystone?charset=utf8
' /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf ec2 driver keystone.contrib.ec2.backends.sql.Ec2
+ local file=/etc/keystone/keystone.conf
+ local section=ec2
+ local option=driver
+ local value=keystone.contrib.ec2.backends.sql.Ec2
+ grep -q '^\[ec2\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf ec2 driver
++ local file=/etc/keystone/keystone.conf
++ local section=ec2
++ local option=driver
++ local line
+++ sed -ne '/^\[ec2\]/,/^\[.*\]/ { /^driver[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[ec2\]/ a\
driver = keystone.contrib.ec2.backends.sql.Ec2
' /etc/keystone/keystone.conf
+ sed -e '
/^pipeline.*ec2_extension crud_/s|ec2_extension crud_extension|ec2_extension s3_extension crud_extension|;
' -i /etc/keystone/keystone.conf
+ iniset /etc/keystone/keystone.conf filter:s3_extension paste.filter_factory keystone.contrib.s3:S3Extension.factory
+ local file=/etc/keystone/keystone.conf
+ local section=filter:s3_extension
+ local option=paste.filter_factory
+ local value=keystone.contrib.s3:S3Extension.factory
+ grep -q '^\[filter:s3_extension\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf filter:s3_extension paste.filter_factory
++ local file=/etc/keystone/keystone.conf
++ local section=filter:s3_extension
++ local option=paste.filter_factory
++ local line
+++ sed -ne '/^\[filter:s3_extension\]/,/^\[.*\]/ { /^paste.filter_factory[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line='paste.filter_factory = keystone.contrib.s3:S3Extension.factory'
++ echo keystone.contrib.s3:S3Extension.factory
+ [[ -z keystone.contrib.s3:S3Extension.factory ]]
+ sed -i -e '/^\[filter:s3_extension\]/,/^\[.*\]/ s|^\(paste.filter_factory[ \t]*=[ \t]*\).*$|\1keystone.contrib.s3:S3Extension.factory|' /etc/keystone/keystone.conf
+ [[ sql = \s\q\l ]]
+ iniset /etc/keystone/keystone.conf catalog driver keystone.catalog.backends.sql.Catalog
+ local file=/etc/keystone/keystone.conf
+ local section=catalog
+ local option=driver
+ local value=keystone.catalog.backends.sql.Catalog
+ grep -q '^\[catalog\]' /etc/keystone/keystone.conf
++ iniget /etc/keystone/keystone.conf catalog driver
++ local file=/etc/keystone/keystone.conf
++ local section=catalog
++ local option=driver
++ local line
+++ sed -ne '/^\[catalog\]/,/^\[.*\]/ { /^driver[ \t]*=/ p; }' /etc/keystone/keystone.conf
++ line=
++ echo
+ [[ -z '' ]]
+ sed -i -e '/^\[catalog\]/ a\
driver = keystone.catalog.backends.sql.Catalog
' /etc/keystone/keystone.conf
+ inicomment /etc/keystone/keystone.conf catalog template_file
+ local file=/etc/keystone/keystone.conf
+ local section=catalog
+ local option=template_file
+ sed -i -e '/^\[catalog\]/,/^\[.*\]/ s|^\(template_file[ \t]*=.*$\)|#\1|' /etc/keystone/keystone.conf
+ LOGGING_ROOT=devel
+ '[' True '!=' False ']'
+ LOGGING_ROOT=devel,production
+ KEYSTONE_LOG_CONFIG='--log-config /etc/keystone/logging.conf'
+ cp /opt/stack/keystone/etc/logging.conf.sample /etc/keystone/logging.conf
+ iniset /etc/keystone/logging.conf logger_root level DEBUG
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=level
+ local value=DEBUG
+ grep -q '^\[logger_root\]' /etc/keystone/logging.conf
++ iniget /etc/keystone/logging.conf logger_root level
++ local file=/etc/keystone/logging.conf
++ local section=logger_root
++ local option=level
++ local line
+++ sed -ne '/^\[logger_root\]/,/^\[.*\]/ { /^level[ \t]*=/ p; }' /etc/keystone/logging.conf
++ line=level=WARNING
++ echo WARNING
+ [[ -z WARNING ]]
+ sed -i -e '/^\[logger_root\]/,/^\[.*\]/ s|^\(level[ \t]*=[ \t]*\).*$|\1DEBUG|' /etc/keystone/logging.conf
+ iniset /etc/keystone/logging.conf logger_root handlers devel,production
+ local file=/etc/keystone/logging.conf
+ local section=logger_root
+ local option=handlers
+ local value=devel,production
+ grep -q '^\[logger_root\]' /etc/keystone/logging.conf
++ iniget /etc/keystone/logging.conf logger_root handlers
++ local file=/etc/keystone/logging.conf
++ local section=logger_root
++ local option=handlers
++ local line
+++ sed -ne '/^\[logger_root\]/,/^\[.*\]/ { /^handlers[ \t]*=/ p; }' /etc/keystone/logging.conf
++ line=handlers=file
++ echo file
+ [[ -z file ]]
+ sed -i -e '/^\[logger_root\]/,/^\[.*\]/ s|^\(handlers[ \t]*=[ \t]*\).*$|\1devel,production|' /etc/keystone/logging.conf
+ init_keystone
+ recreate_database keystone utf8
+ local db=keystone
+ local charset=utf8
+ recreate_database_mysql keystone utf8
+ local db=keystone
+ local charset=utf8
+ mysql -uroot -psecret -e 'DROP DATABASE IF EXISTS keystone;'
+ mysql -uroot -psecret -e 'CREATE DATABASE keystone CHARACTER SET utf8;'
+ /opt/stack/keystone/bin/keystone-manage db_sync
+ [[ PKI == \P\K\I ]]
+ /opt/stack/keystone/bin/keystone-manage pki_setup
Generating RSA private key, 1024 bit long modulus
........................................................................................++++++
..........................++++++
e is 65537 (0x10001)
Generating RSA private key, 1024 bit long modulus
......................................++++++
.........++++++
e is 65537 (0x10001)
Using configuration from /etc/keystone/ssl/certs/openssl.conf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
countryName :PRINTABLE:'US'
stateOrProvinceName :PRINTABLE:'Unset'
localityName :PRINTABLE:'Unset'
organizationName :PRINTABLE:'Unset'
commonName :PRINTABLE:'www.example.com'
Certificate is to be certified until Nov 22 00:06:52 2013 GMT (365 days)
Write out database with 1 new entries
Data Base Updated
+ sudo mkdir -p /var/cache/keystone
++ whoami
+ sudo chown stack /var/cache/keystone
+ start_keystone
+ screen_it key 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug'
++ echo -ne '\015'
+ NL=$'\r'
+ SCREEN_NAME=stack
+ is_service_enabled key
+ services=key
+ for service in '${services}'
+ [[ ,g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-sch,horizon,mysql,rabbit,tempest,swift,cinder,c-api,c-vol,c-sch,n-cond,n-net, =~ ,key, ]]
+ return 0
+ screen_rc key 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug'
+ SCREEN_NAME=stack
+ SCREENRC=/opt/stack/devstack/stack-screenrc
+ [[ ! -e /opt/stack/devstack/stack-screenrc ]]
+ echo 'sessionname stack'
+ echo 'hardstatus alwayslastline '\''%{= .} %-Lw%{= .}%> %n%f %t*%{= .}%+Lw%< %-=%{g}(%{d}%H/%l%{g})'\'''
+ echo 'screen -t shell bash'
+ grep key /opt/stack/devstack/stack-screenrc
++ echo -ne '\015'
+ NL=$'\r'
+ echo 'screen -t key bash'
+ echo 'stuff "cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug
"'
+ screen -S stack -X screen -t key
+ sleep 1.5
+ [[ -n /opt/stack/screen-logs ]]
+ screen -S stack -p key -X logfile /opt/stack/screen-logs/screen-key.2012-11-22-000406.log
+ screen -S stack -p key -X log on
+ ln -sf /opt/stack/screen-logs/screen-key.2012-11-22-000406.log /opt/stack/screen-logs/screen-key.log
+ screen -S stack -p key -X stuff 'cd /opt/stack/keystone && /opt/stack/keystone/bin/keystone-all --config-file /etc/keystone/keystone.conf --log-config /etc/keystone/logging.conf -d --debug
'
+ echo 'Waiting for keystone to start...'
Waiting for keystone to start...
+ timeout 60 sh -c 'while ! http_proxy= curl -s http://127.0.0.1:5000/v2.0/ >/dev/null; do sleep 1; done'
+ echo 'keystone did not start'
keystone did not start
+ exit 1
+ clean
+ local r=1
++ jobs -p
+ kill
+ exit 1
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/devstack-gate-cleanup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/devstack-gate-setup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/devstack-gate-setup-workspace.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/devstacklog.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/kern_log.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/localrc.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/screen-key.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-cinder/45/logs/syslog.txt'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.
1
1
Build failed in Jenkins: periodic-tempest-devstack-vm-stable-folsom #52
by OpenStack Jenkins 22 Nov '12
by OpenStack Jenkins 22 Nov '12
22 Nov '12
See <https://jenkins.openstack.org/job/periodic-tempest-devstack-vm-stable-folso…>
------------------------------------------
[...truncated 10628 lines...]
+-------------+-----------+---------+-----------+--------------+
+ nova flavor-list
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public | extra_specs |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | True | {} |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True | {} |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True | {} |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True | {} |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True | {} |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+-------------+
++ nova flavor-list
++ grep m1.tiny
++ get_field 1
++ read data
++ '[' 1 -lt 0 ']'
++ field='$2'
++ echo '| 1 | m1.tiny | 512 | 0 | 0 | | 1 | 1.0 | True | {} |'
++ awk '-F[ \t]*\\|[ \t]*' '{print $2}'
++ read data
+ INSTANCE_TYPE=1
+ [[ -z 1 ]]
+ NAME=ex-vol
++ nova boot --flavor 1 --image b82d8ca1-fae5-41d0-a5ab-71008e3113db ex-vol --security_groups=vol_secgroup
++ grep ' id '
++ get_field 2
++ read data
++ '[' 2 -lt 0 ']'
++ field='$3'
++ echo '| id | a135158e-1f7d-4c9e-be35-b73e5e1da1da |'
++ awk '-F[ \t]*\\|[ \t]*' '{print $3}'
++ read data
+ VM_UUID=a135158e-1f7d-4c9e-be35-b73e5e1da1da
+ die_if_not_set VM_UUID 'Failure launching ex-vol'
+ local exitcode=0
+ set +o xtrace
+ timeout 60 sh -c 'while ! nova show a135158e-1f7d-4c9e-be35-b73e5e1da1da | grep status | grep -q ACTIVE; do sleep 1; done'
++ nova show a135158e-1f7d-4c9e-be35-b73e5e1da1da
++ grep 'private network'
++ get_field 2
++ read data
++ '[' 2 -lt 0 ']'
++ field='$3'
++ echo '| private network | 10.1.0.3 |'
++ awk '-F[ \t]*\\|[ \t]*' '{print $3}'
++ read data
+ IP=10.1.0.3
+ die_if_not_set IP 'Failure retrieving IP address'
+ local exitcode=0
+ set +o xtrace
++ trueorfalse False
++ local default=False
++ local testval=
++ [[ -z '' ]]
++ echo False
++ return
+ MULTI_HOST=False
+ '[' False = False ']'
+ timeout 90 sh -c 'while ! ping -c1 -w1 10.1.0.3; do sleep 1; done'
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
--- 10.1.0.3 ping statistics ---
2 packets transmitted, 0 received, 100% packet loss, time 999ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
>From 10.1.0.1 icmp_seq=1 Destination Host Unreachable
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 0 received, 100% packet loss, time 0ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
>From 10.1.0.1 icmp_seq=1 Destination Host Unreachable
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
PING 10.1.0.3 (10.1.0.3) 56(84) bytes of data.
64 bytes from 10.1.0.3: icmp_req=1 ttl=64 time=5.88 ms
--- 10.1.0.3 ping statistics ---
1 packets transmitted, 1 received, 0% packet loss, time 0ms
rtt min/avg/max/mdev = 5.887/5.887/5.887/0.000 ms
++ openssl rand -hex 4
+ VOL_NAME=myvol-2ced6472
++ nova volume-list
++ head -1
++ get_field 2
++ read data
++ grep myvol-2ced6472
+ [[ -n '' ]]
+ nova volume-create --display_name myvol-2ced6472 --display_description 'test volume: myvol-2ced6472' 1
+---------------------+--------------------------------------+
| Property | Value |
+---------------------+--------------------------------------+
| attachments | [] |
| availability_zone | nova |
| created_at | 2012-11-22T00:14:05.557032 |
| display_description | test volume: myvol-2ced6472 |
| display_name | myvol-2ced6472 |
| id | 1a48f4ba-f2c5-4c95-a622-414ba6e3103c |
| metadata | {} |
| size | 1 |
| snapshot_id | None |
| status | creating |
| volume_type | None |
+---------------------+--------------------------------------+
+ [[ 0 != 0 ]]
++ date +%s
+ start_time=1353543245
+ timeout 60 sh -c 'while ! nova volume-list | grep myvol-2ced6472 | grep available; do sleep 1; done'
| 1a48f4ba-f2c5-4c95-a622-414ba6e3103c | available | myvol-2ced6472 | 1 | None | |
++ date +%s
+ end_time=1353543247
+ echo 'Completed volume-create in 2 seconds'
Completed volume-create in 2 seconds
++ nova volume-list
++ grep myvol-2ced6472
++ head -1
++ get_field 1
++ read data
++ '[' 1 -lt 0 ']'
++ field='$2'
++ echo '| 1a48f4ba-f2c5-4c95-a622-414ba6e3103c | available | myvol-2ced6472 | 1 | None | |'
++ awk '-F[ \t]*\\|[ \t]*' '{print $2}'
++ read data
+ VOL_ID=1a48f4ba-f2c5-4c95-a622-414ba6e3103c
+ die_if_not_set VOL_ID 'Failure retrieving volume ID for myvol-2ced6472'
+ local exitcode=0
+ set +o xtrace
+ DEVICE=/dev/vdb
++ date +%s
+ start_time=1353543248
+ nova volume-attach a135158e-1f7d-4c9e-be35-b73e5e1da1da 1a48f4ba-f2c5-4c95-a622-414ba6e3103c /dev/vdb
+----------+--------------------------------------+
| Property | Value |
+----------+--------------------------------------+
| device | /dev/vdb |
| id | 1a48f4ba-f2c5-4c95-a622-414ba6e3103c |
| serverId | a135158e-1f7d-4c9e-be35-b73e5e1da1da |
| volumeId | 1a48f4ba-f2c5-4c95-a622-414ba6e3103c |
+----------+--------------------------------------+
+ timeout 60 sh -c 'while ! nova volume-list | grep myvol-2ced6472 | grep in-use; do sleep 1; done'
| 1a48f4ba-f2c5-4c95-a622-414ba6e3103c | in-use | myvol-2ced6472 | 1 | None | a135158e-1f7d-4c9e-be35-b73e5e1da1da |
++ date +%s
+ end_time=1353543253
+ echo 'Completed volume-attach in 5 seconds'
Completed volume-attach in 5 seconds
++ nova volume-list
++ grep myvol-2ced6472
++ head -1
++ get_field -1
++ read data
++ '[' -1 -lt 0 ']'
++ field='($(NF-1))'
++ echo '| 1a48f4ba-f2c5-4c95-a622-414ba6e3103c | in-use | myvol-2ced6472 | 1 | None | a135158e-1f7d-4c9e-be35-b73e5e1da1da |'
++ awk '-F[ \t]*\\|[ \t]*' '{print ($(NF-1))}'
++ read data
+ VOL_ATTACH=a135158e-1f7d-4c9e-be35-b73e5e1da1da
+ die_if_not_set VOL_ATTACH 'Failure retrieving myvol-2ced6472 status'
+ local exitcode=0
+ set +o xtrace
+ [[ a135158e-1f7d-4c9e-be35-b73e5e1da1da != a135158e-1f7d-4c9e-be35-b73e5e1da1da ]]
++ date +%s
+ start_time=1353543253
+ nova volume-detach a135158e-1f7d-4c9e-be35-b73e5e1da1da 1a48f4ba-f2c5-4c95-a622-414ba6e3103c
+ timeout 60 sh -c 'while ! nova volume-list | grep myvol-2ced6472 | grep available; do sleep 1; done'
| 1a48f4ba-f2c5-4c95-a622-414ba6e3103c | available | myvol-2ced6472 | 1 | None | |
++ date +%s
+ end_time=1353543259
+ echo 'Completed volume-detach in 6 seconds'
Completed volume-detach in 6 seconds
++ date +%s
+ start_time=1353543259
+ nova volume-delete 1a48f4ba-f2c5-4c95-a622-414ba6e3103c
+ timeout 60 sh -c 'while ! nova volume-list | grep myvol-2ced6472; do sleep 1; done'
| 1a48f4ba-f2c5-4c95-a622-414ba6e3103c | deleting | myvol-2ced6472 | 1 | None | |
++ date +%s
+ end_time=1353543261
+ echo 'Completed volume-delete in 2 seconds'
Completed volume-delete in 2 seconds
+ nova delete a135158e-1f7d-4c9e-be35-b73e5e1da1da
+ timeout 60 sh -c 'while nova list | grep -q a135158e-1f7d-4c9e-be35-b73e5e1da1da; do sleep 1; done'
+ echo 'Server ex-vol not deleted'
Server ex-vol not deleted
+ exit 1
=====================================================================
SKIP boot_from_volume
SKIP client-env
SKIP quantum-adv-test
PASS aggregates
PASS bundle
PASS client-args
PASS floating_ips
PASS sec_groups
PASS swift
FAILED euca
FAILED volumes
=====================================================================
Process leaked file descriptors. See http://wiki.jenkins-ci.org/display/JENKINS/Spawning+processes+from+build for more information
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52
[SCP] Trying to create /srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/devstack-gate-cleanup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/devstack-gate-setup-host.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/devstack-gate-setup-workspace.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/devstacklog.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/kern_log.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/localrc.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-g-api.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-g-reg.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-horizon.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-key.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-n-api.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-n-cpu.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-n-crt.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-n-net.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-n-obj.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-n-sch.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-n-vol.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/screen-swift.txt'
[SCP] uploading file: '/srv/static/logs/periodic/periodic-tempest-devstack-vm-stable-folsom/52/logs/syslog.txt'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.
1
1
Hi Guys,
There were a whole bunch of nova fixes that were marked for backport but hadn't been backported yet. I went through them all (with some help from a few others) and proposed them. Most are very simple little fixes that just need someone to push them in:
https://review.openstack.org/#/q/status:open+project:openstack/nova+branch:…
There are a couple that are tricky/risky:
1) https://code.launchpad.net/bugs/1060255
This is a race for resources which can cause instance launches to fail. This is especially bad for very large instance types that fill up the node (see the duplicate bug). The original patch actually needed two follow on fixes. The first I sqashed into the review because it was small:
https://review.openstack.org/#/c/16677/
The second I did as a dependent review because the backport was a little hairy due to refactoring during grizzly so I wanted it to get some attention on its own:
https://review.openstack.org/#/c/16771/
2) https://code.launchpad.net/bugs/1078594
This guy is very nasty because it causes people using shared storage to have a bunch of their base images deleted. Review is here:
https://review.openstack.org/#/c/16726/
To make the backporting managable it required backporting a couple underlying fixes. The first is probably not something we would usually backport but it will make the nasty fix backport managable:
https://review.openstack.org/#/c/16723/
https://review.openstack.org/#/c/16720/
The others should be pretty easy approves (I hope).
Hopefully all of this can go in for the .1 release next week. Sorry it took so long to get them proposed. I was marking bugs as I came across them, but we hadn't taken the time to propose the backports.
Vish
1
0
21 Nov '12
See <https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/51…>
Changes:
[Brian Waldon] Return 403 when admin deletes a deleted image
------------------------------------------
[...truncated 971 lines...]
test_get [32mOK [0m[32m 0.01[0m
test_get_non_existing [32mOK [0m[32m 0.01[0m
test_get_size [32mOK [0m[32m 0.01[0m
test_get_with_http_auth [32mOK [0m[32m 0.01[0m
test_no_auth_address [32mOK [0m[32m 0.01[0m
test_no_key [32mOK [0m[32m 0.01[0m
test_no_user [32mOK [0m[32m 0.01[0m
test_read_acl_public [32mOK [0m[32m 0.01[0m
test_read_acl_tenants [32mOK [0m[32m 0.01[0m
test_read_write_public [32mOK [0m[32m 0.01[0m
TestStoreAuthV2
test_add [32mOK [0m[32m 0.01[0m
test_add_already_existing [32mOK [0m[32m 0.01[0m
test_add_auth_url_variations [32mOK [0m[32m 0.02[0m
test_add_large_object [32mOK [0m[32m 0.01[0m
test_add_large_object_zero_size [32mOK [0m[32m 0.01[0m
test_add_no_container_and_create [32mOK [0m[32m 0.01[0m
test_add_no_container_no_create [32mOK [0m[32m 0.01[0m
test_delete [32mOK [0m[32m 0.02[0m
test_delete_non_existing [32mOK [0m[32m 0.01[0m
test_get [32mOK [0m[32m 0.01[0m
test_get_non_existing [32mOK [0m[32m 0.01[0m
test_get_size [32mOK [0m[32m 0.01[0m
test_get_with_http_auth [32mOK [0m[32m 0.01[0m
test_no_auth_address [32mOK [0m[32m 0.01[0m
test_no_key [32mOK [0m[32m 0.01[0m
test_no_user [32mOK [0m[32m 0.01[0m
test_read_acl_public [32mOK [0m[32m 0.01[0m
test_read_acl_tenants [32mOK [0m[32m 0.01[0m
test_read_write_public [32mOK [0m[32m 0.01[0m
test_v2_multi_tenant_location [32mOK [0m[32m 0.01[0m
test_v2_with_no_tenant [32mOK [0m[32m 0.01[0m
TestUtils
test_cooperative_reader [32mOK [0m[33m 0.04[0m
test_generate_uuid_format [32mOK [0m[32m 0.01[0m
test_generate_uuid_unique [32mOK [0m[32m 0.01[0m
test_is_uuid_like_fails [32mOK [0m[32m 0.01[0m
test_is_uuid_like_success [32mOK [0m[32m 0.00[0m
test_limiting_reader [32mOK [0m[32m 0.01[0m
test_limiting_reader_fails [32mOK [0m[32m 0.01[0m
VersionNegotiationTest
test_request_accept_v1 [32mOK [0m[32m 0.01[0m
test_request_url_v1 [32mOK [0m[32m 0.01[0m
test_request_url_v1_0 [32mOK [0m[32m 0.01[0m
test_request_url_v1_1 [32mOK [0m[32m 0.01[0m
test_request_url_v2 [32mOK [0m[32m 0.01[0m
test_request_url_v2_0 [32mOK [0m[32m 0.01[0m
test_request_url_v2_1_unsupported [32mOK [0m[32m 0.01[0m
test_request_url_v3_unsupported [32mOK [0m[32m 0.01[0m
VersionsTest
test_get_version_list [32mOK [0m[32m 0.01[0m
JSONRequestDeserializerTest
test_default_no_body [32mOK [0m[32m 0.01[0m
test_default_with_body [32mOK [0m[32m 0.01[0m
test_from_json [32mOK [0m[32m 0.00[0m
test_from_json_malformed [32mOK [0m[32m 0.01[0m
test_has_body_has_content_length [32mOK [0m[32m 0.01[0m
test_has_body_no_content_length [32mOK [0m[32m 0.01[0m
test_has_body_zero_content_length [32mOK [0m[32m 0.01[0m
test_no_body_no_content_length [32mOK [0m[32m 0.01[0m
JSONResponseSerializerTest
test_default [32mOK [0m[32m 0.01[0m
test_to_json [32mOK [0m[32m 0.01[0m
RequestTest
test_content_type_accept_default [32mOK [0m[32m 0.01[0m
test_content_type_from_accept_json [32mOK [0m[32m 0.01[0m
test_content_type_from_accept_json_xml_quality [32mOK [0m[32m 0.01[0m
test_content_type_from_accept_xml [32mOK [0m[32m 0.01[0m
test_content_type_from_accept_xml_json [32mOK [0m[32m 0.01[0m
test_content_type_missing [32mOK [0m[32m 0.01[0m
test_content_type_unsupported [32mOK [0m[32m 0.00[0m
test_content_type_with_charset [32mOK [0m[32m 0.01[0m
ResourceTest
test_dispatch [32mOK [0m[32m 0.01[0m
test_dispatch_default [32mOK [0m[32m 0.01[0m
test_dispatch_no_default [32mOK [0m[32m 0.01[0m
test_get_action_args [32mOK [0m[32m 0.01[0m
TestHelpers
test_data_passed_properly_through_headers [32mOK [0m[32m 0.01[0m
test_headers_are_unicode [32mOK [0m[32m 0.00[0m
======================================================================
FAIL: test_copy_from_http_nonexistent (glance.tests.functional.v1.test_copy_to_file.TestCopyToFile)
----------------------------------------------------------------------
Traceback (most recent call last):
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 142, in _runner
func(*args, **kw)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 178, in wrapped
func(*a, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 255, in test_copy_from_http_nonexistent
self._do_test_copy_from_http(False)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 142, in _runner
func(*args, **kw)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 178, in wrapped
func(*a, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 207, in _do_test_copy_from_http
self.assertEqual(response.status, 201, content)
AssertionError: Traceback (most recent call last):
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 382, in handle_one_response
result = self.application(self.environ, start_response)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func
return self.func(req, *args, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__
response = req.get_response(self.application)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response
application, catch_exc_info=False)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application
app_iter = application(self.environ, start_response)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func
return self.func(req, *args, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__
response = req.get_response(self.application)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response
application, catch_exc_info=False)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application
app_iter = application(self.environ, start_response)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 203, in __call__
return app(environ, start_response)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__
return resp(environ, start_response)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 131, in __call__
response = self.app(environ, start_response)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__
return resp(environ, start_response)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__
resp = self.call_func(req, *args, **self.kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func
return self.func(req, *args, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 532, in __call__
request, **action_args)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 549, in dispatch
return method(*args, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 408, in wrapped
return func(self, req, *args, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 684, in create
image_meta = self._reserve(req, image_meta)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 362, in _reserve
image_meta = registry.add_image_metadata(req.context, image_meta)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 139, in add_image_metadata
return c.add_image(image_meta)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 140, in add_image
res = self.do_request("POST", "/images", body=body, headers=headers)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 89, in do_request
action, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 63, in wrapped
return func(self, *args, **kwargs)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 444, in do_request
headers=headers)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 80, in wrapped
return func(self, method, url, body, headers)
File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 589, in _do_request
raise exception.ClientConnectionError(e)
ClientConnectionError: [Errno 111] ECONNREFUSED
'500 != 201' = '%s != %s' % (safe_repr(500), safe_repr(201))
'Traceback (most recent call last):\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 382, in handle_one_response\n result = self.application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__\n response = req.get_response(self.application)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response\n application, catch_exc_info=False)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application\n app_iter = application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__\n response = req.get_response(self.application)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response\n application, catch_exc_info=False)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application\n app_iter = application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 203, in __call__\n return app(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__\n return resp(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 131, in __call__\n response = self.app(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__\n return resp(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 532, in __call__\n request, **action_args)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 549, in dispatch\n return method(*args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 408, in wrapped\n return func(self, req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 684, in create\n image_meta = self._reserve(req, image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 362, in _reserve\n image_meta = registry.add_image_metadata(req.context, image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 139, in add_image_metadata\n return c.add_image(image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 140, in add_image\n res = self.do_request("POST", "/images", body=body, headers=headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 89, in do_request\n action, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 63, in wrapped\n return func(self, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 444, in do_request\n headers=headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 80, in wrapped\n return func(self, method, url, body, headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 589, in _do_request\n raise exception.ClientConnectionError(e)\nClientConnectionError: [Errno 111] ECONNREFUSED\n' = self._formatMessage('Traceback (most recent call last):\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 382, in handle_one_response\n result = self.application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__\n response = req.get_response(self.application)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response\n application, catch_exc_info=False)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application\n app_iter = application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__\n response = req.get_response(self.application)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response\n application, catch_exc_info=False)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application\n app_iter = application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 203, in __call__\n return app(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__\n return resp(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 131, in __call__\n response = self.app(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__\n return resp(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 532, in __call__\n request, **action_args)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 549, in dispatch\n return method(*args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 408, in wrapped\n return func(self, req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 684, in create\n image_meta = self._reserve(req, image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 362, in _reserve\n image_meta = registry.add_image_metadata(req.context, image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 139, in add_image_metadata\n return c.add_image(image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 140, in add_image\n res = self.do_request("POST", "/images", body=body, headers=headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 89, in do_request\n action, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 63, in wrapped\n return func(self, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 444, in do_request\n headers=headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 80, in wrapped\n return func(self, method, url, body, headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 589, in _do_request\n raise exception.ClientConnectionError(e)\nClientConnectionError: [Errno 111] ECONNREFUSED\n', '500 != 201')
>> raise self.failureException('Traceback (most recent call last):\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 382, in handle_one_response\n result = self.application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__\n response = req.get_response(self.application)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response\n application, catch_exc_info=False)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application\n app_iter = application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 326, in __call__\n response = req.get_response(self.application)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1053, in get_response\n application, catch_exc_info=False)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 1022, in call_application\n app_iter = application(self.environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 203, in __call__\n return app(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__\n return resp(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 131, in __call__\n response = self.app(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 159, in __call__\n return resp(environ, start_response)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 147, in __call__\n resp = self.call_func(req, *args, **self.kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 208, in call_func\n return self.func(req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 532, in __call__\n request, **action_args)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 549, in dispatch\n return method(*args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 408, in wrapped\n return func(self, req, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 684, in create\n image_meta = self._reserve(req, image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 362, in _reserve\n image_meta = registry.add_image_metadata(req.context, image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 139, in add_image_metadata\n return c.add_image(image_meta)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 140, in add_image\n res = self.do_request("POST", "/images", body=body, headers=headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 89, in do_request\n action, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 63, in wrapped\n return func(self, *args, **kwargs)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 444, in do_request\n headers=headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 80, in wrapped\n return func(self, method, url, body, headers)\n File "<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…",> line 589, in _do_request\n raise exception.ClientConnectionError(e)\nClientConnectionError: [Errno 111] ECONNREFUSED\n')
----------------------------------------------------------------------
XML: nosetests.xml
Slowest 5 tests took 69.25 secs:
[31m 14.32 TestGlanceControl.test_bouncing[0m
[31m 14.26 TestScrubber.test_delayed_delete[0m
[31m 14.05 TestGlanceControl.test_respawn[0m
[31m 13.97 TestGlanceControl.test_reload[0m
[31m 12.65 TestApi.test_unsupported_default_store[0m
----------------------------------------------------------------------
Ran 912 tests in 485.912s
FAILED (SKIP=100, failures=1)
ERROR: InvocationError: '<https://jenkins.openstack.org/job/periodic-glance-python27-stable-folsom/ws…'>
___________________________________ 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==0.9.6
Jinja2==2.6
Paste==1.7.5.1
PasteDeploy==1.5.0
Pygments==1.5
Routes==1.13
SQLAlchemy==0.7.9
Sphinx==1.1.3
Tempita==0.5.1
WebOb==1.0.8
amqplib==1.0.2
anyjson==0.3.3
argparse==1.2.1
boto==2.1.1
colorama==0.2.4
coverage==3.5.3
decorator==3.4.0
distribute==0.6.28
docutils==0.9.1
eventlet==0.9.17
glance==jenkins-periodic-glance-python27-stable-folsom-51
greenlet==0.4.0
httplib2==0.7.7
iso8601==0.1.4
jsonschema==0.7
kombu==2.4.8
lxml==3.0.1
mox==0.5.3
nose==1.2.1
nose-exclude==0.1.9
nosehtmloutput==0.0.4
openstack.nose-plugin==0.11
passlib==1.6.1
pep8==1.1
pycrypto==2.6
pysendfile==2.0.0
python-swiftclient==1.2.0
repoze.lru==0.6
requests==0.14.2
simplejson==2.6.2
sqlalchemy-migrate==0.7.2
termcolor==1.1.0
wsgiref==0.1.2
xattr==0.6.4
+ echo ======================================================================
======================================================================
+ 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=./nose_results.html
+ '[' -f ./nose_results.html ']'
++ grep -c 'tr class=.passClass' ./nose_results.html
+ passcount=94
+ '[' 94 -eq 0 ']'
+ exit 1
Build step 'Execute shell' marked build as failure
[SCP] Connecting to static.openstack.org
[SCP] Trying to create /srv/static/logs/periodic/periodic-glance-python27-stable-folsom/51
[SCP] uploading file: '/srv/static/logs/periodic/periodic-glance-python27-stable-folsom/51/nose_results.html'
[SCP] Connecting to static.openstack.org
[SCP] Copying console log.
1
1