2024-11-03 20:00:25,499 - INFO - Domain Default found not creating 2024-11-03 20:00:25,651 - INFO - Project ctest-TestBasicVMVN-74107578 not found, creating it 2024-11-03 20:00:26,116 - INFO - Created Project:ctest-TestBasicVMVN-74107578, ID : 8af49769-0d89-4438-9a15-fc1a16e61071 2024-11-03 20:00:27,696 - INFO - ================================================================================ 2024-11-03 20:00:27,697 - INFO - STARTING TEST : test_generic_link_local_service 2024-11-03 20:00:27,697 - 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-03 20:00:27,954 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.11': '0'}} with 2024-11-03 20:00:27,954 - INFO - Initial checks done. Running the testcase now 2024-11-03 20:00:27,954 - INFO - 2024-11-03 20:00:28,539 - DEBUG - Response for create_network : {'network': {'id': '7b8b8129-fc3a-47a7-b561-8c9b6cd52b61', 'name': 'ctest-vn2_metadata-67768077', 'tenant_id': '8af497690d8944389a15fc1a16e61071', 'project_id': '8af497690d8944389a15fc1a16e61071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-74107578', 'ctest-vn2_metadata-67768077'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 20:00:28,773 - DEBUG - Response for create_subnet : {'subnet': {'id': '1ef97ffb-b2c0-4d66-ba53-737546ce3b78', 'name': '', 'tenant_id': '8af497690d8944389a15fc1a16e61071', 'network_id': '7b8b8129-fc3a-47a7-b561-8c9b6cd52b61', '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': '8af497690d8944389a15fc1a16e61071'}} 2024-11-03 20:00:28,792 - INFO - Created VN ctest-vn2_metadata-67768077 2024-11-03 20:00:28,849 - DEBUG - VN ctest-vn2_metadata-67768077 UUID is 7b8b8129-fc3a-47a7-b561-8c9b6cd52b61 2024-11-03 20:00:29,042 - DEBUG - Services list from nova: [, , ] 2024-11-03 20:00:30,102 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1) 2024-11-03 20:00:30,212 - DEBUG - Link local service introspect added 2024-11-03 20:00:30,256 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-03 20:00:35,343 - DEBUG - VM is in ACTIVE state now 2024-11-03 20:00:35,474 - INFO - Waiting for VM ctest-TestBasicVMVN-74107578-22530038 to be up.. 2024-11-03 20:00:35,474 - INFO - VM name : ctest-TestBasicVMVN-74107578-22530038 2024-11-03 20:00:35,554 - DEBUG - VM ctest-TestBasicVMVN-74107578-22530038 ID is a425d111-7163-430e-baa2-c58f66b9b0d3 2024-11-03 20:00:35,554 - DEBUG - VM ctest-TestBasicVMVN-74107578-22530038 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1 2024-11-03 20:00:35,633 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a425d111-7163-430e-baa2-c58f66b9b0d3 2024-11-03 20:00:35,925 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/a425d111-7163-430e-baa2-c58f66b9b0d3 2024-11-03 20:00:35,960 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/62ab2dac-24af-4568-bd80-cdba05f52651 2024-11-03 20:00:39,219 - 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 1004ms') 2024-11-03 20:00:39,219 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-74107578-22530038 failed! 2024-11-03 20:00:39,276 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-74107578:ctest-vn2_metadata-67768077 is 11.1.1.1 and allocation pool is NOT set 2024-11-03 20:00:41,340 - 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.65 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.638 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.638/2.642/4.647/2.004 ms') 2024-11-03 20:00:41,340 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-74107578-22530038 passed 2024-11-03 20:00:41,492 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:00:41,493 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-74107578-22530038, IP 11.1.1.3, Port 22 2024-11-03 20:00:41,552 - 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-03 20:00:41,626 - DEBUG - VM ctest-TestBasicVMVN-74107578-22530038 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-03 20:00:46,627 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:00:46,627 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-74107578-22530038, IP 11.1.1.3, Port 22 2024-11-03 20:00:46,780 - DEBUG - VM ctest-TestBasicVMVN-74107578-22530038 is ready for SSH connections 2024-11-03 20:00:46,781 - INFO - Retry 0 2024-11-03 20:00:46,781 - 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.48, gateway password: c0ntrail123 2024-11-03 20:00:46,781 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-11-03 20:00:48,382 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-11-03 20:00:48,382 - INFO - Generic metadata worked 2024-11-03 20:00:48,632 - DEBUG - Link local service introspect removed 2024-11-03 20:00:48,632 - INFO - Deleting VM ctest-TestBasicVMVN-74107578-22530038 2024-11-03 20:00:48,694 - INFO - Deleting VN ctest-vn2_metadata-67768077 2024-11-03 20:00:48,740 - DEBUG - VN 7b8b8129-fc3a-47a7-b561-8c9b6cd52b61 still in use: Unable to complete operation on network 7b8b8129-fc3a-47a7-b561-8c9b6cd52b61. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-f80afc1a-7734-46ee-8e73-34016970a55d'] 2024-11-03 20:00:48,740 - WARNING - Deleting VN ctest-vn2_metadata-67768077 failed..Will retry 2024-11-03 20:00:50,876 - DEBUG - Response for deleting network () 2024-11-03 20:00:51,129 - DEBUG - No XMPP flaps were noticed during the test 2024-11-03 20:00:51,129 - INFO - -------------------------------------------------------------------------------- 2024-11-03 20:00:51,132 - INFO - ================================================================================ 2024-11-03 20:00:51,132 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-11-03 20:00:51,132 - 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-03 20:00:51,422 - DEBUG - Nothing to compare xmpp stats {'10.0.0.48': {'10.20.0.11': '0'}} with 2024-11-03 20:00:51,422 - INFO - Initial checks done. Running the testcase now 2024-11-03 20:00:51,422 - INFO - 2024-11-03 20:00:51,929 - DEBUG - Response for create_network : {'network': {'id': '5a87cc18-9482-4a0f-a77b-f5b5410d000a', 'name': 'ctest-vn-12188301', 'tenant_id': '8af497690d8944389a15fc1a16e61071', 'project_id': '8af497690d8944389a15fc1a16e61071', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-74107578', 'ctest-vn-12188301'], 'port_security_enabled': True, 'description': ''}} 2024-11-03 20:00:52,085 - DEBUG - Response for create_subnet : {'subnet': {'id': '82a599aa-8b36-4f70-9307-a1666b25af8f', 'name': '', 'tenant_id': '8af497690d8944389a15fc1a16e61071', 'network_id': '5a87cc18-9482-4a0f-a77b-f5b5410d000a', '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': '8af497690d8944389a15fc1a16e61071'}} 2024-11-03 20:00:52,304 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a2ca7053-d077-40cb-b630-ef5cf2cf7b59', 'name': '', 'tenant_id': '8af497690d8944389a15fc1a16e61071', 'network_id': '5a87cc18-9482-4a0f-a77b-f5b5410d000a', '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': '8af497690d8944389a15fc1a16e61071'}} 2024-11-03 20:00:52,331 - INFO - Created VN ctest-vn-12188301 2024-11-03 20:00:52,388 - DEBUG - VN ctest-vn-12188301 UUID is 5a87cc18-9482-4a0f-a77b-f5b5410d000a 2024-11-03 20:00:52,766 - DEBUG - Response for create_port : {'port': {'name': '3c1fa9dd-e510-436c-a3ad-2fc902a72f5a', 'id': '3c1fa9dd-e510-436c-a3ad-2fc902a72f5a', 'tenant_id': '8af497690d8944389a15fc1a16e61071', 'network_id': '5a87cc18-9482-4a0f-a77b-f5b5410d000a', 'mac_address': '02:3c:1f:a9:dd:e5', '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': '82a599aa-8b36-4f70-9307-a1666b25af8f'}], 'security_groups': ['973c1772-9687-478c-956c-06da750560bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8af497690d8944389a15fc1a16e61071'}} 2024-11-03 20:00:52,945 - DEBUG - Response for create_port : {'port': {'name': 'bbfae28e-7442-4a77-ac56-e3377adc8b87', 'id': 'bbfae28e-7442-4a77-ac56-e3377adc8b87', 'tenant_id': '8af497690d8944389a15fc1a16e61071', 'network_id': '5a87cc18-9482-4a0f-a77b-f5b5410d000a', 'mac_address': '02:bb:fa:e2:8e:74', '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': 'a2ca7053-d077-40cb-b630-ef5cf2cf7b59'}], 'security_groups': ['973c1772-9687-478c-956c-06da750560bf'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '8af497690d8944389a15fc1a16e61071'}} 2024-11-03 20:00:53,349 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1) 2024-11-03 20:00:53,719 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1) 2024-11-03 20:00:54,930 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2188-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2188-1) 2024-11-03 20:00:54,930 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 20:00:54,941 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 20:00:54,965 - DEBUG - Requesting: http://10.0.0.48:8082/project/8af49769-0d89-4438-9a15-fc1a16e61071 2024-11-03 20:00:55,073 - DEBUG - Requesting: http://10.0.0.48:8082/network-ipam/5aaf54e1-ea05-480c-8006-a15678ec0d33 2024-11-03 20:00:55,089 - INFO - Verifications in API Server for IPAM: ctest-ipam-54358346 passed 2024-11-03 20:00:55,100 - DEBUG - Control-node 10.0.0.48 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-74107578:ctest-ipam-54358346', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-74107578', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6534534913608468492', 'uuid-lslong': '9225238279483034931'}, 'enable': 'true', 'created': '2024-11-03T20:00:51', 'last-modified': '2024-11-03T20:00:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.439205'} 2024-11-03 20:00:55,100 - INFO - Verifications in Control node for IPAM: ctest-ipam-54358346 passed 2024-11-03 20:00:55,101 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 20:00:55,109 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 20:00:55,129 - DEBUG - Requesting: http://10.0.0.48:8082/project/8af49769-0d89-4438-9a15-fc1a16e61071 2024-11-03 20:00:55,222 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5a87cc18-9482-4a0f-a77b-f5b5410d000a 2024-11-03 20:00:55,238 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5a87cc18-9482-4a0f-a77b-f5b5410d000a 2024-11-03 20:00:55,256 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/23470c69-0118-455f-ab54-5493bf8c2c44 2024-11-03 20:00:55,267 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/23470c69-0118-455f-ab54-5493bf8c2c44 2024-11-03 20:00:55,276 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a6cca437-d4c2-4076-8313-1845ea9d4f28 2024-11-03 20:00:55,284 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-03 20:00:55,284 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5a87cc18-9482-4a0f-a77b-f5b5410d000a 2024-11-03 20:00:55,301 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/23470c69-0118-455f-ab54-5493bf8c2c44 2024-11-03 20:00:55,331 - INFO - Verified VN network id 9 for VN 5a87cc18-9482-4a0f-a77b-f5b5410d000a 2024-11-03 20:00:55,331 - INFO - Verifications in API Server for VN ctest-vn-12188301 passed 2024-11-03 20:00:55,332 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5a87cc18-9482-4a0f-a77b-f5b5410d000a 2024-11-03 20:00:55,351 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/23470c69-0118-455f-ab54-5493bf8c2c44 2024-11-03 20:00:55,367 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/23470c69-0118-455f-ab54-5493bf8c2c44 2024-11-03 20:00:55,381 - DEBUG - Requesting: http://10.0.0.48:8082/route-target/a6cca437-d4c2-4076-8313-1845ea9d4f28 2024-11-03 20:00:55,405 - DEBUG - Control-node 10.0.0.48 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-74107578', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6523406991212300815', 'uuid-lslong': '12068509785298632714'}, 'enable': 'true', 'created': '2024-11-03T20:00:51', 'last-modified': '2024-11-03T20:00:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.130861'} 2024-11-03 20:00:55,416 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-03 20:00:55,416 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-12188301 passed 2024-11-03 20:00:55,417 - DEBUG - ====Verifying policy data for ctest-vn-12188301 in API_Server ====== 2024-11-03 20:00:55,417 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 20:00:55,431 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 20:00:55,467 - DEBUG - Requesting: http://10.0.0.48:8082/project/8af49769-0d89-4438-9a15-fc1a16e61071 2024-11-03 20:00:55,601 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-network/5a87cc18-9482-4a0f-a77b-f5b5410d000a 2024-11-03 20:00:55,644 - DEBUG - =>VN ctest-vn-12188301 has no policy to be verified 2024-11-03 20:00:55,644 - DEBUG - Verifying the vn in opserver 2024-11-03 20:00:55,645 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301 virtual network link through opserver 10.0.0.48 2024-11-03 20:00:55,645 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-03 20:00:56,024 - DEBUG - Requesting: http://10.0.0.48:8081/analytics/uves/virtual-networks 2024-11-03 20:00:56,089 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301', 'href': 'http://10.0.0.48:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301?flat'} 2024-11-03 20:00:56,089 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301 is found in opserver 2024-11-03 20:00:56,097 - DEBUG - VRF ids for VN ctest-vn-12188301: {'10.0.0.48': '2'} 2024-11-03 20:00:56,097 - INFO - Waiting for VM ctest-TestBasicVMVN-74107578-32937960 to be up.. 2024-11-03 20:00:56,201 - DEBUG - VM is in ACTIVE state now 2024-11-03 20:00:56,201 - INFO - VM name : ctest-TestBasicVMVN-74107578-32937960 2024-11-03 20:00:56,328 - DEBUG - VM ctest-TestBasicVMVN-74107578-32937960 ID is 4ad7dcac-14d2-4cf6-83ab-6de10a9b609b 2024-11-03 20:00:56,328 - DEBUG - VM ctest-TestBasicVMVN-74107578-32937960 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1 2024-11-03 20:00:56,419 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/4ad7dcac-14d2-4cf6-83ab-6de10a9b609b 2024-11-03 20:00:56,430 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/3c1fa9dd-e510-436c-a3ad-2fc902a72f5a 2024-11-03 20:00:59,729 - 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 1032ms') 2024-11-03 20:00:59,729 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-74107578-32937960 failed! 2024-11-03 20:00:59,792 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301 is 31.1.1.1 and allocation pool is NOT set 2024-11-03 20:00:59,793 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301 is 31.1.2.1 and allocation pool is NOT set 2024-11-03 20:01:03,857 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1003ms') 2024-11-03 20:01:03,857 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-74107578-32937960 failed! 2024-11-03 20:01:03,916 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301 is 31.1.1.1 and allocation pool is NOT set 2024-11-03 20:01:03,917 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301 is 31.1.2.1 and allocation pool is NOT set 2024-11-03 20:01:05,975 - 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=6.90 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.87 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.874/4.888/6.902/2.014 ms') 2024-11-03 20:01:05,975 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-74107578-32937960 passed 2024-11-03 20:01:06,129 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:06,129 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-74107578-32937960, IP 31.1.1.4, Port 22 2024-11-03 20:01:06,294 - DEBUG - VM ctest-TestBasicVMVN-74107578-32937960 is ready for SSH connections 2024-11-03 20:01:06,294 - INFO - Waiting for VM ctest-TestBasicVMVN-74107578-58966601 to be up.. 2024-11-03 20:01:06,382 - DEBUG - VM is in ACTIVE state now 2024-11-03 20:01:06,382 - INFO - VM name : ctest-TestBasicVMVN-74107578-58966601 2024-11-03 20:01:06,463 - DEBUG - VM ctest-TestBasicVMVN-74107578-58966601 ID is f788e74a-1de0-4a64-87d2-eec8f2b4dba2 2024-11-03 20:01:06,463 - DEBUG - VM ctest-TestBasicVMVN-74107578-58966601 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1 2024-11-03 20:01:06,551 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/f788e74a-1de0-4a64-87d2-eec8f2b4dba2 2024-11-03 20:01:06,561 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/bbfae28e-7442-4a77-ac56-e3377adc8b87 2024-11-03 20:01:07,809 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=2.61 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.353 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.353/1.479/2.605/1.126 ms') 2024-11-03 20:01:07,809 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-74107578-58966601 passed 2024-11-03 20:01:07,968 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:07,969 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-74107578-58966601, IP 31.1.2.4, Port 22 2024-11-03 20:01:08,124 - DEBUG - VM ctest-TestBasicVMVN-74107578-58966601 is ready for SSH connections 2024-11-03 20:01:08,124 - INFO - Waiting for VM ctest-TestBasicVMVN-74107578-20558510 to be up.. 2024-11-03 20:01:08,199 - DEBUG - VM is in ACTIVE state now 2024-11-03 20:01:08,199 - INFO - VM name : ctest-TestBasicVMVN-74107578-20558510 2024-11-03 20:01:08,272 - DEBUG - VM ctest-TestBasicVMVN-74107578-20558510 ID is 64cab744-796e-45ae-a504-6cf94f0c9769 2024-11-03 20:01:08,272 - DEBUG - VM ctest-TestBasicVMVN-74107578-20558510 launched on Node cn-jenkins-deploy-platform-ansible-os-2188-1 2024-11-03 20:01:08,346 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine/64cab744-796e-45ae-a504-6cf94f0c9769 2024-11-03 20:01:08,355 - DEBUG - Requesting: http://10.0.0.48:8082/virtual-machine-interface/60f19922-0505-419d-b0dd-5ece6ebff12e 2024-11-03 20:01:09,600 - DEBUG - (True, 'PING 169.254.0.5 (169.254.0.5) 56(84) bytes of data.\r\n64 bytes from 169.254.0.5: icmp_seq=1 ttl=63 time=2.95 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.394 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.394/1.669/2.945/1.275 ms') 2024-11-03 20:01:09,600 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-74107578-20558510 passed 2024-11-03 20:01:09,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:09,761 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-74107578-20558510, IP 31.1.1.3, Port 22 2024-11-03 20:01:09,925 - DEBUG - VM ctest-TestBasicVMVN-74107578-20558510 is ready for SSH connections 2024-11-03 20:01:09,925 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:09,926 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:09,926 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-11-03 20:01:13,661 - 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.683 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.076 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.985/1.914/3.683 ms 2024-11-03 20:01:13,661 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-74107578-32937960 passed 2024-11-03 20:01:13,661 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:13,661 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:13,661 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-11-03 20:01:17,294 - DEBUG - PING 31.1.1.4 (31.1.1.4): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=63 time=2.725 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.876 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.747 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.747/1.449/2.725 ms 2024-11-03 20:01:17,295 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-74107578-58966601 passed 2024-11-03 20:01:17,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:17,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:17,295 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-03 20:01:17,295 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:17,295 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-03 20:01:17,467 - DEBUG - None 2024-11-03 20:01:17,467 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:17,467 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-03 20:01:17,651 - DEBUG - None 2024-11-03 20:01:17,651 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:17,651 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-03 20:01:18,387 - DEBUG - None 2024-11-03 20:01:18,387 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:18,387 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-11-03 20:01:20,590 - DEBUG - PING 31.1.1.7 (31.1.1.7): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.736 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.553 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.387 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.488 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.355 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.355/1.903/5.553 ms 2024-11-03 20:01:20,590 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:20,591 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-11-03 20:01:22,834 - 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.036 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.999 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=5.015 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.517 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.913 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.023 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.460 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.460/2.280/5.015 ms 2024-11-03 20:01:22,834 - 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.48, gateway password: c0ntrail123 2024-11-03 20:01:22,835 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-11-03 20:01:25,068 - 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.651 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.466 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.250 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.392 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.746 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.589 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.322 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.322/1.630/3.250 ms 2024-11-03 20:01:25,068 - INFO - Deleting VM ctest-TestBasicVMVN-74107578-20558510 2024-11-03 20:01:25,131 - INFO - Detaching port bbfae28e-7442-4a77-ac56-e3377adc8b87 from VM ctest-TestBasicVMVN-74107578-58966601 2024-11-03 20:01:25,189 - INFO - Deleting VM ctest-TestBasicVMVN-74107578-58966601 2024-11-03 20:01:25,260 - INFO - Detaching port 3c1fa9dd-e510-436c-a3ad-2fc902a72f5a from VM ctest-TestBasicVMVN-74107578-32937960 2024-11-03 20:01:25,304 - INFO - Deleting VM ctest-TestBasicVMVN-74107578-32937960 2024-11-03 20:01:25,371 - INFO - Deleting VN ctest-vn-12188301 2024-11-03 20:01:25,539 - DEBUG - Response for delete_port : () 2024-11-03 20:01:25,801 - DEBUG - Response for delete_port : () 2024-11-03 20:01:25,852 - DEBUG - VN 5a87cc18-9482-4a0f-a77b-f5b5410d000a still in use: Unable to complete operation on network 5a87cc18-9482-4a0f-a77b-f5b5410d000a. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-4d0cc63e-5114-4f18-aef4-be5066a7dc1d'] 2024-11-03 20:01:25,852 - WARNING - Deleting VN ctest-vn-12188301 failed..Will retry 2024-11-03 20:01:27,996 - DEBUG - Response for deleting network () 2024-11-03 20:01:27,996 - DEBUG - Requesting: http://10.0.0.48:8082/routing-instance/23470c69-0118-455f-ab54-5493bf8c2c44 2024-11-03 20:01:28,003 - DEBUG - Response Code: 404 2024-11-03 20:01:28,003 - DEBUG - Requesting: http://10.0.0.48:8082/domains 2024-11-03 20:01:28,014 - DEBUG - Requesting: http://10.0.0.48:8082/domain/f6f42ffd-944b-4f84-b2c5-39888fb76772 2024-11-03 20:01:28,072 - DEBUG - Requesting: http://10.0.0.48:8082/project/8af49769-0d89-4438-9a15-fc1a16e61071 2024-11-03 20:01:28,156 - INFO - Validated that VN ctest-vn-12188301 is not found in API Server 2024-11-03 20:01:28,168 - DEBUG - VN ctest-vn-12188301 is not present in Agent 10.0.0.48 2024-11-03 20:01:28,168 - INFO - Validated that VN ctest-vn-12188301 is not in any agent 2024-11-03 20:01:28,173 - DEBUG - VRF 2 is not seen in agent 10.0.0.48 2024-11-03 20:01:28,178 - DEBUG - Vrouter 10.0.0.48 does not have vrf 2 for VN ctest-vn-12188301 2024-11-03 20:01:28,178 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-74107578:ctest-vn-12188301 2024-11-03 20:01:28,190 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-12188301 info 2024-11-03 20:01:28,268 - INFO - IPAM: ctest-ipam-54358346 is not found in API Server 2024-11-03 20:01:28,278 - INFO - IPAM:ctest-ipam-54358346 is not found in control node 2024-11-03 20:01:28,534 - DEBUG - No XMPP flaps were noticed during the test
2024-11-03 20:01:28,534 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:37]
2024-11-03 20:01:28,534 - INFO - -------------------------------------------------------------------------------- 2024-11-03 20:01:29,248 - INFO - Deleted project: ctest-TestBasicVMVN-74107578, ID : 8af49769-0d89-4438-9a15-fc1a16e61071