2025-08-03 00:30:02,354 - INFO - Domain Default found not creating 2025-08-03 00:30:02,502 - INFO - Project ctest-TestvifStats-97935866 not found, creating it 2025-08-03 00:30:03,116 - INFO - Created Project:ctest-TestvifStats-97935866, ID : d5324a2c-add2-431c-8ef8-757a68d9816f 2025-08-03 00:30:04,768 - INFO - ================================================================================ 2025-08-03 00:30:04,769 - INFO - STARTING TEST : test_vif_statistics 2025-08-03 00:30:04,769 - INFO - TEST DESCRIPTION : Description: Verify vif statistics Vm's across compute node steps: 1. create 1 VN and launch 2 VMs in compute node 2. client and server VMs on same node 3. send icmp traffic assert if ping is not working 4. get_vif_stats to check vif interface 5. clear_vif_stats to clear vif interface stats 6. Repeat step4 Pass criteria: 1. If output of vif stats/clear execute successfully from compute 2025-08-03 00:30:06,140 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.17': '0', '10.20.0.14': '0'}, '10.0.0.49': {'10.20.0.17': '0', '10.20.0.14': '0'}} with 2025-08-03 00:30:06,140 - INFO - Initial checks done. Running the testcase now 2025-08-03 00:30:06,140 - INFO - 2025-08-03 00:30:06,940 - DEBUG - Response for create_network : {'network': {'id': '66bc04c4-82cc-454e-8561-76c941ec9a05', 'name': 'ctest-vn-85838353', 'tenant_id': 'd5324a2cadd2431c8ef8757a68d9816f', 'project_id': 'd5324a2cadd2431c8ef8757a68d9816f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-97935866', 'ctest-vn-85838353'], 'port_security_enabled': True, 'description': ''}} 2025-08-03 00:30:07,167 - DEBUG - Response for create_subnet : {'subnet': {'id': '778dd894-aaae-4bda-b03c-0e2c26d84b18', 'name': '', 'tenant_id': 'd5324a2cadd2431c8ef8757a68d9816f', 'network_id': '66bc04c4-82cc-454e-8561-76c941ec9a05', 'ip_version': 4, 'cidr': '103.159.169.192/26', 'allocation_pools': [{'start': '103.159.169.194', 'end': '103.159.169.254'}], 'gateway_ip': '103.159.169.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '103.159.169.194', 'tags': [], 'project_id': 'd5324a2cadd2431c8ef8757a68d9816f'}} 2025-08-03 00:30:07,192 - INFO - Created VN ctest-vn-85838353 2025-08-03 00:30:07,206 - DEBUG - VN ctest-vn-85838353 UUID is 66bc04c4-82cc-454e-8561-76c941ec9a05 2025-08-03 00:30:07,286 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:30:07,580 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:30:07,608 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-03 00:30:07,629 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5324a2c-add2-431c-8ef8-757a68d9816f 2025-08-03 00:30:07,736 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/66bc04c4-82cc-454e-8561-76c941ec9a05 2025-08-03 00:30:07,757 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/66bc04c4-82cc-454e-8561-76c941ec9a05 2025-08-03 00:30:07,772 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b280eecd-6d0e-4839-816e-084f4839e9c5 2025-08-03 00:30:07,781 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b280eecd-6d0e-4839-816e-084f4839e9c5 2025-08-03 00:30:07,789 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd0453bd-6389-46ca-8141-44aa0297e91c 2025-08-03 00:30:07,798 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 00:30:07,798 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/66bc04c4-82cc-454e-8561-76c941ec9a05 2025-08-03 00:30:07,808 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b280eecd-6d0e-4839-816e-084f4839e9c5 2025-08-03 00:30:07,829 - INFO - Verified VN network id 12 for VN 66bc04c4-82cc-454e-8561-76c941ec9a05 2025-08-03 00:30:07,829 - INFO - Verifications in API Server for VN ctest-vn-85838353 passed 2025-08-03 00:30:07,829 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/66bc04c4-82cc-454e-8561-76c941ec9a05 2025-08-03 00:30:07,840 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b280eecd-6d0e-4839-816e-084f4839e9c5 2025-08-03 00:30:07,849 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b280eecd-6d0e-4839-816e-084f4839e9c5 2025-08-03 00:30:07,857 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/bd0453bd-6389-46ca-8141-44aa0297e91c 2025-08-03 00:30:07,871 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-97935866', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7402797129544779086', 'uuid-lslong': '9611093686551878149'}, 'enable': 'true', 'created': '2025-08-03T00:30:06', 'last-modified': '2025-08-03T00:30:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.746211'} 2025-08-03 00:30:07,878 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 00:30:07,892 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-97935866', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7402797129544779086', 'uuid-lslong': '9611093686551878149'}, 'enable': 'true', 'created': '2025-08-03T00:30:06', 'last-modified': '2025-08-03T00:30:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.772619'} 2025-08-03 00:30:07,910 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 00:30:07,926 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-97935866', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7402797129544779086', 'uuid-lslong': '9611093686551878149'}, 'enable': 'true', 'created': '2025-08-03T00:30:06', 'last-modified': '2025-08-03T00:30:07', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.799825'} 2025-08-03 00:30:07,943 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-03 00:30:07,943 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-85838353 passed 2025-08-03 00:30:07,943 - DEBUG - ====Verifying policy data for ctest-vn-85838353 in API_Server ====== 2025-08-03 00:30:07,943 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:30:07,952 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-03 00:30:07,975 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5324a2c-add2-431c-8ef8-757a68d9816f 2025-08-03 00:30:08,102 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/66bc04c4-82cc-454e-8561-76c941ec9a05 2025-08-03 00:30:08,120 - DEBUG - =>VN ctest-vn-85838353 has no policy to be verified 2025-08-03 00:30:08,120 - DEBUG - Verifying the vn in opserver 2025-08-03 00:30:08,120 - DEBUG - Verifying the default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353 virtual network link through opserver 10.0.0.38 2025-08-03 00:30:08,120 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-03 00:30:08,413 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-03 00:30:08,501 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353?flat'} 2025-08-03 00:30:08,501 - DEBUG - Verifying the default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353 virtual network link through opserver 10.0.0.254 2025-08-03 00:30:08,501 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-03 00:30:08,799 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-03 00:30:08,874 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353?flat'} 2025-08-03 00:30:08,874 - DEBUG - Verifying the default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353 virtual network link through opserver 10.0.0.50 2025-08-03 00:30:08,874 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-03 00:30:09,175 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-08-03 00:30:09,238 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353?flat'} 2025-08-03 00:30:09,238 - INFO - Validated that VN default-domain:ctest-TestvifStats-97935866:ctest-vn-85838353 is found in opserver 2025-08-03 00:30:09,265 - DEBUG - Do not have enough data to verify VN in agent 2025-08-03 00:30:09,281 - DEBUG - VRF ids for VN ctest-vn-85838353: {} 2025-08-03 00:30:09,309 - DEBUG - Services list from nova: [, , , ] 2025-08-03 00:30:09,310 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3743-2', 'an-jenkins-deploy-platform-ansible-os-3743-1']} 2025-08-03 00:30:09,310 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3743-2', 'an-jenkins-deploy-platform-ansible-os-3743-1']} 2025-08-03 00:30:09,376 - DEBUG - Image by name ubuntu not found 2025-08-03 00:30:09,376 - DEBUG - Installing image ubuntu 2025-08-03 00:30:09,376 - DEBUG - Image info {'name': 'ubuntu.vmdk.gz', 'webserver': '', 'location': '/images/converts/', 'username': 'ubuntu', 'password': 'ubuntu', 'type': 'os', 'flavor': 'contrail_flavor_tiny', 'params': '--container-format bare --disk-format vmdk --property vmware_disktype="sparse" --property vmware_adaptertype="ide" --property hw_scsi_model=virtio-scsi --property hw_disk_bus_model=virtio-scsi --property hw_disk_bus=virtio', 'name_docker': 'phusion-baseimage-enablesshd'} 2025-08-03 00:30:09,377 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-03 00:30:09,377 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-03 00:30:09,377 - DEBUG - Unzip image 2025-08-03 00:30:09,377 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-08-03 00:30:09,400 - INFO - image /contrail-test/images/ubuntu.vmdk is not found 2025-08-03 00:30:09,402 - INFO - Deleting VN ctest-vn-85838353 2025-08-03 00:30:09,627 - DEBUG - Response for deleting network () 2025-08-03 00:30:09,627 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/b280eecd-6d0e-4839-816e-084f4839e9c5 2025-08-03 00:30:09,634 - DEBUG - Response Code: 404 2025-08-03 00:30:09,635 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-08-03 00:30:09,652 - DEBUG - Requesting: http://10.0.0.38:8082/domain/e48a4202-dd3d-4b87-9406-48f7b2154028 2025-08-03 00:30:09,670 - DEBUG - Requesting: http://10.0.0.38:8082/project/d5324a2c-add2-431c-8ef8-757a68d9816f 2025-08-03 00:30:09,785 - INFO - Validated that VN ctest-vn-85838353 is not found in API Server 2025-08-03 00:30:09,801 - DEBUG - VN ctest-vn-85838353 is not present in Agent 10.0.0.48 2025-08-03 00:30:09,817 - DEBUG - VN ctest-vn-85838353 is not present in Agent 10.0.0.49 2025-08-03 00:30:09,817 - INFO - Validated that VN ctest-vn-85838353 is not in any agent 2025-08-03 00:30:09,874 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-85838353 info 2025-08-03 00:30:11,259 - DEBUG - No XMPP flaps were noticed during the test 2025-08-03 00:30:11,260 - INFO - 2025-08-03 00:30:11,260 - INFO - END TEST : test_vif_statistics : SKIPPED[0:00:07] 2025-08-03 00:30:11,260 - INFO - -------------------------------------------------------------------------------- 2025-08-03 00:30:12,152 - INFO - Deleted project: ctest-TestvifStats-97935866, ID : d5324a2c-add2-431c-8ef8-757a68d9816f