2024-09-13 14:01:20,806 - INFO - Domain Default found not creating 2024-09-13 14:01:21,027 - INFO - Project ctest-TestBasicVMVN-01144304 not found, creating it 2024-09-13 14:01:21,641 - INFO - Created Project:ctest-TestBasicVMVN-01144304, ID : 65a171f1-1093-45d0-8fee-29bb3f01b285 2024-09-13 14:01:23,519 - INFO - ================================================================================ 2024-09-13 14:01:23,519 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-13 14:01:23,519 - 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:01:23,781 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.17': '0'}} with 2024-09-13 14:01:23,781 - INFO - Initial checks done. Running the testcase now 2024-09-13 14:01:23,781 - INFO - 2024-09-13 14:01:24,442 - DEBUG - Response for create_network : {'network': {'id': '68c6777b-4312-4780-a90f-afb2588adc86', 'name': 'ctest-vn2_metadata-57366725', 'tenant_id': '65a171f1109345d08fee29bb3f01b285', 'project_id': '65a171f1109345d08fee29bb3f01b285', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-01144304', 'ctest-vn2_metadata-57366725'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 14:01:24,650 - DEBUG - Response for create_subnet : {'subnet': {'id': 'da35cfa0-7d78-4e59-8e2e-03952cbbb47e', 'name': '', 'tenant_id': '65a171f1109345d08fee29bb3f01b285', 'network_id': '68c6777b-4312-4780-a90f-afb2588adc86', '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': '65a171f1109345d08fee29bb3f01b285'}} 2024-09-13 14:01:24,673 - INFO - Created VN ctest-vn2_metadata-57366725 2024-09-13 14:01:24,735 - DEBUG - VN ctest-vn2_metadata-57366725 UUID is 68c6777b-4312-4780-a90f-afb2588adc86 2024-09-13 14:01:24,945 - DEBUG - Services list from nova: [, , ] 2024-09-13 14:01:26,263 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 14:01:26,374 - DEBUG - Link local service introspect added 2024-09-13 14:01:26,424 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-13 14:01:31,517 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:01:31,657 - INFO - Waiting for VM ctest-TestBasicVMVN-01144304-75291165 to be up.. 2024-09-13 14:01:31,657 - INFO - VM name : ctest-TestBasicVMVN-01144304-75291165 2024-09-13 14:01:31,754 - DEBUG - VM ctest-TestBasicVMVN-01144304-75291165 ID is a5b278dd-2b8b-4072-b430-22d1be619593 2024-09-13 14:01:31,754 - DEBUG - VM ctest-TestBasicVMVN-01144304-75291165 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 14:01:31,865 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a5b278dd-2b8b-4072-b430-22d1be619593 2024-09-13 14:01:32,209 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/a5b278dd-2b8b-4072-b430-22d1be619593 2024-09-13 14:01:32,252 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/c1c44943-0a4e-4749-b512-9f5670d8ce5f 2024-09-13 14:01:35,517 - 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-13 14:01:35,517 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-01144304-75291165 failed! 2024-09-13 14:01:35,578 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-01144304:ctest-vn2_metadata-57366725 is 11.1.1.1 and allocation pool is NOT set 2024-09-13 14:01:37,643 - 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=16.3 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.90 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 = 2.896/9.601/16.306/6.705 ms') 2024-09-13 14:01:37,644 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-01144304-75291165 passed 2024-09-13 14:01:37,811 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:01:37,811 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-01144304-75291165, IP 11.1.1.3, Port 22 2024-09-13 14:01:37,866 - 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:01:37,959 - DEBUG - VM ctest-TestBasicVMVN-01144304-75291165 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-13 14:01:42,960 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:01:42,960 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-01144304-75291165, IP 11.1.1.3, Port 22 2024-09-13 14:01:43,119 - DEBUG - VM ctest-TestBasicVMVN-01144304-75291165 is ready for SSH connections 2024-09-13 14:01:43,119 - INFO - Retry 0 2024-09-13 14:01:43,119 - DEBUG - Running remote_cmd, Cmd : wget http://169.254.1.2:8083 --spider && echo "Successful", host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:01:43,119 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-13 14:01:44,767 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-09-13 14:01:44,767 - INFO - Generic metadata worked 2024-09-13 14:01:45,030 - DEBUG - Link local service introspect removed 2024-09-13 14:01:45,030 - INFO - Deleting VM ctest-TestBasicVMVN-01144304-75291165 2024-09-13 14:01:45,101 - INFO - Deleting VN ctest-vn2_metadata-57366725 2024-09-13 14:01:45,153 - DEBUG - VN 68c6777b-4312-4780-a90f-afb2588adc86 still in use: Unable to complete operation on network 68c6777b-4312-4780-a90f-afb2588adc86. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-11a4c24b-b11d-46c1-8f00-58f940b59efe'] 2024-09-13 14:01:45,153 - WARNING - Deleting VN ctest-vn2_metadata-57366725 failed..Will retry 2024-09-13 14:01:47,280 - DEBUG - Response for deleting network () 2024-09-13 14:01:47,537 - DEBUG - No XMPP flaps were noticed during the test 2024-09-13 14:01:47,537 - INFO - -------------------------------------------------------------------------------- 2024-09-13 14:01:47,540 - INFO - ================================================================================ 2024-09-13 14:01:47,540 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-13 14:01:47,540 - 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:01:47,840 - DEBUG - Nothing to compare xmpp stats {'10.0.0.29': {'10.20.0.17': '0'}} with 2024-09-13 14:01:47,840 - INFO - Initial checks done. Running the testcase now 2024-09-13 14:01:47,840 - INFO - 2024-09-13 14:01:48,387 - DEBUG - Response for create_network : {'network': {'id': '67a08374-e6e5-4b1e-a12c-3e5a394140eb', 'name': 'ctest-vn-50863409', 'tenant_id': '65a171f1109345d08fee29bb3f01b285', 'project_id': '65a171f1109345d08fee29bb3f01b285', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-01144304', 'ctest-vn-50863409'], 'port_security_enabled': True, 'description': ''}} 2024-09-13 14:01:48,620 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f218211e-0737-4021-91e2-0d2cff0b2ff6', 'name': '', 'tenant_id': '65a171f1109345d08fee29bb3f01b285', 'network_id': '67a08374-e6e5-4b1e-a12c-3e5a394140eb', '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': '65a171f1109345d08fee29bb3f01b285'}} 2024-09-13 14:01:48,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '9b369232-bb4a-46aa-bb06-24e120f5a014', 'name': '', 'tenant_id': '65a171f1109345d08fee29bb3f01b285', 'network_id': '67a08374-e6e5-4b1e-a12c-3e5a394140eb', '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': '65a171f1109345d08fee29bb3f01b285'}} 2024-09-13 14:01:48,887 - INFO - Created VN ctest-vn-50863409 2024-09-13 14:01:48,955 - DEBUG - VN ctest-vn-50863409 UUID is 67a08374-e6e5-4b1e-a12c-3e5a394140eb 2024-09-13 14:01:49,422 - DEBUG - Response for create_port : {'port': {'name': '36887b94-1053-4209-bb63-40185dd6844d', 'id': '36887b94-1053-4209-bb63-40185dd6844d', 'tenant_id': '65a171f1109345d08fee29bb3f01b285', 'network_id': '67a08374-e6e5-4b1e-a12c-3e5a394140eb', 'mac_address': '02:36:88:7b:94:10', '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': 'f218211e-0737-4021-91e2-0d2cff0b2ff6'}], 'security_groups': ['41186012-30d6-4f3c-a9b1-d68551fcf639'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65a171f1109345d08fee29bb3f01b285'}} 2024-09-13 14:01:49,632 - DEBUG - Response for create_port : {'port': {'name': 'd434fdcc-ffb0-460d-9200-5cb12d7e542d', 'id': 'd434fdcc-ffb0-460d-9200-5cb12d7e542d', 'tenant_id': '65a171f1109345d08fee29bb3f01b285', 'network_id': '67a08374-e6e5-4b1e-a12c-3e5a394140eb', 'mac_address': '02:d4:34:fd:cc:ff', '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': '9b369232-bb4a-46aa-bb06-24e120f5a014'}], 'security_groups': ['41186012-30d6-4f3c-a9b1-d68551fcf639'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '65a171f1109345d08fee29bb3f01b285'}} 2024-09-13 14:01:50,116 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 14:01:50,622 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 14:01:52,286 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1920-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1920-1) 2024-09-13 14:01:52,286 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-13 14:01:52,299 - DEBUG - Requesting: http://10.0.0.29:8082/domain/8200055e-d9da-4c53-a090-2aadd3fa6642 2024-09-13 14:01:52,320 - DEBUG - Requesting: http://10.0.0.29:8082/project/65a171f1-1093-45d0-8fee-29bb3f01b285 2024-09-13 14:01:52,418 - DEBUG - Requesting: http://10.0.0.29:8082/network-ipam/215ea7d3-8d19-401a-ac64-638f4e993305 2024-09-13 14:01:52,436 - INFO - Verifications in API Server for IPAM: ctest-ipam-02388266 passed 2024-09-13 14:01:52,446 - DEBUG - Control-node 10.0.0.29 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-01144304:ctest-ipam-02388266', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-01144304', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2404543778109603866', 'uuid-lslong': '12422163139344806661'}, 'enable': 'true', 'created': '2024-09-13T14:01:47', 'last-modified': '2024-09-13T14:01:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.361529'} 2024-09-13 14:01:52,446 - INFO - Verifications in Control node for IPAM: ctest-ipam-02388266 passed 2024-09-13 14:01:52,447 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-13 14:01:52,459 - DEBUG - Requesting: http://10.0.0.29:8082/domain/8200055e-d9da-4c53-a090-2aadd3fa6642 2024-09-13 14:01:52,478 - DEBUG - Requesting: http://10.0.0.29:8082/project/65a171f1-1093-45d0-8fee-29bb3f01b285 2024-09-13 14:01:52,587 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/67a08374-e6e5-4b1e-a12c-3e5a394140eb 2024-09-13 14:01:52,618 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/67a08374-e6e5-4b1e-a12c-3e5a394140eb 2024-09-13 14:01:52,645 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a9f4e376-cc9a-404a-9f9b-323d72645f17 2024-09-13 14:01:52,659 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a9f4e376-cc9a-404a-9f9b-323d72645f17 2024-09-13 14:01:52,683 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3569bfe9-471c-4bdd-a869-ac3f1827cf14 2024-09-13 14:01:52,704 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 14:01:52,704 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/67a08374-e6e5-4b1e-a12c-3e5a394140eb 2024-09-13 14:01:52,734 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a9f4e376-cc9a-404a-9f9b-323d72645f17 2024-09-13 14:01:52,792 - INFO - Verified VN network id 9 for VN 67a08374-e6e5-4b1e-a12c-3e5a394140eb 2024-09-13 14:01:52,792 - INFO - Verifications in API Server for VN ctest-vn-50863409 passed 2024-09-13 14:01:52,792 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/67a08374-e6e5-4b1e-a12c-3e5a394140eb 2024-09-13 14:01:52,828 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a9f4e376-cc9a-404a-9f9b-323d72645f17 2024-09-13 14:01:52,850 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a9f4e376-cc9a-404a-9f9b-323d72645f17 2024-09-13 14:01:52,881 - DEBUG - Requesting: http://10.0.0.29:8082/route-target/3569bfe9-471c-4bdd-a869-ac3f1827cf14 2024-09-13 14:01:52,915 - DEBUG - Control-node 10.0.0.29 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-01144304', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7467112720293514014', 'uuid-lslong': '11613726096310223083'}, 'enable': 'true', 'created': '2024-09-13T14:01:48', 'last-modified': '2024-09-13T14:01:48', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.094242'} 2024-09-13 14:01:52,928 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-13 14:01:52,929 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-50863409 passed 2024-09-13 14:01:52,929 - DEBUG - ====Verifying policy data for ctest-vn-50863409 in API_Server ====== 2024-09-13 14:01:52,929 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-13 14:01:52,943 - DEBUG - Requesting: http://10.0.0.29:8082/domain/8200055e-d9da-4c53-a090-2aadd3fa6642 2024-09-13 14:01:52,997 - DEBUG - Requesting: http://10.0.0.29:8082/project/65a171f1-1093-45d0-8fee-29bb3f01b285 2024-09-13 14:01:53,112 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-network/67a08374-e6e5-4b1e-a12c-3e5a394140eb 2024-09-13 14:01:53,143 - DEBUG - =>VN ctest-vn-50863409 has no policy to be verified 2024-09-13 14:01:53,143 - DEBUG - Verifying the vn in opserver 2024-09-13 14:01:53,143 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409 virtual network link through opserver 10.0.0.29 2024-09-13 14:01:53,143 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-13 14:01:53,563 - DEBUG - Requesting: http://10.0.0.29:8081/analytics/uves/virtual-networks 2024-09-13 14:01:53,647 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409', 'href': 'http://10.0.0.29:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409?flat'} 2024-09-13 14:01:53,647 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409 is found in opserver 2024-09-13 14:01:53,657 - DEBUG - VRF ids for VN ctest-vn-50863409: {'10.0.0.29': '2'} 2024-09-13 14:01:53,657 - INFO - Waiting for VM ctest-TestBasicVMVN-01144304-19571199 to be up.. 2024-09-13 14:01:53,797 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:01:53,797 - INFO - VM name : ctest-TestBasicVMVN-01144304-19571199 2024-09-13 14:01:53,942 - DEBUG - VM ctest-TestBasicVMVN-01144304-19571199 ID is 54f1cccd-c741-48cc-88f2-565a0c383581 2024-09-13 14:01:53,942 - DEBUG - VM ctest-TestBasicVMVN-01144304-19571199 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 14:01:54,068 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/54f1cccd-c741-48cc-88f2-565a0c383581 2024-09-13 14:01:54,080 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/36887b94-1053-4209-bb63-40185dd6844d 2024-09-13 14:01:57,368 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1014ms') 2024-09-13 14:01:57,368 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-01144304-19571199 failed! 2024-09-13 14:01:57,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409 is 31.1.1.1 and allocation pool is NOT set 2024-09-13 14:01:57,431 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409 is 31.1.2.1 and allocation pool is NOT set 2024-09-13 14:02:01,497 - 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-13 14:02:01,497 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-01144304-19571199 failed! 2024-09-13 14:02:01,567 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409 is 31.1.1.1 and allocation pool is NOT set 2024-09-13 14:02:01,567 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409 is 31.1.2.1 and allocation pool is NOT set 2024-09-13 14:02:03,636 - 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.03 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.32 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 = 3.323/4.176/5.029/0.853 ms') 2024-09-13 14:02:03,636 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-01144304-19571199 passed 2024-09-13 14:02:03,835 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:03,835 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-01144304-19571199, IP 31.1.1.4, Port 22 2024-09-13 14:02:03,913 - 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:02:04,097 - DEBUG - VM ctest-TestBasicVMVN-01144304-19571199 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-13 14:02:09,098 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:09,098 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-01144304-19571199, IP 31.1.1.4, Port 22 2024-09-13 14:02:09,254 - DEBUG - VM ctest-TestBasicVMVN-01144304-19571199 is ready for SSH connections 2024-09-13 14:02:09,255 - INFO - Waiting for VM ctest-TestBasicVMVN-01144304-79136448 to be up.. 2024-09-13 14:02:09,350 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:02:09,350 - INFO - VM name : ctest-TestBasicVMVN-01144304-79136448 2024-09-13 14:02:09,439 - DEBUG - VM ctest-TestBasicVMVN-01144304-79136448 ID is 9bc173b6-a117-40c8-bb61-f3b0d5de4f22 2024-09-13 14:02:09,439 - DEBUG - VM ctest-TestBasicVMVN-01144304-79136448 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 14:02:09,527 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/9bc173b6-a117-40c8-bb61-f3b0d5de4f22 2024-09-13 14:02:09,541 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/d434fdcc-ffb0-460d-9200-5cb12d7e542d 2024-09-13 14:02:10,804 - 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.21 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.448 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.448/1.828/3.208/1.380 ms') 2024-09-13 14:02:10,804 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-01144304-79136448 passed 2024-09-13 14:02:10,963 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:10,963 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-01144304-79136448, IP 31.1.2.4, Port 22 2024-09-13 14:02:11,122 - DEBUG - VM ctest-TestBasicVMVN-01144304-79136448 is ready for SSH connections 2024-09-13 14:02:11,122 - INFO - Waiting for VM ctest-TestBasicVMVN-01144304-71206977 to be up.. 2024-09-13 14:02:11,219 - DEBUG - VM is in ACTIVE state now 2024-09-13 14:02:11,219 - INFO - VM name : ctest-TestBasicVMVN-01144304-71206977 2024-09-13 14:02:11,306 - DEBUG - VM ctest-TestBasicVMVN-01144304-71206977 ID is 4dac3494-f5de-4297-8cd0-e53b2261a75b 2024-09-13 14:02:11,306 - DEBUG - VM ctest-TestBasicVMVN-01144304-71206977 launched on Node cn-jenkins-deploy-platform-ansible-os-1920-1 2024-09-13 14:02:11,389 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine/4dac3494-f5de-4297-8cd0-e53b2261a75b 2024-09-13 14:02:11,402 - DEBUG - Requesting: http://10.0.0.29:8082/virtual-machine-interface/5d896231-acca-4c91-8210-85a07f1fd637 2024-09-13 14:02:12,659 - 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.45 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.706 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.706/2.076/3.447/1.370 ms') 2024-09-13 14:02:12,659 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-01144304-71206977 passed 2024-09-13 14:02:12,819 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:12,819 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-01144304-71206977, IP 31.1.1.3, Port 22 2024-09-13 14:02:12,974 - DEBUG - VM ctest-TestBasicVMVN-01144304-71206977 is ready for SSH connections 2024-09-13 14:02:12,974 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:12,974 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.2.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:12,974 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-13 14:02:17,073 - 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.900 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.816 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.941 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.816/1.885/3.900 ms 2024-09-13 14:02:17,073 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-01144304-19571199 passed 2024-09-13 14:02:17,073 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:17,074 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:17,074 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-13 14:02:20,792 - 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.472 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.895 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.223 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.895/1.863/3.472 ms 2024-09-13 14:02:20,792 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-01144304-79136448 passed 2024-09-13 14:02:20,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:20,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:20,793 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-13 14:02:20,793 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:20,793 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-13 14:02:21,006 - DEBUG - None 2024-09-13 14:02:21,006 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:21,006 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-13 14:02:21,218 - DEBUG - None 2024-09-13 14:02:21,218 - DEBUG - Running remote_cmd, Cmd : echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts, host_string: cirros@169.254.0.5, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:21,218 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-13 14:02:21,900 - DEBUG - None 2024-09-13 14:02:21,900 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.7, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:21,900 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-13 14:02:24,156 - 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.108 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.330 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.487 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.108 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.445 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.445/2.295/6.330 ms 2024-09-13 14:02:24,156 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 224.0.0.1, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:24,156 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-13 14:02:26,425 - 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.356 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.738 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.151 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.512 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.810 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.647 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.530 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.512/2.249/5.151 ms 2024-09-13 14:02:26,425 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 255.255.255.255, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.29, gateway password: c0ntrail123 2024-09-13 14:02:26,425 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-13 14:02:28,681 - 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.724 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.014 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.952 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.722 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.596 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=3.761 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.460 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.460/2.175/3.952 ms 2024-09-13 14:02:28,681 - INFO - Deleting VM ctest-TestBasicVMVN-01144304-71206977 2024-09-13 14:02:28,757 - INFO - Detaching port d434fdcc-ffb0-460d-9200-5cb12d7e542d from VM ctest-TestBasicVMVN-01144304-79136448 2024-09-13 14:02:28,818 - INFO - Deleting VM ctest-TestBasicVMVN-01144304-79136448 2024-09-13 14:02:28,958 - INFO - Detaching port 36887b94-1053-4209-bb63-40185dd6844d from VM ctest-TestBasicVMVN-01144304-19571199 2024-09-13 14:02:29,004 - INFO - Deleting VM ctest-TestBasicVMVN-01144304-19571199 2024-09-13 14:02:29,080 - INFO - Deleting VN ctest-vn-50863409 2024-09-13 14:02:29,440 - DEBUG - Response for delete_port : () 2024-09-13 14:02:29,728 - DEBUG - Response for delete_port : () 2024-09-13 14:02:29,960 - DEBUG - Response for deleting network () 2024-09-13 14:02:29,960 - DEBUG - Requesting: http://10.0.0.29:8082/routing-instance/a9f4e376-cc9a-404a-9f9b-323d72645f17 2024-09-13 14:02:29,972 - DEBUG - Response Code: 404 2024-09-13 14:02:29,972 - DEBUG - Requesting: http://10.0.0.29:8082/domains 2024-09-13 14:02:29,984 - DEBUG - Requesting: http://10.0.0.29:8082/domain/8200055e-d9da-4c53-a090-2aadd3fa6642 2024-09-13 14:02:30,013 - DEBUG - Requesting: http://10.0.0.29:8082/project/65a171f1-1093-45d0-8fee-29bb3f01b285 2024-09-13 14:02:30,113 - INFO - Validated that VN ctest-vn-50863409 is not found in API Server 2024-09-13 14:02:30,127 - DEBUG - VN ctest-vn-50863409 is not present in Agent 10.0.0.29 2024-09-13 14:02:30,128 - INFO - Validated that VN ctest-vn-50863409 is not in any agent 2024-09-13 14:02:30,136 - DEBUG - VRF 2 is not seen in agent 10.0.0.29 2024-09-13 14:02:30,143 - DEBUG - Vrouter 10.0.0.29 does not have vrf 2 for VN ctest-vn-50863409 2024-09-13 14:02:30,143 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-01144304:ctest-vn-50863409 2024-09-13 14:02:30,155 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-50863409 info 2024-09-13 14:02:30,242 - INFO - IPAM: ctest-ipam-02388266 is not found in API Server 2024-09-13 14:02:30,255 - INFO - IPAM:ctest-ipam-02388266 is not found in control node 2024-09-13 14:02:30,510 - DEBUG - No XMPP flaps were noticed during the test
2024-09-13 14:02:30,510 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:43]
2024-09-13 14:02:30,510 - INFO - -------------------------------------------------------------------------------- 2024-09-13 14:02:31,289 - INFO - Deleted project: ctest-TestBasicVMVN-01144304, ID : 65a171f1-1093-45d0-8fee-29bb3f01b285