2024-09-05 19:24:20,485 - INFO - Domain Default found not creating 2024-09-05 19:24:20,912 - INFO - Project ctest-TestBasicVMVN-20936099 not found, creating it 2024-09-05 19:24:21,825 - INFO - Created Project:ctest-TestBasicVMVN-20936099, ID : 4faf2aa4-333c-4c6d-a141-9d8cc7490551 2024-09-05 19:24:24,256 - INFO - ================================================================================ 2024-09-05 19:24:24,256 - INFO - STARTING TEST : test_generic_link_local_service 2024-09-05 19:24:24,257 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2024-09-05 19:24:24,584 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with 2024-09-05 19:24:24,585 - INFO - Initial checks done. Running the testcase now 2024-09-05 19:24:24,585 - INFO - 2024-09-05 19:24:25,576 - DEBUG - Response for create_network : {'network': {'id': '50f2edbc-aeb9-439d-9b7f-d110bfd57be4', 'name': 'ctest-vn2_metadata-66806596', 'tenant_id': '4faf2aa4333c4c6da1419d8cc7490551', 'project_id': '4faf2aa4333c4c6da1419d8cc7490551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-20936099', 'ctest-vn2_metadata-66806596'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 19:24:25,894 - DEBUG - Response for create_subnet : {'subnet': {'id': 'dbdcb60f-182c-4cac-975f-b58f2e17154d', 'name': '', 'tenant_id': '4faf2aa4333c4c6da1419d8cc7490551', 'network_id': '50f2edbc-aeb9-439d-9b7f-d110bfd57be4', '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': '4faf2aa4333c4c6da1419d8cc7490551'}} 2024-09-05 19:24:25,947 - INFO - Created VN ctest-vn2_metadata-66806596 2024-09-05 19:24:26,018 - DEBUG - VN ctest-vn2_metadata-66806596 UUID is 50f2edbc-aeb9-439d-9b7f-d110bfd57be4 2024-09-05 19:24:26,359 - DEBUG - Services list from nova: [, , ] 2024-09-05 19:24:28,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1857-1) 2024-09-05 19:24:28,429 - DEBUG - Link local service introspect added 2024-09-05 19:24:28,551 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-09-05 19:24:33,688 - DEBUG - VM is in ACTIVE state now 2024-09-05 19:24:33,946 - INFO - Waiting for VM ctest-TestBasicVMVN-20936099-90587152 to be up.. 2024-09-05 19:24:33,946 - INFO - VM name : ctest-TestBasicVMVN-20936099-90587152 2024-09-05 19:24:34,159 - DEBUG - VM ctest-TestBasicVMVN-20936099-90587152 ID is 9d3c6de7-2c70-496a-b3e0-d0cd6aa6c96b 2024-09-05 19:24:34,160 - DEBUG - VM ctest-TestBasicVMVN-20936099-90587152 launched on Node cn-jenkins-deploy-platform-ansible-os-1857-1 2024-09-05 19:24:34,317 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9d3c6de7-2c70-496a-b3e0-d0cd6aa6c96b 2024-09-05 19:24:34,658 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/9d3c6de7-2c70-496a-b3e0-d0cd6aa6c96b 2024-09-05 19:24:34,701 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/5f307eb7-250e-4fdd-84fd-6b1c4a9f4fbc 2024-09-05 19:24:38,045 - 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-09-05 19:24:38,045 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-20936099-90587152 failed! 2024-09-05 19:24:38,122 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-20936099:ctest-vn2_metadata-66806596 is 11.1.1.1 and allocation pool is NOT set 2024-09-05 19:24:42,231 - 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 1028ms') 2024-09-05 19:24:42,232 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-20936099-90587152 failed! 2024-09-05 19:24:42,317 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-20936099:ctest-vn2_metadata-66806596 is 11.1.1.1 and allocation pool is NOT set 2024-09-05 19:24:44,402 - 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.17 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.10 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.100/4.632/8.165/3.532 ms') 2024-09-05 19:24:44,403 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-20936099-90587152 passed 2024-09-05 19:24:44,602 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:24:44,603 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-20936099-90587152, IP 11.1.1.3, Port 22 2024-09-05 19:24:44,812 - DEBUG - VM ctest-TestBasicVMVN-20936099-90587152 is ready for SSH connections 2024-09-05 19:24:44,813 - INFO - Retry 0 2024-09-05 19:24:44,813 - 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.22, gateway password: c0ntrail123 2024-09-05 19:24:44,813 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-09-05 19:24:46,924 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-09-05 19:24:46,925 - INFO - Generic metadata worked 2024-09-05 19:24:47,322 - DEBUG - Link local service introspect removed 2024-09-05 19:24:47,322 - INFO - Deleting VM ctest-TestBasicVMVN-20936099-90587152 2024-09-05 19:24:47,502 - INFO - Deleting VN ctest-vn2_metadata-66806596 2024-09-05 19:24:47,591 - DEBUG - VN 50f2edbc-aeb9-439d-9b7f-d110bfd57be4 still in use: Unable to complete operation on network 50f2edbc-aeb9-439d-9b7f-d110bfd57be4. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-1649b041-d1d5-4c28-9607-b0ef3cb35956'] 2024-09-05 19:24:47,591 - WARNING - Deleting VN ctest-vn2_metadata-66806596 failed..Will retry 2024-09-05 19:24:49,888 - DEBUG - Response for deleting network () 2024-09-05 19:24:50,232 - DEBUG - No XMPP flaps were noticed during the test 2024-09-05 19:24:50,232 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:26] 2024-09-05 19:24:50,233 - INFO - -------------------------------------------------------------------------------- 2024-09-05 19:24:50,242 - INFO - ================================================================================ 2024-09-05 19:24:50,242 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-09-05 19:24:50,242 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2024-09-05 19:24:50,592 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.8': '0'}} with 2024-09-05 19:24:50,592 - INFO - Initial checks done. Running the testcase now 2024-09-05 19:24:50,592 - INFO - 2024-09-05 19:24:51,368 - DEBUG - Response for create_network : {'network': {'id': 'bfb16e7c-a4a4-447b-a81c-18c302302e60', 'name': 'ctest-vn-84750016', 'tenant_id': '4faf2aa4333c4c6da1419d8cc7490551', 'project_id': '4faf2aa4333c4c6da1419d8cc7490551', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-20936099', 'ctest-vn-84750016'], 'port_security_enabled': True, 'description': ''}} 2024-09-05 19:24:51,584 - DEBUG - Response for create_subnet : {'subnet': {'id': '44f1970d-8c94-4fbd-b123-abd046c7c521', 'name': '', 'tenant_id': '4faf2aa4333c4c6da1419d8cc7490551', 'network_id': 'bfb16e7c-a4a4-447b-a81c-18c302302e60', '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': '4faf2aa4333c4c6da1419d8cc7490551'}} 2024-09-05 19:24:51,822 - DEBUG - Response for create_subnet : {'subnet': {'id': '736fc1b0-aa0e-441b-9f26-5028d53fe8bd', 'name': '', 'tenant_id': '4faf2aa4333c4c6da1419d8cc7490551', 'network_id': 'bfb16e7c-a4a4-447b-a81c-18c302302e60', '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': '4faf2aa4333c4c6da1419d8cc7490551'}} 2024-09-05 19:24:51,878 - INFO - Created VN ctest-vn-84750016 2024-09-05 19:24:51,946 - DEBUG - VN ctest-vn-84750016 UUID is bfb16e7c-a4a4-447b-a81c-18c302302e60 2024-09-05 19:24:52,694 - DEBUG - Response for create_port : {'port': {'name': '59f1d8b7-01c9-454f-b575-545109dd9a50', 'id': '59f1d8b7-01c9-454f-b575-545109dd9a50', 'tenant_id': '4faf2aa4333c4c6da1419d8cc7490551', 'network_id': 'bfb16e7c-a4a4-447b-a81c-18c302302e60', 'mac_address': '02:59:f1:d8:b7:01', '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': '44f1970d-8c94-4fbd-b123-abd046c7c521'}], 'security_groups': ['121e33b7-856f-4bde-82ea-284bfd262ab3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4faf2aa4333c4c6da1419d8cc7490551'}} 2024-09-05 19:24:52,986 - DEBUG - Response for create_port : {'port': {'name': 'ac79a923-c19c-4896-a873-489c3a6181f9', 'id': 'ac79a923-c19c-4896-a873-489c3a6181f9', 'tenant_id': '4faf2aa4333c4c6da1419d8cc7490551', 'network_id': 'bfb16e7c-a4a4-447b-a81c-18c302302e60', 'mac_address': '02:ac:79:a9:23:c1', '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': '736fc1b0-aa0e-441b-9f26-5028d53fe8bd'}], 'security_groups': ['121e33b7-856f-4bde-82ea-284bfd262ab3'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '4faf2aa4333c4c6da1419d8cc7490551'}} 2024-09-05 19:24:53,839 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1857-1) 2024-09-05 19:24:54,652 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1857-1) 2024-09-05 19:24:56,298 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1857-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1857-1) 2024-09-05 19:24:56,299 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-05 19:24:56,307 - DEBUG - Requesting: http://10.0.0.22:8082/domain/007ae462-6489-4fa3-a288-75ec8d6b0d2b 2024-09-05 19:24:56,330 - DEBUG - Requesting: http://10.0.0.22:8082/project/4faf2aa4-333c-4c6d-a141-9d8cc7490551 2024-09-05 19:24:56,429 - DEBUG - Requesting: http://10.0.0.22:8082/network-ipam/c5b2bd3c-c905-4d20-a088-6cc068bdd82d 2024-09-05 19:24:56,450 - INFO - Verifications in API Server for IPAM: ctest-ipam-43925344 passed 2024-09-05 19:24:56,457 - DEBUG - Control-node 10.0.0.22 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-20936099:ctest-ipam-43925344', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-20936099', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14245656640094555424', 'uuid-lslong': '11567615216547911725'}, 'enable': 'true', 'created': '2024-09-05T19:24:50', 'last-modified': '2024-09-05T19:24:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:05.520443'} 2024-09-05 19:24:56,458 - INFO - Verifications in Control node for IPAM: ctest-ipam-43925344 passed 2024-09-05 19:24:56,458 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-05 19:24:56,466 - DEBUG - Requesting: http://10.0.0.22:8082/domain/007ae462-6489-4fa3-a288-75ec8d6b0d2b 2024-09-05 19:24:56,488 - DEBUG - Requesting: http://10.0.0.22:8082/project/4faf2aa4-333c-4c6d-a141-9d8cc7490551 2024-09-05 19:24:56,569 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bfb16e7c-a4a4-447b-a81c-18c302302e60 2024-09-05 19:24:56,580 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bfb16e7c-a4a4-447b-a81c-18c302302e60 2024-09-05 19:24:56,590 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1d5fd996-d406-4798-8aae-dd582faf68cc 2024-09-05 19:24:56,598 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1d5fd996-d406-4798-8aae-dd582faf68cc 2024-09-05 19:24:56,606 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f2054894-44ea-49ce-8e3d-2e34ea8fa798 2024-09-05 19:24:56,613 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 19:24:56,614 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bfb16e7c-a4a4-447b-a81c-18c302302e60 2024-09-05 19:24:56,623 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1d5fd996-d406-4798-8aae-dd582faf68cc 2024-09-05 19:24:56,638 - INFO - Verified VN network id 7 for VN bfb16e7c-a4a4-447b-a81c-18c302302e60 2024-09-05 19:24:56,638 - INFO - Verifications in API Server for VN ctest-vn-84750016 passed 2024-09-05 19:24:56,638 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bfb16e7c-a4a4-447b-a81c-18c302302e60 2024-09-05 19:24:56,651 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1d5fd996-d406-4798-8aae-dd582faf68cc 2024-09-05 19:24:56,669 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1d5fd996-d406-4798-8aae-dd582faf68cc 2024-09-05 19:24:56,682 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/f2054894-44ea-49ce-8e3d-2e34ea8fa798 2024-09-05 19:24:56,701 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-20936099', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13812943013739250811', 'uuid-lslong': '12113584323554192992'}, 'enable': 'true', 'created': '2024-09-05T19:24:51', 'last-modified': '2024-09-05T19:24:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.952059'} 2024-09-05 19:24:56,710 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-09-05 19:24:56,710 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84750016 passed 2024-09-05 19:24:56,711 - DEBUG - ====Verifying policy data for ctest-vn-84750016 in API_Server ====== 2024-09-05 19:24:56,711 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-05 19:24:56,725 - DEBUG - Requesting: http://10.0.0.22:8082/domain/007ae462-6489-4fa3-a288-75ec8d6b0d2b 2024-09-05 19:24:56,743 - DEBUG - Requesting: http://10.0.0.22:8082/project/4faf2aa4-333c-4c6d-a141-9d8cc7490551 2024-09-05 19:24:56,832 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/bfb16e7c-a4a4-447b-a81c-18c302302e60 2024-09-05 19:24:56,866 - DEBUG - =>VN ctest-vn-84750016 has no policy to be verified 2024-09-05 19:24:56,866 - DEBUG - Verifying the vn in opserver 2024-09-05 19:24:56,866 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016 virtual network link through opserver 10.0.0.22 2024-09-05 19:24:56,866 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-09-05 19:24:57,262 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks 2024-09-05 19:24:57,362 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016?flat'} 2024-09-05 19:24:57,362 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016 is found in opserver 2024-09-05 19:24:57,374 - DEBUG - VRF ids for VN ctest-vn-84750016: {'10.0.0.22': '2'} 2024-09-05 19:24:57,374 - INFO - Waiting for VM ctest-TestBasicVMVN-20936099-89705754 to be up.. 2024-09-05 19:24:57,517 - DEBUG - VM is in ACTIVE state now 2024-09-05 19:24:57,517 - INFO - VM name : ctest-TestBasicVMVN-20936099-89705754 2024-09-05 19:24:57,602 - DEBUG - VM ctest-TestBasicVMVN-20936099-89705754 ID is e7c3404a-61ff-4264-997f-2a2fc9ab34a0 2024-09-05 19:24:57,603 - DEBUG - VM ctest-TestBasicVMVN-20936099-89705754 launched on Node cn-jenkins-deploy-platform-ansible-os-1857-1 2024-09-05 19:24:57,694 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/e7c3404a-61ff-4264-997f-2a2fc9ab34a0 2024-09-05 19:24:57,706 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/59f1d8b7-01c9-454f-b575-545109dd9a50 2024-09-05 19:25:01,048 - 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 1014ms') 2024-09-05 19:25:01,049 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-20936099-89705754 failed! 2024-09-05 19:25:01,135 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016 is 31.1.1.1 and allocation pool is NOT set 2024-09-05 19:25:01,136 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016 is 31.1.2.1 and allocation pool is NOT set 2024-09-05 19:25:05,205 - 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 1005ms') 2024-09-05 19:25:05,205 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-20936099-89705754 failed! 2024-09-05 19:25:05,262 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016 is 31.1.1.1 and allocation pool is NOT set 2024-09-05 19:25:05,262 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016 is 31.1.2.1 and allocation pool is NOT set 2024-09-05 19:25:07,335 - 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=5.87 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.46 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.460/4.165/5.871/1.705 ms') 2024-09-05 19:25:07,335 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-20936099-89705754 passed 2024-09-05 19:25:07,497 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:07,498 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-20936099-89705754, IP 31.1.1.4, Port 22 2024-09-05 19:25:07,563 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-09-05 19:25:07,674 - DEBUG - VM ctest-TestBasicVMVN-20936099-89705754 is NOT ready for SSH connections, VM status: ACTIVE 2024-09-05 19:25:12,676 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:12,676 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-20936099-89705754, IP 31.1.1.4, Port 22 2024-09-05 19:25:12,888 - DEBUG - VM ctest-TestBasicVMVN-20936099-89705754 is ready for SSH connections 2024-09-05 19:25:12,889 - INFO - Waiting for VM ctest-TestBasicVMVN-20936099-94245391 to be up.. 2024-09-05 19:25:13,119 - DEBUG - VM is in ACTIVE state now 2024-09-05 19:25:13,119 - INFO - VM name : ctest-TestBasicVMVN-20936099-94245391 2024-09-05 19:25:13,341 - DEBUG - VM ctest-TestBasicVMVN-20936099-94245391 ID is 05def15b-a5f2-4473-9521-87f61fd1b591 2024-09-05 19:25:13,342 - DEBUG - VM ctest-TestBasicVMVN-20936099-94245391 launched on Node cn-jenkins-deploy-platform-ansible-os-1857-1 2024-09-05 19:25:13,526 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/05def15b-a5f2-4473-9521-87f61fd1b591 2024-09-05 19:25:13,549 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/ac79a923-c19c-4896-a873-489c3a6181f9 2024-09-05 19:25:14,877 - 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=10.0 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.728 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.728/5.374/10.021/4.646 ms') 2024-09-05 19:25:14,877 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-20936099-94245391 passed 2024-09-05 19:25:15,062 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:15,062 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-20936099-94245391, IP 31.1.2.4, Port 22 2024-09-05 19:25:15,269 - DEBUG - VM ctest-TestBasicVMVN-20936099-94245391 is ready for SSH connections 2024-09-05 19:25:15,269 - INFO - Waiting for VM ctest-TestBasicVMVN-20936099-35778018 to be up.. 2024-09-05 19:25:15,511 - DEBUG - VM is in ACTIVE state now 2024-09-05 19:25:15,511 - INFO - VM name : ctest-TestBasicVMVN-20936099-35778018 2024-09-05 19:25:15,726 - DEBUG - VM ctest-TestBasicVMVN-20936099-35778018 ID is 2be7fc46-bdc8-4168-8395-58b543adb02e 2024-09-05 19:25:15,727 - DEBUG - VM ctest-TestBasicVMVN-20936099-35778018 launched on Node cn-jenkins-deploy-platform-ansible-os-1857-1 2024-09-05 19:25:15,895 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine/2be7fc46-bdc8-4168-8395-58b543adb02e 2024-09-05 19:25:15,917 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-machine-interface/8f3011a8-4374-46a6-b12c-910e61dd7511 2024-09-05 19:25:17,283 - 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=12.2 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.841 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.841/6.502/12.164/5.661 ms') 2024-09-05 19:25:17,284 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-20936099-35778018 passed 2024-09-05 19:25:17,474 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:17,475 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-20936099-35778018, IP 31.1.1.3, Port 22 2024-09-05 19:25:17,677 - DEBUG - VM ctest-TestBasicVMVN-20936099-35778018 is ready for SSH connections 2024-09-05 19:25:17,677 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:17,678 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:17,678 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-09-05 19:25:22,199 - 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.725 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.754 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=1.569 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.569/2.682/4.725 ms 2024-09-05 19:25:22,199 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-20936099-89705754 passed 2024-09-05 19:25:22,200 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:22,200 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:22,200 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-09-05 19:25:26,254 - DEBUG - PING 31.1.1.4 (31.1.1.4): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=63 time=4.441 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=2.315 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=2.022 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 2.022/2.926/4.441 ms 2024-09-05 19:25:26,254 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-20936099-94245391 passed 2024-09-05 19:25:26,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:26,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:26,255 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-09-05 19:25:26,255 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:26,256 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-05 19:25:26,542 - DEBUG - None 2024-09-05 19:25:26,542 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:26,542 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-05 19:25:26,831 - DEBUG - None 2024-09-05 19:25:26,831 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:26,832 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-09-05 19:25:27,923 - DEBUG - None 2024-09-05 19:25:27,924 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:27,924 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-09-05 19:25:30,222 - 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.304 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.871 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.123 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=7.877 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.068 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 1.068/3.848/7.877 ms 2024-09-05 19:25:30,222 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:30,222 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-09-05 19:25:32,569 - DEBUG - PING 224.0.0.1 (224.0.0.1): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.637 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=5.370 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=7.322 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.025 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=6.001 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=11.744 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=1.552 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 1.025/4.950/11.744 ms 2024-09-05 19:25:32,569 - 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.22, gateway password: c0ntrail123 2024-09-05 19:25:32,569 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-09-05 19:25:34,862 - 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.639 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.756 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.727 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.304 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=4.382 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=7.713 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.761 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.639/3.040/7.713 ms 2024-09-05 19:25:34,862 - INFO - Deleting VM ctest-TestBasicVMVN-20936099-35778018 2024-09-05 19:25:34,995 - INFO - Detaching port ac79a923-c19c-4896-a873-489c3a6181f9 from VM ctest-TestBasicVMVN-20936099-94245391 2024-09-05 19:25:35,094 - INFO - Deleting VM ctest-TestBasicVMVN-20936099-94245391 2024-09-05 19:25:35,198 - INFO - Detaching port 59f1d8b7-01c9-454f-b575-545109dd9a50 from VM ctest-TestBasicVMVN-20936099-89705754 2024-09-05 19:25:35,253 - INFO - Deleting VM ctest-TestBasicVMVN-20936099-89705754 2024-09-05 19:25:35,377 - INFO - Deleting VN ctest-vn-84750016 2024-09-05 19:25:35,619 - DEBUG - Response for delete_port : () 2024-09-05 19:25:35,885 - DEBUG - Response for delete_port : () 2024-09-05 19:25:36,097 - DEBUG - Response for deleting network () 2024-09-05 19:25:36,097 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/1d5fd996-d406-4798-8aae-dd582faf68cc 2024-09-05 19:25:36,105 - DEBUG - Response Code: 404 2024-09-05 19:25:36,105 - DEBUG - Requesting: http://10.0.0.22:8082/domains 2024-09-05 19:25:36,112 - DEBUG - Requesting: http://10.0.0.22:8082/domain/007ae462-6489-4fa3-a288-75ec8d6b0d2b 2024-09-05 19:25:36,171 - DEBUG - Requesting: http://10.0.0.22:8082/project/4faf2aa4-333c-4c6d-a141-9d8cc7490551 2024-09-05 19:25:36,268 - INFO - Validated that VN ctest-vn-84750016 is not found in API Server 2024-09-05 19:25:36,285 - DEBUG - VN ctest-vn-84750016 is not present in Agent 10.0.0.22 2024-09-05 19:25:36,285 - INFO - Validated that VN ctest-vn-84750016 is not in any agent 2024-09-05 19:25:36,296 - DEBUG - VRF 2 is not seen in agent 10.0.0.22 2024-09-05 19:25:36,306 - DEBUG - Vrouter 10.0.0.22 does not have vrf 2 for VN ctest-vn-84750016 2024-09-05 19:25:36,306 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-20936099:ctest-vn-84750016 2024-09-05 19:25:36,326 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-84750016 info 2024-09-05 19:25:36,437 - INFO - IPAM: ctest-ipam-43925344 is not found in API Server 2024-09-05 19:25:36,459 - INFO - IPAM:ctest-ipam-43925344 is not found in control node 2024-09-05 19:25:36,772 - DEBUG - No XMPP flaps were noticed during the test 2024-09-05 19:25:36,773 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:46] 2024-09-05 19:25:36,773 - INFO - -------------------------------------------------------------------------------- 2024-09-05 19:25:37,601 - INFO - Deleted project: ctest-TestBasicVMVN-20936099, ID : 4faf2aa4-333c-4c6d-a141-9d8cc7490551