2024-11-10 15:01:43,151 - INFO - Domain Default found not creating 2024-11-10 15:01:43,336 - INFO - Project ctest-TestBasicVMVN-93304636 not found, creating it 2024-11-10 15:01:43,881 - INFO - Created Project:ctest-TestBasicVMVN-93304636, ID : 564f0c04-d613-4f87-8372-ed729867c768 2024-11-10 15:01:45,593 - INFO - ================================================================================ 2024-11-10 15:01:45,593 - INFO - STARTING TEST : test_generic_link_local_service 2024-11-10 15:01:45,593 - 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 15:01:45,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.14': '0'}} with 2024-11-10 15:01:45,849 - INFO - Initial checks done. Running the testcase now 2024-11-10 15:01:45,849 - INFO - 2024-11-10 15:01:46,474 - DEBUG - Response for create_network : {'network': {'id': '24933123-ec7e-412a-8a3b-c7a43ce7e645', 'name': 'ctest-vn2_metadata-88087628', 'tenant_id': '564f0c04d6134f878372ed729867c768', 'project_id': '564f0c04d6134f878372ed729867c768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-93304636', 'ctest-vn2_metadata-88087628'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 15:01:46,689 - DEBUG - Response for create_subnet : {'subnet': {'id': 'de5ac9c0-5a27-4e58-8c0e-f5bd484e0b15', 'name': '', 'tenant_id': '564f0c04d6134f878372ed729867c768', 'network_id': '24933123-ec7e-412a-8a3b-c7a43ce7e645', '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': '564f0c04d6134f878372ed729867c768'}} 2024-11-10 15:01:46,711 - INFO - Created VN ctest-vn2_metadata-88087628 2024-11-10 15:01:46,770 - DEBUG - VN ctest-vn2_metadata-88087628 UUID is 24933123-ec7e-412a-8a3b-c7a43ce7e645 2024-11-10 15:01:46,977 - DEBUG - Services list from nova: [, , ] 2024-11-10 15:01:48,109 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 15:01:48,222 - DEBUG - Link local service introspect added 2024-11-10 15:01:48,264 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:01:53,361 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:01:53,524 - INFO - Waiting for VM ctest-TestBasicVMVN-93304636-34053171 to be up.. 2024-11-10 15:01:53,525 - INFO - VM name : ctest-TestBasicVMVN-93304636-34053171 2024-11-10 15:01:53,612 - DEBUG - VM ctest-TestBasicVMVN-93304636-34053171 ID is f4d69f9e-8036-486c-adc2-865d7800d784 2024-11-10 15:01:53,612 - DEBUG - VM ctest-TestBasicVMVN-93304636-34053171 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 15:01:53,702 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/f4d69f9e-8036-486c-adc2-865d7800d784 2024-11-10 15:01:54,003 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/f4d69f9e-8036-486c-adc2-865d7800d784 2024-11-10 15:01:54,042 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/4cb7111b-f1e8-4be3-b095-9eb354402efd 2024-11-10 15:01:57,333 - 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 1028ms') 2024-11-10 15:01:57,334 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-93304636-34053171 failed! 2024-11-10 15:01:57,394 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-93304636:ctest-vn2_metadata-88087628 is 11.1.1.1 and allocation pool is NOT set 2024-11-10 15:01:59,457 - 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=4.18 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.73 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.725/2.952/4.179/1.227 ms') 2024-11-10 15:01:59,457 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-93304636-34053171 passed 2024-11-10 15:01:59,626 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:01:59,626 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-93304636-34053171, IP 11.1.1.3, Port 22 2024-11-10 15:01:59,781 - DEBUG - VM ctest-TestBasicVMVN-93304636-34053171 is ready for SSH connections 2024-11-10 15:01:59,782 - INFO - Retry 0 2024-11-10 15:01:59,782 - 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.24, gateway password: c0ntrail123 2024-11-10 15:01:59,782 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-11-10 15:02:01,422 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-11-10 15:02:01,423 - INFO - Generic metadata worked 2024-11-10 15:02:01,682 - DEBUG - Link local service introspect removed 2024-11-10 15:02:01,682 - INFO - Deleting VM ctest-TestBasicVMVN-93304636-34053171 2024-11-10 15:02:01,766 - INFO - Deleting VN ctest-vn2_metadata-88087628 2024-11-10 15:02:01,828 - DEBUG - VN 24933123-ec7e-412a-8a3b-c7a43ce7e645 still in use: Unable to complete operation on network 24933123-ec7e-412a-8a3b-c7a43ce7e645. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d4829f1-805d-4151-a62d-f96091a39347'] 2024-11-10 15:02:01,829 - WARNING - Deleting VN ctest-vn2_metadata-88087628 failed..Will retry 2024-11-10 15:02:03,944 - DEBUG - Response for deleting network () 2024-11-10 15:02:04,200 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 15:02:04,200 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:19] 2024-11-10 15:02:04,200 - INFO - -------------------------------------------------------------------------------- 2024-11-10 15:02:04,203 - INFO - ================================================================================ 2024-11-10 15:02:04,203 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-11-10 15:02:04,203 - 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 15:02:04,487 - DEBUG - Nothing to compare xmpp stats {'10.0.0.24': {'10.20.0.14': '0'}} with 2024-11-10 15:02:04,487 - INFO - Initial checks done. Running the testcase now 2024-11-10 15:02:04,487 - INFO - 2024-11-10 15:02:05,026 - DEBUG - Response for create_network : {'network': {'id': '9fbb64fe-7650-49d4-9a73-1ddd58962200', 'name': 'ctest-vn-81460008', 'tenant_id': '564f0c04d6134f878372ed729867c768', 'project_id': '564f0c04d6134f878372ed729867c768', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-93304636', 'ctest-vn-81460008'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 15:02:05,261 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c2d19d86-b5a5-42bd-9b07-d567de154087', 'name': '', 'tenant_id': '564f0c04d6134f878372ed729867c768', 'network_id': '9fbb64fe-7650-49d4-9a73-1ddd58962200', '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': '564f0c04d6134f878372ed729867c768'}} 2024-11-10 15:02:05,451 - DEBUG - Response for create_subnet : {'subnet': {'id': '727a5e27-d95b-4d16-aeba-08dc96ff69a5', 'name': '', 'tenant_id': '564f0c04d6134f878372ed729867c768', 'network_id': '9fbb64fe-7650-49d4-9a73-1ddd58962200', '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': '564f0c04d6134f878372ed729867c768'}} 2024-11-10 15:02:05,475 - INFO - Created VN ctest-vn-81460008 2024-11-10 15:02:05,534 - DEBUG - VN ctest-vn-81460008 UUID is 9fbb64fe-7650-49d4-9a73-1ddd58962200 2024-11-10 15:02:05,964 - DEBUG - Response for create_port : {'port': {'name': '03818e24-d302-4691-a34e-6cfed03d1ad0', 'id': '03818e24-d302-4691-a34e-6cfed03d1ad0', 'tenant_id': '564f0c04d6134f878372ed729867c768', 'network_id': '9fbb64fe-7650-49d4-9a73-1ddd58962200', 'mac_address': '02:03:81:8e:24:d3', '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': 'c2d19d86-b5a5-42bd-9b07-d567de154087'}], 'security_groups': ['37d7a92b-7327-42c1-ad07-443ceacfab1c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '564f0c04d6134f878372ed729867c768'}} 2024-11-10 15:02:06,155 - DEBUG - Response for create_port : {'port': {'name': '3be2010e-3505-47a9-b4a1-e0a6a70d5758', 'id': '3be2010e-3505-47a9-b4a1-e0a6a70d5758', 'tenant_id': '564f0c04d6134f878372ed729867c768', 'network_id': '9fbb64fe-7650-49d4-9a73-1ddd58962200', 'mac_address': '02:3b:e2:01:0e:35', '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': '727a5e27-d95b-4d16-aeba-08dc96ff69a5'}], 'security_groups': ['37d7a92b-7327-42c1-ad07-443ceacfab1c'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '564f0c04d6134f878372ed729867c768'}} 2024-11-10 15:02:06,755 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 15:02:07,205 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 15:02:08,537 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2251-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2251-1) 2024-11-10 15:02:08,538 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 15:02:08,546 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 15:02:08,568 - DEBUG - Requesting: http://10.0.0.24:8082/project/564f0c04-d613-4f87-8372-ed729867c768 2024-11-10 15:02:08,679 - DEBUG - Requesting: http://10.0.0.24:8082/network-ipam/04ee003c-c924-40a8-a2d9-696f3401593f 2024-11-10 15:02:08,694 - INFO - Verifications in API Server for IPAM: ctest-ipam-03525289 passed 2024-11-10 15:02:08,708 - DEBUG - Control-node 10.0.0.24 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-93304636:ctest-ipam-03525289', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-93304636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '355221681681481896', 'uuid-lslong': '11734526230425327935'}, 'enable': 'true', 'created': '2024-11-10T15:02:04', 'last-modified': '2024-11-10T15:02:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.975961'} 2024-11-10 15:02:08,708 - INFO - Verifications in Control node for IPAM: ctest-ipam-03525289 passed 2024-11-10 15:02:08,708 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 15:02:08,718 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 15:02:08,744 - DEBUG - Requesting: http://10.0.0.24:8082/project/564f0c04-d613-4f87-8372-ed729867c768 2024-11-10 15:02:08,856 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9fbb64fe-7650-49d4-9a73-1ddd58962200 2024-11-10 15:02:08,895 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9fbb64fe-7650-49d4-9a73-1ddd58962200 2024-11-10 15:02:08,913 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/15fda8e2-ed79-4e19-b124-e895b6f47714 2024-11-10 15:02:08,928 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/15fda8e2-ed79-4e19-b124-e895b6f47714 2024-11-10 15:02:08,942 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/d01d925c-74f1-4a9d-a701-9bda85582531 2024-11-10 15:02:08,953 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 15:02:08,953 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9fbb64fe-7650-49d4-9a73-1ddd58962200 2024-11-10 15:02:08,968 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/15fda8e2-ed79-4e19-b124-e895b6f47714 2024-11-10 15:02:08,993 - INFO - Verified VN network id 8 for VN 9fbb64fe-7650-49d4-9a73-1ddd58962200 2024-11-10 15:02:08,993 - INFO - Verifications in API Server for VN ctest-vn-81460008 passed 2024-11-10 15:02:08,993 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9fbb64fe-7650-49d4-9a73-1ddd58962200 2024-11-10 15:02:09,009 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/15fda8e2-ed79-4e19-b124-e895b6f47714 2024-11-10 15:02:09,021 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/15fda8e2-ed79-4e19-b124-e895b6f47714 2024-11-10 15:02:09,034 - DEBUG - Requesting: http://10.0.0.24:8082/route-target/d01d925c-74f1-4a9d-a701-9bda85582531 2024-11-10 15:02:09,049 - DEBUG - Control-node 10.0.0.24 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-93304636', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11509904316744878548', 'uuid-lslong': '11129271940673839616'}, 'enable': 'true', 'created': '2024-11-10T15:02:04', 'last-modified': '2024-11-10T15:02:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.634598'} 2024-11-10 15:02:09,058 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 15:02:09,060 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-81460008 passed 2024-11-10 15:02:09,061 - DEBUG - ====Verifying policy data for ctest-vn-81460008 in API_Server ====== 2024-11-10 15:02:09,061 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 15:02:09,073 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 15:02:09,143 - DEBUG - Requesting: http://10.0.0.24:8082/project/564f0c04-d613-4f87-8372-ed729867c768 2024-11-10 15:02:09,289 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-network/9fbb64fe-7650-49d4-9a73-1ddd58962200 2024-11-10 15:02:09,316 - DEBUG - =>VN ctest-vn-81460008 has no policy to be verified 2024-11-10 15:02:09,316 - DEBUG - Verifying the vn in opserver 2024-11-10 15:02:09,316 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008 virtual network link through opserver 10.0.0.24 2024-11-10 15:02:09,317 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-11-10 15:02:09,719 - DEBUG - Requesting: http://10.0.0.24:8081/analytics/uves/virtual-networks 2024-11-10 15:02:09,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008', 'href': 'http://10.0.0.24:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008?flat'} 2024-11-10 15:02:09,929 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008 is found in opserver 2024-11-10 15:02:09,941 - DEBUG - VRF ids for VN ctest-vn-81460008: {'10.0.0.24': '2'} 2024-11-10 15:02:09,941 - INFO - Waiting for VM ctest-TestBasicVMVN-93304636-28024972 to be up.. 2024-11-10 15:02:10,047 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:02:10,047 - INFO - VM name : ctest-TestBasicVMVN-93304636-28024972 2024-11-10 15:02:10,155 - DEBUG - VM ctest-TestBasicVMVN-93304636-28024972 ID is 4934b9e0-0442-447f-8e1a-69b8d19ccce2 2024-11-10 15:02:10,155 - DEBUG - VM ctest-TestBasicVMVN-93304636-28024972 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 15:02:10,257 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/4934b9e0-0442-447f-8e1a-69b8d19ccce2 2024-11-10 15:02:10,272 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/03818e24-d302-4691-a34e-6cfed03d1ad0 2024-11-10 15:02:13,591 - 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 15:02:13,591 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-93304636-28024972 failed! 2024-11-10 15:02:13,654 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008 is 31.1.1.1 and allocation pool is NOT set 2024-11-10 15:02:13,654 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008 is 31.1.2.1 and allocation pool is NOT set 2024-11-10 15:02:17,711 - 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 1003ms') 2024-11-10 15:02:17,711 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-93304636-28024972 failed! 2024-11-10 15:02:17,786 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008 is 31.1.1.1 and allocation pool is NOT set 2024-11-10 15:02:17,786 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008 is 31.1.2.1 and allocation pool is NOT set 2024-11-10 15:02:19,860 - 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=5.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.49 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 = 1.486/3.498/5.510/2.012 ms') 2024-11-10 15:02:19,860 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-93304636-28024972 passed 2024-11-10 15:02:20,022 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:20,022 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-93304636-28024972, IP 31.1.1.4, Port 22 2024-11-10 15:02:20,078 - 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 15:02:20,171 - DEBUG - VM ctest-TestBasicVMVN-93304636-28024972 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 15:02:25,174 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:25,174 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-93304636-28024972, IP 31.1.1.4, Port 22 2024-11-10 15:02:25,341 - DEBUG - VM ctest-TestBasicVMVN-93304636-28024972 is ready for SSH connections 2024-11-10 15:02:25,341 - INFO - Waiting for VM ctest-TestBasicVMVN-93304636-66832969 to be up.. 2024-11-10 15:02:25,428 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:02:25,428 - INFO - VM name : ctest-TestBasicVMVN-93304636-66832969 2024-11-10 15:02:25,509 - DEBUG - VM ctest-TestBasicVMVN-93304636-66832969 ID is 4b638ee9-0bea-472a-b7a5-7550075143a8 2024-11-10 15:02:25,509 - DEBUG - VM ctest-TestBasicVMVN-93304636-66832969 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 15:02:25,605 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/4b638ee9-0bea-472a-b7a5-7550075143a8 2024-11-10 15:02:25,617 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/3be2010e-3505-47a9-b4a1-e0a6a70d5758 2024-11-10 15:02:26,891 - 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.20 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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 = 1.008/2.106/3.204/1.098 ms') 2024-11-10 15:02:26,892 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-93304636-66832969 passed 2024-11-10 15:02:27,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:27,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-93304636-66832969, IP 31.1.2.4, Port 22 2024-11-10 15:02:27,217 - DEBUG - VM ctest-TestBasicVMVN-93304636-66832969 is ready for SSH connections 2024-11-10 15:02:27,218 - INFO - Waiting for VM ctest-TestBasicVMVN-93304636-39735683 to be up.. 2024-11-10 15:02:27,302 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:02:27,302 - INFO - VM name : ctest-TestBasicVMVN-93304636-39735683 2024-11-10 15:02:27,412 - DEBUG - VM ctest-TestBasicVMVN-93304636-39735683 ID is 8cc4f927-7b84-4886-a87e-4ca94de343f7 2024-11-10 15:02:27,412 - DEBUG - VM ctest-TestBasicVMVN-93304636-39735683 launched on Node cn-jenkins-deploy-platform-ansible-os-2251-1 2024-11-10 15:02:27,522 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine/8cc4f927-7b84-4886-a87e-4ca94de343f7 2024-11-10 15:02:27,537 - DEBUG - Requesting: http://10.0.0.24:8082/virtual-machine-interface/07d65321-2711-4c83-9a11-53d7a587c643 2024-11-10 15:02:28,817 - 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.84 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.447 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.447/1.645/2.844/1.198 ms') 2024-11-10 15:02:28,818 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-93304636-39735683 passed 2024-11-10 15:02:28,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:28,974 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-93304636-39735683, IP 31.1.1.3, Port 22 2024-11-10 15:02:29,142 - DEBUG - VM ctest-TestBasicVMVN-93304636-39735683 is ready for SSH connections 2024-11-10 15:02:29,142 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:29,142 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:29,142 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-11-10 15:02:32,850 - 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=3.810 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.859 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=1.416 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.859/2.028/3.810 ms 2024-11-10 15:02:32,850 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-93304636-28024972 passed 2024-11-10 15:02:32,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:32,851 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:32,851 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-11-10 15:02:36,530 - 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.019 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.854 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.006 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.854/1.626/3.019 ms 2024-11-10 15:02:36,530 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-93304636-66832969 passed 2024-11-10 15:02:36,530 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:36,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:36,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:02:36,531 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:36,531 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 15:02:36,736 - DEBUG - None 2024-11-10 15:02:36,736 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:36,736 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 15:02:36,928 - DEBUG - None 2024-11-10 15:02:36,928 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:36,928 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 15:02:37,881 - DEBUG - None 2024-11-10 15:02:37,881 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:37,882 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-11-10 15:02:40,101 - 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.775 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.056 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.526 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.804 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.436 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.436/1.919/5.056 ms 2024-11-10 15:02:40,101 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:40,102 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-11-10 15:02:42,352 - 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.251 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.210 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=5.477 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.537 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.212 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.028 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.450 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.450/2.452/5.477 ms 2024-11-10 15:02:42,353 - 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.24, gateway password: c0ntrail123 2024-11-10 15:02:42,353 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-11-10 15:02:44,614 - 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.791 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.658 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.683 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.554 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.458 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.765 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.344 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.344/2.036/3.765 ms 2024-11-10 15:02:44,615 - INFO - Deleting VM ctest-TestBasicVMVN-93304636-39735683 2024-11-10 15:02:44,693 - INFO - Detaching port 3be2010e-3505-47a9-b4a1-e0a6a70d5758 from VM ctest-TestBasicVMVN-93304636-66832969 2024-11-10 15:02:44,755 - INFO - Deleting VM ctest-TestBasicVMVN-93304636-66832969 2024-11-10 15:02:44,842 - INFO - Detaching port 03818e24-d302-4691-a34e-6cfed03d1ad0 from VM ctest-TestBasicVMVN-93304636-28024972 2024-11-10 15:02:44,881 - INFO - Deleting VM ctest-TestBasicVMVN-93304636-28024972 2024-11-10 15:02:44,955 - INFO - Deleting VN ctest-vn-81460008 2024-11-10 15:02:45,159 - DEBUG - Response for delete_port : () 2024-11-10 15:02:45,436 - DEBUG - Response for delete_port : () 2024-11-10 15:02:45,622 - DEBUG - Response for deleting network () 2024-11-10 15:02:45,622 - DEBUG - Requesting: http://10.0.0.24:8082/routing-instance/15fda8e2-ed79-4e19-b124-e895b6f47714 2024-11-10 15:02:45,629 - DEBUG - Response Code: 404 2024-11-10 15:02:45,630 - DEBUG - Requesting: http://10.0.0.24:8082/domains 2024-11-10 15:02:45,637 - DEBUG - Requesting: http://10.0.0.24:8082/domain/c5949d73-9f86-492a-89a9-de82e7ae9a7d 2024-11-10 15:02:45,700 - DEBUG - Requesting: http://10.0.0.24:8082/project/564f0c04-d613-4f87-8372-ed729867c768 2024-11-10 15:02:45,800 - INFO - Validated that VN ctest-vn-81460008 is not found in API Server 2024-11-10 15:02:45,814 - DEBUG - VN ctest-vn-81460008 is not present in Agent 10.0.0.24 2024-11-10 15:02:45,814 - INFO - Validated that VN ctest-vn-81460008 is not in any agent 2024-11-10 15:02:45,821 - DEBUG - VRF 2 is not seen in agent 10.0.0.24 2024-11-10 15:02:45,832 - DEBUG - Vrouter 10.0.0.24 does not have vrf 2 for VN ctest-vn-81460008 2024-11-10 15:02:45,832 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-93304636:ctest-vn-81460008 2024-11-10 15:02:45,844 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-81460008 info 2024-11-10 15:02:45,933 - INFO - IPAM: ctest-ipam-03525289 is not found in API Server 2024-11-10 15:02:45,946 - INFO - IPAM:ctest-ipam-03525289 is not found in control node 2024-11-10 15:02:46,204 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 15:02:46,204 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:42] 2024-11-10 15:02:46,205 - INFO - -------------------------------------------------------------------------------- 2024-11-10 15:02:46,955 - INFO - Deleted project: ctest-TestBasicVMVN-93304636, ID : 564f0c04-d613-4f87-8372-ed729867c768