2025-08-04 03:54:04,514 - INFO - Domain Default found not creating 2025-08-04 03:54:04,728 - INFO - Project ctest-TestvifStats-71283479 not found, creating it 2025-08-04 03:54:05,386 - INFO - Created Project:ctest-TestvifStats-71283479, ID : 4df138d2-3c30-4a3d-8cba-d1b4a683cef4 2025-08-04 03:54:07,201 - INFO - ================================================================================ 2025-08-04 03:54:07,202 - INFO - STARTING TEST : test_vif_statistics 2025-08-04 03:54:07,202 - 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-04 03:54:08,497 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.57': {'10.20.0.193': '0', '10.20.0.18': '0'}} with 2025-08-04 03:54:08,497 - INFO - Initial checks done. Running the testcase now 2025-08-04 03:54:08,497 - INFO - 2025-08-04 03:54:09,159 - DEBUG - Response for create_network : {'network': {'id': 'cafe7a53-9d7b-448b-9cf5-061ea27e1d16', 'name': 'ctest-vn-98041197', 'tenant_id': '4df138d23c304a3d8cbad1b4a683cef4', 'project_id': '4df138d23c304a3d8cbad1b4a683cef4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-71283479', 'ctest-vn-98041197'], 'port_security_enabled': True, 'description': ''}} 2025-08-04 03:54:09,506 - DEBUG - Response for create_subnet : {'subnet': {'id': '933a2971-e249-4600-bfcf-d730fb8dcde8', 'name': '', 'tenant_id': '4df138d23c304a3d8cbad1b4a683cef4', 'network_id': 'cafe7a53-9d7b-448b-9cf5-061ea27e1d16', 'ip_version': 4, 'cidr': '46.193.137.0/26', 'allocation_pools': [{'start': '46.193.137.2', 'end': '46.193.137.62'}], 'gateway_ip': '46.193.137.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '46.193.137.2', 'tags': [], 'project_id': '4df138d23c304a3d8cbad1b4a683cef4'}} 2025-08-04 03:54:09,532 - INFO - Created VN ctest-vn-98041197 2025-08-04 03:54:09,549 - DEBUG - VN ctest-vn-98041197 UUID is cafe7a53-9d7b-448b-9cf5-061ea27e1d16 2025-08-04 03:54:09,641 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:54:09,950 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:54:09,980 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d00e278-1e00-4abc-a644-cc23d080d5d1 2025-08-04 03:54:09,999 - DEBUG - Requesting: http://10.0.0.27:8082/project/4df138d2-3c30-4a3d-8cba-d1b4a683cef4 2025-08-04 03:54:10,106 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/cafe7a53-9d7b-448b-9cf5-061ea27e1d16 2025-08-04 03:54:10,124 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/cafe7a53-9d7b-448b-9cf5-061ea27e1d16 2025-08-04 03:54:10,137 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dbccc775-d7ec-4d1c-bc96-698a8600aac1 2025-08-04 03:54:10,147 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dbccc775-d7ec-4d1c-bc96-698a8600aac1 2025-08-04 03:54:10,156 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/65c31277-7782-4039-9d83-6d078a871cd3 2025-08-04 03:54:10,165 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 03:54:10,165 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/cafe7a53-9d7b-448b-9cf5-061ea27e1d16 2025-08-04 03:54:10,180 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dbccc775-d7ec-4d1c-bc96-698a8600aac1 2025-08-04 03:54:10,204 - INFO - Verified VN network id 13 for VN cafe7a53-9d7b-448b-9cf5-061ea27e1d16 2025-08-04 03:54:10,205 - INFO - Verifications in API Server for VN ctest-vn-98041197 passed 2025-08-04 03:54:10,205 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/cafe7a53-9d7b-448b-9cf5-061ea27e1d16 2025-08-04 03:54:10,218 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dbccc775-d7ec-4d1c-bc96-698a8600aac1 2025-08-04 03:54:10,229 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dbccc775-d7ec-4d1c-bc96-698a8600aac1 2025-08-04 03:54:10,240 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/65c31277-7782-4039-9d83-6d078a871cd3 2025-08-04 03:54:10,256 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-71283479', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14627263139288925323', 'uuid-lslong': '11309952767855828246'}, 'enable': 'true', 'created': '2025-08-04T03:54:09', 'last-modified': '2025-08-04T03:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.828267'} 2025-08-04 03:54:10,266 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 03:54:10,274 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-71283479', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14627263139288925323', 'uuid-lslong': '11309952767855828246'}, 'enable': 'true', 'created': '2025-08-04T03:54:09', 'last-modified': '2025-08-04T03:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.847926'} 2025-08-04 03:54:10,284 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 03:54:10,293 - DEBUG - Control-node 10.0.0.61 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-71283479', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14627263139288925323', 'uuid-lslong': '11309952767855828246'}, 'enable': 'true', 'created': '2025-08-04T03:54:09', 'last-modified': '2025-08-04T03:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.861773'} 2025-08-04 03:54:10,302 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-04 03:54:10,302 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-98041197 passed 2025-08-04 03:54:10,303 - DEBUG - ====Verifying policy data for ctest-vn-98041197 in API_Server ====== 2025-08-04 03:54:10,303 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:54:10,313 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d00e278-1e00-4abc-a644-cc23d080d5d1 2025-08-04 03:54:10,331 - DEBUG - Requesting: http://10.0.0.27:8082/project/4df138d2-3c30-4a3d-8cba-d1b4a683cef4 2025-08-04 03:54:10,447 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/cafe7a53-9d7b-448b-9cf5-061ea27e1d16 2025-08-04 03:54:10,460 - DEBUG - =>VN ctest-vn-98041197 has no policy to be verified 2025-08-04 03:54:10,460 - DEBUG - Verifying the vn in opserver 2025-08-04 03:54:10,460 - DEBUG - Verifying the default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197 virtual network link through opserver 10.0.0.27 2025-08-04 03:54:10,460 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-04 03:54:10,762 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks 2025-08-04 03:54:10,829 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197?flat'} 2025-08-04 03:54:10,829 - DEBUG - Verifying the default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197 virtual network link through opserver 10.0.0.38 2025-08-04 03:54:10,829 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-04 03:54:11,143 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-04 03:54:11,215 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197?flat'} 2025-08-04 03:54:11,215 - DEBUG - Verifying the default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197 virtual network link through opserver 10.0.0.61 2025-08-04 03:54:11,215 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-08-04 03:54:11,518 - DEBUG - Requesting: http://10.0.0.61:8081/analytics/uves/virtual-networks 2025-08-04 03:54:11,582 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197', 'href': 'http://10.0.0.61:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197?flat'} 2025-08-04 03:54:11,582 - INFO - Validated that VN default-domain:ctest-TestvifStats-71283479:ctest-vn-98041197 is found in opserver 2025-08-04 03:54:11,611 - DEBUG - Do not have enough data to verify VN in agent 2025-08-04 03:54:11,623 - DEBUG - VRF ids for VN ctest-vn-98041197: {} 2025-08-04 03:54:11,656 - DEBUG - Services list from nova: [, , , ] 2025-08-04 03:54:11,656 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3750-2', 'an-jenkins-deploy-platform-ansible-os-3750-1']} 2025-08-04 03:54:11,656 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3750-2', 'an-jenkins-deploy-platform-ansible-os-3750-1']} 2025-08-04 03:54:11,737 - DEBUG - Image by name ubuntu not found 2025-08-04 03:54:11,737 - DEBUG - Installing image ubuntu 2025-08-04 03:54:11,737 - 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-04 03:54:11,737 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-04 03:54:11,737 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-04 03:54:11,737 - DEBUG - Unzip image 2025-08-04 03:54:11,738 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-08-04 03:54:11,763 - INFO - image /contrail-test/images/ubuntu.vmdk is not found 2025-08-04 03:54:11,763 - INFO - Deleting VN ctest-vn-98041197 2025-08-04 03:54:12,112 - DEBUG - Response for deleting network () 2025-08-04 03:54:12,112 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/dbccc775-d7ec-4d1c-bc96-698a8600aac1 2025-08-04 03:54:12,121 - DEBUG - Response Code: 404 2025-08-04 03:54:12,121 - DEBUG - Requesting: http://10.0.0.27:8082/domains 2025-08-04 03:54:12,129 - DEBUG - Requesting: http://10.0.0.27:8082/domain/8d00e278-1e00-4abc-a644-cc23d080d5d1 2025-08-04 03:54:12,144 - DEBUG - Requesting: http://10.0.0.27:8082/project/4df138d2-3c30-4a3d-8cba-d1b4a683cef4 2025-08-04 03:54:12,245 - INFO - Validated that VN ctest-vn-98041197 is not found in API Server 2025-08-04 03:54:12,263 - DEBUG - VN ctest-vn-98041197 is not present in Agent 10.0.0.41 2025-08-04 03:54:12,278 - DEBUG - VN ctest-vn-98041197 is not present in Agent 10.0.0.57 2025-08-04 03:54:12,278 - INFO - Validated that VN ctest-vn-98041197 is not in any agent 2025-08-04 03:54:12,323 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-98041197 info 2025-08-04 03:54:13,607 - DEBUG - No XMPP flaps were noticed during the test 2025-08-04 03:54:13,608 - INFO - 2025-08-04 03:54:13,608 - INFO - END TEST : test_vif_statistics : SKIPPED[0:00:06] 2025-08-04 03:54:13,608 - INFO - -------------------------------------------------------------------------------- 2025-08-04 03:54:14,373 - INFO - Deleted project: ctest-TestvifStats-71283479, ID : 4df138d2-3c30-4a3d-8cba-d1b4a683cef4