2025-12-04 03:59:56,704 - INFO - Domain Default found not creating
2025-12-04 03:59:56,993 - INFO - Project ctest-TestvifStats-04217994 not found, creating it
2025-12-04 03:59:57,601 - INFO - Created Project:ctest-TestvifStats-04217994, ID : 8c08752e-93ba-49df-9d3f-016ae3ad7c42
2025-12-04 03:59:59,508 - INFO - ================================================================================
2025-12-04 03:59:59,508 - INFO - STARTING TEST : test_vif_statistics
2025-12-04 03:59:59,508 - 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-12-04 04:00:00,796 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.209': '0', '10.20.0.254': '0'}, '10.0.0.130': {'10.20.0.192': '0', '10.20.0.209': '0'}} with
2025-12-04 04:00:00,797 - INFO - Initial checks done. Running the testcase now
2025-12-04 04:00:00,798 - INFO -
2025-12-04 04:00:01,592 - DEBUG - Response for create_network : {'network': {'id': '4c8418f1-97eb-46fa-be0d-bf624761dd81', 'name': 'ctest-vn-11238385', 'tenant_id': '8c08752e93ba49df9d3f016ae3ad7c42', 'project_id': '8c08752e93ba49df9d3f016ae3ad7c42', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestvifStats-04217994', 'ctest-vn-11238385'], 'port_security_enabled': True, 'description': ''}}
2025-12-04 04:00:01,903 - DEBUG - Response for create_subnet : {'subnet': {'id': '46df3abb-2201-4ae4-9ff3-cea212cf508c', 'name': '', 'tenant_id': '8c08752e93ba49df9d3f016ae3ad7c42', 'network_id': '4c8418f1-97eb-46fa-be0d-bf624761dd81', 'ip_version': 4, 'cidr': '40.131.211.64/26', 'allocation_pools': [{'start': '40.131.211.66', 'end': '40.131.211.126'}], 'gateway_ip': '40.131.211.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '40.131.211.66', 'tags': [], 'project_id': '8c08752e93ba49df9d3f016ae3ad7c42'}}
2025-12-04 04:00:01,933 - INFO - Created VN ctest-vn-11238385
2025-12-04 04:00:01,951 - DEBUG - VN ctest-vn-11238385 UUID is 4c8418f1-97eb-46fa-be0d-bf624761dd81
2025-12-04 04:00:02,041 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-12-04 04:00:02,356 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-12-04 04:00:02,397 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890
2025-12-04 04:00:02,417 - DEBUG - Requesting: http://10.0.0.27:8082/project/8c08752e-93ba-49df-9d3f-016ae3ad7c42
2025-12-04 04:00:02,520 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4c8418f1-97eb-46fa-be0d-bf624761dd81
2025-12-04 04:00:02,541 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4c8418f1-97eb-46fa-be0d-bf624761dd81
2025-12-04 04:00:02,556 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/95fc5e95-a2ee-4e5b-a072-549ac91880e6
2025-12-04 04:00:02,568 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/95fc5e95-a2ee-4e5b-a072-549ac91880e6
2025-12-04 04:00:02,581 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/cc2af044-d336-41c7-bd1b-e640476e79ee
2025-12-04 04:00:02,594 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-04 04:00:02,594 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4c8418f1-97eb-46fa-be0d-bf624761dd81
2025-12-04 04:00:02,612 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/95fc5e95-a2ee-4e5b-a072-549ac91880e6
2025-12-04 04:00:02,636 - INFO - Verified VN network id 13 for VN 4c8418f1-97eb-46fa-be0d-bf624761dd81
2025-12-04 04:00:02,637 - INFO - Verifications in API Server for VN ctest-vn-11238385 passed
2025-12-04 04:00:02,637 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4c8418f1-97eb-46fa-be0d-bf624761dd81
2025-12-04 04:00:02,649 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/95fc5e95-a2ee-4e5b-a072-549ac91880e6
2025-12-04 04:00:02,660 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/95fc5e95-a2ee-4e5b-a072-549ac91880e6
2025-12-04 04:00:02,670 - DEBUG - Requesting: http://10.0.0.27:8082/route-target/cc2af044-d336-41c7-bd1b-e640476e79ee
2025-12-04 04:00:02,686 - DEBUG - Control-node 10.0.0.27 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-04217994', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5513559269723293434', 'uuid-lslong': '13694812470728842625'}, 'enable': 'true', 'created': '2025-12-04T04:00:01', 'last-modified': '2025-12-04T04:00:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.865966'}
2025-12-04 04:00:02,693 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-04 04:00:02,700 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-04217994', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5513559269723293434', 'uuid-lslong': '13694812470728842625'}, 'enable': 'true', 'created': '2025-12-04T04:00:01', 'last-modified': '2025-12-04T04:00:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.880523'}
2025-12-04 04:00:02,708 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-04 04:00:02,715 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestvifStats-04217994', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5513559269723293434', 'uuid-lslong': '13694812470728842625'}, 'enable': 'true', 'created': '2025-12-04T04:00:01', 'last-modified': '2025-12-04T04:00:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.893288'}
2025-12-04 04:00:02,724 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-04 04:00:02,724 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11238385 passed
2025-12-04 04:00:02,724 - DEBUG - ====Verifying policy data for ctest-vn-11238385 in API_Server ======
2025-12-04 04:00:02,724 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-12-04 04:00:02,732 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890
2025-12-04 04:00:02,746 - DEBUG - Requesting: http://10.0.0.27:8082/project/8c08752e-93ba-49df-9d3f-016ae3ad7c42
2025-12-04 04:00:02,857 - DEBUG - Requesting: http://10.0.0.27:8082/virtual-network/4c8418f1-97eb-46fa-be0d-bf624761dd81
2025-12-04 04:00:02,874 - DEBUG - =>VN ctest-vn-11238385 has no policy to be verified
2025-12-04 04:00:02,874 - DEBUG - Verifying the vn in opserver
2025-12-04 04:00:02,874 - DEBUG - Verifying the default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 virtual network link through opserver 10.0.0.27
2025-12-04 04:00:02,874 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-12-04 04:00:03,181 - DEBUG - Requesting: http://10.0.0.27:8081/analytics/uves/virtual-networks
2025-12-04 04:00:03,259 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385', 'href': 'http://10.0.0.27:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385?flat'}
2025-12-04 04:00:03,259 - DEBUG - Verifying the default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 virtual network link through opserver 10.0.0.33
2025-12-04 04:00:03,259 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-04 04:00:03,559 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2025-12-04 04:00:03,637 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385?flat'}
2025-12-04 04:00:03,637 - DEBUG - Verifying the default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 virtual network link through opserver 10.0.0.23
2025-12-04 04:00:03,638 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-12-04 04:00:03,988 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks
2025-12-04 04:00:04,068 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385?flat'}
2025-12-04 04:00:04,068 - INFO - Validated that VN default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is found in opserver
2025-12-04 04:00:04,094 - DEBUG - Do not have enough data to verify VN in agent
2025-12-04 04:00:04,106 - DEBUG - VRF ids for VN ctest-vn-11238385: {}
2025-12-04 04:00:04,135 - DEBUG - Services list from nova: [, , , ]
2025-12-04 04:00:04,135 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4840-1', 'an-jenkins-deploy-platform-ansible-os-4840-2']}
2025-12-04 04:00:04,135 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4840-1', 'an-jenkins-deploy-platform-ansible-os-4840-2']}
2025-12-04 04:00:05,443 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-1)
2025-12-04 04:00:05,444 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-4840-1', 'an-jenkins-deploy-platform-ansible-os-4840-2']}
2025-12-04 04:00:07,134 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-4840-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-4840-1)
2025-12-04 04:00:07,134 - INFO - Waiting for VM ctest-TestvifStats-04217994-46002134 to be up..
2025-12-04 04:00:07,249 - DEBUG - VM is still in BUILD state, Expected: ACTIVE
2025-12-04 04:00:12,343 - DEBUG - VM is in ACTIVE state now
2025-12-04 04:00:12,343 - INFO - VM name : ctest-TestvifStats-04217994-46002134
2025-12-04 04:00:12,460 - DEBUG - VM ctest-TestvifStats-04217994-46002134 ID is bf355035-d660-48a6-aba6-1567ef960dc6
2025-12-04 04:00:12,495 - DEBUG - VM ctest-TestvifStats-04217994-46002134 launched on Node an-jenkins-deploy-platform-ansible-os-4840-1
2025-12-04 04:00:12,599 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/bf355035-d660-48a6-aba6-1567ef960dc6
2025-12-04 04:00:12,916 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/bf355035-d660-48a6-aba6-1567ef960dc6
2025-12-04 04:00:12,959 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/d019dbe8-85ef-45ae-9faf-47093f28cf29
2025-12-04 04:00:16,166 - 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 1032ms')
2025-12-04 04:00:16,166 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:16,180 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:20,262 - 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 1012ms')
2025-12-04 04:00:20,262 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:20,277 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:24,359 - 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 1013ms')
2025-12-04 04:00:24,359 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:24,375 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:28,455 - 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 1012ms')
2025-12-04 04:00:28,455 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:28,471 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:32,543 - 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-04 04:00:32,543 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:32,560 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:36,652 - 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 1022ms')
2025-12-04 04:00:36,652 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:36,671 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:40,775 - 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 1029ms')
2025-12-04 04:00:40,775 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:40,792 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:44,871 - 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 1010ms')
2025-12-04 04:00:44,871 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:44,886 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:48,963 - 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 1009ms')
2025-12-04 04:00:48,963 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:48,978 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:53,061 - 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 1022ms')
2025-12-04 04:00:53,061 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:53,083 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:57,156 - 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 1009ms')
2025-12-04 04:00:57,156 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 failed!
2025-12-04 04:00:57,171 - DEBUG - Gateway for vn default-domain:ctest-TestvifStats-04217994:ctest-vn-11238385 is 40.131.211.65 and allocation pool is NOT set
2025-12-04 04:00:59,243 - 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=24.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=4.89 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 4.891/14.557/24.223/9.666 ms')
2025-12-04 04:00:59,243 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestvifStats-04217994-46002134 passed
2025-12-04 04:00:59,316 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:00:59,316 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-46002134, IP 40.131.211.67, Port 22
2025-12-04 04:00:59,382 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-04 04:00:59,474 - DEBUG - VM ctest-TestvifStats-04217994-46002134 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 04:01:04,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:04,474 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-46002134, IP 40.131.211.67, Port 22
2025-12-04 04:01:04,542 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-04 04:01:04,631 - DEBUG - VM ctest-TestvifStats-04217994-46002134 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 04:01:09,632 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:09,632 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-46002134, IP 40.131.211.67, Port 22
2025-12-04 04:01:09,698 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-04 04:01:09,789 - DEBUG - VM ctest-TestvifStats-04217994-46002134 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 04:01:14,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:14,790 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-46002134, IP 40.131.211.67, Port 22
2025-12-04 04:01:14,858 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-04 04:01:14,951 - DEBUG - VM ctest-TestvifStats-04217994-46002134 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 04:01:19,951 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:19,951 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-46002134, IP 40.131.211.67, Port 22
2025-12-04 04:01:20,018 - DEBUG - Error on ssh to ubuntu@169.254.0.3:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-04 04:01:20,117 - DEBUG - VM ctest-TestvifStats-04217994-46002134 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 04:01:25,119 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:25,119 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-46002134, IP 40.131.211.67, Port 22
2025-12-04 04:01:25,295 - DEBUG - VM ctest-TestvifStats-04217994-46002134 is ready for SSH connections
2025-12-04 04:01:25,295 - INFO - Waiting for VM ctest-TestvifStats-04217994-96974137 to be up..
2025-12-04 04:01:25,397 - DEBUG - VM is in ACTIVE state now
2025-12-04 04:01:25,397 - INFO - VM name : ctest-TestvifStats-04217994-96974137
2025-12-04 04:01:25,489 - DEBUG - VM ctest-TestvifStats-04217994-96974137 ID is 3b329500-c232-471a-93ee-32a9486afc46
2025-12-04 04:01:25,489 - DEBUG - VM ctest-TestvifStats-04217994-96974137 launched on Node an-jenkins-deploy-platform-ansible-os-4840-1
2025-12-04 04:01:25,576 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/3b329500-c232-471a-93ee-32a9486afc46
2025-12-04 04:01:25,587 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/913b27d3-b5bf-475f-b612-1ed36d0360b3
2025-12-04 04:01:26,769 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=9.77 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=4.90 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 4.896/7.330/9.765/2.434 ms')
2025-12-04 04:01:26,769 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestvifStats-04217994-96974137 passed
2025-12-04 04:01:26,843 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:26,843 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-96974137, IP 40.131.211.68, Port 22
2025-12-04 04:01:26,911 - DEBUG - Error on ssh to ubuntu@169.254.0.4:22, result: /bin/bash: connect: Connection refused
/bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''}
2025-12-04 04:01:27,001 - DEBUG - VM ctest-TestvifStats-04217994-96974137 is NOT ready for SSH connections, VM status: ACTIVE
2025-12-04 04:01:32,002 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:32,002 - DEBUG - Waiting to SSH to VM ctest-TestvifStats-04217994-96974137, IP 40.131.211.68, Port 22
2025-12-04 04:01:32,179 - DEBUG - VM ctest-TestvifStats-04217994-96974137 is ready for SSH connections
2025-12-04 04:01:32,179 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set
2025-12-04 04:01:32,179 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 40.131.211.68, host_string: ubuntu@169.254.0.3, password: ubuntugateway: ubuntu@10.0.0.22, gateway password: c0ntrail123
2025-12-04 04:01:32,180 - DEBUG - ping -s 56 -c 3 -W 1 40.131.211.68
2025-12-04 04:02:33,138 - DEBUG - PING 40.131.211.68 (40.131.211.68) 56(84) bytes of data.
64 bytes from 40.131.211.68: icmp_req=1 ttl=64 time=10.6 ms
64 bytes from 40.131.211.68: icmp_req=2 ttl=64 time=1.00 ms
64 bytes from 40.131.211.68: icmp_req=3 ttl=64 time=0.904 ms
--- 40.131.211.68 ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2003ms
rtt min/avg/max/mdev = 0.904/4.182/10.643/4.568 ms
2025-12-04 04:02:33,138 - INFO - Ping to IP 40.131.211.68 from VM ctest-TestvifStats-04217994-46002134 passed
2025-12-04 04:02:33,138 - INFO - 10.0.0.22
2025-12-04 04:02:33,138 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:33,250 - INFO - 13347
2025-12-04 04:02:33,350 - INFO - TX packets:13879
2025-12-04 04:02:33,351 - INFO - 13879
2025-12-04 04:02:33,351 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:33,460 - INFO - 21654
2025-12-04 04:02:33,566 - INFO - TX packets:21700
2025-12-04 04:02:33,566 - INFO - 21700
2025-12-04 04:02:33,566 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:33,685 - INFO - 9923
2025-12-04 04:02:33,798 - INFO - TX packets:8357
2025-12-04 04:02:33,798 - INFO - 8357
2025-12-04 04:02:33,798 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:33,906 - INFO - 287
2025-12-04 04:02:34,017 - INFO - TX packets:347
2025-12-04 04:02:34,017 - INFO - 347
2025-12-04 04:02:34,017 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:34,137 - INFO - 242
2025-12-04 04:02:34,246 - INFO - TX packets:282
2025-12-04 04:02:34,246 - INFO - 282
2025-12-04 04:02:34,246 - INFO - 10.0.0.22
2025-12-04 04:02:34,355 - INFO - Vif stats cleared successfully on all cores for all interfaces
2025-12-04 04:02:34,355 - INFO - 10.0.0.22
2025-12-04 04:02:34,355 - INFO - vif --get 0 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:34,464 - INFO - 0
2025-12-04 04:02:34,575 - INFO - TX packets:0
2025-12-04 04:02:34,575 - INFO - 0
2025-12-04 04:02:34,575 - INFO - vif --get 1 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:34,688 - INFO - 0
2025-12-04 04:02:34,796 - INFO - TX packets:0
2025-12-04 04:02:34,796 - INFO - 0
2025-12-04 04:02:34,796 - INFO - vif --get 2 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:34,902 - INFO - 0
2025-12-04 04:02:35,010 - INFO - TX packets:0
2025-12-04 04:02:35,010 - INFO - 0
2025-12-04 04:02:35,010 - INFO - vif --get 3 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:35,123 - INFO - 0
2025-12-04 04:02:35,234 - INFO - TX packets:0
2025-12-04 04:02:35,234 - INFO - 0
2025-12-04 04:02:35,234 - INFO - vif --get 4 | grep "RX packets" | tr -s ' ' | cut -f1-3 -d ' '
2025-12-04 04:02:35,344 - INFO - 1
2025-12-04 04:02:35,461 - INFO - TX packets:1
2025-12-04 04:02:35,461 - INFO - 1
2025-12-04 04:02:35,462 - INFO - Deleting VM ctest-TestvifStats-04217994-96974137
2025-12-04 04:02:35,540 - INFO - Deleting VM ctest-TestvifStats-04217994-46002134
2025-12-04 04:02:35,626 - INFO - Deleting VN ctest-vn-11238385
2025-12-04 04:02:35,675 - DEBUG - VN 4c8418f1-97eb-46fa-be0d-bf624761dd81 still in use: Unable to complete operation on network 4c8418f1-97eb-46fa-be0d-bf624761dd81. There are one or more ports still in use on the network.
Neutron server returns request_ids: ['req-285548b3-03d1-4c4f-9c31-1242617b271f']
2025-12-04 04:02:35,675 - WARNING - Deleting VN ctest-vn-11238385 failed..Will retry
2025-12-04 04:02:37,836 - DEBUG - Response for deleting network ()
2025-12-04 04:02:37,836 - DEBUG - Requesting: http://10.0.0.27:8082/routing-instance/95fc5e95-a2ee-4e5b-a072-549ac91880e6
2025-12-04 04:02:37,844 - DEBUG - Response Code: 404
2025-12-04 04:02:37,845 - DEBUG - Requesting: http://10.0.0.27:8082/domains
2025-12-04 04:02:37,859 - DEBUG - Requesting: http://10.0.0.27:8082/domain/77f3106b-db9e-49b5-893e-09cac574b890
2025-12-04 04:02:37,917 - DEBUG - Requesting: http://10.0.0.27:8082/project/8c08752e-93ba-49df-9d3f-016ae3ad7c42
2025-12-04 04:02:38,017 - INFO - Validated that VN ctest-vn-11238385 is not found in API Server
2025-12-04 04:02:38,029 - DEBUG - VN ctest-vn-11238385 is not present in Agent 10.0.0.22
2025-12-04 04:02:38,040 - DEBUG - VN ctest-vn-11238385 is not present in Agent 10.0.0.130
2025-12-04 04:02:38,041 - INFO - Validated that VN ctest-vn-11238385 is not in any agent
2025-12-04 04:02:38,077 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-11238385 info
2025-12-04 04:02:39,359 - DEBUG - No XMPP flaps were noticed during the test
2025-12-04 04:02:39,359 - INFO - END TEST : test_vif_statistics : PASSED[0:02:40]
2025-12-04 04:02:39,359 - INFO - --------------------------------------------------------------------------------
2025-12-04 04:02:40,184 - INFO - Deleted project: ctest-TestvifStats-04217994, ID : 8c08752e-93ba-49df-9d3f-016ae3ad7c42