2024-11-10 15:35:50,569 - INFO - Domain Default found not creating 2024-11-10 15:35:50,763 - INFO - Project ctest-TestBasicVMVN-87391737 not found, creating it 2024-11-10 15:35:51,253 - INFO - Created Project:ctest-TestBasicVMVN-87391737, ID : d66d71ac-8833-4e7c-9be2-6579a988046f 2024-11-10 15:35:52,887 - INFO - ================================================================================ 2024-11-10 15:35:52,888 - INFO - STARTING TEST : test_generic_link_local_service 2024-11-10 15:35:52,888 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2024-11-10 15:35:53,147 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.13': '0'}} with 2024-11-10 15:35:53,148 - INFO - Initial checks done. Running the testcase now 2024-11-10 15:35:53,148 - INFO - 2024-11-10 15:35:53,743 - DEBUG - Response for create_network : {'network': {'id': '535f72db-0bc0-4af4-ae89-32b688b16619', 'name': 'ctest-vn2_metadata-34808322', 'tenant_id': 'd66d71ac88334e7c9be26579a988046f', 'project_id': 'd66d71ac88334e7c9be26579a988046f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-87391737', 'ctest-vn2_metadata-34808322'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 15:35:53,909 - DEBUG - Response for create_subnet : {'subnet': {'id': 'aaa6b9cf-80c1-4e79-8919-42098469cadf', 'name': '', 'tenant_id': 'd66d71ac88334e7c9be26579a988046f', 'network_id': '535f72db-0bc0-4af4-ae89-32b688b16619', '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': 'd66d71ac88334e7c9be26579a988046f'}} 2024-11-10 15:35:53,930 - INFO - Created VN ctest-vn2_metadata-34808322 2024-11-10 15:35:53,989 - DEBUG - VN ctest-vn2_metadata-34808322 UUID is 535f72db-0bc0-4af4-ae89-32b688b16619 2024-11-10 15:35:54,205 - DEBUG - Services list from nova: [, , ] 2024-11-10 15:35:55,282 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2252-1) 2024-11-10 15:35:55,389 - DEBUG - Link local service introspect added 2024-11-10 15:35:55,434 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:00,523 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:05,622 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:10,708 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:36:10,847 - INFO - Waiting for VM ctest-TestBasicVMVN-87391737-21535626 to be up.. 2024-11-10 15:36:10,847 - INFO - VM name : ctest-TestBasicVMVN-87391737-21535626 2024-11-10 15:36:10,940 - DEBUG - VM ctest-TestBasicVMVN-87391737-21535626 ID is 4e932029-0f73-4901-87d2-cb2ebf6e120f 2024-11-10 15:36:10,940 - DEBUG - VM ctest-TestBasicVMVN-87391737-21535626 launched on Node cn-jenkins-deploy-platform-ansible-os-2252-1 2024-11-10 15:36:11,029 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/4e932029-0f73-4901-87d2-cb2ebf6e120f 2024-11-10 15:36:11,325 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/4e932029-0f73-4901-87d2-cb2ebf6e120f 2024-11-10 15:36:11,361 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/233323af-09b1-4234-94b5-74550b086f94 2024-11-10 15:36:14,635 - 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 1027ms') 2024-11-10 15:36:14,635 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-87391737-21535626 failed! 2024-11-10 15:36:14,697 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-87391737:ctest-vn2_metadata-34808322 is 11.1.1.1 and allocation pool is NOT set 2024-11-10 15:36:16,755 - 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=7.26 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.923 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 = 0.923/4.091/7.260/3.168 ms') 2024-11-10 15:36:16,755 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-87391737-21535626 passed 2024-11-10 15:36:16,909 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:36:16,909 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-87391737-21535626, IP 11.1.1.3, Port 22 2024-11-10 15:36:16,976 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-11-10 15:36:17,082 - DEBUG - VM ctest-TestBasicVMVN-87391737-21535626 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 15:36:22,083 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:36:22,083 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-87391737-21535626, IP 11.1.1.3, Port 22 2024-11-10 15:36:22,241 - DEBUG - VM ctest-TestBasicVMVN-87391737-21535626 is ready for SSH connections 2024-11-10 15:36:22,241 - INFO - Retry 0 2024-11-10 15:36:22,241 - 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.44, gateway password: c0ntrail123 2024-11-10 15:36:22,241 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-11-10 15:36:24,165 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-11-10 15:36:24,165 - INFO - Generic metadata worked 2024-11-10 15:36:24,421 - DEBUG - Link local service introspect removed 2024-11-10 15:36:24,421 - INFO - Deleting VM ctest-TestBasicVMVN-87391737-21535626 2024-11-10 15:36:24,492 - INFO - Deleting VN ctest-vn2_metadata-34808322 2024-11-10 15:36:24,553 - DEBUG - VN 535f72db-0bc0-4af4-ae89-32b688b16619 still in use: Unable to complete operation on network 535f72db-0bc0-4af4-ae89-32b688b16619. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-799bd2b3-7a97-416d-aa28-6f37e324ac87'] 2024-11-10 15:36:24,553 - WARNING - Deleting VN ctest-vn2_metadata-34808322 failed..Will retry 2024-11-10 15:36:26,738 - DEBUG - Response for deleting network () 2024-11-10 15:36:27,012 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 15:36:27,012 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:35] 2024-11-10 15:36:27,012 - INFO - -------------------------------------------------------------------------------- 2024-11-10 15:36:27,015 - INFO - ================================================================================ 2024-11-10 15:36:27,015 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-11-10 15:36:27,015 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2024-11-10 15:36:27,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.44': {'10.20.0.13': '0'}} with 2024-11-10 15:36:27,302 - INFO - Initial checks done. Running the testcase now 2024-11-10 15:36:27,302 - INFO - 2024-11-10 15:36:27,837 - DEBUG - Response for create_network : {'network': {'id': 'ee9090b0-fddb-4d4f-aeff-043aa4c69b40', 'name': 'ctest-vn-60838974', 'tenant_id': 'd66d71ac88334e7c9be26579a988046f', 'project_id': 'd66d71ac88334e7c9be26579a988046f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-87391737', 'ctest-vn-60838974'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 15:36:28,088 - DEBUG - Response for create_subnet : {'subnet': {'id': '3159dc20-4af9-409f-84d9-4eb69eab86de', 'name': '', 'tenant_id': 'd66d71ac88334e7c9be26579a988046f', 'network_id': 'ee9090b0-fddb-4d4f-aeff-043aa4c69b40', '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': 'd66d71ac88334e7c9be26579a988046f'}} 2024-11-10 15:36:28,310 - DEBUG - Response for create_subnet : {'subnet': {'id': '48845f86-2446-4eb5-bffb-fd47703b2da6', 'name': '', 'tenant_id': 'd66d71ac88334e7c9be26579a988046f', 'network_id': 'ee9090b0-fddb-4d4f-aeff-043aa4c69b40', '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': 'd66d71ac88334e7c9be26579a988046f'}} 2024-11-10 15:36:28,333 - INFO - Created VN ctest-vn-60838974 2024-11-10 15:36:28,393 - DEBUG - VN ctest-vn-60838974 UUID is ee9090b0-fddb-4d4f-aeff-043aa4c69b40 2024-11-10 15:36:28,830 - DEBUG - Response for create_port : {'port': {'name': '02220da1-7ffa-4d33-b620-c7a181bcbb1a', 'id': '02220da1-7ffa-4d33-b620-c7a181bcbb1a', 'tenant_id': 'd66d71ac88334e7c9be26579a988046f', 'network_id': 'ee9090b0-fddb-4d4f-aeff-043aa4c69b40', 'mac_address': '02:02:22:0d:a1:7f', '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': '3159dc20-4af9-409f-84d9-4eb69eab86de'}], 'security_groups': ['ca08edfa-bbba-41ae-b2d1-391e537eafc2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd66d71ac88334e7c9be26579a988046f'}} 2024-11-10 15:36:29,024 - DEBUG - Response for create_port : {'port': {'name': '540008f5-2bb2-4680-9e72-88f8084d88dc', 'id': '540008f5-2bb2-4680-9e72-88f8084d88dc', 'tenant_id': 'd66d71ac88334e7c9be26579a988046f', 'network_id': 'ee9090b0-fddb-4d4f-aeff-043aa4c69b40', 'mac_address': '02:54:00:08:f5:2b', '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': '48845f86-2446-4eb5-bffb-fd47703b2da6'}], 'security_groups': ['ca08edfa-bbba-41ae-b2d1-391e537eafc2'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'd66d71ac88334e7c9be26579a988046f'}} 2024-11-10 15:36:29,432 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2252-1) 2024-11-10 15:36:29,893 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2252-1) 2024-11-10 15:36:31,351 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2252-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2252-1) 2024-11-10 15:36:31,351 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 15:36:31,364 - DEBUG - Requesting: http://10.0.0.44:8082/domain/8c13010a-08b1-4617-a896-cb065aae533a 2024-11-10 15:36:31,382 - DEBUG - Requesting: http://10.0.0.44:8082/project/d66d71ac-8833-4e7c-9be2-6579a988046f 2024-11-10 15:36:31,482 - DEBUG - Requesting: http://10.0.0.44:8082/network-ipam/3bc49d70-8e17-4b0f-b646-1ab611a23f2f 2024-11-10 15:36:31,495 - INFO - Verifications in API Server for IPAM: ctest-ipam-93877819 passed 2024-11-10 15:36:31,506 - DEBUG - Control-node 10.0.0.44 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-87391737:ctest-ipam-93877819', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-87391737', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4306740250418825999', 'uuid-lslong': '13134214732554845999'}, 'enable': 'true', 'created': '2024-11-10T15:36:27', 'last-modified': '2024-11-10T15:36:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.970049'} 2024-11-10 15:36:31,506 - INFO - Verifications in Control node for IPAM: ctest-ipam-93877819 passed 2024-11-10 15:36:31,507 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 15:36:31,520 - DEBUG - Requesting: http://10.0.0.44:8082/domain/8c13010a-08b1-4617-a896-cb065aae533a 2024-11-10 15:36:31,536 - DEBUG - Requesting: http://10.0.0.44:8082/project/d66d71ac-8833-4e7c-9be2-6579a988046f 2024-11-10 15:36:31,635 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/ee9090b0-fddb-4d4f-aeff-043aa4c69b40 2024-11-10 15:36:31,653 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/ee9090b0-fddb-4d4f-aeff-043aa4c69b40 2024-11-10 15:36:31,671 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/8c7181a7-f4ff-4fee-b9c5-b2ac604f0a35 2024-11-10 15:36:31,684 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/8c7181a7-f4ff-4fee-b9c5-b2ac604f0a35 2024-11-10 15:36:31,694 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/2826b06c-e8fd-4d19-906b-ecaaf4da112b 2024-11-10 15:36:31,710 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 15:36:31,710 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/ee9090b0-fddb-4d4f-aeff-043aa4c69b40 2024-11-10 15:36:31,730 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/8c7181a7-f4ff-4fee-b9c5-b2ac604f0a35 2024-11-10 15:36:31,757 - INFO - Verified VN network id 7 for VN ee9090b0-fddb-4d4f-aeff-043aa4c69b40 2024-11-10 15:36:31,757 - INFO - Verifications in API Server for VN ctest-vn-60838974 passed 2024-11-10 15:36:31,757 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/ee9090b0-fddb-4d4f-aeff-043aa4c69b40 2024-11-10 15:36:31,774 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/8c7181a7-f4ff-4fee-b9c5-b2ac604f0a35 2024-11-10 15:36:31,791 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/8c7181a7-f4ff-4fee-b9c5-b2ac604f0a35 2024-11-10 15:36:31,804 - DEBUG - Requesting: http://10.0.0.44:8082/route-target/2826b06c-e8fd-4d19-906b-ecaaf4da112b 2024-11-10 15:36:31,827 - DEBUG - Control-node 10.0.0.44 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-87391737', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17190398867520834895', 'uuid-lslong': '12609802131579771712'}, 'enable': 'true', 'created': '2024-11-10T15:36:27', 'last-modified': '2024-11-10T15:36:28', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.556511'} 2024-11-10 15:36:31,849 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 15:36:31,849 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60838974 passed 2024-11-10 15:36:31,850 - DEBUG - ====Verifying policy data for ctest-vn-60838974 in API_Server ====== 2024-11-10 15:36:31,850 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 15:36:31,858 - DEBUG - Requesting: http://10.0.0.44:8082/domain/8c13010a-08b1-4617-a896-cb065aae533a 2024-11-10 15:36:31,886 - DEBUG - Requesting: http://10.0.0.44:8082/project/d66d71ac-8833-4e7c-9be2-6579a988046f 2024-11-10 15:36:32,039 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-network/ee9090b0-fddb-4d4f-aeff-043aa4c69b40 2024-11-10 15:36:32,092 - DEBUG - =>VN ctest-vn-60838974 has no policy to be verified 2024-11-10 15:36:32,092 - DEBUG - Verifying the vn in opserver 2024-11-10 15:36:32,092 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974 virtual network link through opserver 10.0.0.44 2024-11-10 15:36:32,092 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-11-10 15:36:32,469 - DEBUG - Requesting: http://10.0.0.44:8081/analytics/uves/virtual-networks 2024-11-10 15:36:32,541 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974', 'href': 'http://10.0.0.44:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974?flat'} 2024-11-10 15:36:32,541 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974 is found in opserver 2024-11-10 15:36:32,547 - DEBUG - VRF ids for VN ctest-vn-60838974: {'10.0.0.44': '2'} 2024-11-10 15:36:32,547 - INFO - Waiting for VM ctest-TestBasicVMVN-87391737-52428133 to be up.. 2024-11-10 15:36:32,665 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:37,754 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:42,849 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:47,953 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:53,051 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:36:58,160 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 15:37:03,248 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:37:03,249 - INFO - VM name : ctest-TestBasicVMVN-87391737-52428133 2024-11-10 15:37:03,374 - DEBUG - VM ctest-TestBasicVMVN-87391737-52428133 ID is e9aa6330-2fc7-4a36-98ef-af6fc1c03422 2024-11-10 15:37:03,374 - DEBUG - VM ctest-TestBasicVMVN-87391737-52428133 launched on Node cn-jenkins-deploy-platform-ansible-os-2252-1 2024-11-10 15:37:03,471 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/e9aa6330-2fc7-4a36-98ef-af6fc1c03422 2024-11-10 15:37:03,484 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/02220da1-7ffa-4d33-b620-c7a181bcbb1a 2024-11-10 15:37:06,773 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2024-11-10 15:37:06,773 - DEBUG - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-87391737-52428133 failed! 2024-11-10 15:37:06,837 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974 is 31.1.1.1 and allocation pool is NOT set 2024-11-10 15:37:06,837 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974 is 31.1.2.1 and allocation pool is NOT set 2024-11-10 15:37:10,934 - 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=2 ttl=63 time=11.4 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1031ms\r\nrtt min/avg/max/mdev = 11.394/11.394/11.394/0.000 ms') 2024-11-10 15:37:10,934 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-87391737-52428133 passed 2024-11-10 15:37:11,101 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:11,101 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-87391737-52428133, IP 31.1.1.4, Port 22 2024-11-10 15:37:11,158 - DEBUG - Error on ssh to cirros@169.254.0.4:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.4/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.4/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.4/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-11-10 15:37:11,243 - DEBUG - VM ctest-TestBasicVMVN-87391737-52428133 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 15:37:16,244 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:16,244 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-87391737-52428133, IP 31.1.1.4, Port 22 2024-11-10 15:37:16,401 - DEBUG - VM ctest-TestBasicVMVN-87391737-52428133 is ready for SSH connections 2024-11-10 15:37:16,401 - INFO - Waiting for VM ctest-TestBasicVMVN-87391737-20090312 to be up.. 2024-11-10 15:37:16,499 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:37:16,500 - INFO - VM name : ctest-TestBasicVMVN-87391737-20090312 2024-11-10 15:37:16,595 - DEBUG - VM ctest-TestBasicVMVN-87391737-20090312 ID is 6c451c67-4aa4-42f9-8a05-0f25e9197c14 2024-11-10 15:37:16,595 - DEBUG - VM ctest-TestBasicVMVN-87391737-20090312 launched on Node cn-jenkins-deploy-platform-ansible-os-2252-1 2024-11-10 15:37:16,688 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/6c451c67-4aa4-42f9-8a05-0f25e9197c14 2024-11-10 15:37:16,698 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/540008f5-2bb2-4680-9e72-88f8084d88dc 2024-11-10 15:37:17,955 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.84 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.461 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.461/1.651/2.842/1.190 ms') 2024-11-10 15:37:17,956 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-87391737-20090312 passed 2024-11-10 15:37:18,117 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:18,117 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-87391737-20090312, IP 31.1.2.4, Port 22 2024-11-10 15:37:18,272 - DEBUG - VM ctest-TestBasicVMVN-87391737-20090312 is ready for SSH connections 2024-11-10 15:37:18,273 - INFO - Waiting for VM ctest-TestBasicVMVN-87391737-21192453 to be up.. 2024-11-10 15:37:18,355 - DEBUG - VM is in ACTIVE state now 2024-11-10 15:37:18,356 - INFO - VM name : ctest-TestBasicVMVN-87391737-21192453 2024-11-10 15:37:18,457 - DEBUG - VM ctest-TestBasicVMVN-87391737-21192453 ID is 3693e7cb-cd30-4e1e-8fbf-114b63690f33 2024-11-10 15:37:18,458 - DEBUG - VM ctest-TestBasicVMVN-87391737-21192453 launched on Node cn-jenkins-deploy-platform-ansible-os-2252-1 2024-11-10 15:37:18,576 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine/3693e7cb-cd30-4e1e-8fbf-114b63690f33 2024-11-10 15:37:18,588 - DEBUG - Requesting: http://10.0.0.44:8082/virtual-machine-interface/290caa6e-6019-48dd-aa4e-913073523852 2024-11-10 15:37:19,855 - 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.34 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.459 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.459/1.898/3.338/1.439 ms') 2024-11-10 15:37:19,856 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-87391737-21192453 passed 2024-11-10 15:37:20,021 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:20,021 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-87391737-21192453, IP 31.1.1.3, Port 22 2024-11-10 15:37:20,181 - DEBUG - VM ctest-TestBasicVMVN-87391737-21192453 is ready for SSH connections 2024-11-10 15:37:20,181 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:20,181 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.2.4, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 15:37:20,181 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-11-10 15:37:23,855 - 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.903 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.925 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.985 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.925/1.937/3.903 ms 2024-11-10 15:37:23,855 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-87391737-52428133 passed 2024-11-10 15:37:23,855 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:23,855 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.4, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 15:37:23,856 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-11-10 15:37:27,847 - 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.263 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.082 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.047 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.047/1.797/3.263 ms 2024-11-10 15:37:27,847 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-87391737-20090312 passed 2024-11-10 15:37:27,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:27,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:27,847 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 15:37:27,848 - 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.44, gateway password: c0ntrail123 2024-11-10 15:37:27,848 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 15:37:28,078 - DEBUG - None 2024-11-10 15:37:28,078 - 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.44, gateway password: c0ntrail123 2024-11-10 15:37:28,079 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 15:37:28,280 - DEBUG - None 2024-11-10 15:37:28,280 - 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.44, gateway password: c0ntrail123 2024-11-10 15:37:28,280 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 15:37:28,912 - DEBUG - None 2024-11-10 15:37:28,912 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 31.1.1.7, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 15:37:28,912 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-11-10 15:37:31,126 - 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.008 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.190 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.559 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.771 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.704 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.559/2.246/5.190 ms 2024-11-10 15:37:31,126 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 224.0.0.1, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 15:37:31,126 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-11-10 15:37:33,375 - 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.141 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.008 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.313 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.516 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.555 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.301 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.475 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.475/2.187/4.313 ms 2024-11-10 15:37:33,375 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 255.255.255.255, host_string: cirros@169.254.0.4, password: cubswin:)gateway: ubuntu@10.0.0.44, gateway password: c0ntrail123 2024-11-10 15:37:33,375 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-11-10 15:37:35,615 - 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.666 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=2.623 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.526 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.495 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.947 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.071 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.631 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.495/1.851/3.526 ms 2024-11-10 15:37:35,615 - INFO - Deleting VM ctest-TestBasicVMVN-87391737-21192453 2024-11-10 15:37:35,688 - INFO - Detaching port 540008f5-2bb2-4680-9e72-88f8084d88dc from VM ctest-TestBasicVMVN-87391737-20090312 2024-11-10 15:37:35,749 - INFO - Deleting VM ctest-TestBasicVMVN-87391737-20090312 2024-11-10 15:37:35,815 - INFO - Detaching port 02220da1-7ffa-4d33-b620-c7a181bcbb1a from VM ctest-TestBasicVMVN-87391737-52428133 2024-11-10 15:37:35,851 - INFO - Deleting VM ctest-TestBasicVMVN-87391737-52428133 2024-11-10 15:37:35,924 - INFO - Deleting VN ctest-vn-60838974 2024-11-10 15:37:36,120 - DEBUG - Response for delete_port : () 2024-11-10 15:37:36,295 - DEBUG - Response for delete_port : () 2024-11-10 15:37:36,337 - DEBUG - VN ee9090b0-fddb-4d4f-aeff-043aa4c69b40 still in use: Unable to complete operation on network ee9090b0-fddb-4d4f-aeff-043aa4c69b40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c4367d8d-eae7-44f3-93bb-cf777c45755e'] 2024-11-10 15:37:36,337 - WARNING - Deleting VN ctest-vn-60838974 failed..Will retry 2024-11-10 15:37:38,381 - DEBUG - VN ee9090b0-fddb-4d4f-aeff-043aa4c69b40 still in use: Unable to complete operation on network ee9090b0-fddb-4d4f-aeff-043aa4c69b40. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-27dfa2e2-05e9-421b-b13f-b07b739ea9de'] 2024-11-10 15:37:38,381 - WARNING - Deleting VN ctest-vn-60838974 failed..Will retry 2024-11-10 15:37:40,574 - DEBUG - Response for deleting network () 2024-11-10 15:37:40,574 - DEBUG - Requesting: http://10.0.0.44:8082/routing-instance/8c7181a7-f4ff-4fee-b9c5-b2ac604f0a35 2024-11-10 15:37:40,579 - DEBUG - Response Code: 404 2024-11-10 15:37:40,579 - DEBUG - Requesting: http://10.0.0.44:8082/domains 2024-11-10 15:37:40,584 - DEBUG - Requesting: http://10.0.0.44:8082/domain/8c13010a-08b1-4617-a896-cb065aae533a 2024-11-10 15:37:40,640 - DEBUG - Requesting: http://10.0.0.44:8082/project/d66d71ac-8833-4e7c-9be2-6579a988046f 2024-11-10 15:37:40,735 - INFO - Validated that VN ctest-vn-60838974 is not found in API Server 2024-11-10 15:37:40,764 - DEBUG - VN ctest-vn-60838974 is not present in Agent 10.0.0.44 2024-11-10 15:37:40,764 - INFO - Validated that VN ctest-vn-60838974 is not in any agent 2024-11-10 15:37:40,770 - DEBUG - VRF 2 is not seen in agent 10.0.0.44 2024-11-10 15:37:40,777 - DEBUG - Vrouter 10.0.0.44 does not have vrf 2 for VN ctest-vn-60838974 2024-11-10 15:37:40,777 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-87391737:ctest-vn-60838974 2024-11-10 15:37:40,789 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60838974 info 2024-11-10 15:37:40,881 - INFO - IPAM: ctest-ipam-93877819 is not found in API Server 2024-11-10 15:37:40,894 - INFO - IPAM:ctest-ipam-93877819 is not found in control node 2024-11-10 15:37:41,159 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 15:37:41,159 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:01:14] 2024-11-10 15:37:41,159 - INFO - -------------------------------------------------------------------------------- 2024-11-10 15:37:41,890 - INFO - Deleted project: ctest-TestBasicVMVN-87391737, ID : d66d71ac-8833-4e7c-9be2-6579a988046f