2024-09-12 22:17:39,350 - INFO - Domain Default found not creating 2024-09-12 22:17:39,779 - INFO - Project ctest-TestBasicVMVN-43927381 not found, creating it 2024-09-12 22:17:40,583 - INFO - Created Project:ctest-TestBasicVMVN-43927381, ID : c8e3115c-bf82-4ebb-a64d-8ea09928083d 2024-09-12 22:17:43,057 - INFO - ================================================================================ 2024-09-12 22:17:43,057 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-12 22:17:43,058 - 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-12 22:17:43,410 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.23': '0'}} with 2024-09-12 22:17:43,411 - INFO - Initial checks done. Running the testcase now 2024-09-12 22:17:43,411 - INFO - 2024-09-12 22:17:44,290 - DEBUG - Response for create_network : {'network': {'id': 'e9c6fd4a-e596-48a0-8b43-87dec7da1d27', 'name': 'ctest-vn2_metadata-74348155', 'tenant_id': 'c8e3115cbf824ebba64d8ea09928083d', 'project_id': 'c8e3115cbf824ebba64d8ea09928083d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-43927381', 'ctest-vn2_metadata-74348155'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 22:17:44,503 - DEBUG - Response for create_subnet : {'subnet': {'id': '5e36e6dc-31ef-444f-9a98-9a176b346976', 'name': '', 'tenant_id': 'c8e3115cbf824ebba64d8ea09928083d', 'network_id': 'e9c6fd4a-e596-48a0-8b43-87dec7da1d27', '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': 'c8e3115cbf824ebba64d8ea09928083d'}} 2024-09-12 22:17:44,529 - INFO - Created VN ctest-vn2_metadata-74348155 2024-09-12 22:17:44,607 - DEBUG - VN ctest-vn2_metadata-74348155 UUID is e9c6fd4a-e596-48a0-8b43-87dec7da1d27 2024-09-12 22:17:44,960 - DEBUG - Services list from nova: [, , ] 2024-09-12 22:17:46,682 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:17:46,834 - DEBUG - Link local service introspect added 2024-09-12 22:17:46,925 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-12 22:17:52,134 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:17:52,406 - INFO - Waiting for VM ctest-TestBasicVMVN-43927381-89800570 to be up.. 2024-09-12 22:17:52,406 - INFO - VM name : ctest-TestBasicVMVN-43927381-89800570 2024-09-12 22:17:52,587 - DEBUG - VM ctest-TestBasicVMVN-43927381-89800570 ID is 57617c36-dbf4-4645-9a27-d39232242d77 2024-09-12 22:17:52,587 - DEBUG - VM ctest-TestBasicVMVN-43927381-89800570 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:17:52,724 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/57617c36-dbf4-4645-9a27-d39232242d77 2024-09-12 22:17:53,070 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/57617c36-dbf4-4645-9a27-d39232242d77 2024-09-12 22:17:53,138 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/0c15d82b-9a82-4b1f-8a35-7428e0e29c67 2024-09-12 22:17:56,526 - 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 1022ms') 2024-09-12 22:17:56,526 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-43927381-89800570 failed! 2024-09-12 22:17:56,615 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-43927381:ctest-vn2_metadata-74348155 is 11.1.1.1 and allocation pool is NOT set 2024-09-12 22:18:00,723 - 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 1029ms') 2024-09-12 22:18:00,723 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-43927381-89800570 failed! 2024-09-12 22:18:00,818 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-43927381:ctest-vn2_metadata-74348155 is 11.1.1.1 and allocation pool is NOT set 2024-09-12 22:18:02,911 - 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.93 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.793 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.793/2.863/4.933/2.070 ms') 2024-09-12 22:18:02,911 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-43927381-89800570 passed 2024-09-12 22:18:03,116 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:03,116 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-43927381-89800570, IP 11.1.1.3, Port 22 2024-09-12 22:18:03,329 - DEBUG - VM ctest-TestBasicVMVN-43927381-89800570 is ready for SSH connections 2024-09-12 22:18:03,330 - INFO - Retry 0 2024-09-12 22:18:03,330 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:03,331 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-12 22:18:05,326 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-09-12 22:18:05,327 - INFO - Generic metadata worked 2024-09-12 22:18:05,722 - DEBUG - Link local service introspect removed 2024-09-12 22:18:05,723 - INFO - Deleting VM ctest-TestBasicVMVN-43927381-89800570 2024-09-12 22:18:05,865 - INFO - Deleting VN ctest-vn2_metadata-74348155 2024-09-12 22:18:05,975 - DEBUG - VN e9c6fd4a-e596-48a0-8b43-87dec7da1d27 still in use: Unable to complete operation on network e9c6fd4a-e596-48a0-8b43-87dec7da1d27. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5a2381cf-18b0-4e6e-be2f-2c2b4e3ef78c'] 2024-09-12 22:18:05,976 - WARNING - Deleting VN ctest-vn2_metadata-74348155 failed..Will retry 2024-09-12 22:18:08,192 - DEBUG - Response for deleting network () 2024-09-12 22:18:08,505 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 22:18:08,505 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:25] 2024-09-12 22:18:08,506 - INFO - -------------------------------------------------------------------------------- 2024-09-12 22:18:08,515 - INFO - ================================================================================ 2024-09-12 22:18:08,516 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-12 22:18:08,516 - 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-12 22:18:08,848 - DEBUG - Nothing to compare xmpp stats {'10.0.0.35': {'10.20.0.23': '0'}} with 2024-09-12 22:18:08,848 - INFO - Initial checks done. Running the testcase now 2024-09-12 22:18:08,848 - INFO - 2024-09-12 22:18:09,600 - DEBUG - Response for create_network : {'network': {'id': '1b77d456-37c4-4e7b-9a3d-61fd5a22186c', 'name': 'ctest-vn-86014272', 'tenant_id': 'c8e3115cbf824ebba64d8ea09928083d', 'project_id': 'c8e3115cbf824ebba64d8ea09928083d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-43927381', 'ctest-vn-86014272'], 'port_security_enabled': True, 'description': ''}} 2024-09-12 22:18:09,867 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd910bfec-eb2f-4317-b5de-992fc46131f4', 'name': '', 'tenant_id': 'c8e3115cbf824ebba64d8ea09928083d', 'network_id': '1b77d456-37c4-4e7b-9a3d-61fd5a22186c', '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': 'c8e3115cbf824ebba64d8ea09928083d'}} 2024-09-12 22:18:10,119 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd4dd73b9-7317-4ee4-aa7d-fcc2631d6998', 'name': '', 'tenant_id': 'c8e3115cbf824ebba64d8ea09928083d', 'network_id': '1b77d456-37c4-4e7b-9a3d-61fd5a22186c', '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': 'c8e3115cbf824ebba64d8ea09928083d'}} 2024-09-12 22:18:10,144 - INFO - Created VN ctest-vn-86014272 2024-09-12 22:18:10,210 - DEBUG - VN ctest-vn-86014272 UUID is 1b77d456-37c4-4e7b-9a3d-61fd5a22186c 2024-09-12 22:18:10,864 - DEBUG - Response for create_port : {'port': {'name': 'a1ec007a-5661-4a88-84c5-a412211e6abd', 'id': 'a1ec007a-5661-4a88-84c5-a412211e6abd', 'tenant_id': 'c8e3115cbf824ebba64d8ea09928083d', 'network_id': '1b77d456-37c4-4e7b-9a3d-61fd5a22186c', 'mac_address': '02:a1:ec:00:7a:56', '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': 'd910bfec-eb2f-4317-b5de-992fc46131f4'}], 'security_groups': ['b39ce060-c122-470c-a9f5-68c108508197'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8e3115cbf824ebba64d8ea09928083d'}} 2024-09-12 22:18:11,117 - DEBUG - Response for create_port : {'port': {'name': 'c6fd330a-dc5e-4416-9157-fe563d58b647', 'id': 'c6fd330a-dc5e-4416-9157-fe563d58b647', 'tenant_id': 'c8e3115cbf824ebba64d8ea09928083d', 'network_id': '1b77d456-37c4-4e7b-9a3d-61fd5a22186c', 'mac_address': '02:c6:fd:33:0a:dc', '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': 'd4dd73b9-7317-4ee4-aa7d-fcc2631d6998'}], 'security_groups': ['b39ce060-c122-470c-a9f5-68c108508197'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'c8e3115cbf824ebba64d8ea09928083d'}} 2024-09-12 22:18:11,882 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:18:12,680 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:18:14,161 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1913-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1913-1) 2024-09-12 22:18:14,163 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:18:14,170 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:18:14,187 - DEBUG - Requesting: http://10.0.0.35:8082/project/c8e3115c-bf82-4ebb-a64d-8ea09928083d 2024-09-12 22:18:14,289 - DEBUG - Requesting: http://10.0.0.35:8082/network-ipam/c008b1a1-d4c9-43d8-8a04-077e108aec5f 2024-09-12 22:18:14,304 - INFO - Verifications in API Server for IPAM: ctest-ipam-53394540 passed 2024-09-12 22:18:14,314 - DEBUG - Control-node 10.0.0.35 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-43927381:ctest-ipam-53394540', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-43927381', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13837505163713659864', 'uuid-lslong': '9945082115165711455'}, 'enable': 'true', 'created': '2024-09-12T22:18:08', 'last-modified': '2024-09-12T22:18:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:05.143627'} 2024-09-12 22:18:14,314 - INFO - Verifications in Control node for IPAM: ctest-ipam-53394540 passed 2024-09-12 22:18:14,314 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:18:14,322 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:18:14,338 - DEBUG - Requesting: http://10.0.0.35:8082/project/c8e3115c-bf82-4ebb-a64d-8ea09928083d 2024-09-12 22:18:14,439 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/1b77d456-37c4-4e7b-9a3d-61fd5a22186c 2024-09-12 22:18:14,458 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/1b77d456-37c4-4e7b-9a3d-61fd5a22186c 2024-09-12 22:18:14,475 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/43ab9280-65f9-4e3d-8ae3-caa0cf4f75ad 2024-09-12 22:18:14,489 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/43ab9280-65f9-4e3d-8ae3-caa0cf4f75ad 2024-09-12 22:18:14,499 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/406d2000-a8c0-44a9-8132-32fd7346a0b7 2024-09-12 22:18:14,509 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 22:18:14,509 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/1b77d456-37c4-4e7b-9a3d-61fd5a22186c 2024-09-12 22:18:14,529 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/43ab9280-65f9-4e3d-8ae3-caa0cf4f75ad 2024-09-12 22:18:14,560 - INFO - Verified VN network id 7 for VN 1b77d456-37c4-4e7b-9a3d-61fd5a22186c 2024-09-12 22:18:14,560 - INFO - Verifications in API Server for VN ctest-vn-86014272 passed 2024-09-12 22:18:14,560 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/1b77d456-37c4-4e7b-9a3d-61fd5a22186c 2024-09-12 22:18:14,578 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/43ab9280-65f9-4e3d-8ae3-caa0cf4f75ad 2024-09-12 22:18:14,601 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/43ab9280-65f9-4e3d-8ae3-caa0cf4f75ad 2024-09-12 22:18:14,621 - DEBUG - Requesting: http://10.0.0.35:8082/route-target/406d2000-a8c0-44a9-8132-32fd7346a0b7 2024-09-12 22:18:14,641 - DEBUG - Control-node 10.0.0.35 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-43927381', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1979284028020510331', 'uuid-lslong': '11114147196187056236'}, 'enable': 'true', 'created': '2024-09-12T22:18:09', 'last-modified': '2024-09-12T22:18:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.569678'} 2024-09-12 22:18:14,654 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-12 22:18:14,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-86014272 passed 2024-09-12 22:18:14,655 - DEBUG - ====Verifying policy data for ctest-vn-86014272 in API_Server ====== 2024-09-12 22:18:14,655 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:18:14,663 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:18:14,710 - DEBUG - Requesting: http://10.0.0.35:8082/project/c8e3115c-bf82-4ebb-a64d-8ea09928083d 2024-09-12 22:18:14,923 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-network/1b77d456-37c4-4e7b-9a3d-61fd5a22186c 2024-09-12 22:18:14,975 - DEBUG - =>VN ctest-vn-86014272 has no policy to be verified 2024-09-12 22:18:14,975 - DEBUG - Verifying the vn in opserver 2024-09-12 22:18:14,975 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272 virtual network link through opserver 10.0.0.35 2024-09-12 22:18:14,975 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-12 22:18:15,370 - DEBUG - Requesting: http://10.0.0.35:8081/analytics/uves/virtual-networks 2024-09-12 22:18:15,470 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272', 'href': 'http://10.0.0.35:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272?flat'} 2024-09-12 22:18:15,470 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272 is found in opserver 2024-09-12 22:18:15,477 - DEBUG - VRF ids for VN ctest-vn-86014272: {'10.0.0.35': '2'} 2024-09-12 22:18:15,477 - INFO - Waiting for VM ctest-TestBasicVMVN-43927381-80673860 to be up.. 2024-09-12 22:18:15,587 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:18:15,587 - INFO - VM name : ctest-TestBasicVMVN-43927381-80673860 2024-09-12 22:18:15,687 - DEBUG - VM ctest-TestBasicVMVN-43927381-80673860 ID is 1ed869c9-9b28-4a3d-9224-1b6364607a09 2024-09-12 22:18:15,687 - DEBUG - VM ctest-TestBasicVMVN-43927381-80673860 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:18:15,798 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/1ed869c9-9b28-4a3d-9224-1b6364607a09 2024-09-12 22:18:15,812 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/a1ec007a-5661-4a88-84c5-a412211e6abd 2024-09-12 22:18:19,119 - 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 1025ms') 2024-09-12 22:18:19,120 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-43927381-80673860 failed! 2024-09-12 22:18:19,219 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272 is 31.1.1.1 and allocation pool is NOT set 2024-09-12 22:18:19,219 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272 is 31.1.2.1 and allocation pool is NOT set 2024-09-12 22:18:23,315 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1011ms') 2024-09-12 22:18:23,315 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-43927381-80673860 failed! 2024-09-12 22:18:23,414 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272 is 31.1.1.1 and allocation pool is NOT set 2024-09-12 22:18:23,414 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272 is 31.1.2.1 and allocation pool is NOT set 2024-09-12 22:18:25,485 - 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.05 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.28 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.278/2.665/4.053/1.387 ms') 2024-09-12 22:18:25,485 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-43927381-80673860 passed 2024-09-12 22:18:25,671 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:25,671 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-43927381-80673860, IP 31.1.1.4, Port 22 2024-09-12 22:18:25,741 - 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-12 22:18:25,878 - DEBUG - VM ctest-TestBasicVMVN-43927381-80673860 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-12 22:18:30,879 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:30,879 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-43927381-80673860, IP 31.1.1.4, Port 22 2024-09-12 22:18:31,081 - DEBUG - VM ctest-TestBasicVMVN-43927381-80673860 is ready for SSH connections 2024-09-12 22:18:31,081 - INFO - Waiting for VM ctest-TestBasicVMVN-43927381-35040987 to be up.. 2024-09-12 22:18:31,325 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:18:31,325 - INFO - VM name : ctest-TestBasicVMVN-43927381-35040987 2024-09-12 22:18:31,558 - DEBUG - VM ctest-TestBasicVMVN-43927381-35040987 ID is 708a9963-1ce3-43fd-9a02-a5bef379cffa 2024-09-12 22:18:31,559 - DEBUG - VM ctest-TestBasicVMVN-43927381-35040987 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:18:31,765 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/708a9963-1ce3-43fd-9a02-a5bef379cffa 2024-09-12 22:18:31,788 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/c6fd330a-dc5e-4416-9157-fe563d58b647 2024-09-12 22:18:33,128 - 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=5.62 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.841 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.841/3.231/5.622/2.390 ms') 2024-09-12 22:18:33,129 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-43927381-35040987 passed 2024-09-12 22:18:33,350 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:33,351 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-43927381-35040987, IP 31.1.2.4, Port 22 2024-09-12 22:18:33,561 - DEBUG - VM ctest-TestBasicVMVN-43927381-35040987 is ready for SSH connections 2024-09-12 22:18:33,561 - INFO - Waiting for VM ctest-TestBasicVMVN-43927381-65693306 to be up.. 2024-09-12 22:18:33,748 - DEBUG - VM is in ACTIVE state now 2024-09-12 22:18:33,748 - INFO - VM name : ctest-TestBasicVMVN-43927381-65693306 2024-09-12 22:18:33,933 - DEBUG - VM ctest-TestBasicVMVN-43927381-65693306 ID is 74620162-0866-4ba7-a87e-dc71eba88741 2024-09-12 22:18:33,933 - DEBUG - VM ctest-TestBasicVMVN-43927381-65693306 launched on Node cn-jenkins-deploy-platform-ansible-os-1913-1 2024-09-12 22:18:34,164 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine/74620162-0866-4ba7-a87e-dc71eba88741 2024-09-12 22:18:34,195 - DEBUG - Requesting: http://10.0.0.35:8082/virtual-machine-interface/b423cabe-e038-4e81-a87e-2cc6dda2f000 2024-09-12 22:18:35,619 - 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=9.09 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=1.40 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 = 1.395/5.241/9.088/3.846 ms') 2024-09-12 22:18:35,619 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-43927381-65693306 passed 2024-09-12 22:18:35,839 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:35,839 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-43927381-65693306, IP 31.1.1.3, Port 22 2024-09-12 22:18:36,050 - DEBUG - VM ctest-TestBasicVMVN-43927381-65693306 is ready for SSH connections 2024-09-12 22:18:36,051 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:36,051 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:36,051 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-12 22:18:40,593 - 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=5.244 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.208 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=2.873 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.208/3.441/5.244 ms 2024-09-12 22:18:40,594 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-43927381-80673860 passed 2024-09-12 22:18:40,594 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:40,594 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:40,595 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-12 22:18:44,603 - 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=4.237 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=3.791 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.184 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.184/3.070/4.237 ms 2024-09-12 22:18:44,603 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-43927381-35040987 passed 2024-09-12 22:18:44,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:44,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:44,603 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-12 22:18:44,603 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:44,604 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-12 22:18:44,803 - DEBUG - None 2024-09-12 22:18:44,804 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:44,804 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-12 22:18:45,036 - DEBUG - None 2024-09-12 22:18:45,036 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:45,037 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-12 22:18:46,020 - DEBUG - None 2024-09-12 22:18:46,020 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:46,020 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-12 22:18:48,268 - 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.959 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=7.815 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.617 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.536 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.091 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.617/2.803/7.815 ms 2024-09-12 22:18:48,268 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:48,269 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-12 22:18:50,569 - 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=0.963 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.263 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=8.531 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.151 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=4.958 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=5.760 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.105 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.963/3.818/8.531 ms 2024-09-12 22:18:50,570 - 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.35, gateway password: c0ntrail123 2024-09-12 22:18:50,570 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-12 22:18:52,904 - 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.608 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.875 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.575 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.993 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=5.214 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=8.668 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.612 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.608/3.649/8.668 ms 2024-09-12 22:18:52,905 - INFO - Deleting VM ctest-TestBasicVMVN-43927381-65693306 2024-09-12 22:18:53,068 - INFO - Detaching port c6fd330a-dc5e-4416-9157-fe563d58b647 from VM ctest-TestBasicVMVN-43927381-35040987 2024-09-12 22:18:53,185 - INFO - Deleting VM ctest-TestBasicVMVN-43927381-35040987 2024-09-12 22:18:53,355 - INFO - Detaching port a1ec007a-5661-4a88-84c5-a412211e6abd from VM ctest-TestBasicVMVN-43927381-80673860 2024-09-12 22:18:53,421 - INFO - Deleting VM ctest-TestBasicVMVN-43927381-80673860 2024-09-12 22:18:53,549 - INFO - Deleting VN ctest-vn-86014272 2024-09-12 22:18:53,836 - DEBUG - Response for delete_port : () 2024-09-12 22:18:54,130 - DEBUG - Response for delete_port : () 2024-09-12 22:18:54,307 - DEBUG - Response for deleting network () 2024-09-12 22:18:54,307 - DEBUG - Requesting: http://10.0.0.35:8082/routing-instance/43ab9280-65f9-4e3d-8ae3-caa0cf4f75ad 2024-09-12 22:18:54,321 - DEBUG - Response Code: 404 2024-09-12 22:18:54,321 - DEBUG - Requesting: http://10.0.0.35:8082/domains 2024-09-12 22:18:54,327 - DEBUG - Requesting: http://10.0.0.35:8082/domain/71091110-ed72-4793-bdee-1a03fa231daa 2024-09-12 22:18:54,401 - DEBUG - Requesting: http://10.0.0.35:8082/project/c8e3115c-bf82-4ebb-a64d-8ea09928083d 2024-09-12 22:18:54,519 - INFO - Validated that VN ctest-vn-86014272 is not found in API Server 2024-09-12 22:18:54,531 - DEBUG - VN ctest-vn-86014272 is not present in Agent 10.0.0.35 2024-09-12 22:18:54,531 - INFO - Validated that VN ctest-vn-86014272 is not in any agent 2024-09-12 22:18:54,537 - DEBUG - VRF 2 is not seen in agent 10.0.0.35 2024-09-12 22:18:54,542 - DEBUG - Vrouter 10.0.0.35 does not have vrf 2 for VN ctest-vn-86014272 2024-09-12 22:18:54,542 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-43927381:ctest-vn-86014272 2024-09-12 22:18:54,555 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-86014272 info 2024-09-12 22:18:54,642 - INFO - IPAM: ctest-ipam-53394540 is not found in API Server 2024-09-12 22:18:54,662 - INFO - IPAM:ctest-ipam-53394540 is not found in control node 2024-09-12 22:18:54,972 - DEBUG - No XMPP flaps were noticed during the test 2024-09-12 22:18:54,973 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:46] 2024-09-12 22:18:54,973 - INFO - -------------------------------------------------------------------------------- 2024-09-12 22:18:55,891 - INFO - Deleted project: ctest-TestBasicVMVN-43927381, ID : c8e3115c-bf82-4ebb-a64d-8ea09928083d