Sanity: VM delete verification asserts due to VM entry seen in agent
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.2 |
Fix Committed
|
High
|
Sarath | |||
R4.0 |
Fix Committed
|
High
|
Sarath | |||
R4.1 |
Fix Committed
|
High
|
Sarath | |||
Trunk |
Fix Committed
|
High
|
Sarath |
Bug Description
This issue seen on Vcenter-compute sanity on multiples of testcases failing listed below,
test_ping_within_vn
test_vm_add_delete
test_control_
>>> below is the failure logs
2017-07-20 01:55:37,780 - INFO - Deleting VM ctest-vm1-06332580
2017-07-20 01:55:43,537 - INFO - VM ctest-vm1-06332580 is fully removed in API-Server
2017-07-20 01:55:43,618 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:45,644 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:47,674 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:49,703 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:51,733 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:53,762 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:55,789 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:57,819 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:55:59,845 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:01,876 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:03,904 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:05,931 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:07,969 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:09,995 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:12,017 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:14,043 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:16,068 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:18,094 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:20,122 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:22,149 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:24,173 - WARNING - VM ctest-vm1-06332580 is still present in agent's active VMList
2017-07-20 01:56:24,193 - INFO - Deleting VN ctest-vn30-40338861
2017-07-20 01:56:24,538 - INFO - Validated that VN ctest-vn30-40338861 is not found in API Server
2017-07-20 01:56:24,562 - INFO - Validated that VN ctest-vn30-40338861 is not in any agent
2017-07-20 01:56:24,585 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn30-40338861 info
2017-07-20 01:56:33,565 - ERROR -
File "tcutils/
cleanup(*args, **kwargs)
File "/contrail-
self.delete()
File "/contrail-
self.
File "/contrail-
'one or more agents' % (self.vm_name))
AssertionError:
VM ctest-vm1-06332580 is still seen in one or more agents
2017-07-20 01:56:33,565 - INFO -
2017-07-20 01:56:33,565 - INFO - END TEST : test_ping_within_vn : FAILED[0:02:47]
2017-07-20 01:56:33,565 - INFO - -------
�/�@�YppA�
1V�O��
raise TestFailed("\n ".join(errmsg))
Analysis: Verified on indivdual test-runs, it pass prooving timing issue. Increasing timer from 5 to 15sec