2025-08-11 03:31:21,954 - INFO - Domain Default found not creating 2025-08-11 03:31:22,077 - INFO - Project ctest-TestvifStats-72466784 not found, creating it 2025-08-11 03:31:22,591 - INFO - Created Project:ctest-TestvifStats-72466784, ID : b37b44ca-29e3-49a2-98a9-e2be18cd9ce6 2025-08-11 03:31:23,975 - INFO - ================================================================================ 2025-08-11 03:31:23,975 - INFO - STARTING TEST : test_vif_statistics 2025-08-11 03:31:23,976 - 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-11 03:31:25,267 - DEBUG - Nothing to compare xmpp stats {'10.0.0.57': {'10.20.0.18': '0', '10.20.0.129': '0'}, '10.0.0.65': {'10.20.0.129': '0', '10.20.0.25': '0'}} with 2025-08-11 03:31:25,268 - INFO - Initial checks done. Running the testcase now 2025-08-11 03:31:25,268 - INFO - 2025-08-11 03:31:25,942 - DEBUG - Response for create_network : {'network': {'id': 'a555b005-65dc-4f7f-ab2a-dadaabc32e83', 'name': 'ctest-vn-58270336', 'tenant_id': 'b37b44ca29e349a298a9e2be18cd9ce6', 'project_id': 'b37b44ca29e349a298a9e2be18cd9ce6', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-72466784', 'ctest-vn-58270336'], 'port_security_enabled': True, 'description': ''}} 2025-08-11 03:31:26,226 - DEBUG - Response for create_subnet : {'subnet': {'id': '84e87a1f-edc1-4866-ab82-77965150bce5', 'name': '', 'tenant_id': 'b37b44ca29e349a298a9e2be18cd9ce6', 'network_id': 'a555b005-65dc-4f7f-ab2a-dadaabc32e83', 'ip_version': 4, 'cidr': '175.187.149.128/26', 'allocation_pools': [{'start': '175.187.149.130', 'end': '175.187.149.190'}], 'gateway_ip': '175.187.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.187.149.130', 'tags': [], 'project_id': 'b37b44ca29e349a298a9e2be18cd9ce6'}} 2025-08-11 03:31:26,248 - INFO - Created VN ctest-vn-58270336 2025-08-11 03:31:26,260 - DEBUG - VN ctest-vn-58270336 UUID is a555b005-65dc-4f7f-ab2a-dadaabc32e83 2025-08-11 03:31:26,339 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:31:26,701 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:31:26,745 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22 2025-08-11 03:31:26,766 - DEBUG - Requesting: http://10.0.0.23:8082/project/b37b44ca-29e3-49a2-98a9-e2be18cd9ce6 2025-08-11 03:31:26,868 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a555b005-65dc-4f7f-ab2a-dadaabc32e83 2025-08-11 03:31:26,882 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a555b005-65dc-4f7f-ab2a-dadaabc32e83 2025-08-11 03:31:26,909 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39ea5ad0-46f6-415e-a4f8-e8642ff6f577 2025-08-11 03:31:26,921 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39ea5ad0-46f6-415e-a4f8-e8642ff6f577 2025-08-11 03:31:26,930 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1801b2a4-7b16-4937-beaf-bf701e64ddaa 2025-08-11 03:31:26,939 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 03:31:26,939 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a555b005-65dc-4f7f-ab2a-dadaabc32e83 2025-08-11 03:31:26,950 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39ea5ad0-46f6-415e-a4f8-e8642ff6f577 2025-08-11 03:31:26,970 - INFO - Verified VN network id 14 for VN a555b005-65dc-4f7f-ab2a-dadaabc32e83 2025-08-11 03:31:26,970 - INFO - Verifications in API Server for VN ctest-vn-58270336 passed 2025-08-11 03:31:26,970 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a555b005-65dc-4f7f-ab2a-dadaabc32e83 2025-08-11 03:31:26,984 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39ea5ad0-46f6-415e-a4f8-e8642ff6f577 2025-08-11 03:31:26,993 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39ea5ad0-46f6-415e-a4f8-e8642ff6f577 2025-08-11 03:31:27,001 - DEBUG - Requesting: http://10.0.0.23:8082/route-target/1801b2a4-7b16-4937-beaf-bf701e64ddaa 2025-08-11 03:31:27,015 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-72466784', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11913621926508777343', 'uuid-lslong': '12333911162226945667'}, 'enable': 'true', 'created': '2025-08-11T03:31:25', 'last-modified': '2025-08-11T03:31:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.857934'} 2025-08-11 03:31:27,025 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 03:31:27,032 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-72466784', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11913621926508777343', 'uuid-lslong': '12333911162226945667'}, 'enable': 'true', 'created': '2025-08-11T03:31:25', 'last-modified': '2025-08-11T03:31:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876243'} 2025-08-11 03:31:27,040 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 03:31:27,050 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-72466784', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11913621926508777343', 'uuid-lslong': '12333911162226945667'}, 'enable': 'true', 'created': '2025-08-11T03:31:25', 'last-modified': '2025-08-11T03:31:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.892022'} 2025-08-11 03:31:27,057 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-11 03:31:27,057 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58270336 passed 2025-08-11 03:31:27,057 - DEBUG - ====Verifying policy data for ctest-vn-58270336 in API_Server ====== 2025-08-11 03:31:27,057 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:31:27,066 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22 2025-08-11 03:31:27,080 - DEBUG - Requesting: http://10.0.0.23:8082/project/b37b44ca-29e3-49a2-98a9-e2be18cd9ce6 2025-08-11 03:31:27,184 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-network/a555b005-65dc-4f7f-ab2a-dadaabc32e83 2025-08-11 03:31:27,202 - DEBUG - =>VN ctest-vn-58270336 has no policy to be verified 2025-08-11 03:31:27,202 - DEBUG - Verifying the vn in opserver 2025-08-11 03:31:27,202 - DEBUG - Verifying the default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336 virtual network link through opserver 10.0.0.23 2025-08-11 03:31:27,202 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-11 03:31:27,502 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-08-11 03:31:27,562 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336?flat'} 2025-08-11 03:31:27,562 - DEBUG - Verifying the default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336 virtual network link through opserver 10.0.0.38 2025-08-11 03:31:27,562 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 03:31:27,868 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-11 03:31:27,923 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336?flat'} 2025-08-11 03:31:27,923 - DEBUG - Verifying the default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336 virtual network link through opserver 10.0.0.141 2025-08-11 03:31:27,923 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-11 03:31:28,242 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks 2025-08-11 03:31:28,309 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336?flat'} 2025-08-11 03:31:28,309 - INFO - Validated that VN default-domain:ctest-TestvifStats-72466784:ctest-vn-58270336 is found in opserver 2025-08-11 03:31:28,330 - DEBUG - Do not have enough data to verify VN in agent 2025-08-11 03:31:28,340 - DEBUG - VRF ids for VN ctest-vn-58270336: {} 2025-08-11 03:31:28,372 - DEBUG - Services list from nova: [, , , ] 2025-08-11 03:31:28,373 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3794-2', 'an-jenkins-deploy-platform-ansible-os-3794-1']} 2025-08-11 03:31:28,373 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3794-2', 'an-jenkins-deploy-platform-ansible-os-3794-1']} 2025-08-11 03:31:28,437 - DEBUG - Image by name ubuntu not found 2025-08-11 03:31:28,437 - DEBUG - Installing image ubuntu 2025-08-11 03:31:28,437 - 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-11 03:31:28,437 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-11 03:31:28,437 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-11 03:31:28,437 - DEBUG - Unzip image 2025-08-11 03:31:28,437 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-08-11 03:31:28,457 - INFO - image /contrail-test/images/ubuntu.vmdk is not found 2025-08-11 03:31:28,458 - INFO - Deleting VN ctest-vn-58270336 2025-08-11 03:31:28,628 - DEBUG - Response for deleting network () 2025-08-11 03:31:28,628 - DEBUG - Requesting: http://10.0.0.23:8082/routing-instance/39ea5ad0-46f6-415e-a4f8-e8642ff6f577 2025-08-11 03:31:28,638 - DEBUG - Response Code: 404 2025-08-11 03:31:28,638 - DEBUG - Requesting: http://10.0.0.23:8082/domains 2025-08-11 03:31:28,647 - DEBUG - Requesting: http://10.0.0.23:8082/domain/e652ea40-e608-445e-8759-8973ddbd3f22 2025-08-11 03:31:28,668 - DEBUG - Requesting: http://10.0.0.23:8082/project/b37b44ca-29e3-49a2-98a9-e2be18cd9ce6 2025-08-11 03:31:28,770 - INFO - Validated that VN ctest-vn-58270336 is not found in API Server 2025-08-11 03:31:28,785 - DEBUG - VN ctest-vn-58270336 is not present in Agent 10.0.0.57 2025-08-11 03:31:28,797 - DEBUG - VN ctest-vn-58270336 is not present in Agent 10.0.0.65 2025-08-11 03:31:28,797 - INFO - Validated that VN ctest-vn-58270336 is not in any agent 2025-08-11 03:31:28,833 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58270336 info 2025-08-11 03:31:30,095 - DEBUG - No XMPP flaps were noticed during the test 2025-08-11 03:31:30,095 - INFO - 2025-08-11 03:31:30,095 - INFO - END TEST : test_vif_statistics : SKIPPED[0:00:07] 2025-08-11 03:31:30,097 - INFO - -------------------------------------------------------------------------------- 2025-08-11 03:31:30,825 - INFO - Deleted project: ctest-TestvifStats-72466784, ID : b37b44ca-29e3-49a2-98a9-e2be18cd9ce6