2024-09-12 10:29:15,407 - INFO - Domain Default found not creating 2024-09-12 10:29:15,563 - INFO - Project ctest-TestBasicVMVN-86562369 not found, creating it 2024-09-12 10:29:16,048 - INFO - Created Project:ctest-TestBasicVMVN-86562369, ID : 0c226cc7-cf48-4bfd-9050-5443cbd09e72 2024-09-12 10:29:18,300 - INFO - ================================================================================ 2024-09-12 10:29:18,300 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-12 10:29:18,300 - 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-09-12 10:29:18,558 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.20': '0'}} with 2024-09-12 10:29:18,558 - INFO - Initial checks done. Running the testcase now 2024-09-12 10:29:18,558 - INFO - 2024-09-12 10:29:19,115 - DEBUG - Response for create_network : {'network': {'id': '744a7927-88e8-46c9-a7aa-5ae67dbb36bd', 'name': 'ctest-vn2_metadata-82043362', 'tenant_id': '0c226cc7cf484bfd90505443cbd09e72', 'project_id': '0c226cc7cf484bfd90505443cbd09e72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-86562369', 'ctest-vn2_metadata-82043362'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 10:29:19,307 - DEBUG - Response for create_subnet : {'subnet': {'id': '0758913d-91e0-4f0c-b396-26d67a0f004d', 'name': '', 'tenant_id': '0c226cc7cf484bfd90505443cbd09e72', 'network_id': '744a7927-88e8-46c9-a7aa-5ae67dbb36bd', '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': '0c226cc7cf484bfd90505443cbd09e72'}} 2024-09-12 10:29:19,325 - INFO - Created VN ctest-vn2_metadata-82043362 2024-09-12 10:29:19,381 - DEBUG - VN ctest-vn2_metadata-82043362 UUID is 744a7927-88e8-46c9-a7aa-5ae67dbb36bd 2024-09-12 10:29:19,571 - DEBUG - Services list from nova: [, , ] 2024-09-12 10:29:20,616 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1906-1) 2024-09-12 10:29:20,725 - DEBUG - Link local service introspect added 2024-09-12 10:29:20,771 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 10:29:25,850 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 10:29:30,936 - DEBUG - VM is in ACTIVE state now 2024-09-12 10:29:31,061 - INFO - Waiting for VM ctest-TestBasicVMVN-86562369-68982162 to be up.. 2024-09-12 10:29:31,061 - INFO - VM name : ctest-TestBasicVMVN-86562369-68982162 2024-09-12 10:29:31,139 - DEBUG - VM ctest-TestBasicVMVN-86562369-68982162 ID is fa0a7a33-3d9d-45d6-b0e7-2aac545c3ee8 2024-09-12 10:29:31,140 - DEBUG - VM ctest-TestBasicVMVN-86562369-68982162 launched on Node cn-jenkins-deploy-platform-ansible-os-1906-1 2024-09-12 10:29:31,214 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fa0a7a33-3d9d-45d6-b0e7-2aac545c3ee8 2024-09-12 10:29:31,508 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/fa0a7a33-3d9d-45d6-b0e7-2aac545c3ee8 2024-09-12 10:29:31,545 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a68a6640-3481-41e1-ae6c-401e08eb8da9 2024-09-12 10:29:34,807 - 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 1007ms') 2024-09-12 10:29:34,807 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-86562369-68982162 failed! 2024-09-12 10:29:34,865 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-86562369:ctest-vn2_metadata-82043362 is 11.1.1.1 and allocation pool is NOT set 2024-09-12 10:29:36,924 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.562 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.562/1.661/2.761/1.099 ms') 2024-09-12 10:29:36,924 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-86562369-68982162 passed 2024-09-12 10:29:37,089 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:29:37,089 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-86562369-68982162, IP 11.1.1.3, Port 22 2024-09-12 10:29:37,244 - DEBUG - VM ctest-TestBasicVMVN-86562369-68982162 is ready for SSH connections 2024-09-12 10:29:37,245 - INFO - Retry 0 2024-09-12 10:29:37,245 - 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.22, gateway password: c0ntrail123 2024-09-12 10:29:37,245 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-12 10:29:38,831 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-09-12 10:29:38,831 - INFO - Generic metadata worked 2024-09-12 10:29:39,089 - DEBUG - Link local service introspect removed 2024-09-12 10:29:39,089 - INFO - Deleting VM ctest-TestBasicVMVN-86562369-68982162 2024-09-12 10:29:39,151 - INFO - Deleting VN ctest-vn2_metadata-82043362 2024-09-12 10:29:39,191 - DEBUG - VN 744a7927-88e8-46c9-a7aa-5ae67dbb36bd still in use: Unable to complete operation on network 744a7927-88e8-46c9-a7aa-5ae67dbb36bd. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-97c29da1-75f1-4f56-bb31-9ae0ebd71c1f'] 2024-09-12 10:29:39,191 - WARNING - Deleting VN ctest-vn2_metadata-82043362 failed..Will retry 2024-09-12 10:29:41,313 - DEBUG - Response for deleting network () 2024-09-12 10:29:41,567 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 10:29:41,567 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:23] 2024-09-12 10:29:41,567 - INFO - -------------------------------------------------------------------------------- 2024-09-12 10:29:41,570 - INFO - ================================================================================ 2024-09-12 10:29:41,570 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-12 10:29:41,570 - 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-09-12 10:29:41,863 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.20': '0'}} with 2024-09-12 10:29:41,863 - INFO - Initial checks done. Running the testcase now 2024-09-12 10:29:41,863 - INFO - 2024-09-12 10:29:43,242 - DEBUG - Response for create_network : {'network': {'id': '54d59605-725d-45e2-9958-60d084e3c511', 'name': 'ctest-vn-01604422', 'tenant_id': '0c226cc7cf484bfd90505443cbd09e72', 'project_id': '0c226cc7cf484bfd90505443cbd09e72', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-86562369', 'ctest-vn-01604422'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 10:29:43,485 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c8bc3aab-c9ac-472f-b3bc-d27e350e3536', 'name': '', 'tenant_id': '0c226cc7cf484bfd90505443cbd09e72', 'network_id': '54d59605-725d-45e2-9958-60d084e3c511', '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': '0c226cc7cf484bfd90505443cbd09e72'}} 2024-09-12 10:29:43,630 - DEBUG - Response for create_subnet : {'subnet': {'id': '02a0840f-4451-486c-996c-9c605b69a5d2', 'name': '', 'tenant_id': '0c226cc7cf484bfd90505443cbd09e72', 'network_id': '54d59605-725d-45e2-9958-60d084e3c511', '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': '0c226cc7cf484bfd90505443cbd09e72'}} 2024-09-12 10:29:43,654 - INFO - Created VN ctest-vn-01604422 2024-09-12 10:29:43,713 - DEBUG - VN ctest-vn-01604422 UUID is 54d59605-725d-45e2-9958-60d084e3c511 2024-09-12 10:29:44,129 - DEBUG - Response for create_port : {'port': {'name': 'a5331849-a389-4eca-abc9-672c6b8a7856', 'id': 'a5331849-a389-4eca-abc9-672c6b8a7856', 'tenant_id': '0c226cc7cf484bfd90505443cbd09e72', 'network_id': '54d59605-725d-45e2-9958-60d084e3c511', 'mac_address': '02:a5:33:18:49:a3', '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': 'c8bc3aab-c9ac-472f-b3bc-d27e350e3536'}], 'security_groups': ['6572204c-ca80-44e6-8517-f8182f20a440'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0c226cc7cf484bfd90505443cbd09e72'}} 2024-09-12 10:29:44,396 - DEBUG - Response for create_port : {'port': {'name': '62f8f633-c91a-4f29-8a47-78486f920bcc', 'id': '62f8f633-c91a-4f29-8a47-78486f920bcc', 'tenant_id': '0c226cc7cf484bfd90505443cbd09e72', 'network_id': '54d59605-725d-45e2-9958-60d084e3c511', 'mac_address': '02:62:f8:f6:33:c9', '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': '02a0840f-4451-486c-996c-9c605b69a5d2'}], 'security_groups': ['6572204c-ca80-44e6-8517-f8182f20a440'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '0c226cc7cf484bfd90505443cbd09e72'}} 2024-09-12 10:29:44,761 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1906-1) 2024-09-12 10:29:45,195 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1906-1) 2024-09-12 10:29:46,391 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1906-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1906-1) 2024-09-12 10:29:46,392 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-12 10:29:46,398 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd8b555d-88d2-46b0-9b57-cb87294f06b4 2024-09-12 10:29:46,415 - DEBUG - Requesting: http://10.0.0.22:8082/project/0c226cc7-cf48-4bfd-9050-5443cbd09e72 2024-09-12 10:29:46,512 - DEBUG - Requesting: http://10.0.0.22:8082/network-ipam/547fd9d0-1762-496c-8867-bf19d62c4c03 2024-09-12 10:29:46,531 - INFO - Verifications in API Server for IPAM: ctest-ipam-55771887 passed 2024-09-12 10:29:46,540 - DEBUG - Control-node 10.0.0.22 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-86562369:ctest-ipam-55771887', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-86562369', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6088824708996942188', 'uuid-lslong': '9829034829447711747'}, 'enable': 'true', 'created': '2024-09-12T10:29:41', 'last-modified': '2024-09-12T10:29:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.433719'} 2024-09-12 10:29:46,540 - INFO - Verifications in Control node for IPAM: ctest-ipam-55771887 passed 2024-09-12 10:29:46,541 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-12 10:29:46,553 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd8b555d-88d2-46b0-9b57-cb87294f06b4 2024-09-12 10:29:46,571 - DEBUG - Requesting: http://10.0.0.22:8082/project/0c226cc7-cf48-4bfd-9050-5443cbd09e72 2024-09-12 10:29:46,678 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/54d59605-725d-45e2-9958-60d084e3c511 2024-09-12 10:29:46,699 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/54d59605-725d-45e2-9958-60d084e3c511 2024-09-12 10:29:46,720 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8a451e33-e5d3-48db-9cda-28125c920ebf 2024-09-12 10:29:46,743 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8a451e33-e5d3-48db-9cda-28125c920ebf 2024-09-12 10:29:46,756 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2ae17e8f-183a-4060-8c6b-f39e5244a660 2024-09-12 10:29:46,767 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 10:29:46,767 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/54d59605-725d-45e2-9958-60d084e3c511 2024-09-12 10:29:46,782 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8a451e33-e5d3-48db-9cda-28125c920ebf 2024-09-12 10:29:46,811 - INFO - Verified VN network id 8 for VN 54d59605-725d-45e2-9958-60d084e3c511 2024-09-12 10:29:46,811 - INFO - Verifications in API Server for VN ctest-vn-01604422 passed 2024-09-12 10:29:46,811 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/54d59605-725d-45e2-9958-60d084e3c511 2024-09-12 10:29:46,832 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8a451e33-e5d3-48db-9cda-28125c920ebf 2024-09-12 10:29:46,857 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8a451e33-e5d3-48db-9cda-28125c920ebf 2024-09-12 10:29:46,876 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2ae17e8f-183a-4060-8c6b-f39e5244a660 2024-09-12 10:29:46,910 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-86562369', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6112957019363034594', 'uuid-lslong': '11049688134452495633'}, 'enable': 'true', 'created': '2024-09-12T10:29:43', 'last-modified': '2024-09-12T10:29:43', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.311451'} 2024-09-12 10:29:46,920 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 10:29:46,920 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-01604422 passed 2024-09-12 10:29:46,920 - DEBUG - ====Verifying policy data for ctest-vn-01604422 in API_Server ====== 2024-09-12 10:29:46,921 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-12 10:29:46,928 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd8b555d-88d2-46b0-9b57-cb87294f06b4 2024-09-12 10:29:46,984 - DEBUG - Requesting: http://10.0.0.22:8082/project/0c226cc7-cf48-4bfd-9050-5443cbd09e72 2024-09-12 10:29:48,984 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/54d59605-725d-45e2-9958-60d084e3c511 2024-09-12 10:29:49,004 - DEBUG - =>VN ctest-vn-01604422 has no policy to be verified 2024-09-12 10:29:49,005 - DEBUG - Verifying the vn in opserver 2024-09-12 10:29:49,005 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422 virtual network link through opserver 10.0.0.22 2024-09-12 10:29:49,005 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-09-12 10:29:49,413 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-09-12 10:29:49,771 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422?flat'} 2024-09-12 10:29:49,771 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422 is found in opserver 2024-09-12 10:29:49,781 - DEBUG - VRF ids for VN ctest-vn-01604422: {'10.0.0.22': '2'} 2024-09-12 10:29:49,781 - INFO - Waiting for VM ctest-TestBasicVMVN-86562369-44959330 to be up.. 2024-09-12 10:29:49,868 - DEBUG - VM is in ACTIVE state now 2024-09-12 10:29:49,869 - INFO - VM name : ctest-TestBasicVMVN-86562369-44959330 2024-09-12 10:29:49,944 - DEBUG - VM ctest-TestBasicVMVN-86562369-44959330 ID is ff855652-5b7f-47c1-a48a-a44fb8e167a4 2024-09-12 10:29:49,944 - DEBUG - VM ctest-TestBasicVMVN-86562369-44959330 launched on Node cn-jenkins-deploy-platform-ansible-os-1906-1 2024-09-12 10:29:51,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/ff855652-5b7f-47c1-a48a-a44fb8e167a4 2024-09-12 10:29:51,945 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/a5331849-a389-4eca-abc9-672c6b8a7856 2024-09-12 10:29:55,224 - 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') 2024-09-12 10:29:55,224 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-86562369-44959330 failed! 2024-09-12 10:29:55,285 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422 is 31.1.1.1 and allocation pool is NOT set 2024-09-12 10:29:55,285 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422 is 31.1.2.1 and allocation pool is NOT set 2024-09-12 10:29:57,348 - 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.79 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.50 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.496/2.644/3.792/1.148 ms') 2024-09-12 10:29:57,348 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-86562369-44959330 passed 2024-09-12 10:29:57,521 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:29:57,522 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-86562369-44959330, IP 31.1.1.4, Port 22 2024-09-12 10:29:57,587 - 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-09-12 10:29:57,689 - DEBUG - VM ctest-TestBasicVMVN-86562369-44959330 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-12 10:30:02,690 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:02,690 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-86562369-44959330, IP 31.1.1.4, Port 22 2024-09-12 10:30:02,840 - DEBUG - VM ctest-TestBasicVMVN-86562369-44959330 is ready for SSH connections 2024-09-12 10:30:02,840 - INFO - Waiting for VM ctest-TestBasicVMVN-86562369-31128875 to be up.. 2024-09-12 10:30:02,914 - DEBUG - VM is in ACTIVE state now 2024-09-12 10:30:02,915 - INFO - VM name : ctest-TestBasicVMVN-86562369-31128875 2024-09-12 10:30:02,990 - DEBUG - VM ctest-TestBasicVMVN-86562369-31128875 ID is 9bad0f8e-2003-4f28-83b7-b3043c23774a 2024-09-12 10:30:02,990 - DEBUG - VM ctest-TestBasicVMVN-86562369-31128875 launched on Node cn-jenkins-deploy-platform-ansible-os-1906-1 2024-09-12 10:30:03,068 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9bad0f8e-2003-4f28-83b7-b3043c23774a 2024-09-12 10:30:03,077 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/62f8f633-c91a-4f29-8a47-78486f920bcc 2024-09-12 10:30:04,333 - 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.05 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.369 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.369/1.708/3.047/1.339 ms') 2024-09-12 10:30:04,333 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-86562369-31128875 passed 2024-09-12 10:30:04,493 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:04,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-86562369-31128875, IP 31.1.2.4, Port 22 2024-09-12 10:30:04,648 - DEBUG - VM ctest-TestBasicVMVN-86562369-31128875 is ready for SSH connections 2024-09-12 10:30:04,648 - INFO - Waiting for VM ctest-TestBasicVMVN-86562369-57312175 to be up.. 2024-09-12 10:30:04,737 - DEBUG - VM is in ACTIVE state now 2024-09-12 10:30:04,737 - INFO - VM name : ctest-TestBasicVMVN-86562369-57312175 2024-09-12 10:30:04,824 - DEBUG - VM ctest-TestBasicVMVN-86562369-57312175 ID is 6f3690ef-7f22-42af-8faa-fac43ad653ce 2024-09-12 10:30:04,824 - DEBUG - VM ctest-TestBasicVMVN-86562369-57312175 launched on Node cn-jenkins-deploy-platform-ansible-os-1906-1 2024-09-12 10:30:04,903 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/6f3690ef-7f22-42af-8faa-fac43ad653ce 2024-09-12 10:30:04,914 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/e5341ac7-d579-414c-93c0-e1a2b58d023d 2024-09-12 10:30:06,164 - 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=3.57 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.354 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.354/1.960/3.566/1.606 ms') 2024-09-12 10:30:06,165 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-86562369-57312175 passed 2024-09-12 10:30:06,325 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:06,325 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-86562369-57312175, IP 31.1.1.3, Port 22 2024-09-12 10:30:06,485 - DEBUG - VM ctest-TestBasicVMVN-86562369-57312175 is ready for SSH connections 2024-09-12 10:30:06,485 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:06,485 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:06,485 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-12 10:30:10,504 - 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.017 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.755 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.765 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.755/1.845/4.017 ms 2024-09-12 10:30:10,504 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-86562369-44959330 passed 2024-09-12 10:30:10,504 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:10,505 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:10,505 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-12 10:30:14,131 - 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=2.871 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.767 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.745 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.745/1.461/2.871 ms 2024-09-12 10:30:14,132 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-86562369-31128875 passed 2024-09-12 10:30:14,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:14,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:14,132 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 10:30:14,132 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:14,132 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-12 10:30:14,309 - DEBUG - None 2024-09-12 10:30:14,309 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:14,309 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-12 10:30:14,484 - DEBUG - None 2024-09-12 10:30:14,484 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:14,485 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-12 10:30:15,133 - DEBUG - None 2024-09-12 10:30:15,133 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:15,133 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-12 10:30:17,364 - 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=1.769 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.490 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.506 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.218 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/1.872/4.490 ms 2024-09-12 10:30:17,365 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:17,365 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-12 10:30:19,600 - 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=0.997 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.957 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.972 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.411 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.540 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.421 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.399 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.399/1.813/3.972 ms 2024-09-12 10:30:19,600 - 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.22, gateway password: c0ntrail123 2024-09-12 10:30:19,601 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-12 10:30:21,850 - 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=0.627 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.468 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.257 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.415 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.740 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.600 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.429 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.415/1.648/3.257 ms 2024-09-12 10:30:21,850 - INFO - Deleting VM ctest-TestBasicVMVN-86562369-57312175 2024-09-12 10:30:21,916 - INFO - Detaching port 62f8f633-c91a-4f29-8a47-78486f920bcc from VM ctest-TestBasicVMVN-86562369-31128875 2024-09-12 10:30:23,537 - INFO - Deleting VM ctest-TestBasicVMVN-86562369-31128875 2024-09-12 10:30:23,629 - INFO - Detaching port a5331849-a389-4eca-abc9-672c6b8a7856 from VM ctest-TestBasicVMVN-86562369-44959330 2024-09-12 10:30:23,665 - INFO - Deleting VM ctest-TestBasicVMVN-86562369-44959330 2024-09-12 10:30:23,734 - INFO - Deleting VN ctest-vn-01604422 2024-09-12 10:30:25,512 - DEBUG - Response for delete_port : () 2024-09-12 10:30:25,737 - DEBUG - Response for delete_port : () 2024-09-12 10:30:25,889 - DEBUG - Response for deleting network () 2024-09-12 10:30:25,889 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/8a451e33-e5d3-48db-9cda-28125c920ebf 2024-09-12 10:30:25,894 - DEBUG - Response Code: 404 2024-09-12 10:30:25,894 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-12 10:30:25,906 - DEBUG - Requesting: http://10.0.0.22:8082/domain/fd8b555d-88d2-46b0-9b57-cb87294f06b4 2024-09-12 10:30:25,963 - DEBUG - Requesting: http://10.0.0.22:8082/project/0c226cc7-cf48-4bfd-9050-5443cbd09e72 2024-09-12 10:30:26,057 - INFO - Validated that VN ctest-vn-01604422 is not found in API Server 2024-09-12 10:30:26,069 - DEBUG - VN ctest-vn-01604422 is not present in Agent 10.0.0.22 2024-09-12 10:30:26,069 - INFO - Validated that VN ctest-vn-01604422 is not in any agent 2024-09-12 10:30:26,074 - DEBUG - VRF 2 is not seen in agent 10.0.0.22 2024-09-12 10:30:26,079 - DEBUG - Vrouter 10.0.0.22 does not have vrf 2 for VN ctest-vn-01604422 2024-09-12 10:30:26,079 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-86562369:ctest-vn-01604422 2024-09-12 10:30:26,091 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-01604422 info 2024-09-12 10:30:26,173 - INFO - IPAM: ctest-ipam-55771887 is not found in API Server 2024-09-12 10:30:26,188 - INFO - IPAM:ctest-ipam-55771887 is not found in control node 2024-09-12 10:30:26,440 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 10:30:26,440 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:45] 2024-09-12 10:30:26,440 - INFO - -------------------------------------------------------------------------------- 2024-09-12 10:30:27,156 - INFO - Deleted project: ctest-TestBasicVMVN-86562369, ID : 0c226cc7-cf48-4bfd-9050-5443cbd09e72