2025-08-07 03:49:25,577 - INFO - Domain Default found not creating 2025-08-07 03:49:25,781 - INFO - Project ctest-TestvifStats-67873765 not found, creating it 2025-08-07 03:49:26,502 - INFO - Created Project:ctest-TestvifStats-67873765, ID : 22a3a10f-173b-4b93-9324-25b791b1df04 2025-08-07 03:49:28,620 - INFO - ================================================================================ 2025-08-07 03:49:28,620 - INFO - STARTING TEST : test_vif_statistics 2025-08-07 03:49:28,620 - 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-07 03:49:29,958 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.17': '0', '10.20.0.25': '0'}, '10.0.0.61': {'10.20.0.17': '0', '10.20.0.25': '0'}} with 2025-08-07 03:49:29,958 - INFO - Initial checks done. Running the testcase now 2025-08-07 03:49:29,958 - INFO - 2025-08-07 03:49:30,738 - DEBUG - Response for create_network : {'network': {'id': '3d41c1a1-7235-4968-81bd-b145648a81d4', 'name': 'ctest-vn-88137883', 'tenant_id': '22a3a10f173b4b93932425b791b1df04', 'project_id': '22a3a10f173b4b93932425b791b1df04', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-67873765', 'ctest-vn-88137883'], 'port_security_enabled': True, 'description': ''}} 2025-08-07 03:49:31,035 - DEBUG - Response for create_subnet : {'subnet': {'id': '2b96130d-2bb0-47d1-9ffc-7b49d273f688', 'name': '', 'tenant_id': '22a3a10f173b4b93932425b791b1df04', 'network_id': '3d41c1a1-7235-4968-81bd-b145648a81d4', 'ip_version': 4, 'cidr': '130.66.22.0/26', 'allocation_pools': [{'start': '130.66.22.2', 'end': '130.66.22.62'}], 'gateway_ip': '130.66.22.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.66.22.2', 'tags': [], 'project_id': '22a3a10f173b4b93932425b791b1df04'}} 2025-08-07 03:49:31,065 - INFO - Created VN ctest-vn-88137883 2025-08-07 03:49:31,078 - DEBUG - VN ctest-vn-88137883 UUID is 3d41c1a1-7235-4968-81bd-b145648a81d4 2025-08-07 03:49:31,171 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:49:31,507 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:49:31,555 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 03:49:31,577 - DEBUG - Requesting: http://10.0.0.56:8082/project/22a3a10f-173b-4b93-9324-25b791b1df04 2025-08-07 03:49:31,688 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/3d41c1a1-7235-4968-81bd-b145648a81d4 2025-08-07 03:49:31,704 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/3d41c1a1-7235-4968-81bd-b145648a81d4 2025-08-07 03:49:31,716 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/58f118b2-805c-4611-ae01-9e42ec998130 2025-08-07 03:49:31,728 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/58f118b2-805c-4611-ae01-9e42ec998130 2025-08-07 03:49:31,741 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/0ab75582-dc77-4994-b3b1-ce6ee4facbf7 2025-08-07 03:49:31,750 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 03:49:31,750 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/3d41c1a1-7235-4968-81bd-b145648a81d4 2025-08-07 03:49:31,761 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/58f118b2-805c-4611-ae01-9e42ec998130 2025-08-07 03:49:31,785 - INFO - Verified VN network id 12 for VN 3d41c1a1-7235-4968-81bd-b145648a81d4 2025-08-07 03:49:31,786 - INFO - Verifications in API Server for VN ctest-vn-88137883 passed 2025-08-07 03:49:31,786 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/3d41c1a1-7235-4968-81bd-b145648a81d4 2025-08-07 03:49:31,799 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/58f118b2-805c-4611-ae01-9e42ec998130 2025-08-07 03:49:31,809 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/58f118b2-805c-4611-ae01-9e42ec998130 2025-08-07 03:49:31,819 - DEBUG - Requesting: http://10.0.0.56:8082/route-target/0ab75582-dc77-4994-b3b1-ce6ee4facbf7 2025-08-07 03:49:31,836 - DEBUG - Control-node 10.0.0.56 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-67873765', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4414022008949786984', 'uuid-lslong': '9348823313088676308'}, 'enable': 'true', 'created': '2025-08-07T03:49:30', 'last-modified': '2025-08-07T03:49:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.860305'} 2025-08-07 03:49:31,844 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 03:49:31,852 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-67873765', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4414022008949786984', 'uuid-lslong': '9348823313088676308'}, 'enable': 'true', 'created': '2025-08-07T03:49:30', 'last-modified': '2025-08-07T03:49:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876040'} 2025-08-07 03:49:31,860 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 03:49:31,867 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-67873765', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4414022008949786984', 'uuid-lslong': '9348823313088676308'}, 'enable': 'true', 'created': '2025-08-07T03:49:30', 'last-modified': '2025-08-07T03:49:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.888815'} 2025-08-07 03:49:31,878 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-07 03:49:31,878 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88137883 passed 2025-08-07 03:49:31,878 - DEBUG - ====Verifying policy data for ctest-vn-88137883 in API_Server ====== 2025-08-07 03:49:31,878 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:49:31,887 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 03:49:31,903 - DEBUG - Requesting: http://10.0.0.56:8082/project/22a3a10f-173b-4b93-9324-25b791b1df04 2025-08-07 03:49:32,016 - DEBUG - Requesting: http://10.0.0.56:8082/virtual-network/3d41c1a1-7235-4968-81bd-b145648a81d4 2025-08-07 03:49:32,030 - DEBUG - =>VN ctest-vn-88137883 has no policy to be verified 2025-08-07 03:49:32,030 - DEBUG - Verifying the vn in opserver 2025-08-07 03:49:32,031 - DEBUG - Verifying the default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883 virtual network link through opserver 10.0.0.56 2025-08-07 03:49:32,031 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-08-07 03:49:32,335 - DEBUG - Requesting: http://10.0.0.56:8081/analytics/uves/virtual-networks 2025-08-07 03:49:32,415 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883', 'href': 'http://10.0.0.56:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883?flat'} 2025-08-07 03:49:32,415 - DEBUG - Verifying the default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883 virtual network link through opserver 10.0.0.130 2025-08-07 03:49:32,416 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-07 03:49:32,722 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks 2025-08-07 03:49:32,801 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883?flat'} 2025-08-07 03:49:32,801 - DEBUG - Verifying the default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883 virtual network link through opserver 10.0.0.249 2025-08-07 03:49:32,802 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-07 03:49:33,131 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks 2025-08-07 03:49:33,213 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883?flat'} 2025-08-07 03:49:33,213 - INFO - Validated that VN default-domain:ctest-TestvifStats-67873765:ctest-vn-88137883 is found in opserver 2025-08-07 03:49:33,245 - DEBUG - Do not have enough data to verify VN in agent 2025-08-07 03:49:33,259 - DEBUG - VRF ids for VN ctest-vn-88137883: {} 2025-08-07 03:49:33,293 - DEBUG - Services list from nova: [, , , ] 2025-08-07 03:49:33,294 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3767-2', 'an-jenkins-deploy-platform-ansible-os-3767-1']} 2025-08-07 03:49:33,294 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3767-2', 'an-jenkins-deploy-platform-ansible-os-3767-1']} 2025-08-07 03:49:33,366 - DEBUG - Image by name ubuntu not found 2025-08-07 03:49:33,366 - DEBUG - Installing image ubuntu 2025-08-07 03:49:33,366 - 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-07 03:49:33,367 - DEBUG - Image build path file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-07 03:49:33,367 - DEBUG - Download image from local file file:///contrail-test/images/ubuntu.vmdk.gz 2025-08-07 03:49:33,367 - DEBUG - Unzip image 2025-08-07 03:49:33,367 - DEBUG - Image download (local=True) (proxy=None): Execute cmd: gunzip -f /contrail-test/images/ubuntu.vmdk.gz 2025-08-07 03:49:33,394 - INFO - image /contrail-test/images/ubuntu.vmdk is not found 2025-08-07 03:49:33,394 - INFO - Deleting VN ctest-vn-88137883 2025-08-07 03:49:33,570 - DEBUG - Response for deleting network () 2025-08-07 03:49:33,570 - DEBUG - Requesting: http://10.0.0.56:8082/routing-instance/58f118b2-805c-4611-ae01-9e42ec998130 2025-08-07 03:49:33,580 - DEBUG - Response Code: 404 2025-08-07 03:49:33,580 - DEBUG - Requesting: http://10.0.0.56:8082/domains 2025-08-07 03:49:33,587 - DEBUG - Requesting: http://10.0.0.56:8082/domain/fb2d80da-9971-40dc-80ca-c5bb54e98569 2025-08-07 03:49:33,617 - DEBUG - Requesting: http://10.0.0.56:8082/project/22a3a10f-173b-4b93-9324-25b791b1df04 2025-08-07 03:49:33,720 - INFO - Validated that VN ctest-vn-88137883 is not found in API Server 2025-08-07 03:49:33,736 - DEBUG - VN ctest-vn-88137883 is not present in Agent 10.0.0.41 2025-08-07 03:49:33,749 - DEBUG - VN ctest-vn-88137883 is not present in Agent 10.0.0.61 2025-08-07 03:49:33,750 - INFO - Validated that VN ctest-vn-88137883 is not in any agent 2025-08-07 03:49:33,794 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-88137883 info 2025-08-07 03:49:35,080 - DEBUG - No XMPP flaps were noticed during the test 2025-08-07 03:49:35,080 - INFO -
2025-08-07 03:49:35,081 - INFO - END TEST : test_vif_statistics : SKIPPED[0:00:07]
2025-08-07 03:49:35,081 - INFO - -------------------------------------------------------------------------------- 2025-08-07 03:49:35,851 - INFO - Deleted project: ctest-TestvifStats-67873765, ID : 22a3a10f-173b-4b93-9324-25b791b1df04