Tripleo client fails in unittests when is being built by DLRN

Bug #1820065 reported by Sagi (Sergey) Shnaidman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Alex Schultz

Bug Description

All tries to build tripleoclient fail:

http://logs.openstack.org/62/642962/2/check/tripleo-ci-centos-7-containers-multinode/b758dfc/logs/delorean_logs/db/85/db8582e67186a33b680eff6cf1d95fe4536a6f85_dev/rpmbuild.log.txt.gz

DEBUG: ==============================
DEBUG: Failed 1 tests - output below:
DEBUG: ==============================
DEBUG: tripleoclient.tests.v1.test_container_image.TestContainerImagePrepare.test_container_image_prepare_noargs
DEBUG: ---------------------------------------------------------------------------------------------------------
DEBUG: Captured traceback:
DEBUG: ~~~~~~~~~~~~~~~~~~~
DEBUG: Traceback (most recent call last):
DEBUG: File "/usr/lib/python2.7/site-packages/mock/mock.py", line 1305, in patched
DEBUG: return func(*args, **keywargs)
DEBUG: File "tripleoclient/tests/v1/test_container_image.py", line 158, in test_container_image_prepare_noargs
DEBUG: template_file=kolla_builder.DEFAULT_TEMPLATE_FILE
DEBUG: File "/usr/lib/python2.7/site-packages/mock/mock.py", line 937, in assert_called_with
DEBUG: six.raise_from(AssertionError(_error_message(cause)), cause)
DEBUG: File "/usr/lib/python2.7/site-packages/six.py", line 737, in raise_from
DEBUG: raise value
DEBUG: AssertionError: Expected call: container_images_prepare(append_tag=None, excludes=[], includes=[], mapping_args={'namespace': 'docker.io/tripleomaster', 'tag': 'latest', 'name_suffix': '', 'name_prefix': 'centos-binary-'}, modify_role=None, modify_vars=None, output_env_file=None, output_images_file='container_images.yaml', pull_source=None, push_destination=None, service_filter=None, tag_from_label=None, template_file='/tmp/overcloud_containers.yaml.j2')
DEBUG: Actual call: container_images_prepare(append_tag=None, excludes=[], includes=[], mapping_args={'neutron_driver': 'ovn', 'name_suffix': '', 'tag': 'latest', 'namespace': 'docker.io/tripleomaster', 'name_prefix': 'centos-binary-'}, modify_role=None, modify_vars=None, output_env_file=None, output_images_file='container_images.yaml', pull_source=None, push_destination=None, service_filter=None, tag_from_label=None, template_file='/tmp/overcloud_containers.yaml.j2')

https://logs.rdoproject.org/91/643091/4/openstack-check/tripleo-ci-centos-7-ovb-3ctlr_1comp-featureset001/6366863/logs/delorean_logs/1f/90/1f903c2b321ffdb85873ca4fca5444c86afc9677_dev/rpmbuild.log.txt.gz

Seems like bug was introduced in https://review.openstack.org/#/c/640716/ "Return correct value for default neutron_driver"

Tags: alert
tags: removed: promotion-blocker
Kamil Sambor (ksambor)
Changed in tripleo:
assignee: nobody → Kamil Sambor (ksambor)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-tripleoclient (master)

Fix proposed to branch: master
Review: https://review.openstack.org/643370

Changed in tripleo:
status: Triaged → In Progress
wes hayutin (weshayutin)
tags: added: alert
Changed in tripleo:
assignee: Kamil Sambor (ksambor) → Alex Schultz (alex-schultz)
Revision history for this message
wes hayutin (weshayutin) wrote :

This looks fixed, move to fixed-released?

Revision history for this message
wes hayutin (weshayutin) wrote :

{7} tripleoclient.tests.workflows.test_plan_management.TestUpdatePasswords.test_no_passwords [0.001299s] ... ok
{7} tripleoclient.tests.workflows.test_support.TestSupportDeleteContainer.test_delete_container_with_timeout [0.001520s] ... ok
======
Totals
======
Ran: 524 tests in 7.0000 sec.
 - Passed: 524
 - Skipped: 0
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0
Sum of execute time for each test: 7.4690 sec.
==============
Worker Balance
==============
 - Worker 0 (71 tests) => 0:00:01.209810
 - Worker 1 (64 tests) => 0:00:01.786778
 - Worker 2 (63 tests) => 0:00:00.759221
 - Worker 3 (63 tests) => 0:00:00.614776
 - Worker 4 (63 tests) => 0:00:00.565057
 - Worker 5 (63 tests) => 0:00:00.755849
 - Worker 6 (74 tests) => 0:00:00.401480
 - Worker 7 (63 tests) => 0:00:01.561694
+ exit 0

http://logs.openstack.org/70/643370/3/check/tripleo-ci-centos-7-containers-multinode/12d8fe9/logs/delorean_logs/1a/09/1a09cf7c7821cd1214d48a4a1e37a9a5a72f8c97_dev/build.log.txt.gz

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/python-tripleoclient 11.4.0

This issue was fixed in the openstack/python-tripleoclient 11.4.0 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.