2024-10-28 15:45:19,667 - INFO - Domain Default found not creating 2024-10-28 15:45:19,863 - INFO - Project ctest-TestBasicVMVN-19705864 not found, creating it 2024-10-28 15:45:20,397 - INFO - Created Project:ctest-TestBasicVMVN-19705864, ID : 53714281-cf37-4d0c-890d-c423acbba2a9 2024-10-28 15:45:22,207 - INFO - ================================================================================ 2024-10-28 15:45:22,207 - INFO - STARTING TEST : test_generic_link_local_service 2024-10-28 15:45:22,207 - 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-10-28 15:45:22,468 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.21': '0'}} with 2024-10-28 15:45:22,468 - INFO - Initial checks done. Running the testcase now 2024-10-28 15:45:22,468 - INFO - 2024-10-28 15:45:23,120 - DEBUG - Response for create_network : {'network': {'id': 'c303bde7-b9c0-4b0a-9f33-a4e6ba2d9fab', 'name': 'ctest-vn2_metadata-22482766', 'tenant_id': '53714281cf374d0c890dc423acbba2a9', 'project_id': '53714281cf374d0c890dc423acbba2a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-19705864', 'ctest-vn2_metadata-22482766'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 15:45:23,354 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b139bb40-9e64-4dca-872f-98fa86416442', 'name': '', 'tenant_id': '53714281cf374d0c890dc423acbba2a9', 'network_id': 'c303bde7-b9c0-4b0a-9f33-a4e6ba2d9fab', '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': '53714281cf374d0c890dc423acbba2a9'}} 2024-10-28 15:45:23,377 - INFO - Created VN ctest-vn2_metadata-22482766 2024-10-28 15:45:23,438 - DEBUG - VN ctest-vn2_metadata-22482766 UUID is c303bde7-b9c0-4b0a-9f33-a4e6ba2d9fab 2024-10-28 15:45:23,650 - DEBUG - Services list from nova: [, , ] 2024-10-28 15:45:24,941 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1) 2024-10-28 15:45:25,069 - DEBUG - Link local service introspect added 2024-10-28 15:45:25,124 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-10-28 15:45:30,230 - DEBUG - VM is in ACTIVE state now 2024-10-28 15:45:30,372 - INFO - Waiting for VM ctest-TestBasicVMVN-19705864-66550725 to be up.. 2024-10-28 15:45:30,372 - INFO - VM name : ctest-TestBasicVMVN-19705864-66550725 2024-10-28 15:45:30,484 - DEBUG - VM ctest-TestBasicVMVN-19705864-66550725 ID is db7f880b-f2ff-427e-9b07-739f770b1bb3 2024-10-28 15:45:30,485 - DEBUG - VM ctest-TestBasicVMVN-19705864-66550725 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1 2024-10-28 15:45:30,601 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/db7f880b-f2ff-427e-9b07-739f770b1bb3 2024-10-28 15:45:30,949 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/db7f880b-f2ff-427e-9b07-739f770b1bb3 2024-10-28 15:45:30,990 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/56513320-03fa-4f14-b6f3-5b676440a673 2024-10-28 15:45:34,260 - 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-10-28 15:45:34,260 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-19705864-66550725 failed! 2024-10-28 15:45:34,326 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-19705864:ctest-vn2_metadata-22482766 is 11.1.1.1 and allocation pool is NOT set 2024-10-28 15:45:36,395 - 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=14.2 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.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 = 2.195/8.201/14.208/6.006 ms') 2024-10-28 15:45:36,395 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-19705864-66550725 passed 2024-10-28 15:45:36,674 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:45:36,674 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-19705864-66550725, IP 11.1.1.3, Port 22 2024-10-28 15:45:36,738 - 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-10-28 15:45:36,903 - DEBUG - VM ctest-TestBasicVMVN-19705864-66550725 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-28 15:45:41,904 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:45:41,904 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-19705864-66550725, IP 11.1.1.3, Port 22 2024-10-28 15:45:42,076 - DEBUG - VM ctest-TestBasicVMVN-19705864-66550725 is ready for SSH connections 2024-10-28 15:45:42,076 - INFO - Retry 0 2024-10-28 15:45:42,076 - 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-10-28 15:45:42,076 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-10-28 15:45:43,730 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-10-28 15:45:43,730 - INFO - Generic metadata worked 2024-10-28 15:45:44,001 - DEBUG - Link local service introspect removed 2024-10-28 15:45:44,002 - INFO - Deleting VM ctest-TestBasicVMVN-19705864-66550725 2024-10-28 15:45:44,084 - INFO - Deleting VN ctest-vn2_metadata-22482766 2024-10-28 15:45:44,134 - DEBUG - VN c303bde7-b9c0-4b0a-9f33-a4e6ba2d9fab still in use: Unable to complete operation on network c303bde7-b9c0-4b0a-9f33-a4e6ba2d9fab. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-256980b9-64d0-44ff-bb3e-79042555534f'] 2024-10-28 15:45:44,134 - WARNING - Deleting VN ctest-vn2_metadata-22482766 failed..Will retry 2024-10-28 15:45:46,265 - DEBUG - Response for deleting network () 2024-10-28 15:45:46,520 - DEBUG - No XMPP flaps were noticed during the test 2024-10-28 15:45:46,520 - INFO - -------------------------------------------------------------------------------- 2024-10-28 15:45:46,524 - INFO - ================================================================================ 2024-10-28 15:45:46,524 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-10-28 15:45:46,524 - 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-10-28 15:45:46,808 - DEBUG - Nothing to compare xmpp stats {'10.0.0.52': {'10.20.0.21': '0'}} with 2024-10-28 15:45:46,808 - INFO - Initial checks done. Running the testcase now 2024-10-28 15:45:46,808 - INFO - 2024-10-28 15:45:47,354 - DEBUG - Response for create_network : {'network': {'id': 'cd5b3174-d700-4e2f-9714-b7d00d88fb65', 'name': 'ctest-vn-21897025', 'tenant_id': '53714281cf374d0c890dc423acbba2a9', 'project_id': '53714281cf374d0c890dc423acbba2a9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-19705864', 'ctest-vn-21897025'], 'port_security_enabled': True, 'description': ''}} 2024-10-28 15:45:47,533 - DEBUG - Response for create_subnet : {'subnet': {'id': '148af9e3-9b0c-4fc1-93f3-cde19a86b3e4', 'name': '', 'tenant_id': '53714281cf374d0c890dc423acbba2a9', 'network_id': 'cd5b3174-d700-4e2f-9714-b7d00d88fb65', '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': '53714281cf374d0c890dc423acbba2a9'}} 2024-10-28 15:45:47,735 - DEBUG - Response for create_subnet : {'subnet': {'id': '35212aa8-0d57-4303-a58e-98360243cc83', 'name': '', 'tenant_id': '53714281cf374d0c890dc423acbba2a9', 'network_id': 'cd5b3174-d700-4e2f-9714-b7d00d88fb65', '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': '53714281cf374d0c890dc423acbba2a9'}} 2024-10-28 15:45:47,759 - INFO - Created VN ctest-vn-21897025 2024-10-28 15:45:47,822 - DEBUG - VN ctest-vn-21897025 UUID is cd5b3174-d700-4e2f-9714-b7d00d88fb65 2024-10-28 15:45:48,252 - DEBUG - Response for create_port : {'port': {'name': 'd6758dbb-e745-4b25-a723-2cbd4bc98870', 'id': 'd6758dbb-e745-4b25-a723-2cbd4bc98870', 'tenant_id': '53714281cf374d0c890dc423acbba2a9', 'network_id': 'cd5b3174-d700-4e2f-9714-b7d00d88fb65', 'mac_address': '02:d6:75:8d:bb:e7', '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': '148af9e3-9b0c-4fc1-93f3-cde19a86b3e4'}], 'security_groups': ['e20add9d-8d9f-4845-b0fe-c1b3a6e2666e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53714281cf374d0c890dc423acbba2a9'}} 2024-10-28 15:45:48,464 - DEBUG - Response for create_port : {'port': {'name': '977b5b61-9d3b-4328-9a7f-500697e25747', 'id': '977b5b61-9d3b-4328-9a7f-500697e25747', 'tenant_id': '53714281cf374d0c890dc423acbba2a9', 'network_id': 'cd5b3174-d700-4e2f-9714-b7d00d88fb65', 'mac_address': '02:97:7b:5b:61:9d', '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': '35212aa8-0d57-4303-a58e-98360243cc83'}], 'security_groups': ['e20add9d-8d9f-4845-b0fe-c1b3a6e2666e'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '53714281cf374d0c890dc423acbba2a9'}} 2024-10-28 15:45:48,883 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1) 2024-10-28 15:45:49,358 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1) 2024-10-28 15:45:50,781 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2165-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2165-1) 2024-10-28 15:45:50,781 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-10-28 15:45:50,788 - DEBUG - Requesting: http://10.0.0.52:8082/domain/a2760c77-c251-48e8-8d9f-5fa7fcb50876 2024-10-28 15:45:50,818 - DEBUG - Requesting: http://10.0.0.52:8082/project/53714281-cf37-4d0c-890d-c423acbba2a9 2024-10-28 15:45:50,938 - DEBUG - Requesting: http://10.0.0.52:8082/network-ipam/110e5ee6-9fc6-4730-8b86-7ea4987c4219 2024-10-28 15:45:50,956 - INFO - Verifications in API Server for IPAM: ctest-ipam-94666622 passed 2024-10-28 15:45:50,969 - DEBUG - Control-node 10.0.0.52 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-19705864:ctest-ipam-94666622', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-19705864', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1229024092934784816', 'uuid-lslong': '10053862463549227545'}, 'enable': 'true', 'created': '2024-10-28T15:45:46', 'last-modified': '2024-10-28T15:45:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.915678'} 2024-10-28 15:45:50,970 - INFO - Verifications in Control node for IPAM: ctest-ipam-94666622 passed 2024-10-28 15:45:50,970 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-10-28 15:45:50,989 - DEBUG - Requesting: http://10.0.0.52:8082/domain/a2760c77-c251-48e8-8d9f-5fa7fcb50876 2024-10-28 15:45:51,020 - DEBUG - Requesting: http://10.0.0.52:8082/project/53714281-cf37-4d0c-890d-c423acbba2a9 2024-10-28 15:45:51,127 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/cd5b3174-d700-4e2f-9714-b7d00d88fb65 2024-10-28 15:45:51,151 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/cd5b3174-d700-4e2f-9714-b7d00d88fb65 2024-10-28 15:45:51,172 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/9c097c09-a4fd-4610-aaef-18b42754af6f 2024-10-28 15:45:51,191 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/9c097c09-a4fd-4610-aaef-18b42754af6f 2024-10-28 15:45:51,206 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/bdecfc2e-3d25-4658-b21d-4957a753b523 2024-10-28 15:45:51,221 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-28 15:45:51,221 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/cd5b3174-d700-4e2f-9714-b7d00d88fb65 2024-10-28 15:45:51,252 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/9c097c09-a4fd-4610-aaef-18b42754af6f 2024-10-28 15:45:51,281 - INFO - Verified VN network id 7 for VN cd5b3174-d700-4e2f-9714-b7d00d88fb65 2024-10-28 15:45:51,282 - INFO - Verifications in API Server for VN ctest-vn-21897025 passed 2024-10-28 15:45:51,282 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/cd5b3174-d700-4e2f-9714-b7d00d88fb65 2024-10-28 15:45:51,300 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/9c097c09-a4fd-4610-aaef-18b42754af6f 2024-10-28 15:45:51,312 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/9c097c09-a4fd-4610-aaef-18b42754af6f 2024-10-28 15:45:51,323 - DEBUG - Requesting: http://10.0.0.52:8082/route-target/bdecfc2e-3d25-4658-b21d-4957a753b523 2024-10-28 15:45:51,346 - DEBUG - Control-node 10.0.0.52 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-19705864', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14797475378548985391', 'uuid-lslong': '10886528303469493093'}, 'enable': 'true', 'created': '2024-10-28T15:45:47', 'last-modified': '2024-10-28T15:45:47', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.648984'} 2024-10-28 15:45:51,355 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-10-28 15:45:51,355 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-21897025 passed 2024-10-28 15:45:51,355 - DEBUG - ====Verifying policy data for ctest-vn-21897025 in API_Server ====== 2024-10-28 15:45:51,355 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-10-28 15:45:51,366 - DEBUG - Requesting: http://10.0.0.52:8082/domain/a2760c77-c251-48e8-8d9f-5fa7fcb50876 2024-10-28 15:45:51,387 - DEBUG - Requesting: http://10.0.0.52:8082/project/53714281-cf37-4d0c-890d-c423acbba2a9 2024-10-28 15:45:51,564 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-network/cd5b3174-d700-4e2f-9714-b7d00d88fb65 2024-10-28 15:45:51,624 - DEBUG - =>VN ctest-vn-21897025 has no policy to be verified 2024-10-28 15:45:51,624 - DEBUG - Verifying the vn in opserver 2024-10-28 15:45:51,624 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025 virtual network link through opserver 10.0.0.52 2024-10-28 15:45:51,624 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2024-10-28 15:45:52,141 - DEBUG - Requesting: http://10.0.0.52:8081/analytics/uves/virtual-networks 2024-10-28 15:45:52,262 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025', 'href': 'http://10.0.0.52:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025?flat'} 2024-10-28 15:45:52,262 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025 is found in opserver 2024-10-28 15:45:52,270 - DEBUG - VRF ids for VN ctest-vn-21897025: {'10.0.0.52': '2'} 2024-10-28 15:45:52,270 - INFO - Waiting for VM ctest-TestBasicVMVN-19705864-21904708 to be up.. 2024-10-28 15:45:52,392 - DEBUG - VM is in ACTIVE state now 2024-10-28 15:45:52,392 - INFO - VM name : ctest-TestBasicVMVN-19705864-21904708 2024-10-28 15:45:52,496 - DEBUG - VM ctest-TestBasicVMVN-19705864-21904708 ID is 49a51b2f-3caa-443c-a848-18e6df85faaa 2024-10-28 15:45:52,496 - DEBUG - VM ctest-TestBasicVMVN-19705864-21904708 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1 2024-10-28 15:45:52,614 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/49a51b2f-3caa-443c-a848-18e6df85faaa 2024-10-28 15:45:52,627 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/d6758dbb-e745-4b25-a723-2cbd4bc98870 2024-10-28 15:45:55,924 - 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 1006ms') 2024-10-28 15:45:55,924 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-19705864-21904708 failed! 2024-10-28 15:45:55,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025 is 31.1.1.1 and allocation pool is NOT set 2024-10-28 15:45:55,990 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025 is 31.1.2.1 and allocation pool is NOT set 2024-10-28 15:46:00,076 - 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 1031ms') 2024-10-28 15:46:00,076 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-19705864-21904708 failed! 2024-10-28 15:46:00,138 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025 is 31.1.1.1 and allocation pool is NOT set 2024-10-28 15:46:00,138 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025 is 31.1.2.1 and allocation pool is NOT set 2024-10-28 15:46:02,203 - 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.10 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.34 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.342/5.721/8.100/2.379 ms') 2024-10-28 15:46:02,203 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-19705864-21904708 passed 2024-10-28 15:46:02,370 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:02,370 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-19705864-21904708, IP 31.1.1.4, Port 22 2024-10-28 15:46:02,425 - 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-10-28 15:46:02,530 - DEBUG - VM ctest-TestBasicVMVN-19705864-21904708 is NOT ready for SSH connections, VM status: ACTIVE 2024-10-28 15:46:07,531 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:07,531 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-19705864-21904708, IP 31.1.1.4, Port 22 2024-10-28 15:46:07,686 - DEBUG - VM ctest-TestBasicVMVN-19705864-21904708 is ready for SSH connections 2024-10-28 15:46:07,686 - INFO - Waiting for VM ctest-TestBasicVMVN-19705864-87943635 to be up.. 2024-10-28 15:46:07,797 - DEBUG - VM is in ACTIVE state now 2024-10-28 15:46:07,798 - INFO - VM name : ctest-TestBasicVMVN-19705864-87943635 2024-10-28 15:46:07,896 - DEBUG - VM ctest-TestBasicVMVN-19705864-87943635 ID is 2007ec71-d819-4b93-bb23-d667a54770b3 2024-10-28 15:46:07,896 - DEBUG - VM ctest-TestBasicVMVN-19705864-87943635 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1 2024-10-28 15:46:07,999 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/2007ec71-d819-4b93-bb23-d667a54770b3 2024-10-28 15:46:08,014 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/977b5b61-9d3b-4328-9a7f-500697e25747 2024-10-28 15:46:09,281 - 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=4.94 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.582 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.582/2.763/4.944/2.181 ms') 2024-10-28 15:46:09,281 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-19705864-87943635 passed 2024-10-28 15:46:09,454 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:09,454 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-19705864-87943635, IP 31.1.2.4, Port 22 2024-10-28 15:46:09,613 - DEBUG - VM ctest-TestBasicVMVN-19705864-87943635 is ready for SSH connections 2024-10-28 15:46:09,613 - INFO - Waiting for VM ctest-TestBasicVMVN-19705864-15338978 to be up.. 2024-10-28 15:46:09,718 - DEBUG - VM is in ACTIVE state now 2024-10-28 15:46:09,718 - INFO - VM name : ctest-TestBasicVMVN-19705864-15338978 2024-10-28 15:46:09,815 - DEBUG - VM ctest-TestBasicVMVN-19705864-15338978 ID is fd7369d4-6608-4629-8a9a-afe471a2d4eb 2024-10-28 15:46:09,815 - DEBUG - VM ctest-TestBasicVMVN-19705864-15338978 launched on Node cn-jenkins-deploy-platform-ansible-os-2165-1 2024-10-28 15:46:09,911 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine/fd7369d4-6608-4629-8a9a-afe471a2d4eb 2024-10-28 15:46:09,923 - DEBUG - Requesting: http://10.0.0.52:8082/virtual-machine-interface/768d2740-f447-4cce-9974-c584b2701d6c 2024-10-28 15:46:11,185 - 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=4.26 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.502 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.502/2.380/4.258/1.878 ms') 2024-10-28 15:46:11,185 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-19705864-15338978 passed 2024-10-28 15:46:11,354 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:11,354 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-19705864-15338978, IP 31.1.1.3, Port 22 2024-10-28 15:46:11,513 - DEBUG - VM ctest-TestBasicVMVN-19705864-15338978 is ready for SSH connections 2024-10-28 15:46:11,513 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:11,513 - 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-10-28 15:46:11,513 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-10-28 15:46:15,247 - 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.677 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.873 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.873 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.873/1.807/3.677 ms 2024-10-28 15:46:15,247 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-19705864-21904708 passed 2024-10-28 15:46:15,247 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:15,247 - 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-10-28 15:46:15,247 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-10-28 15:46:19,354 - 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.612 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.107 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.057 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.057/1.925/3.612 ms 2024-10-28 15:46:19,354 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-19705864-87943635 passed 2024-10-28 15:46:19,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:19,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:19,355 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-10-28 15:46:19,355 - 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-10-28 15:46:19,355 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-10-28 15:46:19,591 - DEBUG - None 2024-10-28 15:46:19,591 - 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-10-28 15:46:19,591 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-10-28 15:46:19,812 - DEBUG - None 2024-10-28 15:46:19,813 - 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-10-28 15:46:19,813 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-10-28 15:46:20,528 - DEBUG - None 2024-10-28 15:46:20,528 - 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-10-28 15:46:20,529 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-10-28 15:46:22,767 - 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.049 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.292 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.511 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.777 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.458 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.458/1.817/4.292 ms 2024-10-28 15:46:22,767 - 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-10-28 15:46:22,767 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-10-28 15:46:25,063 - 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.191 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.430 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=5.594 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.482 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.863 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.716 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.401 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.401/2.382/5.594 ms 2024-10-28 15:46:25,063 - 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-10-28 15:46:25,063 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-10-28 15:46:27,339 - 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.751 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.907 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.778 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.714 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.430 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=3.552 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.463 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.463/2.085/3.778 ms 2024-10-28 15:46:27,339 - INFO - Deleting VM ctest-TestBasicVMVN-19705864-15338978 2024-10-28 15:46:27,416 - INFO - Detaching port 977b5b61-9d3b-4328-9a7f-500697e25747 from VM ctest-TestBasicVMVN-19705864-87943635 2024-10-28 15:46:27,472 - INFO - Deleting VM ctest-TestBasicVMVN-19705864-87943635 2024-10-28 15:46:27,545 - INFO - Detaching port d6758dbb-e745-4b25-a723-2cbd4bc98870 from VM ctest-TestBasicVMVN-19705864-21904708 2024-10-28 15:46:27,583 - INFO - Deleting VM ctest-TestBasicVMVN-19705864-21904708 2024-10-28 15:46:27,670 - INFO - Deleting VN ctest-vn-21897025 2024-10-28 15:46:27,902 - DEBUG - Response for delete_port : () 2024-10-28 15:46:28,206 - DEBUG - Response for delete_port : () 2024-10-28 15:46:28,274 - DEBUG - VN cd5b3174-d700-4e2f-9714-b7d00d88fb65 still in use: Unable to complete operation on network cd5b3174-d700-4e2f-9714-b7d00d88fb65. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-0f293400-6858-4696-8c6b-2f75a7b93c07'] 2024-10-28 15:46:28,274 - WARNING - Deleting VN ctest-vn-21897025 failed..Will retry 2024-10-28 15:46:30,457 - DEBUG - Response for deleting network () 2024-10-28 15:46:30,457 - DEBUG - Requesting: http://10.0.0.52:8082/routing-instance/9c097c09-a4fd-4610-aaef-18b42754af6f 2024-10-28 15:46:30,466 - DEBUG - Response Code: 404 2024-10-28 15:46:30,466 - DEBUG - Requesting: http://10.0.0.52:8082/domains 2024-10-28 15:46:30,474 - DEBUG - Requesting: http://10.0.0.52:8082/domain/a2760c77-c251-48e8-8d9f-5fa7fcb50876 2024-10-28 15:46:30,538 - DEBUG - Requesting: http://10.0.0.52:8082/project/53714281-cf37-4d0c-890d-c423acbba2a9 2024-10-28 15:46:30,633 - INFO - Validated that VN ctest-vn-21897025 is not found in API Server 2024-10-28 15:46:30,644 - DEBUG - VN ctest-vn-21897025 is not present in Agent 10.0.0.52 2024-10-28 15:46:30,644 - INFO - Validated that VN ctest-vn-21897025 is not in any agent 2024-10-28 15:46:30,650 - DEBUG - VRF 2 is not seen in agent 10.0.0.52 2024-10-28 15:46:30,656 - DEBUG - Vrouter 10.0.0.52 does not have vrf 2 for VN ctest-vn-21897025 2024-10-28 15:46:30,656 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-19705864:ctest-vn-21897025 2024-10-28 15:46:30,670 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-21897025 info 2024-10-28 15:46:30,757 - INFO - IPAM: ctest-ipam-94666622 is not found in API Server 2024-10-28 15:46:30,772 - INFO - IPAM:ctest-ipam-94666622 is not found in control node 2024-10-28 15:46:31,042 - DEBUG - No XMPP flaps were noticed during the test
2024-10-28 15:46:31,042 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:45]
2024-10-28 15:46:31,042 - INFO - -------------------------------------------------------------------------------- 2024-10-28 15:46:31,829 - INFO - Deleted project: ctest-TestBasicVMVN-19705864, ID : 53714281-cf37-4d0c-890d-c423acbba2a9