[openstack-dev] [Tempest][cinder] jenkins fails due to server fault
Lenny Verkhovsky
lennyb at mellanox.com
Tue Mar 22 11:43:23 UTC 2016
Also our Mellanox CI failed See log[1]
Looks like missing function
/opt/stack/tempest/.tox/venv/local/lib/python2.7/site-packages/tempest_lib/__init__.py:28: DeprecationWarning: tempest-lib is deprecated for future bug-fixes and code changes in favor of tempest. Please change your imports from tempest_lib to tempest.lib
2016-03-18 11:06:56.149 | DeprecationWarning)
2016-03-18 11:06:56.322 | Traceback (most recent call last):
2016-03-18 11:06:56.322 | File ".tox/venv/bin/tempest", line 10, in <module>
2016-03-18 11:06:56.322 | sys.exit(main())
2016-03-18 11:06:56.322 | File "/opt/stack/tempest/tempest/cmd/main.py", line 48, in main
2016-03-18 11:06:56.322 | return the_app.run(argv)
2016-03-18 11:06:56.322 | File "/opt/stack/tempest/.tox/venv/local/lib/python2.7/site-packages/cliff/app.py", line 226, in run
2016-03-18 11:06:56.322 | result = self.run_subcommand(remainder)
2016-03-18 11:06:56.322 | File "/opt/stack/tempest/.tox/venv/local/lib/python2.7/site-packages/cliff/app.py", line 309, in run_subcommand
2016-03-18 11:06:56.322 | subcommand = self.command_manager.find_command(argv)
2016-03-18 11:06:56.322 | File "/opt/stack/tempest/.tox/venv/local/lib/python2.7/site-packages/cliff/commandmanager.py", line 75, in find_command
2016-03-18 11:06:56.322 | cmd_factory = cmd_ep.resolve()
2016-03-18 11:06:56.322 | File "/opt/stack/tempest/.tox/venv/local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2208, in resolve
2016-03-18 11:06:56.323 | module = __import__(self.module_name, fromlist=['__name__'], level=0)
2016-03-18 11:06:56.323 | File "/opt/stack/tempest/tempest/cmd/verify_tempest_config.py", line 29, in <module>
2016-03-18 11:06:56.323 | from tempest import clients
2016-03-18 11:06:56.323 | File "/opt/stack/tempest/tempest/clients.py", line 158, in <module>
2016-03-18 11:06:56.323 | from tempest.services.volume.v1.json.backups_client import BackupsClient
2016-03-18 11:06:56.323 | File "/opt/stack/tempest/tempest/services/volume/v1/json/backups_client.py", line 16, in <module>
2016-03-18 11:06:56.323 | from tempest.services.volume.base import base_backups_client
2016-03-18 11:06:56.323 | File "/opt/stack/tempest/tempest/services/volume/base/base_backups_client.py", line 21, in <module>
2016-03-18 11:06:56.323 | from tempest.lib.common import rest_client
2016-03-18 11:06:56.323 | ImportError: No module named lib.common
2016-03-18 11:06:56.348 | ERROR: InvocationError: '/opt/stack/tempest/.tox/venv/bin/tempest verify-config -uro ../../../tmp/tmp.c1QPWmYfhW'
2016-03-18 11:06:56.349 | ___________________________________ summary ____________________________________
2016-03-18 11:06:56.349 | ERROR: venv: commands failed
[1] http://144.76.193.39/ci-artifacts/284106/3/Tempest-Sriov/logs/stack.sh.log.gz
From: Ivan Kolodyazhny [mailto:e0ne at e0ne.info]
Sent: Tuesday, March 22, 2016 1:39 PM
To: OpenStack Development Mailing List (not for usage questions) <openstack-dev at lists.openstack.org>
Subject: Re: [openstack-dev] [Tempest][cinder] jenkins fails due to server fault
Poornima,
Both Masayuki commented in the review request. For more details you can check cinder-api logs.
Regards,
Ivan Kolodyazhny,
http://blog.e0ne.info/
On Mon, Mar 21, 2016 at 8:18 AM, Poornima Kshirsagar <pkshiras at redhat.com<mailto:pkshiras at redhat.com>> wrote:
Hi,
Wrote a Tempest test to check force_delete_backup method [1].
Check the tempest test run was successful see [2]
However jenkins fails with below trace back
<snip>
Captured traceback:
2016-03-18 09:14:16.884 | ~~~~~~~~~~~~~~~~~~~
2016-03-18 09:14:16.884 | Traceback (most recent call last):
2016-03-18 09:14:16.884 | File "tempest/api/volume/admin/test_volumes_backup.py", line 55, in test_volume_backup_create_and_force_delete_when_available
2016-03-18 09:14:16.884 | self.backups_adm_client.force_delete_backup(backup['id'])
2016-03-18 09:14:16.884 | File "tempest/services/volume/base/base_backups_client.py", line 119, in force_delete_backup
2016-03-18 09:14:16.884 | resp, body = self.post('backups/%s/action' % (backup_id), post_body)
2016-03-18 09:14:16.884 | File "tempest/lib/common/rest_client.py", line 259, in post
2016-03-18 09:14:16.885 | return self.request('POST', url, extra_headers, headers, body)
2016-03-18 09:14:16.885 | File "tempest/lib/common/rest_client.py", line 642, in request
2016-03-18 09:14:16.885 | resp, resp_body)
2016-03-18 09:14:16.885 | File "tempest/lib/common/rest_client.py", line 761, in _error_checker
2016-03-18 09:14:16.885 | message=message)
2016-03-18 09:14:16.885 | tempest.lib.exceptions.ServerFault: Got server fault
2016-03-18 09:14:16.885 | Details: The server has either erred or is incapable of performing the requested operation.
2016-03-18 09:14:16.886 |
</snip>
is this known issue how do i fix it?
[1] https://review.openstack.org/#/c/284106/
[2] http://paste.openstack.org/show/491221/
Regards
Poornima
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe<http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160322/f5f901fc/attachment.html>
More information about the OpenStack-dev
mailing list