Analytics test failure in queens

Bug #1803501 reported by vimal
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R5.0
Fix Committed
Undecided
vimal
Trunk
Fix Committed
Undecided
vimal

Bug Description

Analytics test failure in queens

Below errors are seen:
 opserver
2018-11-15 06:01:15,818 - INFO - Deleted policy policy1
2018-11-15 06:01:15,844 - INFO - Setting flow export rate: 0
2018-11-15 06:01:22,876 - INFO - END TEST : test_verify_session_record_table_inter_vn : PASSED[0:00:16]
2018-11-15 06:01:22,876 - INFO - --------------------------------------------------------------------------------
> /contrail-test/serial_scripts/analytics/test_analytics_resource.py(243)tearDownClass()
-> cls.res.cleanUp()
(Pdb) l
238 cls.res.setUp(cls.inputs, cls.connections)
239
240 @classmethod
241 def tearDownClass(cls):
242 import pdb;pdb.set_trace()
243 -> cls.res.cleanUp()
244 super(AnalyticsTestSanityWithResource, cls).tearDownClass()
245 # end tearDownClass
246
247 def runTest(self):
248 pass
(Pdb) n
in AnalyticsTestSanityWithResourceResource clean
In BaseResource clean--------------------
in------BaseSanityResource fix.fix
> /contrail-test/serial_scripts/analytics/base.py(597)cleanUp()
-> super(BaseSanityResource, self).cleanUp()
(Pdb) n
2018-11-15 06:03:09,310 - INFO - Deleting VM mltf_vm
2018-11-15 06:03:09,565 - INFO - Deleting VM ctest-fvn_vm1-51374140
2018-11-15 06:03:09,771 - INFO - Deleting VM ctest-vn2_vm2-56400688
2018-11-15 06:03:09,948 - INFO - Deleting VN ctest-fip_vn-11221032
2018-11-15 06:03:10,169 - WARNING - Deleting VN ctest-fip_vn-11221032 failed..Will retry
2018-11-15 06:03:16,685 - INFO - Validated that VN ctest-fip_vn-11221032 is not found in API Server
tcutils/agent/vna_introspect_utils.py:109: FutureWarning: The behavior of this method will change in future versions. Use specific 'len(elem)' or 'elem is not None' test instead.
  if not vnl:
