2024-09-13 14:42:45,561 - INFO - Domain Default found not creating 2024-09-13 14:42:45,756 - INFO - Project ctest-TestBasicVMVN-65065689 not found, creating it 2024-09-13 14:42:46,228 - INFO - Created Project:ctest-TestBasicVMVN-65065689, ID : 836b0438-d371-4752-a67f-c82bbc295f6c 2024-09-13 14:42:50,349 - INFO - ================================================================================ 2024-09-13 14:42:50,349 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-13 14:42:50,349 - 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-13 14:42:50,609 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with 2024-09-13 14:42:50,609 - INFO - Initial checks done. Running the testcase now 2024-09-13 14:42:50,610 - INFO - 2024-09-13 14:42:51,193 - DEBUG - Response for create_network : {'network': {'id': 'c96c26db-b4da-452f-aa97-a858f6f8f144', 'name': 'ctest-vn2_metadata-33485543', 'tenant_id': '836b0438d3714752a67fc82bbc295f6c', 'project_id': '836b0438d3714752a67fc82bbc295f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-65065689', 'ctest-vn2_metadata-33485543'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 14:42:51,378 - DEBUG - Response for create_subnet : {'subnet': {'id': '5264892f-fb31-4d5a-8c75-49a334eaf8fa', 'name': '', 'tenant_id': '836b0438d3714752a67fc82bbc295f6c', 'network_id': 'c96c26db-b4da-452f-aa97-a858f6f8f144', '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': '836b0438d3714752a67fc82bbc295f6c'}} 2024-09-13 14:42:51,397 - INFO - Created VN ctest-vn2_metadata-33485543 2024-09-13 14:42:51,455 - DEBUG - VN ctest-vn2_metadata-33485543 UUID is c96c26db-b4da-452f-aa97-a858f6f8f144 2024-09-13 14:42:51,640 - DEBUG - Services list from nova: [, , ] 2024-09-13 14:42:54,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1922-1) 2024-09-13 14:42:54,631 - DEBUG - Link local service introspect added 2024-09-13 14:42:54,696 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 14:42:59,783 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:42:59,911 - INFO - Waiting for VM ctest-TestBasicVMVN-65065689-38429201 to be up.. 2024-09-13 14:42:59,911 - INFO - VM name : ctest-TestBasicVMVN-65065689-38429201 2024-09-13 14:42:59,993 - DEBUG - VM ctest-TestBasicVMVN-65065689-38429201 ID is bd901fb2-68e1-4500-a540-28881feac80e 2024-09-13 14:42:59,993 - DEBUG - VM ctest-TestBasicVMVN-65065689-38429201 launched on Node cn-jenkins-deploy-platform-ansible-os-1922-1 2024-09-13 14:43:00,078 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/bd901fb2-68e1-4500-a540-28881feac80e 2024-09-13 14:43:00,383 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/bd901fb2-68e1-4500-a540-28881feac80e 2024-09-13 14:43:00,421 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/e13dc8f5-71b3-44ac-ad79-b9505d770d89 2024-09-13 14:43:03,698 - 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 1023ms') 2024-09-13 14:43:03,698 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-65065689-38429201 failed! 2024-09-13 14:43:03,759 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-65065689:ctest-vn2_metadata-33485543 is 11.1.1.1 and allocation pool is NOT set 2024-09-13 14:43:07,821 - 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-09-13 14:43:07,822 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-65065689-38429201 failed! 2024-09-13 14:43:07,884 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-65065689:ctest-vn2_metadata-33485543 is 11.1.1.1 and allocation pool is NOT set 2024-09-13 14:43:11,955 - 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 1011ms') 2024-09-13 14:43:11,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-65065689-38429201 failed! 2024-09-13 14:43:12,015 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-65065689:ctest-vn2_metadata-33485543 is 11.1.1.1 and allocation pool is NOT set 2024-09-13 14:43:14,074 - 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.11 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.20 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.204/2.657/4.111/1.453 ms') 2024-09-13 14:43:14,074 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-65065689-38429201 passed 2024-09-13 14:43:14,231 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:14,232 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-65065689-38429201, IP 11.1.1.3, Port 22 2024-09-13 14:43:14,387 - DEBUG - VM ctest-TestBasicVMVN-65065689-38429201 is ready for SSH connections 2024-09-13 14:43:14,387 - INFO - Retry 0 2024-09-13 14:43:14,387 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:14,387 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-13 14:43:16,317 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-09-13 14:43:16,317 - INFO - Generic metadata worked 2024-09-13 14:43:16,575 - DEBUG - Link local service introspect removed 2024-09-13 14:43:16,575 - INFO - Deleting VM ctest-TestBasicVMVN-65065689-38429201 2024-09-13 14:43:16,645 - INFO - Deleting VN ctest-vn2_metadata-33485543 2024-09-13 14:43:16,687 - DEBUG - VN c96c26db-b4da-452f-aa97-a858f6f8f144 still in use: Unable to complete operation on network c96c26db-b4da-452f-aa97-a858f6f8f144. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-cab34b3e-2c41-4ba1-a9d1-3d5519bceebf'] 2024-09-13 14:43:16,688 - WARNING - Deleting VN ctest-vn2_metadata-33485543 failed..Will retry 2024-09-13 14:43:18,842 - DEBUG - Response for deleting network () 2024-09-13 14:43:19,107 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 14:43:19,107 - INFO - -------------------------------------------------------------------------------- 2024-09-13 14:43:19,111 - INFO - ================================================================================ 2024-09-13 14:43:19,111 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-13 14:43:19,111 - 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-13 14:43:19,394 - DEBUG - Nothing to compare xmpp stats {'10.0.0.40': {'10.20.0.20': '0'}} with 2024-09-13 14:43:19,394 - INFO - Initial checks done. Running the testcase now 2024-09-13 14:43:19,394 - INFO - 2024-09-13 14:43:19,908 - DEBUG - Response for create_network : {'network': {'id': '6df3a728-894b-4c0e-9160-54b5521b45e7', 'name': 'ctest-vn-30661089', 'tenant_id': '836b0438d3714752a67fc82bbc295f6c', 'project_id': '836b0438d3714752a67fc82bbc295f6c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-65065689', 'ctest-vn-30661089'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 14:43:20,143 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bc49ff33-eb88-4817-81ee-29214991e790', 'name': '', 'tenant_id': '836b0438d3714752a67fc82bbc295f6c', 'network_id': '6df3a728-894b-4c0e-9160-54b5521b45e7', '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': '836b0438d3714752a67fc82bbc295f6c'}} 2024-09-13 14:43:20,351 - DEBUG - Response for create_subnet : {'subnet': {'id': '91a530bf-34f4-4418-9333-4399a0e2fb7c', 'name': '', 'tenant_id': '836b0438d3714752a67fc82bbc295f6c', 'network_id': '6df3a728-894b-4c0e-9160-54b5521b45e7', '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': '836b0438d3714752a67fc82bbc295f6c'}} 2024-09-13 14:43:20,372 - INFO - Created VN ctest-vn-30661089 2024-09-13 14:43:20,432 - DEBUG - VN ctest-vn-30661089 UUID is 6df3a728-894b-4c0e-9160-54b5521b45e7 2024-09-13 14:43:20,820 - DEBUG - Response for create_port : {'port': {'name': '0c8b323b-d105-4c7e-9fa5-8c4fa433d138', 'id': '0c8b323b-d105-4c7e-9fa5-8c4fa433d138', 'tenant_id': '836b0438d3714752a67fc82bbc295f6c', 'network_id': '6df3a728-894b-4c0e-9160-54b5521b45e7', 'mac_address': '02:0c:8b:32:3b:d1', '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': 'bc49ff33-eb88-4817-81ee-29214991e790'}], 'security_groups': ['c7992406-c035-4598-9c0b-2528a3e67efd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '836b0438d3714752a67fc82bbc295f6c'}} 2024-09-13 14:43:21,013 - DEBUG - Response for create_port : {'port': {'name': '1e1b5c2a-328d-43ac-9444-c8f63bafdae4', 'id': '1e1b5c2a-328d-43ac-9444-c8f63bafdae4', 'tenant_id': '836b0438d3714752a67fc82bbc295f6c', 'network_id': '6df3a728-894b-4c0e-9160-54b5521b45e7', 'mac_address': '02:1e:1b:5c:2a:32', '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': '91a530bf-34f4-4418-9333-4399a0e2fb7c'}], 'security_groups': ['c7992406-c035-4598-9c0b-2528a3e67efd'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '836b0438d3714752a67fc82bbc295f6c'}} 2024-09-13 14:43:21,397 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1922-1) 2024-09-13 14:43:21,845 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1922-1) 2024-09-13 14:43:23,466 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1922-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1922-1) 2024-09-13 14:43:23,466 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2024-09-13 14:43:23,472 - DEBUG - Requesting: http://10.0.0.40:8082/domain/e5415a58-450f-4ae4-884f-8105c76ec5ca 2024-09-13 14:43:23,488 - DEBUG - Requesting: http://10.0.0.40:8082/project/836b0438-d371-4752-a67f-c82bbc295f6c 2024-09-13 14:43:23,578 - DEBUG - Requesting: http://10.0.0.40:8082/network-ipam/3b1fd583-ae5d-450f-beb6-454a5bdd0f67 2024-09-13 14:43:23,590 - INFO - Verifications in API Server for IPAM: ctest-ipam-47921256 passed 2024-09-13 14:43:23,597 - DEBUG - Control-node 10.0.0.40 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-65065689:ctest-ipam-47921256', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-65065689', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4260358534058558735', 'uuid-lslong': '13742247498638757735'}, 'enable': 'true', 'created': '2024-09-13T14:43:19', 'last-modified': '2024-09-13T14:43:19', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.964369'} 2024-09-13 14:43:23,597 - INFO - Verifications in Control node for IPAM: ctest-ipam-47921256 passed 2024-09-13 14:43:23,598 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2024-09-13 14:43:23,610 - DEBUG - Requesting: http://10.0.0.40:8082/domain/e5415a58-450f-4ae4-884f-8105c76ec5ca 2024-09-13 14:43:23,624 - DEBUG - Requesting: http://10.0.0.40:8082/project/836b0438-d371-4752-a67f-c82bbc295f6c 2024-09-13 14:43:23,716 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/6df3a728-894b-4c0e-9160-54b5521b45e7 2024-09-13 14:43:23,733 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/6df3a728-894b-4c0e-9160-54b5521b45e7 2024-09-13 14:43:23,765 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/5c752f58-cae1-4e56-b77a-4bdaa8585c18 2024-09-13 14:43:23,777 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/5c752f58-cae1-4e56-b77a-4bdaa8585c18 2024-09-13 14:43:23,786 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/f5e5d096-0569-4241-88f9-087e43b78d5f 2024-09-13 14:43:23,795 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 14:43:23,795 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/6df3a728-894b-4c0e-9160-54b5521b45e7 2024-09-13 14:43:23,811 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/5c752f58-cae1-4e56-b77a-4bdaa8585c18 2024-09-13 14:43:23,839 - INFO - Verified VN network id 7 for VN 6df3a728-894b-4c0e-9160-54b5521b45e7 2024-09-13 14:43:23,839 - INFO - Verifications in API Server for VN ctest-vn-30661089 passed 2024-09-13 14:43:23,839 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/6df3a728-894b-4c0e-9160-54b5521b45e7 2024-09-13 14:43:23,862 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/5c752f58-cae1-4e56-b77a-4bdaa8585c18 2024-09-13 14:43:23,874 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/5c752f58-cae1-4e56-b77a-4bdaa8585c18 2024-09-13 14:43:23,891 - DEBUG - Requesting: http://10.0.0.40:8082/route-target/f5e5d096-0569-4241-88f9-087e43b78d5f 2024-09-13 14:43:23,924 - DEBUG - Control-node 10.0.0.40 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-65065689', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7922859962018778126', 'uuid-lslong': '10475465871007106535'}, 'enable': 'true', 'created': '2024-09-13T14:43:19', 'last-modified': '2024-09-13T14:43:20', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.596867'} 2024-09-13 14:43:23,947 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 14:43:23,947 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30661089 passed 2024-09-13 14:43:23,947 - DEBUG - ====Verifying policy data for ctest-vn-30661089 in API_Server ====== 2024-09-13 14:43:23,947 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2024-09-13 14:43:23,957 - DEBUG - Requesting: http://10.0.0.40:8082/domain/e5415a58-450f-4ae4-884f-8105c76ec5ca 2024-09-13 14:43:23,995 - DEBUG - Requesting: http://10.0.0.40:8082/project/836b0438-d371-4752-a67f-c82bbc295f6c 2024-09-13 14:43:24,123 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-network/6df3a728-894b-4c0e-9160-54b5521b45e7 2024-09-13 14:43:24,179 - DEBUG - =>VN ctest-vn-30661089 has no policy to be verified 2024-09-13 14:43:24,180 - DEBUG - Verifying the vn in opserver 2024-09-13 14:43:24,180 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089 virtual network link through opserver 10.0.0.40 2024-09-13 14:43:24,180 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2024-09-13 14:43:24,529 - DEBUG - Requesting: http://10.0.0.40:8081/analytics/uves/virtual-networks 2024-09-13 14:43:24,594 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089', 'href': 'http://10.0.0.40:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089?flat'} 2024-09-13 14:43:24,594 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089 is found in opserver 2024-09-13 14:43:24,600 - DEBUG - VRF ids for VN ctest-vn-30661089: {'10.0.0.40': '2'} 2024-09-13 14:43:24,600 - INFO - Waiting for VM ctest-TestBasicVMVN-65065689-02604406 to be up.. 2024-09-13 14:43:24,689 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:43:24,690 - INFO - VM name : ctest-TestBasicVMVN-65065689-02604406 2024-09-13 14:43:24,774 - DEBUG - VM ctest-TestBasicVMVN-65065689-02604406 ID is fc7d41bb-3524-444d-96cf-1c597d5299a8 2024-09-13 14:43:24,774 - DEBUG - VM ctest-TestBasicVMVN-65065689-02604406 launched on Node cn-jenkins-deploy-platform-ansible-os-1922-1 2024-09-13 14:43:24,863 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/fc7d41bb-3524-444d-96cf-1c597d5299a8 2024-09-13 14:43:24,874 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/0c8b323b-d105-4c7e-9fa5-8c4fa433d138 2024-09-13 14:43:28,140 - 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-09-13 14:43:28,141 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-65065689-02604406 failed! 2024-09-13 14:43:28,199 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089 is 31.1.1.1 and allocation pool is NOT set 2024-09-13 14:43:28,200 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089 is 31.1.2.1 and allocation pool is NOT set 2024-09-13 14:43:32,281 - 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 1019ms') 2024-09-13 14:43:32,281 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-65065689-02604406 failed! 2024-09-13 14:43:32,339 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089 is 31.1.1.1 and allocation pool is NOT set 2024-09-13 14:43:32,340 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089 is 31.1.2.1 and allocation pool is NOT set 2024-09-13 14:43:34,396 - 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.19 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.477 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1000ms\r\nrtt min/avg/max/mdev = 0.477/2.334/4.191/1.857 ms') 2024-09-13 14:43:34,397 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-65065689-02604406 passed 2024-09-13 14:43:34,559 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:34,560 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-65065689-02604406, IP 31.1.1.4, Port 22 2024-09-13 14:43:34,619 - 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-13 14:43:34,702 - DEBUG - VM ctest-TestBasicVMVN-65065689-02604406 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-13 14:43:39,703 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:39,703 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-65065689-02604406, IP 31.1.1.4, Port 22 2024-09-13 14:43:39,859 - DEBUG - VM ctest-TestBasicVMVN-65065689-02604406 is ready for SSH connections 2024-09-13 14:43:39,859 - INFO - Waiting for VM ctest-TestBasicVMVN-65065689-86531832 to be up.. 2024-09-13 14:43:39,940 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:43:39,940 - INFO - VM name : ctest-TestBasicVMVN-65065689-86531832 2024-09-13 14:43:40,024 - DEBUG - VM ctest-TestBasicVMVN-65065689-86531832 ID is cddecb77-a711-4cd6-b250-fa3611ce57bf 2024-09-13 14:43:40,024 - DEBUG - VM ctest-TestBasicVMVN-65065689-86531832 launched on Node cn-jenkins-deploy-platform-ansible-os-1922-1 2024-09-13 14:43:40,101 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/cddecb77-a711-4cd6-b250-fa3611ce57bf 2024-09-13 14:43:40,111 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/1e1b5c2a-328d-43ac-9444-c8f63bafdae4 2024-09-13 14:43:41,363 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.73 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.395 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.395/1.562/2.729/1.167 ms') 2024-09-13 14:43:41,363 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-65065689-86531832 passed 2024-09-13 14:43:41,523 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:41,524 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-65065689-86531832, IP 31.1.2.4, Port 22 2024-09-13 14:43:41,679 - DEBUG - VM ctest-TestBasicVMVN-65065689-86531832 is ready for SSH connections 2024-09-13 14:43:41,679 - INFO - Waiting for VM ctest-TestBasicVMVN-65065689-97885515 to be up.. 2024-09-13 14:43:41,759 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:43:41,759 - INFO - VM name : ctest-TestBasicVMVN-65065689-97885515 2024-09-13 14:43:41,843 - DEBUG - VM ctest-TestBasicVMVN-65065689-97885515 ID is ab924c70-6bbe-433a-85b9-24d76efa5b33 2024-09-13 14:43:41,844 - DEBUG - VM ctest-TestBasicVMVN-65065689-97885515 launched on Node cn-jenkins-deploy-platform-ansible-os-1922-1 2024-09-13 14:43:41,934 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine/ab924c70-6bbe-433a-85b9-24d76efa5b33 2024-09-13 14:43:41,946 - DEBUG - Requesting: http://10.0.0.40:8082/virtual-machine-interface/20da97d4-a7f8-4382-8694-91116d07f983 2024-09-13 14:43:43,198 - 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.92 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.315 ms\r\n\r\n--- 169.254.0.5 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.315/1.616/2.918/1.301 ms') 2024-09-13 14:43:43,198 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-65065689-97885515 passed 2024-09-13 14:43:43,351 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:43,352 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-65065689-97885515, IP 31.1.1.3, Port 22 2024-09-13 14:43:43,503 - DEBUG - VM ctest-TestBasicVMVN-65065689-97885515 is ready for SSH connections 2024-09-13 14:43:43,503 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:43,503 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:43,504 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-13 14:43:47,185 - 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.678 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.785 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.812 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.785/1.758/3.678 ms 2024-09-13 14:43:47,186 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-65065689-02604406 passed 2024-09-13 14:43:47,186 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:47,186 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:47,186 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-13 14:43:50,823 - 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.834 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.762 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.788 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.762/1.461/2.834 ms 2024-09-13 14:43:50,823 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-65065689-86531832 passed 2024-09-13 14:43:50,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:50,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:50,823 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:43:50,823 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:50,823 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-13 14:43:51,001 - DEBUG - None 2024-09-13 14:43:51,001 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:51,001 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-13 14:43:51,187 - DEBUG - None 2024-09-13 14:43:51,187 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:51,187 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-13 14:43:53,293 - DEBUG - None 2024-09-13 14:43:53,293 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:53,293 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-13 14:43:55,504 - 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.705 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.398 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.544 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.691 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.405 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.405/2.148/6.398 ms 2024-09-13 14:43:55,504 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:55,504 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-13 14:43:57,758 - 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.070 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.039 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.133 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.393 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.537 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.290 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.377 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.377/1.834/4.133 ms 2024-09-13 14:43:57,759 - 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.40, gateway password: c0ntrail123 2024-09-13 14:43:57,759 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-13 14:44:00,000 - 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.815 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.618 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.435 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.454 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.944 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=3.939 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.365 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.365/2.081/3.939 ms 2024-09-13 14:44:00,000 - INFO - Deleting VM ctest-TestBasicVMVN-65065689-97885515 2024-09-13 14:44:00,069 - INFO - Detaching port 1e1b5c2a-328d-43ac-9444-c8f63bafdae4 from VM ctest-TestBasicVMVN-65065689-86531832 2024-09-13 14:44:00,121 - INFO - Deleting VM ctest-TestBasicVMVN-65065689-86531832 2024-09-13 14:44:00,190 - INFO - Detaching port 0c8b323b-d105-4c7e-9fa5-8c4fa433d138 from VM ctest-TestBasicVMVN-65065689-02604406 2024-09-13 14:44:00,223 - INFO - Deleting VM ctest-TestBasicVMVN-65065689-02604406 2024-09-13 14:44:00,302 - INFO - Deleting VN ctest-vn-30661089 2024-09-13 14:44:00,499 - DEBUG - Response for delete_port : () 2024-09-13 14:44:01,229 - DEBUG - Response for delete_port : () 2024-09-13 14:44:01,292 - DEBUG - VN 6df3a728-894b-4c0e-9160-54b5521b45e7 still in use: Unable to complete operation on network 6df3a728-894b-4c0e-9160-54b5521b45e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-87debf73-5f36-45a7-a4d1-3fc363b926dc'] 2024-09-13 14:44:01,292 - WARNING - Deleting VN ctest-vn-30661089 failed..Will retry 2024-09-13 14:44:03,340 - DEBUG - VN 6df3a728-894b-4c0e-9160-54b5521b45e7 still in use: Unable to complete operation on network 6df3a728-894b-4c0e-9160-54b5521b45e7. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-a25d4bc4-66a7-4e96-8ba7-2b6b6e234eec'] 2024-09-13 14:44:03,340 - WARNING - Deleting VN ctest-vn-30661089 failed..Will retry 2024-09-13 14:44:06,551 - DEBUG - Response for deleting network () 2024-09-13 14:44:06,551 - DEBUG - Requesting: http://10.0.0.40:8082/routing-instance/5c752f58-cae1-4e56-b77a-4bdaa8585c18 2024-09-13 14:44:06,561 - DEBUG - Response Code: 404 2024-09-13 14:44:06,561 - DEBUG - Requesting: http://10.0.0.40:8082/domains 2024-09-13 14:44:06,567 - DEBUG - Requesting: http://10.0.0.40:8082/domain/e5415a58-450f-4ae4-884f-8105c76ec5ca 2024-09-13 14:44:06,626 - DEBUG - Requesting: http://10.0.0.40:8082/project/836b0438-d371-4752-a67f-c82bbc295f6c 2024-09-13 14:44:06,717 - INFO - Validated that VN ctest-vn-30661089 is not found in API Server 2024-09-13 14:44:06,729 - DEBUG - VN ctest-vn-30661089 is not present in Agent 10.0.0.40 2024-09-13 14:44:06,729 - INFO - Validated that VN ctest-vn-30661089 is not in any agent 2024-09-13 14:44:06,736 - DEBUG - VRF 2 is not seen in agent 10.0.0.40 2024-09-13 14:44:06,741 - DEBUG - Vrouter 10.0.0.40 does not have vrf 2 for VN ctest-vn-30661089 2024-09-13 14:44:06,741 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-65065689:ctest-vn-30661089 2024-09-13 14:44:06,753 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-30661089 info 2024-09-13 14:44:06,831 - INFO - IPAM: ctest-ipam-47921256 is not found in API Server 2024-09-13 14:44:06,844 - INFO - IPAM:ctest-ipam-47921256 is not found in control node 2024-09-13 14:44:07,101 - DEBUG - No XMPP flaps were noticed during the test
2024-09-13 14:44:07,101 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:48]
2024-09-13 14:44:07,101 - INFO - -------------------------------------------------------------------------------- 2024-09-13 14:44:07,772 - INFO - Deleted project: ctest-TestBasicVMVN-65065689, ID : 836b0438-d371-4752-a67f-c82bbc295f6c