2024-09-17 09:46:34,266 - INFO - Domain Default found not creating 2024-09-17 09:46:34,465 - INFO - Project ctest-TestBasicVMVN-33405151 not found, creating it 2024-09-17 09:46:35,021 - INFO - Created Project:ctest-TestBasicVMVN-33405151, ID : 286b6577-5e04-4c43-9726-35e64cfcc1d3 2024-09-17 09:46:36,839 - INFO - ================================================================================ 2024-09-17 09:46:36,839 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-17 09:46:36,839 - 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-17 09:46:37,099 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.20': '0'}} with 2024-09-17 09:46:37,100 - INFO - Initial checks done. Running the testcase now 2024-09-17 09:46:37,100 - INFO - 2024-09-17 09:46:37,820 - DEBUG - Response for create_network : {'network': {'id': '600dd820-d46e-4ae8-8148-8d370448907e', 'name': 'ctest-vn2_metadata-45535990', 'tenant_id': '286b65775e044c43972635e64cfcc1d3', 'project_id': '286b65775e044c43972635e64cfcc1d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-33405151', 'ctest-vn2_metadata-45535990'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:46:38,054 - DEBUG - Response for create_subnet : {'subnet': {'id': '4e163841-1e9a-4dad-9049-a65d49cb53cb', 'name': '', 'tenant_id': '286b65775e044c43972635e64cfcc1d3', 'network_id': '600dd820-d46e-4ae8-8148-8d370448907e', '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': '286b65775e044c43972635e64cfcc1d3'}} 2024-09-17 09:46:38,077 - INFO - Created VN ctest-vn2_metadata-45535990 2024-09-17 09:46:38,137 - DEBUG - VN ctest-vn2_metadata-45535990 UUID is 600dd820-d46e-4ae8-8148-8d370448907e 2024-09-17 09:46:38,364 - DEBUG - Services list from nova: [, , ] 2024-09-17 09:46:39,751 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:46:39,865 - DEBUG - Link local service introspect added 2024-09-17 09:46:39,915 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-17 09:46:45,009 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:46:45,155 - INFO - Waiting for VM ctest-TestBasicVMVN-33405151-38757358 to be up.. 2024-09-17 09:46:45,155 - INFO - VM name : ctest-TestBasicVMVN-33405151-38757358 2024-09-17 09:46:45,250 - DEBUG - VM ctest-TestBasicVMVN-33405151-38757358 ID is a2f4c7d8-eec9-4b13-9127-afe4a3fac9bb 2024-09-17 09:46:45,250 - DEBUG - VM ctest-TestBasicVMVN-33405151-38757358 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:46:45,344 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a2f4c7d8-eec9-4b13-9127-afe4a3fac9bb 2024-09-17 09:46:45,691 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/a2f4c7d8-eec9-4b13-9127-afe4a3fac9bb 2024-09-17 09:46:45,745 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/70b7c676-37cd-470a-90db-d152dc339d02 2024-09-17 09:46:49,048 - 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 1033ms') 2024-09-17 09:46:49,048 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-33405151-38757358 failed! 2024-09-17 09:46:49,113 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-33405151:ctest-vn2_metadata-45535990 is 11.1.1.1 and allocation pool is NOT set 2024-09-17 09:46:51,178 - 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=9.43 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.30 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 = 2.300/5.865/9.431/3.565 ms') 2024-09-17 09:46:51,178 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-33405151-38757358 passed 2024-09-17 09:46:51,341 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:46:51,341 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-33405151-38757358, IP 11.1.1.3, Port 22 2024-09-17 09:46:51,407 - 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-17 09:46:51,512 - DEBUG - VM ctest-TestBasicVMVN-33405151-38757358 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-17 09:46:56,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:46:56,513 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-33405151-38757358, IP 11.1.1.3, Port 22 2024-09-17 09:46:56,669 - DEBUG - VM ctest-TestBasicVMVN-33405151-38757358 is ready for SSH connections 2024-09-17 09:46:56,669 - INFO - Retry 0 2024-09-17 09:46:56,669 - 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.50, gateway password: c0ntrail123 2024-09-17 09:46:56,669 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-17 09:46:58,361 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-09-17 09:46:58,361 - INFO - Generic metadata worked 2024-09-17 09:46:58,625 - DEBUG - Link local service introspect removed 2024-09-17 09:46:58,625 - INFO - Deleting VM ctest-TestBasicVMVN-33405151-38757358 2024-09-17 09:46:58,704 - INFO - Deleting VN ctest-vn2_metadata-45535990 2024-09-17 09:46:58,757 - DEBUG - VN 600dd820-d46e-4ae8-8148-8d370448907e still in use: Unable to complete operation on network 600dd820-d46e-4ae8-8148-8d370448907e. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-59b420f6-df84-48b0-ace3-f5ba2dc7f3ae'] 2024-09-17 09:46:58,758 - WARNING - Deleting VN ctest-vn2_metadata-45535990 failed..Will retry 2024-09-17 09:47:00,904 - DEBUG - Response for deleting network () 2024-09-17 09:47:01,175 - DEBUG - No XMPP flaps were noticed during the test 2024-09-17 09:47:01,175 - INFO - -------------------------------------------------------------------------------- 2024-09-17 09:47:01,179 - INFO - ================================================================================ 2024-09-17 09:47:01,179 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-17 09:47:01,179 - 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-17 09:47:01,464 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.20': '0'}} with 2024-09-17 09:47:01,464 - INFO - Initial checks done. Running the testcase now 2024-09-17 09:47:01,464 - INFO - 2024-09-17 09:47:02,035 - DEBUG - Response for create_network : {'network': {'id': '35212dbc-93da-46cb-b57d-f7d18f508a63', 'name': 'ctest-vn-14262396', 'tenant_id': '286b65775e044c43972635e64cfcc1d3', 'project_id': '286b65775e044c43972635e64cfcc1d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-33405151', 'ctest-vn-14262396'], 'port_security_enabled': True, 'description': ''}} 2024-09-17 09:47:02,294 - DEBUG - Response for create_subnet : {'subnet': {'id': '61e1ce89-46b4-473c-86ed-c8411e873097', 'name': '', 'tenant_id': '286b65775e044c43972635e64cfcc1d3', 'network_id': '35212dbc-93da-46cb-b57d-f7d18f508a63', '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': '286b65775e044c43972635e64cfcc1d3'}} 2024-09-17 09:47:02,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '58992bc4-c8fd-4afd-b7d5-2c322a0d32be', 'name': '', 'tenant_id': '286b65775e044c43972635e64cfcc1d3', 'network_id': '35212dbc-93da-46cb-b57d-f7d18f508a63', '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': '286b65775e044c43972635e64cfcc1d3'}} 2024-09-17 09:47:02,610 - INFO - Created VN ctest-vn-14262396 2024-09-17 09:47:02,669 - DEBUG - VN ctest-vn-14262396 UUID is 35212dbc-93da-46cb-b57d-f7d18f508a63 2024-09-17 09:47:03,119 - DEBUG - Response for create_port : {'port': {'name': 'c3925bce-1285-4406-bc41-6b0568a8f89f', 'id': 'c3925bce-1285-4406-bc41-6b0568a8f89f', 'tenant_id': '286b65775e044c43972635e64cfcc1d3', 'network_id': '35212dbc-93da-46cb-b57d-f7d18f508a63', 'mac_address': '02:c3:92:5b:ce:12', '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': '61e1ce89-46b4-473c-86ed-c8411e873097'}], 'security_groups': ['c45982be-d9f1-4c05-9d42-a643ad9f60be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '286b65775e044c43972635e64cfcc1d3'}} 2024-09-17 09:47:03,341 - DEBUG - Response for create_port : {'port': {'name': 'cf705953-de29-43e4-8ff0-66321fa09097', 'id': 'cf705953-de29-43e4-8ff0-66321fa09097', 'tenant_id': '286b65775e044c43972635e64cfcc1d3', 'network_id': '35212dbc-93da-46cb-b57d-f7d18f508a63', 'mac_address': '02:cf:70:59:53:de', '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': '58992bc4-c8fd-4afd-b7d5-2c322a0d32be'}], 'security_groups': ['c45982be-d9f1-4c05-9d42-a643ad9f60be'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '286b65775e044c43972635e64cfcc1d3'}} 2024-09-17 09:47:03,794 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:47:04,275 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:47:05,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1958-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1958-1) 2024-09-17 09:47:05,700 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:47:05,707 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:47:05,725 - DEBUG - Requesting: http://10.0.0.50:8082/project/286b6577-5e04-4c43-9726-35e64cfcc1d3 2024-09-17 09:47:05,864 - DEBUG - Requesting: http://10.0.0.50:8082/network-ipam/87e6c0e4-91e7-49f8-a46e-5178941e4a63 2024-09-17 09:47:05,935 - INFO - Verifications in API Server for IPAM: ctest-ipam-08248398 passed 2024-09-17 09:47:05,946 - DEBUG - Control-node 10.0.0.50 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-33405151:ctest-ipam-08248398', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-33405151', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9792726527696652792', 'uuid-lslong': '11848497247981292131'}, 'enable': 'true', 'created': '2024-09-17T09:47:01', 'last-modified': '2024-09-17T09:47:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.226595'} 2024-09-17 09:47:05,946 - INFO - Verifications in Control node for IPAM: ctest-ipam-08248398 passed 2024-09-17 09:47:05,946 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:47:05,954 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:47:06,030 - DEBUG - Requesting: http://10.0.0.50:8082/project/286b6577-5e04-4c43-9726-35e64cfcc1d3 2024-09-17 09:47:06,166 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35212dbc-93da-46cb-b57d-f7d18f508a63 2024-09-17 09:47:06,210 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35212dbc-93da-46cb-b57d-f7d18f508a63 2024-09-17 09:47:06,232 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92bfcd97-7780-4b81-bd3e-615d46d8828d 2024-09-17 09:47:06,261 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92bfcd97-7780-4b81-bd3e-615d46d8828d 2024-09-17 09:47:06,287 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a546336-6979-4304-9d11-75cf40deebf4 2024-09-17 09:47:06,325 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 09:47:06,325 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35212dbc-93da-46cb-b57d-f7d18f508a63 2024-09-17 09:47:06,378 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92bfcd97-7780-4b81-bd3e-615d46d8828d 2024-09-17 09:47:06,436 - INFO - Verified VN network id 8 for VN 35212dbc-93da-46cb-b57d-f7d18f508a63 2024-09-17 09:47:06,436 - INFO - Verifications in API Server for VN ctest-vn-14262396 passed 2024-09-17 09:47:06,436 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35212dbc-93da-46cb-b57d-f7d18f508a63 2024-09-17 09:47:06,463 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92bfcd97-7780-4b81-bd3e-615d46d8828d 2024-09-17 09:47:06,497 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92bfcd97-7780-4b81-bd3e-615d46d8828d 2024-09-17 09:47:06,521 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8a546336-6979-4304-9d11-75cf40deebf4 2024-09-17 09:47:06,549 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-33405151', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3828391446199289547', 'uuid-lslong': '13077881372378434147'}, 'enable': 'true', 'created': '2024-09-17T09:47:01', 'last-modified': '2024-09-17T09:47:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.013185'} 2024-09-17 09:47:06,560 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-17 09:47:06,560 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-14262396 passed 2024-09-17 09:47:06,561 - DEBUG - ====Verifying policy data for ctest-vn-14262396 in API_Server ====== 2024-09-17 09:47:06,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:47:06,589 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:47:06,627 - DEBUG - Requesting: http://10.0.0.50:8082/project/286b6577-5e04-4c43-9726-35e64cfcc1d3 2024-09-17 09:47:06,714 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/35212dbc-93da-46cb-b57d-f7d18f508a63 2024-09-17 09:47:06,757 - DEBUG - =>VN ctest-vn-14262396 has no policy to be verified 2024-09-17 09:47:06,757 - DEBUG - Verifying the vn in opserver 2024-09-17 09:47:06,757 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396 virtual network link through opserver 10.0.0.50 2024-09-17 09:47:06,757 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2024-09-17 09:47:07,465 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2024-09-17 09:47:07,595 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396?flat'} 2024-09-17 09:47:07,595 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396 is found in opserver 2024-09-17 09:47:07,606 - DEBUG - VRF ids for VN ctest-vn-14262396: {'10.0.0.50': '2'} 2024-09-17 09:47:07,607 - INFO - Waiting for VM ctest-TestBasicVMVN-33405151-19098437 to be up.. 2024-09-17 09:47:07,741 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:47:07,741 - INFO - VM name : ctest-TestBasicVMVN-33405151-19098437 2024-09-17 09:47:07,842 - DEBUG - VM ctest-TestBasicVMVN-33405151-19098437 ID is 6ed477b1-6352-4e0f-b258-d63983e8240a 2024-09-17 09:47:07,842 - DEBUG - VM ctest-TestBasicVMVN-33405151-19098437 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:47:07,943 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/6ed477b1-6352-4e0f-b258-d63983e8240a 2024-09-17 09:47:07,955 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/c3925bce-1285-4406-bc41-6b0568a8f89f 2024-09-17 09:47:11,284 - 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-09-17 09:47:11,284 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-33405151-19098437 failed! 2024-09-17 09:47:11,353 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396 is 31.1.1.1 and allocation pool is NOT set 2024-09-17 09:47:11,353 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396 is 31.1.2.1 and allocation pool is NOT set 2024-09-17 09:47:15,419 - 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 1002ms') 2024-09-17 09:47:15,419 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-33405151-19098437 failed! 2024-09-17 09:47:15,489 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396 is 31.1.1.1 and allocation pool is NOT set 2024-09-17 09:47:15,490 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396 is 31.1.2.1 and allocation pool is NOT set 2024-09-17 09:47:17,556 - 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.59 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.27 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.269/2.927/4.585/1.658 ms') 2024-09-17 09:47:17,556 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-33405151-19098437 passed 2024-09-17 09:47:17,733 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:17,733 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-33405151-19098437, IP 31.1.1.4, Port 22 2024-09-17 09:47:17,799 - 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-17 09:47:17,903 - DEBUG - VM ctest-TestBasicVMVN-33405151-19098437 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-17 09:47:22,903 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:22,903 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-33405151-19098437, IP 31.1.1.4, Port 22 2024-09-17 09:47:23,071 - DEBUG - VM ctest-TestBasicVMVN-33405151-19098437 is ready for SSH connections 2024-09-17 09:47:23,071 - INFO - Waiting for VM ctest-TestBasicVMVN-33405151-49738066 to be up.. 2024-09-17 09:47:23,172 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:47:23,172 - INFO - VM name : ctest-TestBasicVMVN-33405151-49738066 2024-09-17 09:47:23,272 - DEBUG - VM ctest-TestBasicVMVN-33405151-49738066 ID is 5e1c54f0-1cd3-4759-96ca-a713c57fbd59 2024-09-17 09:47:23,272 - DEBUG - VM ctest-TestBasicVMVN-33405151-49738066 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:47:23,370 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/5e1c54f0-1cd3-4759-96ca-a713c57fbd59 2024-09-17 09:47:23,382 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/cf705953-de29-43e4-8ff0-66321fa09097 2024-09-17 09:47:24,646 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.548 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.548/2.224/3.900/1.676 ms') 2024-09-17 09:47:24,646 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-33405151-49738066 passed 2024-09-17 09:47:24,805 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:24,805 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-33405151-49738066, IP 31.1.2.4, Port 22 2024-09-17 09:47:24,975 - DEBUG - VM ctest-TestBasicVMVN-33405151-49738066 is ready for SSH connections 2024-09-17 09:47:24,975 - INFO - Waiting for VM ctest-TestBasicVMVN-33405151-61501129 to be up.. 2024-09-17 09:47:25,079 - DEBUG - VM is in ACTIVE state now 2024-09-17 09:47:25,079 - INFO - VM name : ctest-TestBasicVMVN-33405151-61501129 2024-09-17 09:47:25,227 - DEBUG - VM ctest-TestBasicVMVN-33405151-61501129 ID is 088df04d-a815-4de5-88b7-ac9584f6f5a8 2024-09-17 09:47:25,227 - DEBUG - VM ctest-TestBasicVMVN-33405151-61501129 launched on Node cn-jenkins-deploy-platform-ansible-os-1958-1 2024-09-17 09:47:25,330 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/088df04d-a815-4de5-88b7-ac9584f6f5a8 2024-09-17 09:47:25,346 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/4ff8a8cd-c4ef-4f46-a993-b29eef9b0b8c 2024-09-17 09:47:26,608 - 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.48 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.516 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.516/1.996/3.477/1.480 ms') 2024-09-17 09:47:26,608 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-33405151-61501129 passed 2024-09-17 09:47:26,769 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:26,769 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-33405151-61501129, IP 31.1.1.3, Port 22 2024-09-17 09:47:26,947 - DEBUG - VM ctest-TestBasicVMVN-33405151-61501129 is ready for SSH connections 2024-09-17 09:47:26,947 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:26,947 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:26,948 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-17 09:47:31,040 - 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.341 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.781 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=1.354 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.781/2.158/4.341 ms 2024-09-17 09:47:31,041 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-33405151-19098437 passed 2024-09-17 09:47:31,041 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:31,041 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:31,041 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-17 09:47:34,763 - 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.376 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.245 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.053 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.053/1.891/3.376 ms 2024-09-17 09:47:34,763 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-33405151-49738066 passed 2024-09-17 09:47:34,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:34,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:34,763 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-17 09:47:34,763 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:34,763 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-17 09:47:34,975 - DEBUG - None 2024-09-17 09:47:34,975 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:34,975 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-17 09:47:35,220 - DEBUG - None 2024-09-17 09:47:35,220 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:35,220 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-17 09:47:35,907 - DEBUG - None 2024-09-17 09:47:35,908 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:35,908 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-17 09:47:38,165 - DEBUG - PING 31.1.1.7 (31.1.1.7): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=2.245 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=7.798 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.872 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.346 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.390 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.390/2.730/7.798 ms 2024-09-17 09:47:38,165 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:38,165 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-17 09:47:40,424 - 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.312 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.344 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.649 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.475 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.316 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=4.189 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/2.523/4.649 ms 2024-09-17 09:47:40,424 - 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.50, gateway password: c0ntrail123 2024-09-17 09:47:40,425 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-17 09:47:42,707 - DEBUG - PING 255.255.255.255 (255.255.255.255): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.535 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.311 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.405 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.477 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.852 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.724 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.573 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.477/2.411/5.405 ms 2024-09-17 09:47:42,707 - INFO - Deleting VM ctest-TestBasicVMVN-33405151-61501129 2024-09-17 09:47:42,787 - INFO - Detaching port cf705953-de29-43e4-8ff0-66321fa09097 from VM ctest-TestBasicVMVN-33405151-49738066 2024-09-17 09:47:42,850 - INFO - Deleting VM ctest-TestBasicVMVN-33405151-49738066 2024-09-17 09:47:42,944 - INFO - Detaching port c3925bce-1285-4406-bc41-6b0568a8f89f from VM ctest-TestBasicVMVN-33405151-19098437 2024-09-17 09:47:42,981 - INFO - Deleting VM ctest-TestBasicVMVN-33405151-19098437 2024-09-17 09:47:43,061 - INFO - Deleting VN ctest-vn-14262396 2024-09-17 09:47:43,268 - DEBUG - Response for delete_port : () 2024-09-17 09:47:43,504 - DEBUG - Response for delete_port : () 2024-09-17 09:47:43,559 - DEBUG - VN 35212dbc-93da-46cb-b57d-f7d18f508a63 still in use: Unable to complete operation on network 35212dbc-93da-46cb-b57d-f7d18f508a63. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-3d47ee69-db61-4607-b4a8-761ced81cf5a'] 2024-09-17 09:47:43,559 - WARNING - Deleting VN ctest-vn-14262396 failed..Will retry 2024-09-17 09:47:45,752 - DEBUG - Response for deleting network () 2024-09-17 09:47:45,752 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/92bfcd97-7780-4b81-bd3e-615d46d8828d 2024-09-17 09:47:45,760 - DEBUG - Response Code: 404 2024-09-17 09:47:45,760 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2024-09-17 09:47:45,766 - DEBUG - Requesting: http://10.0.0.50:8082/domain/e8c725f2-8cab-46f6-a25b-d47fe88fcda8 2024-09-17 09:47:45,827 - DEBUG - Requesting: http://10.0.0.50:8082/project/286b6577-5e04-4c43-9726-35e64cfcc1d3 2024-09-17 09:47:45,919 - INFO - Validated that VN ctest-vn-14262396 is not found in API Server 2024-09-17 09:47:45,935 - DEBUG - VN ctest-vn-14262396 is not present in Agent 10.0.0.50 2024-09-17 09:47:45,935 - INFO - Validated that VN ctest-vn-14262396 is not in any agent 2024-09-17 09:47:45,943 - DEBUG - VRF 2 is not seen in agent 10.0.0.50 2024-09-17 09:47:45,950 - DEBUG - Vrouter 10.0.0.50 does not have vrf 2 for VN ctest-vn-14262396 2024-09-17 09:47:45,950 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-33405151:ctest-vn-14262396 2024-09-17 09:47:45,963 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-14262396 info 2024-09-17 09:47:46,069 - INFO - IPAM: ctest-ipam-08248398 is not found in API Server 2024-09-17 09:47:46,089 - INFO - IPAM:ctest-ipam-08248398 is not found in control node 2024-09-17 09:47:46,359 - DEBUG - No XMPP flaps were noticed during the test
2024-09-17 09:47:46,359 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:45]
2024-09-17 09:47:46,359 - INFO - -------------------------------------------------------------------------------- 2024-09-17 09:47:47,160 - INFO - Deleted project: ctest-TestBasicVMVN-33405151, ID : 286b6577-5e04-4c43-9726-35e64cfcc1d3