2024-08-29 21:06:32,971 - INFO - Domain Default found not creating 2024-08-29 21:06:33,416 - INFO - Project ctest-TestBasicVMVN-12226638 not found, creating it 2024-08-29 21:06:34,322 - INFO - Created Project:ctest-TestBasicVMVN-12226638, ID : 765ed9f9-bdf0-417a-8835-35fb528dad88 2024-08-29 21:06:36,481 - INFO - ================================================================================ 2024-08-29 21:06:36,482 - INFO - STARTING TEST : test_generic_link_local_service 2024-08-29 21:06:36,482 - 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-08-29 21:06:36,828 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.10': '0'}} with 2024-08-29 21:06:36,829 - INFO - Initial checks done. Running the testcase now 2024-08-29 21:06:36,829 - INFO - 2024-08-29 21:06:37,771 - DEBUG - Response for create_network : {'network': {'id': '4bfe49b1-de32-4d71-9e27-ec70d5cd9aad', 'name': 'ctest-vn2_metadata-47821267', 'tenant_id': '765ed9f9bdf0417a883535fb528dad88', 'project_id': '765ed9f9bdf0417a883535fb528dad88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-12226638', 'ctest-vn2_metadata-47821267'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 21:06:37,988 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f302fed9-0002-4023-b4e2-b8607fb59b7b', 'name': '', 'tenant_id': '765ed9f9bdf0417a883535fb528dad88', 'network_id': '4bfe49b1-de32-4d71-9e27-ec70d5cd9aad', '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': '765ed9f9bdf0417a883535fb528dad88'}} 2024-08-29 21:06:38,010 - INFO - Created VN ctest-vn2_metadata-47821267 2024-08-29 21:06:38,063 - DEBUG - VN ctest-vn2_metadata-47821267 UUID is 4bfe49b1-de32-4d71-9e27-ec70d5cd9aad 2024-08-29 21:06:38,421 - DEBUG - Services list from nova: [, , ] 2024-08-29 21:06:39,891 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1818-1) 2024-08-29 21:06:40,043 - DEBUG - Link local service introspect added 2024-08-29 21:06:40,136 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-29 21:06:45,371 - DEBUG - VM is in ACTIVE state now 2024-08-29 21:06:45,623 - INFO - Waiting for VM ctest-TestBasicVMVN-12226638-32175568 to be up.. 2024-08-29 21:06:45,623 - INFO - VM name : ctest-TestBasicVMVN-12226638-32175568 2024-08-29 21:06:45,808 - DEBUG - VM ctest-TestBasicVMVN-12226638-32175568 ID is f793e0f3-7ccb-4c59-9fcb-54b891955d1c 2024-08-29 21:06:45,808 - DEBUG - VM ctest-TestBasicVMVN-12226638-32175568 launched on Node cn-jenkins-deploy-platform-ansible-os-1818-1 2024-08-29 21:06:45,958 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/f793e0f3-7ccb-4c59-9fcb-54b891955d1c 2024-08-29 21:06:46,270 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/f793e0f3-7ccb-4c59-9fcb-54b891955d1c 2024-08-29 21:06:46,319 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/3f448f9b-069e-4a6f-8c95-b59d0f5d3048 2024-08-29 21:06:49,678 - 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 1024ms') 2024-08-29 21:06:49,678 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12226638-32175568 failed! 2024-08-29 21:06:49,760 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-12226638:ctest-vn2_metadata-47821267 is 11.1.1.1 and allocation pool is NOT set 2024-08-29 21:06:53,872 - 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-08-29 21:06:53,872 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12226638-32175568 failed! 2024-08-29 21:06:53,931 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-12226638:ctest-vn2_metadata-47821267 is 11.1.1.1 and allocation pool is NOT set 2024-08-29 21:06:56,004 - 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.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.62 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.619/3.575/4.532/0.956 ms') 2024-08-29 21:06:56,004 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12226638-32175568 passed 2024-08-29 21:06:56,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:06:56,201 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12226638-32175568, IP 11.1.1.3, Port 22 2024-08-29 21:06:56,410 - DEBUG - VM ctest-TestBasicVMVN-12226638-32175568 is ready for SSH connections 2024-08-29 21:06:56,410 - INFO - Retry 0 2024-08-29 21:06:56,411 - 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.52, gateway password: c0ntrail123 2024-08-29 21:06:56,411 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-08-29 21:06:58,436 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-08-29 21:06:58,437 - INFO - Generic metadata worked 2024-08-29 21:06:58,864 - DEBUG - Link local service introspect removed 2024-08-29 21:06:58,864 - INFO - Deleting VM ctest-TestBasicVMVN-12226638-32175568 2024-08-29 21:06:59,138 - INFO - Deleting VN ctest-vn2_metadata-47821267 2024-08-29 21:06:59,220 - DEBUG - VN 4bfe49b1-de32-4d71-9e27-ec70d5cd9aad still in use: Unable to complete operation on network 4bfe49b1-de32-4d71-9e27-ec70d5cd9aad. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1725353b-e92b-4514-a9b9-fbb997e99c46'] 2024-08-29 21:06:59,220 - WARNING - Deleting VN ctest-vn2_metadata-47821267 failed..Will retry 2024-08-29 21:07:01,494 - DEBUG - Response for deleting network () 2024-08-29 21:07:01,829 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 21:07:01,829 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:25] 2024-08-29 21:07:01,830 - INFO - -------------------------------------------------------------------------------- 2024-08-29 21:07:01,834 - INFO - ================================================================================ 2024-08-29 21:07:01,834 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-08-29 21:07:01,835 - 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-08-29 21:07:02,183 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.10': '0'}} with 2024-08-29 21:07:02,183 - INFO - Initial checks done. Running the testcase now 2024-08-29 21:07:02,184 - INFO - 2024-08-29 21:07:02,854 - DEBUG - Response for create_network : {'network': {'id': '9d5d3b7c-a268-4eab-a87d-afba5847237d', 'name': 'ctest-vn-66089329', 'tenant_id': '765ed9f9bdf0417a883535fb528dad88', 'project_id': '765ed9f9bdf0417a883535fb528dad88', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-12226638', 'ctest-vn-66089329'], 'port_security_enabled': True, 'description': ''}} 2024-08-29 21:07:03,040 - DEBUG - Response for create_subnet : {'subnet': {'id': '99d7ea63-7b19-4bb0-9977-73d16c484804', 'name': '', 'tenant_id': '765ed9f9bdf0417a883535fb528dad88', 'network_id': '9d5d3b7c-a268-4eab-a87d-afba5847237d', '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': '765ed9f9bdf0417a883535fb528dad88'}} 2024-08-29 21:07:03,311 - DEBUG - Response for create_subnet : {'subnet': {'id': 'baaf90d9-c7ac-4fcf-80d3-65e50c428f52', 'name': '', 'tenant_id': '765ed9f9bdf0417a883535fb528dad88', 'network_id': '9d5d3b7c-a268-4eab-a87d-afba5847237d', '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': '765ed9f9bdf0417a883535fb528dad88'}} 2024-08-29 21:07:03,357 - INFO - Created VN ctest-vn-66089329 2024-08-29 21:07:03,432 - DEBUG - VN ctest-vn-66089329 UUID is 9d5d3b7c-a268-4eab-a87d-afba5847237d 2024-08-29 21:07:04,148 - DEBUG - Response for create_port : {'port': {'name': '407b51a5-3ea9-4df8-9950-3c2fc6c78138', 'id': '407b51a5-3ea9-4df8-9950-3c2fc6c78138', 'tenant_id': '765ed9f9bdf0417a883535fb528dad88', 'network_id': '9d5d3b7c-a268-4eab-a87d-afba5847237d', 'mac_address': '02:40:7b:51:a5:3e', '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': '99d7ea63-7b19-4bb0-9977-73d16c484804'}], 'security_groups': ['fe7dcd38-8395-4cc9-beac-282fdd41dff9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '765ed9f9bdf0417a883535fb528dad88'}} 2024-08-29 21:07:04,412 - DEBUG - Response for create_port : {'port': {'name': '7af454bf-02f5-4f15-8739-2cd79cbe6eac', 'id': '7af454bf-02f5-4f15-8739-2cd79cbe6eac', 'tenant_id': '765ed9f9bdf0417a883535fb528dad88', 'network_id': '9d5d3b7c-a268-4eab-a87d-afba5847237d', 'mac_address': '02:7a:f4:54:bf:02', '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': 'baaf90d9-c7ac-4fcf-80d3-65e50c428f52'}], 'security_groups': ['fe7dcd38-8395-4cc9-beac-282fdd41dff9'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '765ed9f9bdf0417a883535fb528dad88'}} 2024-08-29 21:07:05,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1818-1) 2024-08-29 21:07:05,978 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1818-1) 2024-08-29 21:07:07,386 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1818-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1818-1) 2024-08-29 21:07:07,386 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-29 21:07:07,393 - DEBUG - Requesting: http://10.0.0.52:8082/domain/24b399ab-0b2d-4476-a0fb-487312f1ca60 2024-08-29 21:07:07,412 - DEBUG - Requesting: http://10.0.0.52:8082/project/765ed9f9-bdf0-417a-8835-35fb528dad88 2024-08-29 21:07:07,487 - DEBUG - Requesting: http://10.0.0.52:8082/network-ipam/872e6eee-e046-4c7f-a5ef-67ebd6c4fdea 2024-08-29 21:07:07,498 - INFO - Verifications in API Server for IPAM: ctest-ipam-24494922 passed 2024-08-29 21:07:07,507 - DEBUG - Control-node 10.0.0.52 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-12226638:ctest-ipam-24494922', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-12226638', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9740845016292936831', 'uuid-lslong': '11956889798310165994'}, 'enable': 'true', 'created': '2024-08-29T21:07:02', 'last-modified': '2024-08-29T21:07:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.972451'} 2024-08-29 21:07:07,507 - INFO - Verifications in Control node for IPAM: ctest-ipam-24494922 passed 2024-08-29 21:07:07,507 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-29 21:07:07,513 - DEBUG - Requesting: http://10.0.0.52:8082/domain/24b399ab-0b2d-4476-a0fb-487312f1ca60 2024-08-29 21:07:07,525 - DEBUG - Requesting: http://10.0.0.52:8082/project/765ed9f9-bdf0-417a-8835-35fb528dad88 2024-08-29 21:07:07,638 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/9d5d3b7c-a268-4eab-a87d-afba5847237d 2024-08-29 21:07:07,651 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/9d5d3b7c-a268-4eab-a87d-afba5847237d 2024-08-29 21:07:07,662 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3138ec20-0e1a-462c-8f07-651eb8a71632 2024-08-29 21:07:07,670 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3138ec20-0e1a-462c-8f07-651eb8a71632 2024-08-29 21:07:07,680 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/55c769ad-3fba-4da5-bb4e-9acb45b64d50 2024-08-29 21:07:07,689 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-29 21:07:07,689 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/9d5d3b7c-a268-4eab-a87d-afba5847237d 2024-08-29 21:07:07,702 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3138ec20-0e1a-462c-8f07-651eb8a71632 2024-08-29 21:07:07,720 - INFO - Verified VN network id 8 for VN 9d5d3b7c-a268-4eab-a87d-afba5847237d 2024-08-29 21:07:07,720 - INFO - Verifications in API Server for VN ctest-vn-66089329 passed 2024-08-29 21:07:07,721 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/9d5d3b7c-a268-4eab-a87d-afba5847237d 2024-08-29 21:07:07,733 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3138ec20-0e1a-462c-8f07-651eb8a71632 2024-08-29 21:07:07,745 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3138ec20-0e1a-462c-8f07-651eb8a71632 2024-08-29 21:07:07,757 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/55c769ad-3fba-4da5-bb4e-9acb45b64d50 2024-08-29 21:07:07,775 - DEBUG - Control-node 10.0.0.52 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-12226638', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11339284843275505323', 'uuid-lslong': '12141053385340560253'}, 'enable': 'true', 'created': '2024-08-29T21:07:02', 'last-modified': '2024-08-29T21:07:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.521482'} 2024-08-29 21:07:07,783 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-29 21:07:07,783 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66089329 passed 2024-08-29 21:07:07,784 - DEBUG - ====Verifying policy data for ctest-vn-66089329 in API_Server ====== 2024-08-29 21:07:07,784 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-29 21:07:07,793 - DEBUG - Requesting: http://10.0.0.52:8082/domain/24b399ab-0b2d-4476-a0fb-487312f1ca60 2024-08-29 21:07:07,811 - DEBUG - Requesting: http://10.0.0.52:8082/project/765ed9f9-bdf0-417a-8835-35fb528dad88 2024-08-29 21:07:07,896 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/9d5d3b7c-a268-4eab-a87d-afba5847237d 2024-08-29 21:07:07,912 - DEBUG - =>VN ctest-vn-66089329 has no policy to be verified 2024-08-29 21:07:07,912 - DEBUG - Verifying the vn in opserver 2024-08-29 21:07:07,912 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329 virtual network link through opserver 10.0.0.52 2024-08-29 21:07:07,912 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2024-08-29 21:07:08,263 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2024-08-29 21:07:08,347 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329', 'href': 'http://10.0.0.52:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329?flat'} 2024-08-29 21:07:08,347 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329 is found in opserver 2024-08-29 21:07:08,355 - DEBUG - VRF ids for VN ctest-vn-66089329: {'10.0.0.52': '2'} 2024-08-29 21:07:08,355 - INFO - Waiting for VM ctest-TestBasicVMVN-12226638-05678216 to be up.. 2024-08-29 21:07:08,478 - DEBUG - VM is in ACTIVE state now 2024-08-29 21:07:08,478 - INFO - VM name : ctest-TestBasicVMVN-12226638-05678216 2024-08-29 21:07:08,590 - DEBUG - VM ctest-TestBasicVMVN-12226638-05678216 ID is 3848fa35-6613-49fc-857b-82484cb198f4 2024-08-29 21:07:08,590 - DEBUG - VM ctest-TestBasicVMVN-12226638-05678216 launched on Node cn-jenkins-deploy-platform-ansible-os-1818-1 2024-08-29 21:07:08,677 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/3848fa35-6613-49fc-857b-82484cb198f4 2024-08-29 21:07:08,688 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/407b51a5-3ea9-4df8-9950-3c2fc6c78138 2024-08-29 21:07:11,953 - 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-08-29 21:07:11,953 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12226638-05678216 failed! 2024-08-29 21:07:12,028 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329 is 31.1.1.1 and allocation pool is NOT set 2024-08-29 21:07:12,029 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329 is 31.1.2.1 and allocation pool is NOT set 2024-08-29 21:07:16,114 - 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-08-29 21:07:16,114 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12226638-05678216 failed! 2024-08-29 21:07:16,188 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329 is 31.1.1.1 and allocation pool is NOT set 2024-08-29 21:07:16,188 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329 is 31.1.2.1 and allocation pool is NOT set 2024-08-29 21:07:18,263 - 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=10.0 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.20 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 = 3.199/6.622/10.045/3.423 ms') 2024-08-29 21:07:18,263 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-12226638-05678216 passed 2024-08-29 21:07:18,435 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:18,435 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12226638-05678216, IP 31.1.1.4, Port 22 2024-08-29 21:07:18,516 - 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-08-29 21:07:18,692 - DEBUG - VM ctest-TestBasicVMVN-12226638-05678216 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-29 21:07:23,693 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:23,694 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12226638-05678216, IP 31.1.1.4, Port 22 2024-08-29 21:07:23,891 - DEBUG - VM ctest-TestBasicVMVN-12226638-05678216 is ready for SSH connections 2024-08-29 21:07:23,893 - INFO - Waiting for VM ctest-TestBasicVMVN-12226638-64889328 to be up.. 2024-08-29 21:07:24,068 - DEBUG - VM is in ACTIVE state now 2024-08-29 21:07:24,068 - INFO - VM name : ctest-TestBasicVMVN-12226638-64889328 2024-08-29 21:07:24,243 - DEBUG - VM ctest-TestBasicVMVN-12226638-64889328 ID is 964d32dd-e348-4274-a593-396cf590008c 2024-08-29 21:07:24,244 - DEBUG - VM ctest-TestBasicVMVN-12226638-64889328 launched on Node cn-jenkins-deploy-platform-ansible-os-1818-1 2024-08-29 21:07:24,479 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/964d32dd-e348-4274-a593-396cf590008c 2024-08-29 21:07:24,499 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/7af454bf-02f5-4f15-8739-2cd79cbe6eac 2024-08-29 21:07:25,832 - 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.08 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.01 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 = 1.012/3.048/5.084/2.036 ms') 2024-08-29 21:07:25,832 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-12226638-64889328 passed 2024-08-29 21:07:26,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:26,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12226638-64889328, IP 31.1.2.4, Port 22 2024-08-29 21:07:26,231 - DEBUG - VM ctest-TestBasicVMVN-12226638-64889328 is ready for SSH connections 2024-08-29 21:07:26,231 - INFO - Waiting for VM ctest-TestBasicVMVN-12226638-30539557 to be up.. 2024-08-29 21:07:26,457 - DEBUG - VM is in ACTIVE state now 2024-08-29 21:07:26,458 - INFO - VM name : ctest-TestBasicVMVN-12226638-30539557 2024-08-29 21:07:26,659 - DEBUG - VM ctest-TestBasicVMVN-12226638-30539557 ID is b49afb1a-ca47-4dc6-b351-5442b0a9b4fc 2024-08-29 21:07:26,659 - DEBUG - VM ctest-TestBasicVMVN-12226638-30539557 launched on Node cn-jenkins-deploy-platform-ansible-os-1818-1 2024-08-29 21:07:26,887 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/b49afb1a-ca47-4dc6-b351-5442b0a9b4fc 2024-08-29 21:07:26,913 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/394b3851-fb48-44f2-aca9-b9d3ec1523cf 2024-08-29 21:07:28,321 - 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=11.0 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.889 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.889/5.944/11.000/5.055 ms') 2024-08-29 21:07:28,321 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-12226638-30539557 passed 2024-08-29 21:07:28,508 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:28,508 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-12226638-30539557, IP 31.1.1.3, Port 22 2024-08-29 21:07:28,710 - DEBUG - VM ctest-TestBasicVMVN-12226638-30539557 is ready for SSH connections 2024-08-29 21:07:28,710 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:28,711 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:28,711 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-08-29 21:07:33,307 - 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.575 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.816 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=1.938 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.816/2.443/3.575 ms 2024-08-29 21:07:33,308 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-12226638-05678216 passed 2024-08-29 21:07:33,308 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:33,308 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:33,308 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-08-29 21:07:37,407 - 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.640 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.902 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=2.046 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.902/2.529/3.640 ms 2024-08-29 21:07:37,407 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-12226638-64889328 passed 2024-08-29 21:07:37,407 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:37,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:37,408 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-29 21:07:37,408 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:37,409 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-29 21:07:37,665 - DEBUG - None 2024-08-29 21:07:37,665 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:37,666 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-29 21:07:37,896 - DEBUG - None 2024-08-29 21:07:37,896 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:37,896 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-29 21:07:39,053 - DEBUG - None 2024-08-29 21:07:39,053 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:39,054 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-08-29 21:07:41,366 - 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.789 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=7.523 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.505 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.092 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.858 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.505/2.753/7.523 ms 2024-08-29 21:07:41,366 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:41,367 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-08-29 21:07:43,746 - 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.045 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.579 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.604 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.085 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=5.133 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=8.307 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.898 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.898/3.521/8.307 ms 2024-08-29 21:07:43,747 - 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.52, gateway password: c0ntrail123 2024-08-29 21:07:43,747 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-08-29 21:07:46,140 - 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=2.949 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=11.706 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=16.361 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=2.337 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=6.929 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=10.563 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.099 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 1.099/7.420/16.361 ms 2024-08-29 21:07:46,140 - INFO - Deleting VM ctest-TestBasicVMVN-12226638-30539557 2024-08-29 21:07:46,270 - INFO - Detaching port 7af454bf-02f5-4f15-8739-2cd79cbe6eac from VM ctest-TestBasicVMVN-12226638-64889328 2024-08-29 21:07:46,377 - INFO - Deleting VM ctest-TestBasicVMVN-12226638-64889328 2024-08-29 21:07:46,466 - INFO - Detaching port 407b51a5-3ea9-4df8-9950-3c2fc6c78138 from VM ctest-TestBasicVMVN-12226638-05678216 2024-08-29 21:07:46,522 - INFO - Deleting VM ctest-TestBasicVMVN-12226638-05678216 2024-08-29 21:07:46,612 - INFO - Deleting VN ctest-vn-66089329 2024-08-29 21:07:46,810 - DEBUG - Response for delete_port : () 2024-08-29 21:07:47,155 - DEBUG - Response for delete_port : () 2024-08-29 21:07:47,357 - DEBUG - Response for deleting network () 2024-08-29 21:07:47,357 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/3138ec20-0e1a-462c-8f07-651eb8a71632 2024-08-29 21:07:47,376 - DEBUG - Response Code: 404 2024-08-29 21:07:47,379 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-08-29 21:07:47,385 - DEBUG - Requesting: http://10.0.0.52:8082/domain/24b399ab-0b2d-4476-a0fb-487312f1ca60 2024-08-29 21:07:47,397 - DEBUG - Requesting: http://10.0.0.52:8082/project/765ed9f9-bdf0-417a-8835-35fb528dad88 2024-08-29 21:07:47,479 - INFO - Validated that VN ctest-vn-66089329 is not found in API Server 2024-08-29 21:07:47,491 - DEBUG - VN ctest-vn-66089329 is not present in Agent 10.0.0.52 2024-08-29 21:07:47,491 - INFO - Validated that VN ctest-vn-66089329 is not in any agent 2024-08-29 21:07:47,497 - DEBUG - VRF 2 is not seen in agent 10.0.0.52 2024-08-29 21:07:47,505 - DEBUG - Vrouter 10.0.0.52 does not have vrf 2 for VN ctest-vn-66089329 2024-08-29 21:07:47,505 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-12226638:ctest-vn-66089329 2024-08-29 21:07:47,521 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-66089329 info 2024-08-29 21:07:47,607 - INFO - IPAM: ctest-ipam-24494922 is not found in API Server 2024-08-29 21:07:47,626 - INFO - IPAM:ctest-ipam-24494922 is not found in control node 2024-08-29 21:07:47,936 - DEBUG - No XMPP flaps were noticed during the test 2024-08-29 21:07:47,936 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:46] 2024-08-29 21:07:47,936 - INFO - -------------------------------------------------------------------------------- 2024-08-29 21:07:48,771 - INFO - Deleted project: ctest-TestBasicVMVN-12226638, ID : 765ed9f9-bdf0-417a-8835-35fb528dad88