2018-11-15 06:03:16,788 - INFO - Validated that VN ctest-fip_vn-11221032 is not in any agent
2018-11-15 06:03:16,830 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-AnalyticsTestSanityWithResource-01160242:ctest-fip_vn-11221032
2018-11-15 06:03:16,900 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-fip_vn-11221032 info
2018-11-15 06:03:16,901 - INFO - Deleting VN ctest-vn2-79769865
2018-11-15 06:03:17,289 - INFO - Validated that VN ctest-vn2-79769865 is not found in API Server
2018-11-15 06:03:17,373 - INFO - Validated that VN ctest-vn2-79769865 is not in any agent
2018-11-15 06:03:17,438 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-AnalyticsTestSanityWithResource-01160242:ctest-vn2-79769865
2018-11-15 06:03:17,511 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn2-79769865 info
2018-11-15 06:03:17,512 - INFO - Deleting VM ctest-vn1_vm2-39361362
2018-11-15 06:03:17,710 - INFO - Deleting VM ctest-vn1_vm1-14823805
2018-11-15 06:03:17,939 - INFO - Deleting VN ctest-vn1-67992767
2018-11-15 06:03:18,039 - WARNING - Deleting VN ctest-vn1-67992767 failed..Will retry
2018-11-15 06:03:23,393 - INFO - Validated that VN ctest-vn1-67992767 is not found in API Server
2018-11-15 06:03:23,481 - INFO - Validated that VN ctest-vn1-67992767 is not in any agent
2018-11-15 06:03:23,538 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-AnalyticsTestSanityWithResource-01160242:ctest-vn1-67992767
2018-11-15 06:03:23,613 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn1-67992767 info
--Return--
> /contrail-test/serial_scripts/analytics/base.py(597)cleanUp()->None
-> super(BaseSanityResource, self).cleanUp()
(Pdb) l
592
593 def cleanUp(self):
594 print("in------BaseSanityResource fix.fix")
595 import pdb;pdb.set_trace()
596
597 -> super(BaseSanityResource, self).cleanUp()
598
599 def setup_sanity_common_objects(self, inputs , connections):
600 self.inputs = inputs
601 self.connections = connections
602 self.orch = self.connections.orch
(Pdb) n
--Return--
> /contrail-test/serial_scripts/analytics/base.py(644)cleanUp()->None
-> super(BaseResource, self).cleanUp()
(Pdb) l
639 super(BaseResource , self).setUp(inputs, connections)
640 self.setup_common_objects(self.inputs , self.connections)
641
642 def cleanUp(self):
643 print("In BaseResource clean--------------------")
644 -> super(BaseResource, self).cleanUp()
645
646 def setup_common_objects(self, inputs , connections):
647 (self.vn2_name, self.fip_vn_name) = (get_random_name("vn2"), get_random_name("fip_vn"))
648 self.vn2_vm2_name = get_random_name('vn2_vm2')
649 self.fvn_vm1_name = get_random_name('fvn_vm1')
(Pdb) n
--Return--
> /contrail-test/serial_scripts/analytics/base.py(825)cleanUp()->None
-> super(AnalyticsTestSanityWithResourceResource, self).cleanUp()
(Pdb) n
> /contrail-test/serial_scripts/analytics/test_analytics_resource.py(244)tearDownClass()
-> super(AnalyticsTestSanityWithResource, cls).tearDownClass()
(Pdb) n
in AnalyticsBaseTest clean
in AnalyticsTestSanityWithResourceResource clean
In BaseResource clean--------------------
in------BaseSanityResource fix.fix
> /contrail-test/serial_scripts/analytics/base.py(597)cleanUp()
-> super(BaseSanityResource, self).cleanUp()
(Pdb) c
======================================================================
ERROR: tearDownClass (serial_scripts.analytics.test_analytics_resource.AnalyticsTestSanityWithResource)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "serial_scripts/analytics/test_analytics_resource.py", line 244, in tearDownClass
    super(AnalyticsTestSanityWithResource, cls).tearDownClass()
  File "/contrail-test/serial_scripts/analytics/base.py", line 33, in tearDownClass
    cls.res.cleanUp()
  File "/contrail-test/serial_scripts/analytics/base.py", line 825, in cleanUp
    super(AnalyticsTestSanityWithResourceResource, self).cleanUp()
  File "/contrail-test/serial_scripts/analytics/base.py", line 644, in cleanUp
    super(BaseResource, self).cleanUp()
  File "/contrail-test/serial_scripts/analytics/base.py", line 597, in cleanUp
    super(BaseSanityResource, self).cleanUp()
  File "/usr/lib/python2.7/site-packages/fixtures/fixture.py", line 125, in cleanUp
    return self._cleanups(raise_errors=raise_first)
TypeError: 'NoneType' object is not callable

Tags: automation
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/47688
Submitter: vimal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/47688
Committed: http://github.com/Juniper/contrail-test/commit/2c2159f8cb0f39c49579a96152d43a11ebe11e11
Submitter: Zuul v3 CI (<email address hidden>)
Branch: master

commit 2c2159f8cb0f39c49579a96152d43a11ebe11e11
Author: vappachan <email address hidden>
Date: Thu Nov 15 14:52:34 2018 +0530

Closes-bug: #1803501
fix for 1803501

Change-Id: I3290b03886a72134210c0e2173c3bb758a99c2ce

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R5.0

Review in progress for https://review.opencontrail.org/47748
Submitter: vimal (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/47748
Committed: http://github.com/Juniper/contrail-test/commit/8b23558a0230af1bff7bbc2ae75c29a3e989376a
Submitter: Zuul v3 CI (<email address hidden>)
Branch: R5.0

commit 8b23558a0230af1bff7bbc2ae75c29a3e989376a
Author: vappachan <email address hidden>
Date: Thu Nov 15 14:52:34 2018 +0530

Closes-bug: #1803501
fix for 1803501

Change-Id: I3290b03886a72134210c0e2173c3bb758a99c2ce
(cherry picked from commit 2c2159f8cb0f39c49579a96152d43a11ebe11e11)

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.