2024-11-10 20:53:43,772 - INFO - Domain Default found not creating 2024-11-10 20:53:43,957 - INFO - Project ctest-TestBasicVMVN-15296032 not found, creating it 2024-11-10 20:53:44,483 - INFO - Created Project:ctest-TestBasicVMVN-15296032, ID : ca9c72aa-479a-445d-82cd-20f7d1955965 2024-11-10 20:53:46,167 - INFO - ================================================================================ 2024-11-10 20:53:46,167 - INFO - STARTING TEST : test_generic_link_local_service 2024-11-10 20:53:46,167 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2024-11-10 20:53:46,422 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.10': '0'}} with 2024-11-10 20:53:46,422 - INFO - Initial checks done. Running the testcase now 2024-11-10 20:53:46,422 - INFO - 2024-11-10 20:53:47,027 - DEBUG - Response for create_network : {'network': {'id': '40745800-3382-4c71-8d20-98c4f8adf58f', 'name': 'ctest-vn2_metadata-07221619', 'tenant_id': 'ca9c72aa479a445d82cd20f7d1955965', 'project_id': 'ca9c72aa479a445d82cd20f7d1955965', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-15296032', 'ctest-vn2_metadata-07221619'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 20:53:47,242 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a32a351-ae03-4d71-9fb5-2906afe1b011', 'name': '', 'tenant_id': 'ca9c72aa479a445d82cd20f7d1955965', 'network_id': '40745800-3382-4c71-8d20-98c4f8adf58f', 'ip_version': 4, 'cidr': '11.1.1.0/24', 'allocation_pools': [{'start': '11.1.1.2', 'end': '11.1.1.254'}], 'gateway_ip': '11.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.1.1.2', 'tags': [], 'project_id': 'ca9c72aa479a445d82cd20f7d1955965'}} 2024-11-10 20:53:47,265 - INFO - Created VN ctest-vn2_metadata-07221619 2024-11-10 20:53:47,324 - DEBUG - VN ctest-vn2_metadata-07221619 UUID is 40745800-3382-4c71-8d20-98c4f8adf58f 2024-11-10 20:53:47,522 - DEBUG - Services list from nova: [, , ] 2024-11-10 20:53:48,823 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2263-1) 2024-11-10 20:53:48,936 - DEBUG - Link local service introspect added 2024-11-10 20:53:48,979 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 20:53:54,074 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:53:54,214 - INFO - Waiting for VM ctest-TestBasicVMVN-15296032-06657691 to be up.. 2024-11-10 20:53:54,214 - INFO - VM name : ctest-TestBasicVMVN-15296032-06657691 2024-11-10 20:53:54,297 - DEBUG - VM ctest-TestBasicVMVN-15296032-06657691 ID is 39508f54-c768-49bd-83e3-18421fa44e55 2024-11-10 20:53:54,297 - DEBUG - VM ctest-TestBasicVMVN-15296032-06657691 launched on Node cn-jenkins-deploy-platform-ansible-os-2263-1 2024-11-10 20:53:54,381 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/39508f54-c768-49bd-83e3-18421fa44e55 2024-11-10 20:53:54,679 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/39508f54-c768-49bd-83e3-18421fa44e55 2024-11-10 20:53:54,718 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/7020f7d6-43cf-43dd-9864-bfd9a201b691 2024-11-10 20:53:57,993 - 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') 2024-11-10 20:53:57,993 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-15296032-06657691 failed! 2024-11-10 20:53:58,052 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-15296032:ctest-vn2_metadata-07221619 is 11.1.1.1 and allocation pool is NOT set 2024-11-10 20:54:00,116 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.22 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.17 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.172/2.194/3.217/1.022 ms') 2024-11-10 20:54:00,117 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-15296032-06657691 passed 2024-11-10 20:54:00,276 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:00,276 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-15296032-06657691, IP 11.1.1.3, Port 22 2024-11-10 20:54:00,344 - 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': ''} 2024-11-10 20:54:00,434 - DEBUG - VM ctest-TestBasicVMVN-15296032-06657691 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 20:54:05,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:05,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-15296032-06657691, IP 11.1.1.3, Port 22 2024-11-10 20:54:05,614 - DEBUG - VM ctest-TestBasicVMVN-15296032-06657691 is ready for SSH connections 2024-11-10 20:54:05,615 - INFO - Retry 0 2024-11-10 20:54:05,615 - DEBUG - Running remote_cmd, Cmd : wget http://169.254.1.2:8083 --spider && echo "Successful", host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:05,615 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-11-10 20:54:07,232 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-11-10 20:54:07,232 - INFO - Generic metadata worked 2024-11-10 20:54:07,492 - DEBUG - Link local service introspect removed 2024-11-10 20:54:07,492 - INFO - Deleting VM ctest-TestBasicVMVN-15296032-06657691 2024-11-10 20:54:07,577 - INFO - Deleting VN ctest-vn2_metadata-07221619 2024-11-10 20:54:07,627 - DEBUG - VN 40745800-3382-4c71-8d20-98c4f8adf58f still in use: Unable to complete operation on network 40745800-3382-4c71-8d20-98c4f8adf58f. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2323367d-c1d6-46aa-8172-7e8e19cc8ee8'] 2024-11-10 20:54:07,627 - WARNING - Deleting VN ctest-vn2_metadata-07221619 failed..Will retry 2024-11-10 20:54:09,811 - DEBUG - Response for deleting network () 2024-11-10 20:54:10,081 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 20:54:10,082 - INFO - -------------------------------------------------------------------------------- 2024-11-10 20:54:10,085 - INFO - ================================================================================ 2024-11-10 20:54:10,085 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-11-10 20:54:10,086 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2024-11-10 20:54:10,370 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.10': '0'}} with 2024-11-10 20:54:10,371 - INFO - Initial checks done. Running the testcase now 2024-11-10 20:54:10,371 - INFO - 2024-11-10 20:54:10,960 - DEBUG - Response for create_network : {'network': {'id': '4fd46908-22a3-4410-bfbf-56ff047d5363', 'name': 'ctest-vn-01386529', 'tenant_id': 'ca9c72aa479a445d82cd20f7d1955965', 'project_id': 'ca9c72aa479a445d82cd20f7d1955965', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-15296032', 'ctest-vn-01386529'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 20:54:11,142 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd2978c89-20bc-47bf-8545-f08cedb7f7d2', 'name': '', 'tenant_id': 'ca9c72aa479a445d82cd20f7d1955965', 'network_id': '4fd46908-22a3-4410-bfbf-56ff047d5363', 'ip_version': 4, 'cidr': '31.1.1.0/29', 'allocation_pools': [{'start': '31.1.1.2', 'end': '31.1.1.6'}], 'gateway_ip': '31.1.1.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.1.1.2', 'tags': [], 'project_id': 'ca9c72aa479a445d82cd20f7d1955965'}} 2024-11-10 20:54:11,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '889c510e-affa-4eda-8768-b5ecb2c891f7', 'name': '', 'tenant_id': 'ca9c72aa479a445d82cd20f7d1955965', 'network_id': '4fd46908-22a3-4410-bfbf-56ff047d5363', 'ip_version': 4, 'cidr': '31.1.2.0/29', 'allocation_pools': [{'start': '31.1.2.2', 'end': '31.1.2.6'}], 'gateway_ip': '31.1.2.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '31.1.2.2', 'tags': [], 'project_id': 'ca9c72aa479a445d82cd20f7d1955965'}} 2024-11-10 20:54:11,379 - INFO - Created VN ctest-vn-01386529 2024-11-10 20:54:11,440 - DEBUG - VN ctest-vn-01386529 UUID is 4fd46908-22a3-4410-bfbf-56ff047d5363 2024-11-10 20:54:11,845 - DEBUG - Response for create_port : {'port': {'name': '98a82fe8-0fa6-4e67-8950-c997e24360f7', 'id': '98a82fe8-0fa6-4e67-8950-c997e24360f7', 'tenant_id': 'ca9c72aa479a445d82cd20f7d1955965', 'network_id': '4fd46908-22a3-4410-bfbf-56ff047d5363', 'mac_address': '02:98:a8:2f:e8:0f', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.1.4', 'subnet_id': 'd2978c89-20bc-47bf-8545-f08cedb7f7d2'}], 'security_groups': ['dd1a7542-7e69-4b77-a379-19e14c2f0519'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca9c72aa479a445d82cd20f7d1955965'}} 2024-11-10 20:54:12,039 - DEBUG - Response for create_port : {'port': {'name': '0707831e-0df5-481f-bd51-75da63ef054f', 'id': '0707831e-0df5-481f-bd51-75da63ef054f', 'tenant_id': 'ca9c72aa479a445d82cd20f7d1955965', 'network_id': '4fd46908-22a3-4410-bfbf-56ff047d5363', 'mac_address': '02:07:07:83:1e:0d', 'binding:vnic_type': 'normal', 'binding:vif_details': {'port_filter': True}, 'binding:vif_type': 'unbound', 'binding:host_id': None, 'allowed_address_pairs': [], 'fixed_ips': [{'ip_address': '31.1.2.4', 'subnet_id': '889c510e-affa-4eda-8768-b5ecb2c891f7'}], 'security_groups': ['dd1a7542-7e69-4b77-a379-19e14c2f0519'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ca9c72aa479a445d82cd20f7d1955965'}} 2024-11-10 20:54:12,503 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2263-1) 2024-11-10 20:54:13,024 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2263-1) 2024-11-10 20:54:14,421 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2263-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2263-1) 2024-11-10 20:54:14,422 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-10 20:54:14,429 - DEBUG - Requesting: http://10.0.0.29:8082/domain/4ff11d7c-4501-43f9-95fd-2169919ef0b5 2024-11-10 20:54:14,472 - DEBUG - Requesting: http://10.0.0.29:8082/project/ca9c72aa-479a-445d-82cd-20f7d1955965 2024-11-10 20:54:14,561 - DEBUG - Requesting: http://10.0.0.29:8082/network-ipam/fb615070-e295-44ad-90d9-d96bec323270 2024-11-10 20:54:14,577 - INFO - Verifications in API Server for IPAM: ctest-ipam-79883087 passed 2024-11-10 20:54:14,589 - DEBUG - Control-node 10.0.0.29 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-15296032:ctest-ipam-79883087', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-15296032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18113847622028838061', 'uuid-lslong': '10437612668955275888'}, 'enable': 'true', 'created': '2024-11-10T20:54:10', 'last-modified': '2024-11-10T20:54:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.965442'} 2024-11-10 20:54:14,589 - INFO - Verifications in Control node for IPAM: ctest-ipam-79883087 passed 2024-11-10 20:54:14,590 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-10 20:54:14,600 - DEBUG - Requesting: http://10.0.0.29:8082/domain/4ff11d7c-4501-43f9-95fd-2169919ef0b5 2024-11-10 20:54:14,617 - DEBUG - Requesting: http://10.0.0.29:8082/project/ca9c72aa-479a-445d-82cd-20f7d1955965 2024-11-10 20:54:14,727 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4fd46908-22a3-4410-bfbf-56ff047d5363 2024-11-10 20:54:14,759 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4fd46908-22a3-4410-bfbf-56ff047d5363 2024-11-10 20:54:14,782 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d9b5ec5e-ea80-4aaf-aff8-b371a84060fc 2024-11-10 20:54:14,806 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d9b5ec5e-ea80-4aaf-aff8-b371a84060fc 2024-11-10 20:54:14,818 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ee5023fe-8a92-46be-afdf-f9885c99e4db 2024-11-10 20:54:14,832 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 20:54:14,832 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4fd46908-22a3-4410-bfbf-56ff047d5363 2024-11-10 20:54:14,854 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d9b5ec5e-ea80-4aaf-aff8-b371a84060fc 2024-11-10 20:54:14,894 - INFO - Verified VN network id 8 for VN 4fd46908-22a3-4410-bfbf-56ff047d5363 2024-11-10 20:54:14,894 - INFO - Verifications in API Server for VN ctest-vn-01386529 passed 2024-11-10 20:54:14,894 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4fd46908-22a3-4410-bfbf-56ff047d5363 2024-11-10 20:54:14,950 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d9b5ec5e-ea80-4aaf-aff8-b371a84060fc 2024-11-10 20:54:14,967 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d9b5ec5e-ea80-4aaf-aff8-b371a84060fc 2024-11-10 20:54:14,985 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/ee5023fe-8a92-46be-afdf-f9885c99e4db 2024-11-10 20:54:15,007 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-15296032', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5752338107720746000', 'uuid-lslong': '13816857835087942499'}, 'enable': 'true', 'created': '2024-11-10T20:54:10', 'last-modified': '2024-11-10T20:54:11', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.707506'} 2024-11-10 20:54:15,018 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 20:54:15,018 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01386529 passed 2024-11-10 20:54:15,018 - DEBUG - ====Verifying policy data for ctest-vn-01386529 in API_Server ====== 2024-11-10 20:54:15,018 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-10 20:54:15,027 - DEBUG - Requesting: http://10.0.0.29:8082/domain/4ff11d7c-4501-43f9-95fd-2169919ef0b5 2024-11-10 20:54:15,052 - DEBUG - Requesting: http://10.0.0.29:8082/project/ca9c72aa-479a-445d-82cd-20f7d1955965 2024-11-10 20:54:15,248 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/4fd46908-22a3-4410-bfbf-56ff047d5363 2024-11-10 20:54:15,300 - DEBUG - =>VN ctest-vn-01386529 has no policy to be verified 2024-11-10 20:54:15,301 - DEBUG - Verifying the vn in opserver 2024-11-10 20:54:15,301 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529 virtual network link through opserver 10.0.0.29 2024-11-10 20:54:15,301 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-11-10 20:54:15,692 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-11-10 20:54:15,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529?flat'} 2024-11-10 20:54:15,771 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529 is found in opserver 2024-11-10 20:54:15,787 - DEBUG - VRF ids for VN ctest-vn-01386529: {'10.0.0.29': '2'} 2024-11-10 20:54:15,787 - INFO - Waiting for VM ctest-TestBasicVMVN-15296032-82201110 to be up.. 2024-11-10 20:54:15,993 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:54:15,993 - INFO - VM name : ctest-TestBasicVMVN-15296032-82201110 2024-11-10 20:54:16,162 - DEBUG - VM ctest-TestBasicVMVN-15296032-82201110 ID is f695c16b-2a6f-43fb-b9e1-4c05c86be2e0 2024-11-10 20:54:16,162 - DEBUG - VM ctest-TestBasicVMVN-15296032-82201110 launched on Node cn-jenkins-deploy-platform-ansible-os-2263-1 2024-11-10 20:54:16,298 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/f695c16b-2a6f-43fb-b9e1-4c05c86be2e0 2024-11-10 20:54:16,317 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/98a82fe8-0fa6-4e67-8950-c997e24360f7 2024-11-10 20:54:19,623 - 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 1014ms') 2024-11-10 20:54:19,623 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-15296032-82201110 failed! 2024-11-10 20:54:19,688 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529 is 31.1.1.1 and allocation pool is NOT set 2024-11-10 20:54:19,688 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529 is 31.1.2.1 and allocation pool is NOT set 2024-11-10 20:54:23,785 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1032ms') 2024-11-10 20:54:23,785 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-15296032-82201110 failed! 2024-11-10 20:54:23,856 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529 is 31.1.1.1 and allocation pool is NOT set 2024-11-10 20:54:23,856 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529 is 31.1.2.1 and allocation pool is NOT set 2024-11-10 20:54:25,929 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=3.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.600 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.600/1.810/3.021/1.210 ms') 2024-11-10 20:54:25,929 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-15296032-82201110 passed 2024-11-10 20:54:26,092 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:26,092 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-15296032-82201110, IP 31.1.1.4, Port 22 2024-11-10 20:54:26,248 - DEBUG - VM ctest-TestBasicVMVN-15296032-82201110 is ready for SSH connections 2024-11-10 20:54:26,248 - INFO - Waiting for VM ctest-TestBasicVMVN-15296032-14221090 to be up.. 2024-11-10 20:54:26,348 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:54:26,348 - INFO - VM name : ctest-TestBasicVMVN-15296032-14221090 2024-11-10 20:54:26,444 - DEBUG - VM ctest-TestBasicVMVN-15296032-14221090 ID is 5442d345-d99f-4827-aab7-ad1d8de1707a 2024-11-10 20:54:26,445 - DEBUG - VM ctest-TestBasicVMVN-15296032-14221090 launched on Node cn-jenkins-deploy-platform-ansible-os-2263-1 2024-11-10 20:54:26,559 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/5442d345-d99f-4827-aab7-ad1d8de1707a 2024-11-10 20:54:26,573 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/0707831e-0df5-481f-bd51-75da63ef054f 2024-11-10 20:54:27,843 - 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=5.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=2.07 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 2.073/3.549/5.026/1.476 ms') 2024-11-10 20:54:27,843 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-15296032-14221090 passed 2024-11-10 20:54:27,996 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:27,996 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-15296032-14221090, IP 31.1.2.4, Port 22 2024-11-10 20:54:28,052 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-11-10 20:54:28,142 - DEBUG - VM ctest-TestBasicVMVN-15296032-14221090 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 20:54:33,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:33,142 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-15296032-14221090, IP 31.1.2.4, Port 22 2024-11-10 20:54:33,304 - DEBUG - VM ctest-TestBasicVMVN-15296032-14221090 is ready for SSH connections 2024-11-10 20:54:33,304 - INFO - Waiting for VM ctest-TestBasicVMVN-15296032-24555357 to be up.. 2024-11-10 20:54:33,387 - DEBUG - VM is in ACTIVE state now 2024-11-10 20:54:33,387 - INFO - VM name : ctest-TestBasicVMVN-15296032-24555357 2024-11-10 20:54:33,473 - DEBUG - VM ctest-TestBasicVMVN-15296032-24555357 ID is a612465f-f93c-4c7b-a6a1-45f1789d5140 2024-11-10 20:54:33,473 - DEBUG - VM ctest-TestBasicVMVN-15296032-24555357 launched on Node cn-jenkins-deploy-platform-ansible-os-2263-1 2024-11-10 20:54:33,564 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a612465f-f93c-4c7b-a6a1-45f1789d5140 2024-11-10 20:54:33,576 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/4e99dbc0-0a69-44fd-a134-43989eebff23 2024-11-10 20:54:34,841 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=2.94 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.430/1.683/2.937/1.253 ms') 2024-11-10 20:54:34,842 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-15296032-24555357 passed 2024-11-10 20:54:35,004 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:35,004 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-15296032-24555357, IP 31.1.1.3, Port 22 2024-11-10 20:54:35,163 - DEBUG - VM ctest-TestBasicVMVN-15296032-24555357 is ready for SSH connections 2024-11-10 20:54:35,164 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:35,164 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.2.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:35,164 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-11-10 20:54:38,867 - DEBUG - PING 31.1.2.4 (31.1.2.4): 56 data bytes 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.061 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.144 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.935 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.935/2.046/4.061 ms 2024-11-10 20:54:38,867 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-15296032-82201110 passed 2024-11-10 20:54:38,867 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:38,867 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:38,867 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-11-10 20:54:42,837 - DEBUG - PING 31.1.1.4 (31.1.1.4): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=63 time=3.067 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.011 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.234 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.011/1.770/3.067 ms 2024-11-10 20:54:42,837 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-15296032-14221090 passed 2024-11-10 20:54:42,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:42,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:42,837 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 20:54:42,837 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:42,838 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 20:54:43,027 - DEBUG - None 2024-11-10 20:54:43,027 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:43,027 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 20:54:43,228 - DEBUG - None 2024-11-10 20:54:43,228 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:43,228 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 20:54:43,898 - DEBUG - None 2024-11-10 20:54:43,898 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.7, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:43,898 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-11-10 20:54:46,106 - DEBUG - PING 31.1.1.7 (31.1.1.7): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=2.161 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.178 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.990 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.212 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.377 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.377/2.183/5.178 ms 2024-11-10 20:54:46,107 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 224.0.0.1, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:46,107 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-11-10 20:54:48,367 - DEBUG - PING 224.0.0.1 (224.0.0.1): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.025 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=2.864 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.144 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.494 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.743 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.474 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.376 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.376/1.874/4.144 ms 2024-11-10 20:54:48,367 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 255.255.255.255, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-11-10 20:54:48,367 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-11-10 20:54:50,690 - DEBUG - PING 255.255.255.255 (255.255.255.255): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.129 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.934 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=6.454 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.830 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=4.553 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=5.546 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.398 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.398/3.549/6.454 ms 2024-11-10 20:54:50,690 - INFO - Deleting VM ctest-TestBasicVMVN-15296032-24555357 2024-11-10 20:54:50,765 - INFO - Detaching port 0707831e-0df5-481f-bd51-75da63ef054f from VM ctest-TestBasicVMVN-15296032-14221090 2024-11-10 20:54:50,838 - INFO - Deleting VM ctest-TestBasicVMVN-15296032-14221090 2024-11-10 20:54:50,917 - INFO - Detaching port 98a82fe8-0fa6-4e67-8950-c997e24360f7 from VM ctest-TestBasicVMVN-15296032-82201110 2024-11-10 20:54:50,954 - INFO - Deleting VM ctest-TestBasicVMVN-15296032-82201110 2024-11-10 20:54:51,047 - INFO - Deleting VN ctest-vn-01386529 2024-11-10 20:54:51,294 - DEBUG - Response for delete_port : () 2024-11-10 20:54:51,582 - DEBUG - Response for delete_port : () 2024-11-10 20:54:51,769 - DEBUG - Response for deleting network () 2024-11-10 20:54:51,769 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/d9b5ec5e-ea80-4aaf-aff8-b371a84060fc 2024-11-10 20:54:51,776 - DEBUG - Response Code: 404 2024-11-10 20:54:51,776 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-11-10 20:54:51,785 - DEBUG - Requesting: http://10.0.0.29:8082/domain/4ff11d7c-4501-43f9-95fd-2169919ef0b5 2024-11-10 20:54:51,850 - DEBUG - Requesting: http://10.0.0.29:8082/project/ca9c72aa-479a-445d-82cd-20f7d1955965 2024-11-10 20:54:51,943 - INFO - Validated that VN ctest-vn-01386529 is not found in API Server 2024-11-10 20:54:51,957 - DEBUG - VN ctest-vn-01386529 is not present in Agent 10.0.0.29 2024-11-10 20:54:51,957 - INFO - Validated that VN ctest-vn-01386529 is not in any agent 2024-11-10 20:54:51,966 - DEBUG - VRF 2 is not seen in agent 10.0.0.29 2024-11-10 20:54:51,972 - DEBUG - Vrouter 10.0.0.29 does not have vrf 2 for VN ctest-vn-01386529 2024-11-10 20:54:51,972 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-15296032:ctest-vn-01386529 2024-11-10 20:54:51,986 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01386529 info 2024-11-10 20:54:52,068 - INFO - IPAM: ctest-ipam-79883087 is not found in API Server 2024-11-10 20:54:52,081 - INFO - IPAM:ctest-ipam-79883087 is not found in control node 2024-11-10 20:54:52,342 - DEBUG - No XMPP flaps were noticed during the test
2024-11-10 20:54:52,342 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:42]
2024-11-10 20:54:52,342 - INFO - -------------------------------------------------------------------------------- 2024-11-10 20:54:53,102 - INFO - Deleted project: ctest-TestBasicVMVN-15296032, ID : ca9c72aa-479a-445d-82cd-20f7d1955965