2024-11-10 18:09:50,380 - INFO - Domain Default found not creating 2024-11-10 18:09:50,688 - INFO - Project ctest-TestBasicVMVN-07581419 not found, creating it 2024-11-10 18:09:51,295 - INFO - Created Project:ctest-TestBasicVMVN-07581419, ID : 455b210e-9f14-4915-a5b7-6892c12e0826 2024-11-10 18:09:53,445 - INFO - ================================================================================ 2024-11-10 18:09:53,445 - INFO - STARTING TEST : test_generic_link_local_service 2024-11-10 18:09:53,445 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2024-11-10 18:09:53,755 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.26': '0'}} with 2024-11-10 18:09:53,755 - INFO - Initial checks done. Running the testcase now 2024-11-10 18:09:53,756 - INFO - 2024-11-10 18:09:54,563 - DEBUG - Response for create_network : {'network': {'id': '1672576e-77bc-43f9-9a51-bf8c0ea15b4d', 'name': 'ctest-vn2_metadata-89369820', 'tenant_id': '455b210e9f144915a5b76892c12e0826', 'project_id': '455b210e9f144915a5b76892c12e0826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-07581419', 'ctest-vn2_metadata-89369820'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 18:09:54,829 - DEBUG - Response for create_subnet : {'subnet': {'id': '32000913-f548-4786-a21c-6ea351b54648', 'name': '', 'tenant_id': '455b210e9f144915a5b76892c12e0826', 'network_id': '1672576e-77bc-43f9-9a51-bf8c0ea15b4d', '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': '455b210e9f144915a5b76892c12e0826'}} 2024-11-10 18:09:54,857 - INFO - Created VN ctest-vn2_metadata-89369820 2024-11-10 18:09:54,933 - DEBUG - VN ctest-vn2_metadata-89369820 UUID is 1672576e-77bc-43f9-9a51-bf8c0ea15b4d 2024-11-10 18:09:55,256 - DEBUG - Services list from nova: [, , ] 2024-11-10 18:09:56,658 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2258-1) 2024-11-10 18:09:56,793 - DEBUG - Link local service introspect added 2024-11-10 18:09:56,854 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-10 18:10:02,020 - DEBUG - VM is in ACTIVE state now 2024-11-10 18:10:02,267 - INFO - Waiting for VM ctest-TestBasicVMVN-07581419-38968429 to be up.. 2024-11-10 18:10:02,267 - INFO - VM name : ctest-TestBasicVMVN-07581419-38968429 2024-11-10 18:10:02,443 - DEBUG - VM ctest-TestBasicVMVN-07581419-38968429 ID is 44b66e0a-f882-4980-8f58-6d14007b8c72 2024-11-10 18:10:02,443 - DEBUG - VM ctest-TestBasicVMVN-07581419-38968429 launched on Node cn-jenkins-deploy-platform-ansible-os-2258-1 2024-11-10 18:10:02,624 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/44b66e0a-f882-4980-8f58-6d14007b8c72 2024-11-10 18:10:02,949 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/44b66e0a-f882-4980-8f58-6d14007b8c72 2024-11-10 18:10:03,008 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/1ff57aca-c833-4f8b-9e22-45d398d1dfe5 2024-11-10 18:10:06,357 - 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 1008ms') 2024-11-10 18:10:06,357 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-07581419-38968429 failed! 2024-11-10 18:10:06,438 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-07581419:ctest-vn2_metadata-89369820 is 11.1.1.1 and allocation pool is NOT set 2024-11-10 18:10:10,516 - 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=2 ttl=63 time=6.61 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1003ms\r\nrtt min/avg/max/mdev = 6.607/6.607/6.607/0.000 ms') 2024-11-10 18:10:10,517 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-07581419-38968429 passed 2024-11-10 18:10:10,745 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:10,746 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-07581419-38968429, IP 11.1.1.3, Port 22 2024-11-10 18:10:10,947 - DEBUG - VM ctest-TestBasicVMVN-07581419-38968429 is ready for SSH connections 2024-11-10 18:10:10,947 - INFO - Retry 0 2024-11-10 18:10:10,947 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:10,947 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-11-10 18:10:12,871 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-11-10 18:10:12,871 - INFO - Generic metadata worked 2024-11-10 18:10:13,249 - DEBUG - Link local service introspect removed 2024-11-10 18:10:13,249 - INFO - Deleting VM ctest-TestBasicVMVN-07581419-38968429 2024-11-10 18:10:13,437 - INFO - Deleting VN ctest-vn2_metadata-89369820 2024-11-10 18:10:13,508 - DEBUG - VN 1672576e-77bc-43f9-9a51-bf8c0ea15b4d still in use: Unable to complete operation on network 1672576e-77bc-43f9-9a51-bf8c0ea15b4d. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-387dfa77-cfa9-43e3-bcda-1adb7ccd9024'] 2024-11-10 18:10:13,508 - WARNING - Deleting VN ctest-vn2_metadata-89369820 failed..Will retry 2024-11-10 18:10:15,755 - DEBUG - Response for deleting network () 2024-11-10 18:10:16,040 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 18:10:16,040 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:23] 2024-11-10 18:10:16,040 - INFO - -------------------------------------------------------------------------------- 2024-11-10 18:10:16,044 - INFO - ================================================================================ 2024-11-10 18:10:16,044 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-11-10 18:10:16,044 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2024-11-10 18:10:16,371 - DEBUG - Nothing to compare xmpp stats {'10.0.0.36': {'10.20.0.26': '0'}} with 2024-11-10 18:10:16,371 - INFO - Initial checks done. Running the testcase now 2024-11-10 18:10:16,371 - INFO - 2024-11-10 18:10:17,195 - DEBUG - Response for create_network : {'network': {'id': 'c9e2b5a9-5135-40c2-a875-6b25deec9948', 'name': 'ctest-vn-93022758', 'tenant_id': '455b210e9f144915a5b76892c12e0826', 'project_id': '455b210e9f144915a5b76892c12e0826', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-07581419', 'ctest-vn-93022758'], 'port_security_enabled': True, 'description': ''}} 2024-11-10 18:10:17,405 - DEBUG - Response for create_subnet : {'subnet': {'id': '872e2011-4d17-4cf9-a964-328d8b8c9a24', 'name': '', 'tenant_id': '455b210e9f144915a5b76892c12e0826', 'network_id': 'c9e2b5a9-5135-40c2-a875-6b25deec9948', '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': '455b210e9f144915a5b76892c12e0826'}} 2024-11-10 18:10:17,649 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c9ea131b-c8bf-466f-b909-62864678acc6', 'name': '', 'tenant_id': '455b210e9f144915a5b76892c12e0826', 'network_id': 'c9e2b5a9-5135-40c2-a875-6b25deec9948', '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': '455b210e9f144915a5b76892c12e0826'}} 2024-11-10 18:10:17,674 - INFO - Created VN ctest-vn-93022758 2024-11-10 18:10:17,737 - DEBUG - VN ctest-vn-93022758 UUID is c9e2b5a9-5135-40c2-a875-6b25deec9948 2024-11-10 18:10:18,428 - DEBUG - Response for create_port : {'port': {'name': 'e418589a-3e39-46cf-86df-f872321f3f9d', 'id': 'e418589a-3e39-46cf-86df-f872321f3f9d', 'tenant_id': '455b210e9f144915a5b76892c12e0826', 'network_id': 'c9e2b5a9-5135-40c2-a875-6b25deec9948', 'mac_address': '02:e4:18:58:9a: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': '872e2011-4d17-4cf9-a964-328d8b8c9a24'}], 'security_groups': ['7799d06e-d2ba-4d19-b98a-27c4597dddd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '455b210e9f144915a5b76892c12e0826'}} 2024-11-10 18:10:18,702 - DEBUG - Response for create_port : {'port': {'name': '50641686-9986-4375-9e77-65ef09636f5f', 'id': '50641686-9986-4375-9e77-65ef09636f5f', 'tenant_id': '455b210e9f144915a5b76892c12e0826', 'network_id': 'c9e2b5a9-5135-40c2-a875-6b25deec9948', 'mac_address': '02:50:64:16:86:99', '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': 'c9ea131b-c8bf-466f-b909-62864678acc6'}], 'security_groups': ['7799d06e-d2ba-4d19-b98a-27c4597dddd7'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '455b210e9f144915a5b76892c12e0826'}} 2024-11-10 18:10:19,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2258-1) 2024-11-10 18:10:19,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2258-1) 2024-11-10 18:10:21,255 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2258-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2258-1) 2024-11-10 18:10:21,255 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-11-10 18:10:21,268 - DEBUG - Requesting: http://10.0.0.36:8082/domain/c09e2804-e5a0-4270-b14f-84c6a9b1a17a 2024-11-10 18:10:21,286 - DEBUG - Requesting: http://10.0.0.36:8082/project/455b210e-9f14-4915-a5b7-6892c12e0826 2024-11-10 18:10:21,403 - DEBUG - Requesting: http://10.0.0.36:8082/network-ipam/bc0ba5cc-7d47-4fcc-9fd2-630544137ff4 2024-11-10 18:10:21,421 - INFO - Verifications in API Server for IPAM: ctest-ipam-67671496 passed 2024-11-10 18:10:21,433 - DEBUG - Control-node 10.0.0.36 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-07581419:ctest-ipam-67671496', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-07581419', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13550106201568006092', 'uuid-lslong': '11516376071407894516'}, 'enable': 'true', 'created': '2024-11-10T18:10:16', 'last-modified': '2024-11-10T18:10:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.713477'} 2024-11-10 18:10:21,433 - INFO - Verifications in Control node for IPAM: ctest-ipam-67671496 passed 2024-11-10 18:10:21,433 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-11-10 18:10:21,447 - DEBUG - Requesting: http://10.0.0.36:8082/domain/c09e2804-e5a0-4270-b14f-84c6a9b1a17a 2024-11-10 18:10:21,473 - DEBUG - Requesting: http://10.0.0.36:8082/project/455b210e-9f14-4915-a5b7-6892c12e0826 2024-11-10 18:10:21,586 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9e2b5a9-5135-40c2-a875-6b25deec9948 2024-11-10 18:10:21,607 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9e2b5a9-5135-40c2-a875-6b25deec9948 2024-11-10 18:10:21,624 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/3d6d870d-4323-420e-aeed-00c9618c207f 2024-11-10 18:10:21,651 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/3d6d870d-4323-420e-aeed-00c9618c207f 2024-11-10 18:10:21,663 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/613714c3-f3ef-49eb-bb3d-a8d7a5f80523 2024-11-10 18:10:21,675 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 18:10:21,675 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9e2b5a9-5135-40c2-a875-6b25deec9948 2024-11-10 18:10:21,703 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/3d6d870d-4323-420e-aeed-00c9618c207f 2024-11-10 18:10:21,747 - INFO - Verified VN network id 7 for VN c9e2b5a9-5135-40c2-a875-6b25deec9948 2024-11-10 18:10:21,747 - INFO - Verifications in API Server for VN ctest-vn-93022758 passed 2024-11-10 18:10:21,747 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9e2b5a9-5135-40c2-a875-6b25deec9948 2024-11-10 18:10:21,765 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/3d6d870d-4323-420e-aeed-00c9618c207f 2024-11-10 18:10:21,776 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/3d6d870d-4323-420e-aeed-00c9618c207f 2024-11-10 18:10:21,785 - DEBUG - Requesting: http://10.0.0.36:8082/route-target/613714c3-f3ef-49eb-bb3d-a8d7a5f80523 2024-11-10 18:10:21,798 - DEBUG - Control-node 10.0.0.36 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-07581419', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14547389485176668354', 'uuid-lslong': '12138726181045049672'}, 'enable': 'true', 'created': '2024-11-10T18:10:17', 'last-modified': '2024-11-10T18:10:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.200877'} 2024-11-10 18:10:21,809 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-10 18:10:21,809 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-93022758 passed 2024-11-10 18:10:21,809 - DEBUG - ====Verifying policy data for ctest-vn-93022758 in API_Server ====== 2024-11-10 18:10:21,809 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-11-10 18:10:21,821 - DEBUG - Requesting: http://10.0.0.36:8082/domain/c09e2804-e5a0-4270-b14f-84c6a9b1a17a 2024-11-10 18:10:21,839 - DEBUG - Requesting: http://10.0.0.36:8082/project/455b210e-9f14-4915-a5b7-6892c12e0826 2024-11-10 18:10:21,986 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-network/c9e2b5a9-5135-40c2-a875-6b25deec9948 2024-11-10 18:10:22,034 - DEBUG - =>VN ctest-vn-93022758 has no policy to be verified 2024-11-10 18:10:22,035 - DEBUG - Verifying the vn in opserver 2024-11-10 18:10:22,035 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758 virtual network link through opserver 10.0.0.36 2024-11-10 18:10:22,035 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2024-11-10 18:10:22,465 - DEBUG - Requesting: http://10.0.0.36:8081/analytics/uves/virtual-networks 2024-11-10 18:10:22,611 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758', 'href': 'http://10.0.0.36:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758?flat'} 2024-11-10 18:10:22,611 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758 is found in opserver 2024-11-10 18:10:22,618 - DEBUG - VRF ids for VN ctest-vn-93022758: {'10.0.0.36': '2'} 2024-11-10 18:10:22,618 - INFO - Waiting for VM ctest-TestBasicVMVN-07581419-81833284 to be up.. 2024-11-10 18:10:22,761 - DEBUG - VM is in ACTIVE state now 2024-11-10 18:10:22,762 - INFO - VM name : ctest-TestBasicVMVN-07581419-81833284 2024-11-10 18:10:22,933 - DEBUG - VM ctest-TestBasicVMVN-07581419-81833284 ID is abbecd51-0354-4853-aadd-a8f5d6893c91 2024-11-10 18:10:22,933 - DEBUG - VM ctest-TestBasicVMVN-07581419-81833284 launched on Node cn-jenkins-deploy-platform-ansible-os-2258-1 2024-11-10 18:10:23,052 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/abbecd51-0354-4853-aadd-a8f5d6893c91 2024-11-10 18:10:23,083 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/e418589a-3e39-46cf-86df-f872321f3f9d 2024-11-10 18:10:26,384 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1002ms') 2024-11-10 18:10:26,385 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-07581419-81833284 failed! 2024-11-10 18:10:26,474 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758 is 31.1.1.1 and allocation pool is NOT set 2024-11-10 18:10:26,474 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758 is 31.1.2.1 and allocation pool is NOT set 2024-11-10 18:10:30,544 - 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 1010ms') 2024-11-10 18:10:30,545 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-07581419-81833284 failed! 2024-11-10 18:10:30,609 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758 is 31.1.1.1 and allocation pool is NOT set 2024-11-10 18:10:30,609 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758 is 31.1.2.1 and allocation pool is NOT set 2024-11-10 18:10:32,679 - 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=8.53 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.464 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.464/4.496/8.528/4.032 ms') 2024-11-10 18:10:32,680 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-07581419-81833284 passed 2024-11-10 18:10:32,846 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:32,846 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-07581419-81833284, IP 31.1.1.4, Port 22 2024-11-10 18:10:32,924 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-11-10 18:10:33,067 - DEBUG - VM ctest-TestBasicVMVN-07581419-81833284 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-10 18:10:38,068 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:38,069 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-07581419-81833284, IP 31.1.1.4, Port 22 2024-11-10 18:10:38,279 - DEBUG - VM ctest-TestBasicVMVN-07581419-81833284 is ready for SSH connections 2024-11-10 18:10:38,279 - INFO - Waiting for VM ctest-TestBasicVMVN-07581419-23691574 to be up.. 2024-11-10 18:10:38,445 - DEBUG - VM is in ACTIVE state now 2024-11-10 18:10:38,445 - INFO - VM name : ctest-TestBasicVMVN-07581419-23691574 2024-11-10 18:10:38,632 - DEBUG - VM ctest-TestBasicVMVN-07581419-23691574 ID is cd0f5747-ac55-4fb4-8d0d-0472939f6ae2 2024-11-10 18:10:38,632 - DEBUG - VM ctest-TestBasicVMVN-07581419-23691574 launched on Node cn-jenkins-deploy-platform-ansible-os-2258-1 2024-11-10 18:10:38,748 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/cd0f5747-ac55-4fb4-8d0d-0472939f6ae2 2024-11-10 18:10:38,775 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/50641686-9986-4375-9e77-65ef09636f5f 2024-11-10 18:10:40,168 - 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=9.03 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=1.07 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.068/5.050/9.032/3.982 ms') 2024-11-10 18:10:40,169 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-07581419-23691574 passed 2024-11-10 18:10:40,381 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:40,381 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-07581419-23691574, IP 31.1.2.4, Port 22 2024-11-10 18:10:40,587 - DEBUG - VM ctest-TestBasicVMVN-07581419-23691574 is ready for SSH connections 2024-11-10 18:10:40,587 - INFO - Waiting for VM ctest-TestBasicVMVN-07581419-03362576 to be up.. 2024-11-10 18:10:40,773 - DEBUG - VM is in ACTIVE state now 2024-11-10 18:10:40,773 - INFO - VM name : ctest-TestBasicVMVN-07581419-03362576 2024-11-10 18:10:40,951 - DEBUG - VM ctest-TestBasicVMVN-07581419-03362576 ID is c5884968-064b-4f21-b321-383cb229e915 2024-11-10 18:10:40,951 - DEBUG - VM ctest-TestBasicVMVN-07581419-03362576 launched on Node cn-jenkins-deploy-platform-ansible-os-2258-1 2024-11-10 18:10:41,188 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine/c5884968-064b-4f21-b321-383cb229e915 2024-11-10 18:10:41,218 - DEBUG - Requesting: http://10.0.0.36:8082/virtual-machine-interface/c0398020-6c6b-4479-9772-769a5aacd6d3 2024-11-10 18:10:42,627 - 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.92 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.935 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.935/5.425/9.915/4.490 ms') 2024-11-10 18:10:42,627 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-07581419-03362576 passed 2024-11-10 18:10:42,850 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:42,851 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-07581419-03362576, IP 31.1.1.3, Port 22 2024-11-10 18:10:43,050 - DEBUG - VM ctest-TestBasicVMVN-07581419-03362576 is ready for SSH connections 2024-11-10 18:10:43,050 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:43,050 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:43,050 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-11-10 18:10:47,517 - 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=4.766 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.115 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=1.670 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.670/2.850/4.766 ms 2024-11-10 18:10:47,517 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-07581419-81833284 passed 2024-11-10 18:10:47,517 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:47,518 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:47,518 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-11-10 18:10:51,638 - 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.877 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.230 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.197 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.197/2.101/3.877 ms 2024-11-10 18:10:51,638 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-07581419-23691574 passed 2024-11-10 18:10:51,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:51,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:51,639 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-10 18:10:51,639 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:51,639 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 18:10:51,873 - DEBUG - None 2024-11-10 18:10:51,873 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:51,873 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 18:10:52,232 - DEBUG - None 2024-11-10 18:10:52,232 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:52,233 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-10 18:10:53,170 - DEBUG - None 2024-11-10 18:10:53,170 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:53,171 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-11-10 18:10:55,461 - DEBUG - PING 31.1.1.7 (31.1.1.7): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=2.144 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.308 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.161 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=5.288 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.913 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.913/3.162/6.308 ms 2024-11-10 18:10:55,462 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:55,463 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-11-10 18:10:57,800 - 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.060 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.795 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=7.955 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.345 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=5.561 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=8.756 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.365 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 1.060/4.405/8.756 ms 2024-11-10 18:10:57,801 - 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.36, gateway password: c0ntrail123 2024-11-10 18:10:57,801 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-11-10 18:11:00,178 - 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=1.276 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=7.848 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=10.811 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.018 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=4.674 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=7.605 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.412 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 1.018/4.949/10.811 ms 2024-11-10 18:11:00,179 - INFO - Deleting VM ctest-TestBasicVMVN-07581419-03362576 2024-11-10 18:11:00,310 - INFO - Detaching port 50641686-9986-4375-9e77-65ef09636f5f from VM ctest-TestBasicVMVN-07581419-23691574 2024-11-10 18:11:00,378 - INFO - Deleting VM ctest-TestBasicVMVN-07581419-23691574 2024-11-10 18:11:00,483 - INFO - Detaching port e418589a-3e39-46cf-86df-f872321f3f9d from VM ctest-TestBasicVMVN-07581419-81833284 2024-11-10 18:11:00,532 - INFO - Deleting VM ctest-TestBasicVMVN-07581419-81833284 2024-11-10 18:11:00,628 - INFO - Deleting VN ctest-vn-93022758 2024-11-10 18:11:00,904 - DEBUG - Response for delete_port : () 2024-11-10 18:11:01,186 - DEBUG - Response for delete_port : () 2024-11-10 18:11:01,427 - DEBUG - Response for deleting network () 2024-11-10 18:11:01,428 - DEBUG - Requesting: http://10.0.0.36:8082/routing-instance/3d6d870d-4323-420e-aeed-00c9618c207f 2024-11-10 18:11:01,433 - DEBUG - Response Code: 404 2024-11-10 18:11:01,433 - DEBUG - Requesting: http://10.0.0.36:8082/domains 2024-11-10 18:11:01,439 - DEBUG - Requesting: http://10.0.0.36:8082/domain/c09e2804-e5a0-4270-b14f-84c6a9b1a17a 2024-11-10 18:11:01,497 - DEBUG - Requesting: http://10.0.0.36:8082/project/455b210e-9f14-4915-a5b7-6892c12e0826 2024-11-10 18:11:01,604 - INFO - Validated that VN ctest-vn-93022758 is not found in API Server 2024-11-10 18:11:01,617 - DEBUG - VN ctest-vn-93022758 is not present in Agent 10.0.0.36 2024-11-10 18:11:01,617 - INFO - Validated that VN ctest-vn-93022758 is not in any agent 2024-11-10 18:11:01,625 - DEBUG - VRF 2 is not seen in agent 10.0.0.36 2024-11-10 18:11:01,631 - DEBUG - Vrouter 10.0.0.36 does not have vrf 2 for VN ctest-vn-93022758 2024-11-10 18:11:01,631 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-07581419:ctest-vn-93022758 2024-11-10 18:11:01,643 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-93022758 info 2024-11-10 18:11:01,725 - INFO - IPAM: ctest-ipam-67671496 is not found in API Server 2024-11-10 18:11:01,745 - INFO - IPAM:ctest-ipam-67671496 is not found in control node 2024-11-10 18:11:02,054 - DEBUG - No XMPP flaps were noticed during the test 2024-11-10 18:11:02,054 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:46] 2024-11-10 18:11:02,055 - INFO - -------------------------------------------------------------------------------- 2024-11-10 18:11:02,980 - INFO - Deleted project: ctest-TestBasicVMVN-07581419, ID : 455b210e-9f14-4915-a5b7-6892c12e0826