2025-12-22 03:58:48,322 - INFO - Domain Default found not creating 2025-12-22 03:58:48,476 - INFO - Project ctest-TestDropStats-72056242 not found, creating it 2025-12-22 03:58:49,110 - INFO - Created Project:ctest-TestDropStats-72056242, ID : 0797d66c-3501-444c-bf5d-3ae8c5bd0838 2025-12-22 03:58:50,622 - INFO - ================================================================================ 2025-12-22 03:58:50,622 - INFO - STARTING TEST : test_flow_action_drop_stats 2025-12-22 03:58:50,622 - INFO - TEST DESCRIPTION : Description: Verify flow action drop stats Steps: 1. Create 2 VNs and launch 1 VM in each VN, on different nodes on multi node setup 2. Add policy to deny pkts between VNs. 3. Ping VM2 from VM1 Pass criteria: 1. Verify flow action count gets incremented, get it from introspect 2. Verify flow action count gets incremented for the vmi of VM1, get it from introspect 2025-12-22 03:58:51,906 - DEBUG - Skipping xmpp flap check 2025-12-22 03:58:51,906 - INFO - Initial checks done. Running the testcase now 2025-12-22 03:58:51,906 - INFO - 2025-12-22 03:58:51,935 - DEBUG - Services list from nova: [, , , ] 2025-12-22 03:58:51,936 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4918-1', 'an-jenkins-deploy-platform-ansible-os-4918-2']} 2025-12-22 03:58:52,723 - DEBUG - Response for create_network : {'network': {'id': '358b1bf1-2322-4a26-a474-1c7c226d3167', 'name': 'ctest-vn-30792292', 'tenant_id': '0797d66c3501444cbf5d3ae8c5bd0838', 'project_id': '0797d66c3501444cbf5d3ae8c5bd0838', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-72056242', 'ctest-vn-30792292'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 03:58:52,979 - DEBUG - Response for create_subnet : {'subnet': {'id': '2fe3d5e2-0d50-4724-912c-f7ceb4554432', 'name': '', 'tenant_id': '0797d66c3501444cbf5d3ae8c5bd0838', 'network_id': '358b1bf1-2322-4a26-a474-1c7c226d3167', 'ip_version': 4, 'cidr': '204.185.184.64/26', 'allocation_pools': [{'start': '204.185.184.66', 'end': '204.185.184.126'}], 'gateway_ip': '204.185.184.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '204.185.184.66', 'tags': [], 'project_id': '0797d66c3501444cbf5d3ae8c5bd0838'}} 2025-12-22 03:58:53,003 - INFO - Created VN ctest-vn-30792292 2025-12-22 03:58:53,018 - DEBUG - VN ctest-vn-30792292 UUID is 358b1bf1-2322-4a26-a474-1c7c226d3167 2025-12-22 03:58:53,419 - DEBUG - Response for create_network : {'network': {'id': '1371c395-ce02-4e8b-b84c-23f274e7f4b1', 'name': 'ctest-vn-96405678', 'tenant_id': '0797d66c3501444cbf5d3ae8c5bd0838', 'project_id': '0797d66c3501444cbf5d3ae8c5bd0838', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestDropStats-72056242', 'ctest-vn-96405678'], 'port_security_enabled': True, 'description': ''}} 2025-12-22 03:58:53,652 - DEBUG - Response for create_subnet : {'subnet': {'id': '57aa7989-372a-41db-840c-07726d5852bc', 'name': '', 'tenant_id': '0797d66c3501444cbf5d3ae8c5bd0838', 'network_id': '1371c395-ce02-4e8b-b84c-23f274e7f4b1', 'ip_version': 4, 'cidr': '74.247.82.192/26', 'allocation_pools': [{'start': '74.247.82.194', 'end': '74.247.82.254'}], 'gateway_ip': '74.247.82.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.247.82.194', 'tags': [], 'project_id': '0797d66c3501444cbf5d3ae8c5bd0838'}} 2025-12-22 03:58:53,679 - INFO - Created VN ctest-vn-96405678 2025-12-22 03:58:53,695 - DEBUG - VN ctest-vn-96405678 UUID is 1371c395-ce02-4e8b-b84c-23f274e7f4b1 2025-12-22 03:58:54,961 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-1) 2025-12-22 03:58:56,114 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4918-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4918-2) 2025-12-22 03:58:56,114 - INFO - Waiting for VM ctest-vm1-49912722 to be up.. 2025-12-22 03:58:56,181 - DEBUG - VM is in ERROR state now 2025-12-22 03:58:56,181 - ERROR - VM in error state. 2025-12-22 03:58:56,181 - ERROR - VM is not in ACTIVE state 2025-12-22 03:58:56,289 - ERROR - Fatal Nova Exception while getting VM detail 2025-12-22 03:58:56,289 - DEBUG - None 2025-12-22 03:58:56,289 - INFO - Waiting for VM ctest-vm2-95250354 to be up.. 2025-12-22 03:58:56,359 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-12-22 03:59:01,448 - DEBUG - VM is in ACTIVE state now 2025-12-22 03:59:01,448 - INFO - VM name : ctest-vm2-95250354 2025-12-22 03:59:01,551 - DEBUG - VM ctest-vm2-95250354 ID is d6b3d15b-113b-45e3-a4aa-eb2b20b596b3 2025-12-22 03:59:01,579 - DEBUG - VM ctest-vm2-95250354 launched on Node an-jenkins-deploy-platform-ansible-os-4918-2 2025-12-22 03:59:01,695 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d6b3d15b-113b-45e3-a4aa-eb2b20b596b3 2025-12-22 03:59:01,989 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine/d6b3d15b-113b-45e3-a4aa-eb2b20b596b3 2025-12-22 03:59:02,027 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-machine-interface/66ac6975-6e5d-4436-8578-a9f2963e1052 2025-12-22 03:59:05,203 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2025-12-22 03:59:05,204 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-95250354 failed! 2025-12-22 03:59:05,220 - DEBUG - Gateway for vn default-domain:ctest-TestDropStats-72056242:ctest-vn-96405678 is 74.247.82.193 and allocation pool is NOT set 2025-12-22 03:59:09,298 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2025-12-22 03:59:09,298 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-95250354 failed! 2025-12-22 03:59:09,314 - DEBUG - Gateway for vn default-domain:ctest-TestDropStats-72056242:ctest-vn-96405678 is 74.247.82.193 and allocation pool is NOT set 2025-12-22 03:59:11,383 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=6.69 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.38 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 1.376/4.033/6.691/2.657 ms') 2025-12-22 03:59:11,383 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vm2-95250354 passed 2025-12-22 03:59:11,466 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-12-22 03:59:11,466 - DEBUG - Waiting to SSH to VM ctest-vm2-95250354, IP 74.247.82.195, Port 22 2025-12-22 03:59:11,642 - DEBUG - VM ctest-vm2-95250354 is ready for SSH connections 2025-12-22 03:59:11,702 - DEBUG - VM is in ERROR state now 2025-12-22 03:59:11,702 - WARNING - VM in error state. Asserting... 2025-12-22 03:59:11,706 - INFO - Deleting VM ctest-vm2-95250354 2025-12-22 03:59:11,775 - INFO - Skip interface_detach for VM ctest-vm1-49912722 in state ERROR 2025-12-22 03:59:11,776 - INFO - Deleting VM ctest-vm1-49912722 2025-12-22 03:59:11,776 - ERROR - VM ctest-vm1-49912722 has failed to come up 2025-12-22 03:59:11,776 - ERROR - Fault seen in nova show is: {'code': 500, 'created': '2025-12-22T03:58:54Z', 'message': 'No valid host was found. ', 'details': 'Traceback (most recent call last):\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 1581, in schedule_and_build_instances\n instance_uuids, return_alternates=True)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/conductor/manager.py", line 942, in _schedule_instances\n return_alternates=return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/client/query.py", line 42, in select_destinations\n instance_uuids, return_objects, return_alternates)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/rpcapi.py", line 160, in select_destinations\n return cctxt.call(ctxt, \'select_destinations\', **msg_args)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/client.py", line 192, in call\n retry=self.retry, transport_options=self.transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/transport.py", line 128, in _send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 691, in send\n transport_options=transport_options)\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/_drivers/amqpdriver.py", line 681, in _send\n raise result\nnova.exception_Remote.NoValidHost_Remote: No valid host was found. \nTraceback (most recent call last):\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/oslo_messaging/rpc/server.py", line 241, in inner\n return func(*args, **kwargs)\n\n File "/var/lib/kolla/venv/lib/python3.6/site-packages/nova/scheduler/manager.py", line 209, in select_destinations\n raise exception.NoValidHost(reason="")\n\nnova.exception.NoValidHost: No valid host was found. \n\n'} 2025-12-22 03:59:11,776 - INFO - Deleting VN ctest-vn-96405678 2025-12-22 03:59:11,833 - DEBUG - VN 1371c395-ce02-4e8b-b84c-23f274e7f4b1 still in use: Unable to complete operation on network 1371c395-ce02-4e8b-b84c-23f274e7f4b1. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-bcf2f4b8-2dc4-43ed-a200-f9da4f7be175'] 2025-12-22 03:59:11,833 - WARNING - Deleting VN ctest-vn-96405678 failed..Will retry 2025-12-22 03:59:14,034 - DEBUG - Response for deleting network () 2025-12-22 03:59:14,034 - INFO - Deleting VN ctest-vn-30792292 2025-12-22 03:59:14,209 - DEBUG - Response for deleting network () 2025-12-22 03:59:15,505 - ERROR - AssertionError Python 3.9.21: /usr/bin/python3 Mon Dec 22 03:59:11 2025 A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred. /contrail-test/tcutils/wrappers.py in wrapper(self=, *args=(), **kwargs={}) 78 log.info('Initial checks done. Running the testcase now') 79 log.info('') 80 result = function(self, *args, **kwargs) 81 if self.inputs.upgrade: 82 pid = os.getpid() result = None function = self = args = () kwargs = {} /contrail-test/serial_scripts/vrouter/test_drop_stats.py in test_flow_action_drop_stats(self=) 36 raise self.skipTest("Skipping test case,this test needs atleast 2 compute nodes") 37 38 assert self.verify_flow_action_drop_stats() 39 return True 40 # end test_drop_stats self = self.verify_flow_action_drop_stats = > /contrail-test/common/vrouter/base_drop_stats.py in verify_flow_action_drop_stats(self=, drop_type='ds_flow_action_drop') 45 compute1 = compute_ips[1] 46 compute1_name = self.inputs.host_data[compute1]['name'] 47 vm1_fixture, _, _, vm2_ip = self.create_verify_vn_vm(compute0_name, compute1_name, image_name) 48 49 tap = vm1_fixture.get_tap_intf_of_vm()[0]['name'] vm1_fixture undefined _ undefined vm2_ip undefined self = self.create_verify_vn_vm = > compute0_name = 'an-jenkins-deploy-platform-ansible-os-4918-1' compute1_name = 'an-jenkins-deploy-platform-ansible-os-4918-2' image_name = 'cirros' /contrail-test/common/vrouter/base_drop_stats.py in create_verify_vn_vm(self=, compute0_name='an-jenkins-deploy-platform-ansible-os-4918-1', compute1_name='an-jenkins-deploy-platform-ansible-os-4918-2', image_name='cirros') 128 vm1_fixture.wait_till_vm_is_up() 129 vm2_fixture.wait_till_vm_is_up() 130 assert vm1_fixture.verify_on_setup() 131 assert vm2_fixture.verify_on_setup() 132 vm1_ip = vm1_fixture.get_vm_ips(vn1_fq_name)[0] vm1_fixture = vm1_fixture.verify_on_setup = > AssertionError: __cause__ = None __class__ = __context__ = None __delattr__ = __dict__ = {} __dir__ = __doc__ = 'Assertion failed.' __eq__ = __format__ = __ge__ = __getattribute__ = __gt__ = __hash__ = __init__ = __init_subclass__ = __le__ = __lt__ = __ne__ = __new__ = __reduce__ = __reduce_ex__ = __repr__ = __setattr__ = __setstate__ = __sizeof__ = __str__ = __subclasshook__ = __suppress_context__ = False __traceback__ = args = () with_traceback = The above is a description of an error in a Python program. Here is the original traceback: Traceback (most recent call last): File "/contrail-test/tcutils/wrappers.py", line 80, in wrapper result = function(self, *args, **kwargs) File "/contrail-test/serial_scripts/vrouter/test_drop_stats.py", line 38, in test_flow_action_drop_stats assert self.verify_flow_action_drop_stats() File "/contrail-test/common/vrouter/base_drop_stats.py", line 47, in verify_flow_action_drop_stats vm1_fixture, _, _, vm2_ip = self.create_verify_vn_vm(compute0_name, compute1_name, image_name) File "/contrail-test/common/vrouter/base_drop_stats.py", line 130, in create_verify_vn_vm assert vm1_fixture.verify_on_setup() AssertionError 2025-12-22 03:59:15,506 - DEBUG - Skipping xmpp flap check 2025-12-22 03:59:15,506 - INFO - 2025-12-22 03:59:15,506 - INFO - END TEST : test_flow_action_drop_stats : FAILED[0:00:25] 2025-12-22 03:59:15,506 - INFO - -------------------------------------------------------------------------------- 2025-12-22 03:59:16,283 - INFO - Deleted project: ctest-TestDropStats-72056242, ID : 0797d66c-3501-444c-bf5d-3ae8c5bd0838