2025-07-22 17:32:59,589 - INFO - Domain Default found not creating 2025-07-22 17:32:59,732 - INFO - Project ctest-AnalyticsTestSanityWithMin-43913453 not found, creating it 2025-07-22 17:33:00,333 - INFO - Created Project:ctest-AnalyticsTestSanityWithMin-43913453, ID : 311dab56-d3f4-4d6b-a989-c6e27a06fb1f 2025-07-22 17:33:02,423 - DEBUG - Response for create_network : {'network': {'id': '13e3b340-b547-48bf-af84-e9acd0df78aa', 'name': 'ctest-vn1-55883760', 'tenant_id': '311dab56d3f44d6ba989c6e27a06fb1f', 'project_id': '311dab56d3f44d6ba989c6e27a06fb1f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-AnalyticsTestSanityWithMin-43913453', 'ctest-vn1-55883760'], 'port_security_enabled': True, 'description': ''}} 2025-07-22 17:33:02,710 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b2e1f144-fea7-46b6-bfdf-c5e6bb3335dd', 'name': '', 'tenant_id': '311dab56d3f44d6ba989c6e27a06fb1f', 'network_id': '13e3b340-b547-48bf-af84-e9acd0df78aa', 'ip_version': 4, 'cidr': '208.215.109.128/26', 'allocation_pools': [{'start': '208.215.109.130', 'end': '208.215.109.190'}], 'gateway_ip': '208.215.109.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '208.215.109.130', 'tags': [], 'project_id': '311dab56d3f44d6ba989c6e27a06fb1f'}} 2025-07-22 17:33:02,736 - INFO - Created VN ctest-vn1-55883760 2025-07-22 17:33:02,754 - DEBUG - VN ctest-vn1-55883760 UUID is 13e3b340-b547-48bf-af84-e9acd0df78aa 2025-07-22 17:33:02,859 - DEBUG - Services list from nova: [, , , ] 2025-07-22 17:33:02,859 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3693-2', 'an-jenkins-deploy-platform-ansible-os-3693-1']} 2025-07-22 17:33:04,043 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 17:33:05,609 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3693-2), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3693-2) 2025-07-22 17:33:05,609 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 17:33:05,955 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 17:33:06,022 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910 2025-07-22 17:33:06,044 - DEBUG - Requesting: http://10.0.0.254:8082/project/311dab56-d3f4-4d6b-a989-c6e27a06fb1f 2025-07-22 17:33:06,157 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/13e3b340-b547-48bf-af84-e9acd0df78aa 2025-07-22 17:33:06,173 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/13e3b340-b547-48bf-af84-e9acd0df78aa 2025-07-22 17:33:06,191 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6cd8ea0a-2b5e-462b-9857-13f0f22ced6a 2025-07-22 17:33:06,206 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6cd8ea0a-2b5e-462b-9857-13f0f22ced6a 2025-07-22 17:33:06,219 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/598129b5-ef8f-4e4b-8b46-9f2650e1077e 2025-07-22 17:33:06,231 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 17:33:06,231 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/13e3b340-b547-48bf-af84-e9acd0df78aa 2025-07-22 17:33:06,248 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6cd8ea0a-2b5e-462b-9857-13f0f22ced6a 2025-07-22 17:33:06,272 - INFO - Verified VN network id 12 for VN 13e3b340-b547-48bf-af84-e9acd0df78aa 2025-07-22 17:33:06,272 - INFO - Verifications in API Server for VN ctest-vn1-55883760 passed 2025-07-22 17:33:06,272 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/13e3b340-b547-48bf-af84-e9acd0df78aa 2025-07-22 17:33:06,285 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6cd8ea0a-2b5e-462b-9857-13f0f22ced6a 2025-07-22 17:33:06,298 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6cd8ea0a-2b5e-462b-9857-13f0f22ced6a 2025-07-22 17:33:06,308 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/598129b5-ef8f-4e4b-8b46-9f2650e1077e 2025-07-22 17:33:06,322 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-AnalyticsTestSanityWithMin-43913453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1433186196934576319', 'uuid-lslong': '12647490582011148458'}, 'enable': 'true', 'created': '2025-07-22T17:33:02', 'last-modified': '2025-07-22T17:33:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.683219'} 2025-07-22 17:33:06,329 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 17:33:06,336 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-AnalyticsTestSanityWithMin-43913453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1433186196934576319', 'uuid-lslong': '12647490582011148458'}, 'enable': 'true', 'created': '2025-07-22T17:33:02', 'last-modified': '2025-07-22T17:33:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.692311'} 2025-07-22 17:33:06,344 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 17:33:06,350 - DEBUG - Control-node 10.0.0.23 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760', 'interests': '1', 'advertised': '1', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-AnalyticsTestSanityWithMin-43913453', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1433186196934576319', 'uuid-lslong': '12647490582011148458'}, 'enable': 'true', 'created': '2025-07-22T17:33:02', 'last-modified': '2025-07-22T17:33:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.705753'} 2025-07-22 17:33:06,376 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-07-22 17:33:06,378 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn1-55883760 passed 2025-07-22 17:33:06,379 - DEBUG - ====Verifying policy data for ctest-vn1-55883760 in API_Server ====== 2025-07-22 17:33:06,379 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 17:33:06,412 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910 2025-07-22 17:33:06,438 - DEBUG - Requesting: http://10.0.0.254:8082/project/311dab56-d3f4-4d6b-a989-c6e27a06fb1f 2025-07-22 17:33:06,550 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/13e3b340-b547-48bf-af84-e9acd0df78aa 2025-07-22 17:33:06,583 - DEBUG - =>VN ctest-vn1-55883760 has no policy to be verified 2025-07-22 17:33:06,583 - DEBUG - Verifying the vn in opserver 2025-07-22 17:33:06,583 - DEBUG - Verifying the default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 virtual network link through opserver 10.0.0.254 2025-07-22 17:33:06,583 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 17:33:06,899 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-07-22 17:33:06,958 - DEBUG - vn link and name as {'name': 'default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760?flat'} 2025-07-22 17:33:06,958 - DEBUG - Verifying the default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 virtual network link through opserver 10.0.0.50 2025-07-22 17:33:06,959 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-22 17:33:07,261 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2025-07-22 17:33:07,330 - DEBUG - vn link and name as {'name': 'default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760?flat'} 2025-07-22 17:33:07,330 - DEBUG - Verifying the default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 virtual network link through opserver 10.0.0.23 2025-07-22 17:33:07,330 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-07-22 17:33:07,815 - DEBUG - Requesting: http://10.0.0.23:8081/analytics/uves/virtual-networks 2025-07-22 17:33:07,876 - DEBUG - vn link and name as {'name': 'default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760', 'href': 'http://10.0.0.23:8081/analytics/uves/virtual-network/default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760?flat'} 2025-07-22 17:33:07,876 - INFO - Validated that VN default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 is found in opserver 2025-07-22 17:33:07,891 - DEBUG - VRF ids for VN ctest-vn1-55883760: {'10.0.0.27': '2'} 2025-07-22 17:33:07,891 - INFO - Waiting for VM ctest-vn1_vm1-38094590 to be up.. 2025-07-22 17:33:07,982 - DEBUG - VM is in ACTIVE state now 2025-07-22 17:33:07,982 - INFO - VM name : ctest-vn1_vm1-38094590 2025-07-22 17:33:08,066 - DEBUG - VM ctest-vn1_vm1-38094590 ID is bb32602b-4f22-4bad-9ff9-f302343b3ac6 2025-07-22 17:33:08,093 - DEBUG - VM ctest-vn1_vm1-38094590 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 17:33:08,187 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/bb32602b-4f22-4bad-9ff9-f302343b3ac6 2025-07-22 17:33:08,511 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/bb32602b-4f22-4bad-9ff9-f302343b3ac6 2025-07-22 17:33:08,547 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a2f00ca5-a983-47f8-884e-caf38e42d51a 2025-07-22 17:33:11,740 - 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 1018ms') 2025-07-22 17:33:11,740 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-38094590 failed! 2025-07-22 17:33:11,757 - DEBUG - Gateway for vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 is 208.215.109.129 and allocation pool is NOT set 2025-07-22 17:33:15,800 - 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 1024ms') 2025-07-22 17:33:15,800 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-38094590 failed! 2025-07-22 17:33:15,819 - DEBUG - Gateway for vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 is 208.215.109.129 and allocation pool is NOT set 2025-07-22 17:33:19,868 - 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 1030ms') 2025-07-22 17:33:19,868 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-38094590 failed! 2025-07-22 17:33:19,885 - DEBUG - Gateway for vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 is 208.215.109.129 and allocation pool is NOT set 2025-07-22 17:33:23,929 - 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 1027ms') 2025-07-22 17:33:23,930 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-38094590 failed! 2025-07-22 17:33:23,947 - DEBUG - Gateway for vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 is 208.215.109.129 and allocation pool is NOT set 2025-07-22 17:33:28,000 - 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=2 ttl=63 time=11.8 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1030ms\r\nrtt min/avg/max/mdev = 11.776/11.776/11.776/0.000 ms') 2025-07-22 17:33:28,000 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-38094590 passed 2025-07-22 17:33:28,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:33:28,117 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1-38094590, IP 208.215.109.131, Port 22 2025-07-22 17:33:28,142 - DEBUG - Error on ssh to cirros@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-07-22 17:33:28,237 - DEBUG - VM ctest-vn1_vm1-38094590 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-22 17:33:33,238 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:33:33,238 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1-38094590, IP 208.215.109.131, Port 22 2025-07-22 17:33:33,262 - DEBUG - Error on ssh to cirros@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-07-22 17:33:33,355 - DEBUG - VM ctest-vn1_vm1-38094590 is NOT ready for SSH connections, VM status: ACTIVE 2025-07-22 17:33:38,356 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:33:38,356 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1-38094590, IP 208.215.109.131, Port 22 2025-07-22 17:33:38,446 - DEBUG - VM ctest-vn1_vm1-38094590 is ready for SSH connections 2025-07-22 17:33:38,446 - INFO - Waiting for VM ctest-vn1_vm2-41377661 to be up.. 2025-07-22 17:33:38,529 - DEBUG - VM is in ACTIVE state now 2025-07-22 17:33:38,529 - INFO - VM name : ctest-vn1_vm2-41377661 2025-07-22 17:33:38,615 - DEBUG - VM ctest-vn1_vm2-41377661 ID is d3c56fba-6214-4c4a-85bd-45428c284a4d 2025-07-22 17:33:38,616 - DEBUG - VM ctest-vn1_vm2-41377661 launched on Node an-jenkins-deploy-platform-ansible-os-3693-2 2025-07-22 17:33:38,697 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine/d3c56fba-6214-4c4a-85bd-45428c284a4d 2025-07-22 17:33:38,710 - DEBUG - Requesting: http://10.0.0.23:8082/virtual-machine-interface/a531b8c2-ee4d-427d-9bef-13730bc45631 2025-07-22 17:33:39,880 - 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=3.43 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.555 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 = 0.555/1.992/3.430/1.437 ms') 2025-07-22 17:33:39,880 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1_vm2-41377661 passed 2025-07-22 17:33:39,993 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-07-22 17:33:39,994 - DEBUG - Waiting to SSH to VM ctest-vn1_vm2-41377661, IP 208.215.109.132, Port 22 2025-07-22 17:33:40,080 - DEBUG - VM ctest-vn1_vm2-41377661 is ready for SSH connections 2025-07-22 17:33:40,082 - INFO - ================================================================================ 2025-07-22 17:33:40,082 - INFO - STARTING TEST : test_run_contrail_flows_cli_cmds 2025-07-22 17:33:40,082 - INFO - TEST DESCRIPTION : 1. Test to verify contrail-flows cli cmd with various optional arguments is not broken.. Run the following commands: cmd1: contrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithResource-70247115:ctest-vn1-92886157 --source-ip 107.191.91.3 --source-port 1453 --protocol 1 --direction ingress --tunnel-info --start-time now-30m --end-time now' cmd2: contrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithResource-70247115:ctest-vn1-92886157 --destination-ip 107.191.91.4 --destination-port 0 --action pass --protocol 1 --verbose --last 1h cmd3: contrail-flows --vrouter-ip 'vrouter-ip' --other-vrouter-ip 'peer-vrouter-ip' --start-time now-10m --end-time now cmd4: contrail-flows --vrouter 'vrouter-name' --last 10m' cmd5: contrail-flows --vmi 'vmi fq_name' 2.Verify the command runs properly 3.Verify the cmd is returning non null output 2025-07-22 17:33:40,711 - DEBUG - Skipping xmpp flap check 2025-07-22 17:33:40,711 - INFO - Initial checks done. Running the testcase now 2025-07-22 17:33:40,711 - INFO - 2025-07-22 17:33:40,932 - INFO - Setting flow export rate: 10 2025-07-22 17:33:40,933 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 208.215.109.132, host_string: cirros@169.254.0.3, password: gocubsgogateway: ubuntu@10.0.0.27, gateway password: c0ntrail123 2025-07-22 17:33:40,933 - DEBUG - ping -s 56 -c 3 -W 1 208.215.109.132 2025-07-22 17:33:43,829 - DEBUG - PING 208.215.109.132 (208.215.109.132): 56 data bytes 64 bytes from 208.215.109.132: seq=0 ttl=64 time=4.012 ms 64 bytes from 208.215.109.132: seq=1 ttl=64 time=1.056 ms 64 bytes from 208.215.109.132: seq=2 ttl=64 time=1.059 ms --- 208.215.109.132 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.056/2.042/4.012 ms 2025-07-22 17:33:43,829 - INFO - Ping to IP 208.215.109.132 from VM ctest-vn1_vm1-38094590 passed 2025-07-22 17:33:43,883 - INFO - None 2025-07-22 17:33:43,883 - INFO - Running the following cmd:contrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --source-ip 208.215.109.132 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time nowcontrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --source-ip 208.215.109.132 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time now | wc -l 2025-07-22 17:33:46,306 - INFO - Running the following cmd:contrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --destination-ip 208.215.109.131 --destination-port 0 --action pass --protocol 1 --verbose --last 1hcontrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --destination-ip 208.215.109.131 --destination-port 0 --action pass --protocol 1 --verbose --last 1h | wc -l 2025-07-22 17:33:48,520 - INFO - Running the following cmd:contrail-flows --vrouter-ip 10.20.0.193 --other-vrouter-ip 10.20.0.193 --start-time now-10m --end-time nowcontrail-flows --vrouter-ip 10.20.0.193 --other-vrouter-ip 10.20.0.193 --start-time now-10m --end-time now | wc -l 2025-07-22 17:33:49,673 - INFO - Running the following cmd:contrail-flows --vrouter an-jenkins-deploy-platform-ansible-os-3693-2 --last 10mcontrail-flows --vrouter an-jenkins-deploy-platform-ansible-os-3693-2 --last 10m | wc -l 2025-07-22 17:33:50,888 - INFO - Running the following cmd:contrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-43913453:a2f00ca5-a983-47f8-884e-caf38e42d51a --last 20mcontrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-43913453:a2f00ca5-a983-47f8-884e-caf38e42d51a --last 20m | wc -l 2025-07-22 17:33:52,565 - INFO - Running the following cmd:contrail-flows --helpcontrail-flows --help | wc -l 2025-07-22 17:33:53,195 - INFO - ['contrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --source-ip 208.215.109.132 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time nowcontrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --source-ip 208.215.109.132 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time now | wc -l', 'contrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --destination-ip 208.215.109.131 --destination-port 0 --action pass --protocol 1 --verbose --last 1hcontrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --destination-ip 208.215.109.131 --destination-port 0 --action pass --protocol 1 --verbose --last 1h | wc -l', 'contrail-flows --vrouter-ip 10.20.0.193 --other-vrouter-ip 10.20.0.193 --start-time now-10m --end-time nowcontrail-flows --vrouter-ip 10.20.0.193 --other-vrouter-ip 10.20.0.193 --start-time now-10m --end-time now | wc -l', 'contrail-flows --vrouter an-jenkins-deploy-platform-ansible-os-3693-2 --last 10mcontrail-flows --vrouter an-jenkins-deploy-platform-ansible-os-3693-2 --last 10m | wc -l', 'contrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-43913453:a2f00ca5-a983-47f8-884e-caf38e42d51a --last 20mcontrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-43913453:a2f00ca5-a983-47f8-884e-caf38e42d51a --last 20m | wc -l', 'contrail-flows --helpcontrail-flows --help | wc -l'] commands passed.. 2025-07-22 17:33:53,195 - INFO - [] commands failed.. 2025-07-22 17:33:53,312 - INFO - Setting flow export rate: None 2025-07-22 17:33:54,569 - DEBUG - Skipping xmpp flap check
2025-07-22 17:33:54,569 - INFO - END TEST : test_run_contrail_flows_cli_cmds : PASSED[0:00:14]
2025-07-22 17:33:54,570 - INFO - -------------------------------------------------------------------------------- 2025-07-22 17:33:54,573 - INFO - ================================================================================ 2025-07-22 17:33:54,573 - INFO - STARTING TEST : test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args 2025-07-22 17:33:54,573 - INFO - TEST DESCRIPTION : 1.Test to verify contrail-logs cli cmd with multiple different optional type args is not broken 2.Verify the command runs properly and its returning some output 3.Do not verify the correctness of the output 2025-07-22 17:33:55,821 - DEBUG - Skipping xmpp flap check 2025-07-22 17:33:55,821 - INFO - Initial checks done. Running the testcase now 2025-07-22 17:33:55,821 - INFO - 2025-07-22 17:33:55,821 - INFO - Running the following cmd:contrail-logs --object-type vrouter --start-time now-5m --end-time nowcontrail-logs --object-type vrouter --start-time now-5m --end-time now | wc -l 2025-07-22 17:33:57,086 - INFO - Running the following cmd:contrail-logs --object-type database-node --message-type NodeStatusUVE --start-time now-10m --end-time now --rawcontrail-logs --object-type database-node --message-type NodeStatusUVE --start-time now-10m --end-time now --raw | wc -l 2025-07-22 17:33:57,712 - INFO - Running the following cmd:contrail-logs --node-type Database --message-type CassandraStatusUVE --start-time now-2hcontrail-logs --node-type Database --message-type CassandraStatusUVE --start-time now-2h | wc -l 2025-07-22 17:34:04,873 - INFO - Running the following cmd:contrail-logs --node-type Compute --message-type UveVMInterfaceAgentTrace --start-time now-10m --jsoncontrail-logs --node-type Compute --message-type UveVMInterfaceAgentTrace --start-time now-10m --json | wc -l 2025-07-22 17:34:05,560 - INFO - Running the following cmd:contrail-logs --module contrail-vrouter-agent --message-type SandeshModuleClientTrace --start-time now-20m --end-time nowcontrail-logs --module contrail-vrouter-agent --message-type SandeshModuleClientTrace --start-time now-20m --end-time now | wc -l 2025-07-22 17:34:07,688 - INFO - Running the following cmd:contrail-logs --node-type Config --module contrail-api --rawcontrail-logs --node-type Config --module contrail-api --raw | wc -l 2025-07-22 17:34:08,335 - INFO - Running the following cmd:contrail-logs --module contrail-vrouter-agent --message-type UveVirtualNetworkAgentTrace --node-type Compute --last 5m --verbose --reversecontrail-logs --module contrail-vrouter-agent --message-type UveVirtualNetworkAgentTrace --node-type Compute --last 5m --verbose --reverse | wc -l 2025-07-22 17:34:09,056 - INFO - Running the following cmd:contrail-logs --module contrail-analytics-api --message-type AnalyticsApiStats --node-type Analytics --jsoncontrail-logs --module contrail-analytics-api --message-type AnalyticsApiStats --node-type Analytics --json | wc -l 2025-07-22 17:34:09,720 - INFO - Running the following cmd:contrail-logs --object-type virtual-machine --object-id bb32602b-4f22-4bad-9ff9-f302343b3ac6 --verbose --raw --jsoncontrail-logs --object-type virtual-machine --object-id bb32602b-4f22-4bad-9ff9-f302343b3ac6 --verbose --raw --json | wc -l 2025-07-22 17:34:10,377 - INFO - Running the following cmd:contrail-logs --node-type Analytics --module contrail-analytics-api --message-type AnalyticsApiStatscontrail-logs --node-type Analytics --module contrail-analytics-api --message-type AnalyticsApiStats | wc -l 2025-07-22 17:34:11,581 - INFO - Running the following cmd:contrail-logs --object-type virtual-network --module contrail-control --last 10mcontrail-logs --object-type virtual-network --module contrail-control --last 10m | wc -l 2025-07-22 17:34:13,031 - INFO - Running the following cmd:contrail-logs --module contrail-analytics-api --source cn-jenkins-deploy-platform-ansible-os-3693-1. --node-type Analyticscontrail-logs --module contrail-analytics-api --source cn-jenkins-deploy-platform-ansible-os-3693-1. --node-type Analytics | wc -l 2025-07-22 17:34:13,730 - INFO - Running the following cmd:contrail-logs --helpcontrail-logs --help | wc -l 2025-07-22 17:34:14,400 - INFO - ['contrail-logs --object-type vrouter --start-time now-5m --end-time nowcontrail-logs --object-type vrouter --start-time now-5m --end-time now | wc -l', 'contrail-logs --object-type database-node --message-type NodeStatusUVE --start-time now-10m --end-time now --rawcontrail-logs --object-type database-node --message-type NodeStatusUVE --start-time now-10m --end-time now --raw | wc -l', 'contrail-logs --node-type Database --message-type CassandraStatusUVE --start-time now-2hcontrail-logs --node-type Database --message-type CassandraStatusUVE --start-time now-2h | wc -l', 'contrail-logs --node-type Compute --message-type UveVMInterfaceAgentTrace --start-time now-10m --jsoncontrail-logs --node-type Compute --message-type UveVMInterfaceAgentTrace --start-time now-10m --json | wc -l', 'contrail-logs --module contrail-vrouter-agent --message-type SandeshModuleClientTrace --start-time now-20m --end-time nowcontrail-logs --module contrail-vrouter-agent --message-type SandeshModuleClientTrace --start-time now-20m --end-time now | wc -l', 'contrail-logs --node-type Config --module contrail-api --rawcontrail-logs --node-type Config --module contrail-api --raw | wc -l', 'contrail-logs --module contrail-vrouter-agent --message-type UveVirtualNetworkAgentTrace --node-type Compute --last 5m --verbose --reversecontrail-logs --module contrail-vrouter-agent --message-type UveVirtualNetworkAgentTrace --node-type Compute --last 5m --verbose --reverse | wc -l', 'contrail-logs --module contrail-analytics-api --message-type AnalyticsApiStats --node-type Analytics --jsoncontrail-logs --module contrail-analytics-api --message-type AnalyticsApiStats --node-type Analytics --json | wc -l', 'contrail-logs --object-type virtual-machine --object-id bb32602b-4f22-4bad-9ff9-f302343b3ac6 --verbose --raw --jsoncontrail-logs --object-type virtual-machine --object-id bb32602b-4f22-4bad-9ff9-f302343b3ac6 --verbose --raw --json | wc -l', 'contrail-logs --node-type Analytics --module contrail-analytics-api --message-type AnalyticsApiStatscontrail-logs --node-type Analytics --module contrail-analytics-api --message-type AnalyticsApiStats | wc -l', 'contrail-logs --object-type virtual-network --module contrail-control --last 10mcontrail-logs --object-type virtual-network --module contrail-control --last 10m | wc -l', 'contrail-logs --module contrail-analytics-api --source cn-jenkins-deploy-platform-ansible-os-3693-1. --node-type Analyticscontrail-logs --module contrail-analytics-api --source cn-jenkins-deploy-platform-ansible-os-3693-1. --node-type Analytics | wc -l', 'contrail-logs --helpcontrail-logs --help | wc -l'] commands passed.. 2025-07-22 17:34:14,401 - INFO - [] commands failed.. 2025-07-22 17:34:15,722 - DEBUG - Skipping xmpp flap check
2025-07-22 17:34:15,722 - INFO - END TEST : test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args : PASSED[0:00:21]
2025-07-22 17:34:15,722 - INFO - -------------------------------------------------------------------------------- 2025-07-22 17:34:15,726 - INFO - ================================================================================ 2025-07-22 17:34:15,726 - INFO - STARTING TEST : test_run_contrail_stats_cli_cmds 2025-07-22 17:34:15,727 - INFO - TEST DESCRIPTION : 1.Run contrail-stats commands with various options 2.Verify the command runs properly and its returning some output 3.Do not verify the correctness of the output 2025-07-22 17:34:16,989 - DEBUG - Skipping xmpp flap check 2025-07-22 17:34:16,989 - INFO - Initial checks done. Running the testcase now 2025-07-22 17:34:16,989 - INFO - 2025-07-22 17:34:16,990 - INFO - Running the following cmd:contrail-stats --table VMIStats.raw_if_stats --select "SUM(raw_if_stats.in_bytes)" name --where name="*" --start-time now-11h --end-time now-10hcontrail-stats --table VMIStats.raw_if_stats --select "SUM(raw_if_stats.in_bytes)" name --where name="*" --start-time now-11h --end-time now-10h | wc -l 2025-07-22 17:34:17,659 - INFO - Running the following cmd:contrail-stats --table NodeStatus.process_mem_cpu_usage --select "T=120" "AVG(process_mem_cpu_usage.cpu_share)" "AVG(process_mem_cpu_usage.mem_res)" --where process_mem_cpu_usage.__key=cassandra --last 30mcontrail-stats --table NodeStatus.process_mem_cpu_usage --select "T=120" "AVG(process_mem_cpu_usage.cpu_share)" "AVG(process_mem_cpu_usage.mem_res)" --where process_mem_cpu_usage.__key=cassandra --last 30m | wc -l 2025-07-22 17:34:19,319 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name="*"contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name="*" | wc -l 2025-07-22 17:34:19,984 - INFO - Running the following cmd:contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)"contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)" | wc -l 2025-07-22 17:34:20,640 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1h | wc -l 2025-07-22 17:34:21,312 - INFO - Running the following cmd:contrail-stats --table VrouterStatsAgent.phy_band_in_bps --select phy_band_in_bps.__value phy_band_in_bps.__keycontrail-stats --table VrouterStatsAgent.phy_band_in_bps --select phy_band_in_bps.__value phy_band_in_bps.__key | wc -l 2025-07-22 17:34:22,040 - INFO - Running the following cmd:contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)"contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)" | wc -l 2025-07-22 17:34:22,747 - INFO - Running the following cmd:contrail-stats --table AnalyticsApiStats.api_stats --select "PERCENTILES(api_stats.response_size_bytes)" "SUM(api_stats.response_size_objects)" name --where name="*"contrail-stats --table AnalyticsApiStats.api_stats --select "PERCENTILES(api_stats.response_size_bytes)" "SUM(api_stats.response_size_objects)" name --where name="*" | wc -l 2025-07-22 17:34:23,523 - INFO - Running the following cmd:contrail-stats --table NodeStatus.process_mem_cpu_usage --select "UUID" "process_mem_cpu_usage.cpu_share" "AVG(process_mem_cpu_usage.cpu_share)" "name" --where name="*"contrail-stats --table NodeStatus.process_mem_cpu_usage --select "UUID" "process_mem_cpu_usage.cpu_share" "AVG(process_mem_cpu_usage.cpu_share)" "name" --where name="*" | wc -l 2025-07-22 17:34:25,236 - INFO - Running the following cmd:contrail-stats --table AnalyticsApiStats.api_stats --select "name" "api_stats.useragent" "AVG(api_stats.response_size_bytes)" --where name="*"contrail-stats --table AnalyticsApiStats.api_stats --select "name" "api_stats.useragent" "AVG(api_stats.response_size_bytes)" --where name="*" | wc -l 2025-07-22 17:34:25,949 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1h | wc -l 2025-07-22 17:34:26,636 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1h | wc -l 2025-07-22 17:34:27,450 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select "T" "vn_stats.other_vn" "UUID" "vn_stats.out_bytes" "vn_stats.in_bytes" --last 10mcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select T vn_stats.other_vn UUID vn_stats.out_bytes vn_stats.in_bytes --last 40mcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select "T" "vn_stats.other_vn" "UUID" "vn_stats.out_bytes" "vn_stats.in_bytes" --last 10mcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select T vn_stats.other_vn UUID vn_stats.out_bytes vn_stats.in_bytes --last 40m | wc -l 2025-07-22 17:34:28,174 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1h | wc -l 2025-07-22 17:34:28,968 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select T=300 "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select T=300 "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" --last 1h | wc -l 2025-07-22 17:34:29,708 - INFO - Running the following cmd:contrail-stats --helpcontrail-stats --help | wc -l 2025-07-22 17:34:30,374 - INFO - ['contrail-stats --table VMIStats.raw_if_stats --select "SUM(raw_if_stats.in_bytes)" name --where name="*" --start-time now-11h --end-time now-10hcontrail-stats --table VMIStats.raw_if_stats --select "SUM(raw_if_stats.in_bytes)" name --where name="*" --start-time now-11h --end-time now-10h | wc -l', 'contrail-stats --table NodeStatus.process_mem_cpu_usage --select "T=120" "AVG(process_mem_cpu_usage.cpu_share)" "AVG(process_mem_cpu_usage.mem_res)" --where process_mem_cpu_usage.__key=cassandra --last 30mcontrail-stats --table NodeStatus.process_mem_cpu_usage --select "T=120" "AVG(process_mem_cpu_usage.cpu_share)" "AVG(process_mem_cpu_usage.mem_res)" --where process_mem_cpu_usage.__key=cassandra --last 30m | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name="*"contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name="*" | wc -l', 'contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)"contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)" | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1h | wc -l', 'contrail-stats --table VrouterStatsAgent.phy_band_in_bps --select phy_band_in_bps.__value phy_band_in_bps.__keycontrail-stats --table VrouterStatsAgent.phy_band_in_bps --select phy_band_in_bps.__value phy_band_in_bps.__key | wc -l', 'contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)"contrail-stats --table SandeshMessageStat.msg_info --select "SUM(msg_info.messages)" msg_info.type --sort "SUM(msg_info.messages)" | wc -l', 'contrail-stats --table AnalyticsApiStats.api_stats --select "PERCENTILES(api_stats.response_size_bytes)" "SUM(api_stats.response_size_objects)" name --where name="*"contrail-stats --table AnalyticsApiStats.api_stats --select "PERCENTILES(api_stats.response_size_bytes)" "SUM(api_stats.response_size_objects)" name --where name="*" | wc -l', 'contrail-stats --table NodeStatus.process_mem_cpu_usage --select "UUID" "process_mem_cpu_usage.cpu_share" "AVG(process_mem_cpu_usage.cpu_share)" "name" --where name="*"contrail-stats --table NodeStatus.process_mem_cpu_usage --select "UUID" "process_mem_cpu_usage.cpu_share" "AVG(process_mem_cpu_usage.cpu_share)" "name" --where name="*" | wc -l', 'contrail-stats --table AnalyticsApiStats.api_stats --select "name" "api_stats.useragent" "AVG(api_stats.response_size_bytes)" --where name="*"contrail-stats --table AnalyticsApiStats.api_stats --select "name" "api_stats.useragent" "AVG(api_stats.response_size_bytes)" --where name="*" | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 --last 1h | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1h | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select "T" "vn_stats.other_vn" "UUID" "vn_stats.out_bytes" "vn_stats.in_bytes" --last 10mcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select T vn_stats.other_vn UUID vn_stats.out_bytes vn_stats.in_bytes --last 40mcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select "T" "vn_stats.other_vn" "UUID" "vn_stats.out_bytes" "vn_stats.in_bytes" --last 10mcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3693-2" --select T vn_stats.other_vn UUID vn_stats.out_bytes vn_stats.in_bytes --last 40m | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1h | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select T=300 "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760" --select T=300 "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" --last 1h | wc -l', 'contrail-stats --helpcontrail-stats --help | wc -l'] commands passed.. 2025-07-22 17:34:30,374 - INFO - [] commands failed.. 2025-07-22 17:34:31,666 - DEBUG - Skipping xmpp flap check
2025-07-22 17:34:31,666 - INFO - END TEST : test_run_contrail_stats_cli_cmds : PASSED[0:00:16]
2025-07-22 17:34:31,666 - INFO - -------------------------------------------------------------------------------- 2025-07-22 17:34:31,667 - INFO - Deleting VM ctest-vn1_vm2-41377661 2025-07-22 17:34:31,738 - INFO - Deleting VM ctest-vn1_vm1-38094590 2025-07-22 17:34:31,802 - INFO - Deleting VN ctest-vn1-55883760 2025-07-22 17:34:31,848 - DEBUG - VN 13e3b340-b547-48bf-af84-e9acd0df78aa still in use: Unable to complete operation on network 13e3b340-b547-48bf-af84-e9acd0df78aa. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-d3fb8c1b-ae84-4743-8b0f-9e425b3a437d'] 2025-07-22 17:34:31,848 - WARNING - Deleting VN ctest-vn1-55883760 failed..Will retry 2025-07-22 17:34:34,043 - DEBUG - Response for deleting network () 2025-07-22 17:34:34,044 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/6cd8ea0a-2b5e-462b-9857-13f0f22ced6a 2025-07-22 17:34:34,050 - DEBUG - Response Code: 404 2025-07-22 17:34:34,050 - DEBUG - Requesting: http://10.0.0.254:8082/domains 2025-07-22 17:34:34,057 - DEBUG - Requesting: http://10.0.0.254:8082/domain/6830e6da-995f-41aa-841e-c47f32c16910 2025-07-22 17:34:34,118 - DEBUG - Requesting: http://10.0.0.254:8082/project/311dab56-d3f4-4d6b-a989-c6e27a06fb1f 2025-07-22 17:34:34,228 - INFO - Validated that VN ctest-vn1-55883760 is not found in API Server 2025-07-22 17:34:34,242 - DEBUG - VN ctest-vn1-55883760 is not present in Agent 10.0.0.19 2025-07-22 17:34:34,254 - DEBUG - VN ctest-vn1-55883760 is not present in Agent 10.0.0.27 2025-07-22 17:34:34,254 - INFO - Validated that VN ctest-vn1-55883760 is not in any agent 2025-07-22 17:34:34,260 - DEBUG - VRF 2 is not seen in agent 10.0.0.27 2025-07-22 17:34:34,267 - DEBUG - Vrouter 10.0.0.27 does not have vrf 2 for VN ctest-vn1-55883760 2025-07-22 17:34:34,267 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-AnalyticsTestSanityWithMin-43913453:ctest-vn1-55883760 2025-07-22 17:34:34,296 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn1-55883760 info 2025-07-22 17:34:35,042 - INFO - Deleted project: ctest-AnalyticsTestSanityWithMin-43913453, ID : 311dab56-d3f4-4d6b-a989-c6e27a06fb1f