2025-08-06 09:30:48,204 - INFO - Domain Default found not creating 2025-08-06 09:30:48,446 - INFO - Project ctest-AnalyticsTestSanityWithMin-14792154 not found, creating it 2025-08-06 09:30:49,139 - INFO - Created Project:ctest-AnalyticsTestSanityWithMin-14792154, ID : 5c7cb112-8903-4b2e-be01-78cda1747ae9 2025-08-06 09:30:51,979 - DEBUG - Response for create_network : {'network': {'id': '54fd2c53-3c6b-4678-b5a9-cb0cac713ebf', 'name': 'ctest-vn1-23840189', 'tenant_id': '5c7cb11289034b2ebe0178cda1747ae9', 'project_id': '5c7cb11289034b2ebe0178cda1747ae9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-AnalyticsTestSanityWithMin-14792154', 'ctest-vn1-23840189'], 'port_security_enabled': True, 'description': ''}} 2025-08-06 09:30:52,289 - DEBUG - Response for create_subnet : {'subnet': {'id': '6fd2f475-ff4d-4146-9d40-a40ef1b5a51e', 'name': '', 'tenant_id': '5c7cb11289034b2ebe0178cda1747ae9', 'network_id': '54fd2c53-3c6b-4678-b5a9-cb0cac713ebf', 'ip_version': 4, 'cidr': '106.245.228.64/26', 'allocation_pools': [{'start': '106.245.228.66', 'end': '106.245.228.126'}], 'gateway_ip': '106.245.228.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '106.245.228.66', 'tags': [], 'project_id': '5c7cb11289034b2ebe0178cda1747ae9'}} 2025-08-06 09:30:52,331 - INFO - Created VN ctest-vn1-23840189 2025-08-06 09:30:52,358 - DEBUG - VN ctest-vn1-23840189 UUID is 54fd2c53-3c6b-4678-b5a9-cb0cac713ebf 2025-08-06 09:30:52,516 - DEBUG - Services list from nova: [, , , ] 2025-08-06 09:30:52,516 - DEBUG - Hosts: {'nova': ['an-jenkins-deploy-platform-ansible-os-3761-1', 'an-jenkins-deploy-platform-ansible-os-3761-2']} 2025-08-06 09:30:54,127 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1) 2025-08-06 09:30:55,974 - INFO - VM ([]) created on node: (an-jenkins-deploy-platform-ansible-os-3761-1), Zone: (nova:an-jenkins-deploy-platform-ansible-os-3761-1) 2025-08-06 09:30:55,974 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 09:30:56,329 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 09:30:56,400 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 09:30:56,429 - DEBUG - Requesting: http://10.0.0.48:8082/project/5c7cb112-8903-4b2e-be01-78cda1747ae9 2025-08-06 09:30:56,620 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/54fd2c53-3c6b-4678-b5a9-cb0cac713ebf 2025-08-06 09:30:56,652 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/54fd2c53-3c6b-4678-b5a9-cb0cac713ebf 2025-08-06 09:30:56,681 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c14c97cf-fe95-456d-9149-67edc6a0f274 2025-08-06 09:30:56,697 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c14c97cf-fe95-456d-9149-67edc6a0f274 2025-08-06 09:30:56,730 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/743f3c43-5c00-4fab-84a6-51c3daa86456 2025-08-06 09:30:56,762 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 09:30:56,762 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/54fd2c53-3c6b-4678-b5a9-cb0cac713ebf 2025-08-06 09:30:56,791 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c14c97cf-fe95-456d-9149-67edc6a0f274 2025-08-06 09:30:56,818 - INFO - Verified VN network id 7 for VN 54fd2c53-3c6b-4678-b5a9-cb0cac713ebf 2025-08-06 09:30:56,818 - INFO - Verifications in API Server for VN ctest-vn1-23840189 passed 2025-08-06 09:30:56,818 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/54fd2c53-3c6b-4678-b5a9-cb0cac713ebf 2025-08-06 09:30:56,842 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c14c97cf-fe95-456d-9149-67edc6a0f274 2025-08-06 09:30:56,888 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c14c97cf-fe95-456d-9149-67edc6a0f274 2025-08-06 09:30:56,903 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/743f3c43-5c00-4fab-84a6-51c3daa86456 2025-08-06 09:30:56,927 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-AnalyticsTestSanityWithMin-14792154', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6124099804301313656', 'uuid-lslong': '13090217047222206143'}, 'enable': 'true', 'created': '2025-08-06T09:30:51', 'last-modified': '2025-08-06T09:30:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.713338'} 2025-08-06 09:30:56,948 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 09:30:56,964 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-AnalyticsTestSanityWithMin-14792154', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6124099804301313656', 'uuid-lslong': '13090217047222206143'}, 'enable': 'true', 'created': '2025-08-06T09:30:51', 'last-modified': '2025-08-06T09:30:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.752910'} 2025-08-06 09:30:56,983 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 09:30:56,993 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-AnalyticsTestSanityWithMin-14792154', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6124099804301313656', 'uuid-lslong': '13090217047222206143'}, 'enable': 'true', 'created': '2025-08-06T09:30:51', 'last-modified': '2025-08-06T09:30:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.780872'} 2025-08-06 09:30:57,004 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-08-06 09:30:57,005 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn1-23840189 passed 2025-08-06 09:30:57,005 - DEBUG - ====Verifying policy data for ctest-vn1-23840189 in API_Server ====== 2025-08-06 09:30:57,005 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 09:30:57,016 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 09:30:57,053 - DEBUG - Requesting: http://10.0.0.48:8082/project/5c7cb112-8903-4b2e-be01-78cda1747ae9 2025-08-06 09:30:57,191 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/54fd2c53-3c6b-4678-b5a9-cb0cac713ebf 2025-08-06 09:30:57,213 - DEBUG - =>VN ctest-vn1-23840189 has no policy to be verified 2025-08-06 09:30:57,213 - DEBUG - Verifying the vn in opserver 2025-08-06 09:30:57,213 - DEBUG - Verifying the default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 virtual network link through opserver 10.0.0.48 2025-08-06 09:30:57,213 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-06 09:30:57,615 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2025-08-06 09:30:57,693 - DEBUG - vn link and name as {'name': 'default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189?flat'} 2025-08-06 09:30:57,694 - DEBUG - Verifying the default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 virtual network link through opserver 10.0.0.254 2025-08-06 09:30:57,694 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-06 09:30:58,075 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks 2025-08-06 09:30:58,159 - DEBUG - vn link and name as {'name': 'default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189?flat'} 2025-08-06 09:30:58,159 - DEBUG - Verifying the default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 virtual network link through opserver 10.0.0.38 2025-08-06 09:30:58,159 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-06 09:30:58,480 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-08-06 09:30:58,589 - DEBUG - vn link and name as {'name': 'default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189?flat'} 2025-08-06 09:30:58,589 - INFO - Validated that VN default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 is found in opserver 2025-08-06 09:30:58,618 - DEBUG - VRF ids for VN ctest-vn1-23840189: {'10.0.0.49': '2'} 2025-08-06 09:30:58,618 - INFO - Waiting for VM ctest-vn1_vm1-26537889 to be up.. 2025-08-06 09:30:58,839 - DEBUG - VM is in ACTIVE state now 2025-08-06 09:30:58,839 - INFO - VM name : ctest-vn1_vm1-26537889 2025-08-06 09:30:59,014 - DEBUG - VM ctest-vn1_vm1-26537889 ID is 41954cd9-0f9b-4a5c-99c1-8233fa5c05d5 2025-08-06 09:30:59,075 - DEBUG - VM ctest-vn1_vm1-26537889 launched on Node an-jenkins-deploy-platform-ansible-os-3761-1 2025-08-06 09:30:59,199 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/41954cd9-0f9b-4a5c-99c1-8233fa5c05d5 2025-08-06 09:30:59,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/41954cd9-0f9b-4a5c-99c1-8233fa5c05d5 2025-08-06 09:30:59,591 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/9b55fe14-3fbe-470f-8b42-de0fc9ce78f9 2025-08-06 09:31:02,840 - 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 1006ms') 2025-08-06 09:31:02,841 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-26537889 failed! 2025-08-06 09:31:02,864 - DEBUG - Gateway for vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 is 106.245.228.65 and allocation pool is NOT set 2025-08-06 09:31:06,937 - 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-08-06 09:31:06,937 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-26537889 failed! 2025-08-06 09:31:06,957 - DEBUG - Gateway for vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 is 106.245.228.65 and allocation pool is NOT set 2025-08-06 09:31:11,030 - 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 1008ms') 2025-08-06 09:31:11,030 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-26537889 failed! 2025-08-06 09:31:11,053 - DEBUG - Gateway for vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 is 106.245.228.65 and allocation pool is NOT set 2025-08-06 09:31:15,128 - 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=7.55 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1005ms\r\nrtt min/avg/max/mdev = 7.550/7.550/7.550/0.000 ms') 2025-08-06 09:31:15,128 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-vn1_vm1-26537889 passed 2025-08-06 09:31:15,245 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 09:31:15,246 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1-26537889, IP 106.245.228.67, Port 22 2025-08-06 09:31:15,316 - 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-08-06 09:31:15,421 - DEBUG - VM ctest-vn1_vm1-26537889 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 09:31:20,422 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 09:31:20,422 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1-26537889, IP 106.245.228.67, Port 22 2025-08-06 09:31:20,481 - 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-08-06 09:31:20,599 - DEBUG - VM ctest-vn1_vm1-26537889 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 09:31:25,600 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 09:31:25,600 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1-26537889, IP 106.245.228.67, Port 22 2025-08-06 09:31:25,656 - 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-08-06 09:31:25,775 - DEBUG - VM ctest-vn1_vm1-26537889 is NOT ready for SSH connections, VM status: ACTIVE 2025-08-06 09:31:30,776 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 09:31:30,776 - DEBUG - Waiting to SSH to VM ctest-vn1_vm1-26537889, IP 106.245.228.67, Port 22 2025-08-06 09:31:30,932 - DEBUG - VM ctest-vn1_vm1-26537889 is ready for SSH connections 2025-08-06 09:31:30,932 - INFO - Waiting for VM ctest-vn1_vm2-63837189 to be up.. 2025-08-06 09:31:31,027 - DEBUG - VM is in ACTIVE state now 2025-08-06 09:31:31,027 - INFO - VM name : ctest-vn1_vm2-63837189 2025-08-06 09:31:31,132 - DEBUG - VM ctest-vn1_vm2-63837189 ID is 40715804-0c74-4cff-b605-5f067bb0f4a9 2025-08-06 09:31:31,133 - DEBUG - VM ctest-vn1_vm2-63837189 launched on Node an-jenkins-deploy-platform-ansible-os-3761-1 2025-08-06 09:31:31,243 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40715804-0c74-4cff-b605-5f067bb0f4a9 2025-08-06 09:31:31,262 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/078e15c2-8406-4b70-912d-9361e189f68c 2025-08-06 09:31:32,487 - 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=2.64 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.728 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.728/1.684/2.640/0.956 ms') 2025-08-06 09:31:32,487 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-vn1_vm2-63837189 passed 2025-08-06 09:31:32,609 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-08-06 09:31:32,609 - DEBUG - Waiting to SSH to VM ctest-vn1_vm2-63837189, IP 106.245.228.68, Port 22 2025-08-06 09:31:32,773 - DEBUG - VM ctest-vn1_vm2-63837189 is ready for SSH connections 2025-08-06 09:31:32,777 - INFO - ================================================================================ 2025-08-06 09:31:32,778 - INFO - STARTING TEST : test_run_contrail_flows_cli_cmds 2025-08-06 09:31:32,778 - 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-08-06 09:31:34,107 - DEBUG - Skipping xmpp flap check 2025-08-06 09:31:34,107 - INFO - Initial checks done. Running the testcase now 2025-08-06 09:31:34,107 - INFO - 2025-08-06 09:31:34,330 - INFO - Setting flow export rate: 10 2025-08-06 09:31:34,331 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 106.245.228.68, host_string: cirros@169.254.0.3, password: gocubsgogateway: ubuntu@10.0.0.49, gateway password: c0ntrail123 2025-08-06 09:31:34,331 - DEBUG - ping -s 56 -c 3 -W 1 106.245.228.68 2025-08-06 09:31:36,946 - DEBUG - PING 106.245.228.68 (106.245.228.68): 56 data bytes 64 bytes from 106.245.228.68: seq=0 ttl=64 time=2.863 ms 64 bytes from 106.245.228.68: seq=1 ttl=64 time=1.111 ms 64 bytes from 106.245.228.68: seq=2 ttl=64 time=0.938 ms --- 106.245.228.68 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.938/1.637/2.863 ms 2025-08-06 09:31:36,947 - INFO - Ping to IP 106.245.228.68 from VM ctest-vn1_vm1-26537889 passed 2025-08-06 09:31:37,020 - INFO - None 2025-08-06 09:31:37,021 - INFO - Running the following cmd:contrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --source-ip 106.245.228.68 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time nowcontrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --source-ip 106.245.228.68 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time now | wc -l 2025-08-06 09:31:39,849 - INFO - Running the following cmd:contrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --destination-ip 106.245.228.67 --destination-port 0 --action pass --protocol 1 --verbose --last 1hcontrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --destination-ip 106.245.228.67 --destination-port 0 --action pass --protocol 1 --verbose --last 1h | wc -l 2025-08-06 09:31:41,653 - 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-08-06 09:31:43,618 - INFO - Running the following cmd:contrail-flows --vrouter an-jenkins-deploy-platform-ansible-os-3761-1 --last 10mcontrail-flows --vrouter an-jenkins-deploy-platform-ansible-os-3761-1 --last 10m | wc -l 2025-08-06 09:31:44,962 - INFO - Running the following cmd:contrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-14792154:9b55fe14-3fbe-470f-8b42-de0fc9ce78f9 --last 20mcontrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-14792154:9b55fe14-3fbe-470f-8b42-de0fc9ce78f9 --last 20m | wc -l 2025-08-06 09:31:46,993 - INFO - Running the following cmd:contrail-flows --helpcontrail-flows --help | wc -l 2025-08-06 09:31:47,893 - INFO - ['contrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --source-ip 106.245.228.68 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time nowcontrail-flows --source-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --source-ip 106.245.228.68 --source-port 44290 --protocol 1 --direction ingress --start-time now-30m --end-time now | wc -l', 'contrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --destination-ip 106.245.228.67 --destination-port 0 --action pass --protocol 1 --verbose --last 1hcontrail-flows --destination-vn default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --destination-ip 106.245.228.67 --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-3761-1 --last 10mcontrail-flows --vrouter an-jenkins-deploy-platform-ansible-os-3761-1 --last 10m | wc -l', 'contrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-14792154:9b55fe14-3fbe-470f-8b42-de0fc9ce78f9 --last 20mcontrail-flows --vmi default-domain:ctest-AnalyticsTestSanityWithMin-14792154:9b55fe14-3fbe-470f-8b42-de0fc9ce78f9 --last 20m | wc -l', 'contrail-flows --helpcontrail-flows --help | wc -l'] commands passed.. 2025-08-06 09:31:47,893 - INFO - [] commands failed.. 2025-08-06 09:31:48,038 - INFO - Setting flow export rate: None 2025-08-06 09:31:49,339 - DEBUG - Skipping xmpp flap check
2025-08-06 09:31:49,339 - INFO - END TEST : test_run_contrail_flows_cli_cmds : PASSED[0:00:17]
2025-08-06 09:31:49,339 - INFO - -------------------------------------------------------------------------------- 2025-08-06 09:31:49,342 - INFO - ================================================================================ 2025-08-06 09:31:49,342 - INFO - STARTING TEST : test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args 2025-08-06 09:31:49,342 - 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-08-06 09:31:50,631 - DEBUG - Skipping xmpp flap check 2025-08-06 09:31:50,631 - INFO - Initial checks done. Running the testcase now 2025-08-06 09:31:50,631 - INFO - 2025-08-06 09:31:50,631 - 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-08-06 09:31:52,327 - 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-08-06 09:31:53,219 - 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-08-06 09:32:00,641 - 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-08-06 09:32:01,390 - 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-08-06 09:32:03,905 - 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-08-06 09:32:04,692 - 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-08-06 09:32:05,523 - 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-08-06 09:32:06,292 - INFO - Running the following cmd:contrail-logs --object-type virtual-machine --object-id 41954cd9-0f9b-4a5c-99c1-8233fa5c05d5 --verbose --raw --jsoncontrail-logs --object-type virtual-machine --object-id 41954cd9-0f9b-4a5c-99c1-8233fa5c05d5 --verbose --raw --json | wc -l 2025-08-06 09:32:07,111 - 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-08-06 09:32:08,475 - 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-08-06 09:32:10,143 - INFO - Running the following cmd:contrail-logs --module contrail-analytics-api --source cn-jenkins-deploy-platform-ansible-os-3761-1. --node-type Analyticscontrail-logs --module contrail-analytics-api --source cn-jenkins-deploy-platform-ansible-os-3761-1. --node-type Analytics | wc -l 2025-08-06 09:32:10,907 - INFO - Running the following cmd:contrail-logs --helpcontrail-logs --help | wc -l 2025-08-06 09:32:11,677 - 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 41954cd9-0f9b-4a5c-99c1-8233fa5c05d5 --verbose --raw --jsoncontrail-logs --object-type virtual-machine --object-id 41954cd9-0f9b-4a5c-99c1-8233fa5c05d5 --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-3761-1. --node-type Analyticscontrail-logs --module contrail-analytics-api --source cn-jenkins-deploy-platform-ansible-os-3761-1. --node-type Analytics | wc -l', 'contrail-logs --helpcontrail-logs --help | wc -l'] commands passed.. 2025-08-06 09:32:11,677 - INFO - [] commands failed.. 2025-08-06 09:32:13,009 - DEBUG - Skipping xmpp flap check
2025-08-06 09:32:13,009 - INFO - END TEST : test_run_contrail_logs_cli_cmd_with_multiple_different_optional_args : PASSED[0:00:24]
2025-08-06 09:32:13,010 - INFO - -------------------------------------------------------------------------------- 2025-08-06 09:32:13,013 - INFO - ================================================================================ 2025-08-06 09:32:13,013 - INFO - STARTING TEST : test_run_contrail_stats_cli_cmds 2025-08-06 09:32:13,013 - 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-08-06 09:32:14,310 - DEBUG - Skipping xmpp flap check 2025-08-06 09:32:14,310 - INFO - Initial checks done. Running the testcase now 2025-08-06 09:32:14,310 - INFO - 2025-08-06 09:32:14,310 - 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-08-06 09:32:15,267 - 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-08-06 09:32:17,112 - 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-08-06 09:32:18,074 - 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-08-06 09:32:18,895 - 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-14792154:ctest-vn1-23840189 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --last 1h | wc -l 2025-08-06 09:32:19,661 - 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-08-06 09:32:20,449 - 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-08-06 09:32:21,209 - 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-08-06 09:32:22,023 - 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-08-06 09:32:23,757 - 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-08-06 09:32:24,508 - 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-14792154:ctest-vn1-23840189 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --last 1h | wc -l 2025-08-06 09:32:25,342 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1h | wc -l 2025-08-06 09:32:26,104 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --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-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --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-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --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-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --select T vn_stats.other_vn UUID vn_stats.out_bytes vn_stats.in_bytes --last 40m | wc -l 2025-08-06 09:32:26,979 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189" --select vn_stats.other_vn "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" "COUNT(vn_stats)" --last 1h | wc -l 2025-08-06 09:32:27,738 - INFO - Running the following cmd:contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189" --select T=300 "SUM(vn_stats.out_bytes)" "SUM(vn_stats.in_bytes)" --last 1h | wc -l 2025-08-06 09:32:28,632 - INFO - Running the following cmd:contrail-stats --helpcontrail-stats --help | wc -l 2025-08-06 09:32:29,443 - 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-14792154:ctest-vn1-23840189 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --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-14792154:ctest-vn1-23840189 --last 1hcontrail-stats --table UveVirtualNetworkAgent.vn_stats --select "T=60" "SUM(vn_stats.in_bytes)" --where name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 --last 1h | wc -l', 'contrail-stats --table UveVirtualNetworkAgent.vn_stats --where "name=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --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-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --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-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --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-14792154:ctest-vn1-23840189 AND vn_stats.vrouter=an-jenkins-deploy-platform-ansible-os-3761-1" --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-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189" --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-14792154:ctest-vn1-23840189 AND vn_stats.other_vn=default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189" --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-08-06 09:32:29,443 - INFO - [] commands failed.. 2025-08-06 09:32:30,747 - DEBUG - Skipping xmpp flap check
2025-08-06 09:32:30,747 - INFO - END TEST : test_run_contrail_stats_cli_cmds : PASSED[0:00:17]
2025-08-06 09:32:30,747 - INFO - -------------------------------------------------------------------------------- 2025-08-06 09:32:30,749 - INFO - Deleting VM ctest-vn1_vm2-63837189 2025-08-06 09:32:30,832 - INFO - Deleting VM ctest-vn1_vm1-26537889 2025-08-06 09:32:30,906 - INFO - Deleting VN ctest-vn1-23840189 2025-08-06 09:32:30,974 - DEBUG - VN 54fd2c53-3c6b-4678-b5a9-cb0cac713ebf still in use: Unable to complete operation on network 54fd2c53-3c6b-4678-b5a9-cb0cac713ebf. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-550c950d-a6ca-444b-b59e-353dca9d7b2f'] 2025-08-06 09:32:30,974 - WARNING - Deleting VN ctest-vn1-23840189 failed..Will retry 2025-08-06 09:32:33,193 - DEBUG - Response for deleting network () 2025-08-06 09:32:33,193 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/c14c97cf-fe95-456d-9149-67edc6a0f274 2025-08-06 09:32:33,216 - DEBUG - Response Code: 404 2025-08-06 09:32:33,216 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2025-08-06 09:32:33,230 - DEBUG - Requesting: http://10.0.0.48:8082/domain/e3e88518-0617-4e53-bc15-162decab76e0 2025-08-06 09:32:33,253 - DEBUG - Requesting: http://10.0.0.48:8082/project/5c7cb112-8903-4b2e-be01-78cda1747ae9 2025-08-06 09:32:33,360 - INFO - Validated that VN ctest-vn1-23840189 is not found in API Server 2025-08-06 09:32:33,379 - DEBUG - VN ctest-vn1-23840189 is not present in Agent 10.0.0.49 2025-08-06 09:32:33,393 - DEBUG - VN ctest-vn1-23840189 is not present in Agent 10.0.0.57 2025-08-06 09:32:33,393 - INFO - Validated that VN ctest-vn1-23840189 is not in any agent 2025-08-06 09:32:33,399 - DEBUG - VRF 2 is not seen in agent 10.0.0.49 2025-08-06 09:32:33,405 - DEBUG - Vrouter 10.0.0.49 does not have vrf 2 for VN ctest-vn1-23840189 2025-08-06 09:32:33,405 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-AnalyticsTestSanityWithMin-14792154:ctest-vn1-23840189 2025-08-06 09:32:33,430 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn1-23840189 info 2025-08-06 09:32:34,247 - INFO - Deleted project: ctest-AnalyticsTestSanityWithMin-14792154, ID : 5c7cb112-8903-4b2e-be01-78cda1747ae9