2024-11-07 16:52:17,336 - INFO - Domain Default found not creating 2024-11-07 16:52:17,515 - INFO - Project ctest-TestBasicVMVN-57701638 not found, creating it 2024-11-07 16:52:18,068 - INFO - Created Project:ctest-TestBasicVMVN-57701638, ID : ee5730cb-28bc-4e6b-a2a8-b0b849e42949 2024-11-07 16:52:19,905 - INFO - ================================================================================ 2024-11-07 16:52:19,905 - INFO - STARTING TEST : test_generic_link_local_service 2024-11-07 16:52:19,905 - 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-07 16:52:20,167 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-11-07 16:52:20,168 - INFO - Initial checks done. Running the testcase now 2024-11-07 16:52:20,168 - INFO - 2024-11-07 16:52:20,794 - DEBUG - Response for create_network : {'network': {'id': 'f0895a5b-a163-4113-b6df-636e2cd3fa4b', 'name': 'ctest-vn2_metadata-78514721', 'tenant_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'project_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-57701638', 'ctest-vn2_metadata-78514721'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 16:52:21,011 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f49649b-4431-4ccc-877f-5ad6e573774e', 'name': '', 'tenant_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'network_id': 'f0895a5b-a163-4113-b6df-636e2cd3fa4b', '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': 'ee5730cb28bc4e6ba2a8b0b849e42949'}} 2024-11-07 16:52:21,033 - INFO - Created VN ctest-vn2_metadata-78514721 2024-11-07 16:52:21,092 - DEBUG - VN ctest-vn2_metadata-78514721 UUID is f0895a5b-a163-4113-b6df-636e2cd3fa4b 2024-11-07 16:52:21,312 - DEBUG - Services list from nova: [, , ] 2024-11-07 16:52:22,639 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2220-1) 2024-11-07 16:52:22,751 - DEBUG - Link local service introspect added 2024-11-07 16:52:22,796 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-07 16:52:27,887 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:52:28,027 - INFO - Waiting for VM ctest-TestBasicVMVN-57701638-31775783 to be up.. 2024-11-07 16:52:28,027 - INFO - VM name : ctest-TestBasicVMVN-57701638-31775783 2024-11-07 16:52:28,114 - DEBUG - VM ctest-TestBasicVMVN-57701638-31775783 ID is 6cbc15fe-4fc9-4176-837a-7e89f4461d01 2024-11-07 16:52:28,114 - DEBUG - VM ctest-TestBasicVMVN-57701638-31775783 launched on Node cn-jenkins-deploy-platform-ansible-os-2220-1 2024-11-07 16:52:28,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6cbc15fe-4fc9-4176-837a-7e89f4461d01 2024-11-07 16:52:28,715 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/6cbc15fe-4fc9-4176-837a-7e89f4461d01 2024-11-07 16:52:28,762 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/96754ef1-8821-49c0-854d-ba61587cfacf 2024-11-07 16:52:32,042 - 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 1018ms') 2024-11-07 16:52:32,042 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-57701638-31775783 failed! 2024-11-07 16:52:32,104 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-57701638:ctest-vn2_metadata-78514721 is 11.1.1.1 and allocation pool is NOT set 2024-11-07 16:52:34,170 - 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=9.88 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.94 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.937/5.908/9.880/3.971 ms') 2024-11-07 16:52:34,170 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-57701638-31775783 passed 2024-11-07 16:52:34,328 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:34,328 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-57701638-31775783, IP 11.1.1.3, Port 22 2024-11-07 16:52:34,394 - 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-07 16:52:34,481 - DEBUG - VM ctest-TestBasicVMVN-57701638-31775783 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-07 16:52:39,481 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:39,481 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-57701638-31775783, IP 11.1.1.3, Port 22 2024-11-07 16:52:39,640 - DEBUG - VM ctest-TestBasicVMVN-57701638-31775783 is ready for SSH connections 2024-11-07 16:52:39,640 - INFO - Retry 0 2024-11-07 16:52:39,640 - 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.38, gateway password: c0ntrail123 2024-11-07 16:52:39,640 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-11-07 16:52:41,302 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-11-07 16:52:41,302 - INFO - Generic metadata worked 2024-11-07 16:52:41,556 - DEBUG - Link local service introspect removed 2024-11-07 16:52:41,556 - INFO - Deleting VM ctest-TestBasicVMVN-57701638-31775783 2024-11-07 16:52:41,626 - INFO - Deleting VN ctest-vn2_metadata-78514721 2024-11-07 16:52:41,669 - DEBUG - VN f0895a5b-a163-4113-b6df-636e2cd3fa4b still in use: Unable to complete operation on network f0895a5b-a163-4113-b6df-636e2cd3fa4b. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-95301200-1e04-4334-8458-078d393110d7'] 2024-11-07 16:52:41,670 - WARNING - Deleting VN ctest-vn2_metadata-78514721 failed..Will retry 2024-11-07 16:52:43,795 - DEBUG - Response for deleting network () 2024-11-07 16:52:44,051 - DEBUG - No XMPP flaps were noticed during the test 2024-11-07 16:52:44,051 - INFO - -------------------------------------------------------------------------------- 2024-11-07 16:52:44,054 - INFO - ================================================================================ 2024-11-07 16:52:44,054 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-11-07 16:52:44,054 - 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-07 16:52:44,342 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.5': '0'}} with 2024-11-07 16:52:44,342 - INFO - Initial checks done. Running the testcase now 2024-11-07 16:52:44,342 - INFO - 2024-11-07 16:52:44,865 - DEBUG - Response for create_network : {'network': {'id': '178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2', 'name': 'ctest-vn-48591812', 'tenant_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'project_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-57701638', 'ctest-vn-48591812'], 'port_security_enabled': True, 'description': ''}} 2024-11-07 16:52:45,058 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd3870bdc-82e7-4409-9353-5a295f97ee18', 'name': '', 'tenant_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'network_id': '178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2', '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': 'ee5730cb28bc4e6ba2a8b0b849e42949'}} 2024-11-07 16:52:45,257 - DEBUG - Response for create_subnet : {'subnet': {'id': '13eb2519-7789-473d-96a1-6c6b832ccce5', 'name': '', 'tenant_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'network_id': '178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2', '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': 'ee5730cb28bc4e6ba2a8b0b849e42949'}} 2024-11-07 16:52:45,281 - INFO - Created VN ctest-vn-48591812 2024-11-07 16:52:45,340 - DEBUG - VN ctest-vn-48591812 UUID is 178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 2024-11-07 16:52:45,745 - DEBUG - Response for create_port : {'port': {'name': '719661f7-3996-482d-b152-52100bb8a651', 'id': '719661f7-3996-482d-b152-52100bb8a651', 'tenant_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'network_id': '178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2', 'mac_address': '02:71:96:61:f7:39', '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': 'd3870bdc-82e7-4409-9353-5a295f97ee18'}], 'security_groups': ['177e7b7a-ca01-48e4-b165-79f6f68839b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee5730cb28bc4e6ba2a8b0b849e42949'}} 2024-11-07 16:52:45,937 - DEBUG - Response for create_port : {'port': {'name': '39ef9685-f5e0-4940-b17f-4a8814c8130e', 'id': '39ef9685-f5e0-4940-b17f-4a8814c8130e', 'tenant_id': 'ee5730cb28bc4e6ba2a8b0b849e42949', 'network_id': '178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2', 'mac_address': '02:39:ef:96:85:f5', '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': '13eb2519-7789-473d-96a1-6c6b832ccce5'}], 'security_groups': ['177e7b7a-ca01-48e4-b165-79f6f68839b5'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': 'ee5730cb28bc4e6ba2a8b0b849e42949'}} 2024-11-07 16:52:46,348 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2220-1) 2024-11-07 16:52:46,770 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2220-1) 2024-11-07 16:52:48,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2220-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2220-1) 2024-11-07 16:52:48,122 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-11-07 16:52:48,137 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5db538cf-907c-436b-bc6d-9870bfa35860 2024-11-07 16:52:48,158 - DEBUG - Requesting: http://10.0.0.38:8082/project/ee5730cb-28bc-4e6b-a2a8-b0b849e42949 2024-11-07 16:52:48,254 - DEBUG - Requesting: http://10.0.0.38:8082/network-ipam/93956a89-58fd-4e44-98eb-bfea227e5414 2024-11-07 16:52:48,281 - INFO - Verifications in API Server for IPAM: ctest-ipam-31185198 passed 2024-11-07 16:52:48,292 - DEBUG - Control-node 10.0.0.38 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-57701638:ctest-ipam-31185198', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-57701638', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10634523233241353796', 'uuid-lslong': '11019111925614007316'}, 'enable': 'true', 'created': '2024-11-07T16:52:44', 'last-modified': '2024-11-07T16:52:44', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.713559'} 2024-11-07 16:52:48,292 - INFO - Verifications in Control node for IPAM: ctest-ipam-31185198 passed 2024-11-07 16:52:48,292 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-11-07 16:52:48,303 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5db538cf-907c-436b-bc6d-9870bfa35860 2024-11-07 16:52:48,330 - DEBUG - Requesting: http://10.0.0.38:8082/project/ee5730cb-28bc-4e6b-a2a8-b0b849e42949 2024-11-07 16:52:48,425 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 2024-11-07 16:52:48,447 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 2024-11-07 16:52:48,491 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72b949bf-c0bf-4d67-8ffb-14aa83f9f70d 2024-11-07 16:52:48,505 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72b949bf-c0bf-4d67-8ffb-14aa83f9f70d 2024-11-07 16:52:48,522 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a01d3af4-b49d-4082-942c-bec2a7712105 2024-11-07 16:52:48,537 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-07 16:52:48,537 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 2024-11-07 16:52:48,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72b949bf-c0bf-4d67-8ffb-14aa83f9f70d 2024-11-07 16:52:48,590 - INFO - Verified VN network id 8 for VN 178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 2024-11-07 16:52:48,590 - INFO - Verifications in API Server for VN ctest-vn-48591812 passed 2024-11-07 16:52:48,590 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 2024-11-07 16:52:48,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72b949bf-c0bf-4d67-8ffb-14aa83f9f70d 2024-11-07 16:52:48,626 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72b949bf-c0bf-4d67-8ffb-14aa83f9f70d 2024-11-07 16:52:48,637 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/a01d3af4-b49d-4082-942c-bec2a7712105 2024-11-07 16:52:48,655 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-57701638', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1697534007592895199', 'uuid-lslong': '13245582069232112834'}, 'enable': 'true', 'created': '2024-11-07T16:52:44', 'last-modified': '2024-11-07T16:52:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.427916'} 2024-11-07 16:52:48,665 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-07 16:52:48,666 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48591812 passed 2024-11-07 16:52:48,666 - DEBUG - ====Verifying policy data for ctest-vn-48591812 in API_Server ====== 2024-11-07 16:52:48,666 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-11-07 16:52:48,681 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5db538cf-907c-436b-bc6d-9870bfa35860 2024-11-07 16:52:48,702 - DEBUG - Requesting: http://10.0.0.38:8082/project/ee5730cb-28bc-4e6b-a2a8-b0b849e42949 2024-11-07 16:52:48,831 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 2024-11-07 16:52:48,853 - DEBUG - =>VN ctest-vn-48591812 has no policy to be verified 2024-11-07 16:52:48,853 - DEBUG - Verifying the vn in opserver 2024-11-07 16:52:48,853 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812 virtual network link through opserver 10.0.0.38 2024-11-07 16:52:48,853 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-11-07 16:52:49,600 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2024-11-07 16:52:49,715 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812?flat'} 2024-11-07 16:52:49,715 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812 is found in opserver 2024-11-07 16:52:49,722 - DEBUG - VRF ids for VN ctest-vn-48591812: {'10.0.0.38': '2'} 2024-11-07 16:52:49,722 - INFO - Waiting for VM ctest-TestBasicVMVN-57701638-43203740 to be up.. 2024-11-07 16:52:49,826 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:52:49,827 - INFO - VM name : ctest-TestBasicVMVN-57701638-43203740 2024-11-07 16:52:49,930 - DEBUG - VM ctest-TestBasicVMVN-57701638-43203740 ID is 8bc07b73-6ec5-4cd4-90c4-63519859ac7d 2024-11-07 16:52:49,930 - DEBUG - VM ctest-TestBasicVMVN-57701638-43203740 launched on Node cn-jenkins-deploy-platform-ansible-os-2220-1 2024-11-07 16:52:50,037 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8bc07b73-6ec5-4cd4-90c4-63519859ac7d 2024-11-07 16:52:50,048 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/719661f7-3996-482d-b152-52100bb8a651 2024-11-07 16:52:53,410 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 0 received, 100% packet loss, time 1022ms') 2024-11-07 16:52:53,410 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-57701638-43203740 failed! 2024-11-07 16:52:53,508 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812 is 31.1.1.1 and allocation pool is NOT set 2024-11-07 16:52:53,508 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812 is 31.1.2.1 and allocation pool is NOT set 2024-11-07 16:52:57,583 - 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-07 16:52:57,583 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-57701638-43203740 failed! 2024-11-07 16:52:57,652 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812 is 31.1.1.1 and allocation pool is NOT set 2024-11-07 16:52:57,652 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812 is 31.1.2.1 and allocation pool is NOT set 2024-11-07 16:52:59,715 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=4.02 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.88 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.877/3.450/4.023/0.573 ms') 2024-11-07 16:52:59,716 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-57701638-43203740 passed 2024-11-07 16:52:59,884 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:52:59,884 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-57701638-43203740, IP 31.1.1.4, Port 22 2024-11-07 16:52:59,952 - 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-07 16:53:00,070 - DEBUG - VM ctest-TestBasicVMVN-57701638-43203740 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-07 16:53:05,071 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:05,071 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-57701638-43203740, IP 31.1.1.4, Port 22 2024-11-07 16:53:05,238 - DEBUG - VM ctest-TestBasicVMVN-57701638-43203740 is ready for SSH connections 2024-11-07 16:53:05,238 - INFO - Waiting for VM ctest-TestBasicVMVN-57701638-85397229 to be up.. 2024-11-07 16:53:05,337 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:53:05,337 - INFO - VM name : ctest-TestBasicVMVN-57701638-85397229 2024-11-07 16:53:05,434 - DEBUG - VM ctest-TestBasicVMVN-57701638-85397229 ID is a7c00ef3-01fb-4058-b4af-9fe47d49027c 2024-11-07 16:53:05,435 - DEBUG - VM ctest-TestBasicVMVN-57701638-85397229 launched on Node cn-jenkins-deploy-platform-ansible-os-2220-1 2024-11-07 16:53:05,524 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/a7c00ef3-01fb-4058-b4af-9fe47d49027c 2024-11-07 16:53:05,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/39ef9685-f5e0-4940-b17f-4a8814c8130e 2024-11-07 16:53:06,792 - 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=3.10 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.495 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.495/1.798/3.101/1.303 ms') 2024-11-07 16:53:06,792 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-57701638-85397229 passed 2024-11-07 16:53:06,956 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:06,956 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-57701638-85397229, IP 31.1.2.4, Port 22 2024-11-07 16:53:07,111 - DEBUG - VM ctest-TestBasicVMVN-57701638-85397229 is ready for SSH connections 2024-11-07 16:53:07,111 - INFO - Waiting for VM ctest-TestBasicVMVN-57701638-12137162 to be up.. 2024-11-07 16:53:07,197 - DEBUG - VM is in ACTIVE state now 2024-11-07 16:53:07,197 - INFO - VM name : ctest-TestBasicVMVN-57701638-12137162 2024-11-07 16:53:07,287 - DEBUG - VM ctest-TestBasicVMVN-57701638-12137162 ID is 025f49cc-aeac-42ba-9593-056b59a259be 2024-11-07 16:53:07,287 - DEBUG - VM ctest-TestBasicVMVN-57701638-12137162 launched on Node cn-jenkins-deploy-platform-ansible-os-2220-1 2024-11-07 16:53:07,379 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/025f49cc-aeac-42ba-9593-056b59a259be 2024-11-07 16:53:07,390 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3ab11710-7739-4a4d-9488-321c88b64e44 2024-11-07 16:53:08,657 - 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=3.07 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.422 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.422/1.744/3.067/1.322 ms') 2024-11-07 16:53:08,657 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-57701638-12137162 passed 2024-11-07 16:53:08,828 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:08,828 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-57701638-12137162, IP 31.1.1.3, Port 22 2024-11-07 16:53:08,988 - DEBUG - VM ctest-TestBasicVMVN-57701638-12137162 is ready for SSH connections 2024-11-07 16:53:08,988 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:08,988 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:08,988 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-11-07 16:53:12,759 - 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.367 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.808 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.831 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.808/2.002/4.367 ms 2024-11-07 16:53:12,759 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-57701638-43203740 passed 2024-11-07 16:53:12,760 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:12,760 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:12,760 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-11-07 16:53:16,811 - 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.785 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.844 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.886 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.844/1.838/3.785 ms 2024-11-07 16:53:16,812 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-57701638-85397229 passed 2024-11-07 16:53:16,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:16,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:16,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-07 16:53:16,812 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:16,812 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-07 16:53:17,017 - DEBUG - None 2024-11-07 16:53:17,018 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:17,018 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-07 16:53:17,216 - DEBUG - None 2024-11-07 16:53:17,216 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:17,216 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-07 16:53:17,895 - DEBUG - None 2024-11-07 16:53:17,896 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:17,896 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-11-07 16:53:20,130 - 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.094 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=6.303 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.508 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.825 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.409 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.409/2.227/6.303 ms 2024-11-07 16:53:20,130 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:20,130 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-11-07 16:53:22,411 - 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.257 ms 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.300 ms (DUP!) 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.489 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.463 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.446 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.407 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.596 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.463/2.279/4.489 ms 2024-11-07 16:53:22,411 - 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.38, gateway password: c0ntrail123 2024-11-07 16:53:22,411 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-11-07 16:53:24,663 - 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.731 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=2.863 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.752 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.447 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.009 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.107 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.425 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.425/1.904/3.752 ms 2024-11-07 16:53:24,663 - INFO - Deleting VM ctest-TestBasicVMVN-57701638-12137162 2024-11-07 16:53:24,748 - INFO - Detaching port 39ef9685-f5e0-4940-b17f-4a8814c8130e from VM ctest-TestBasicVMVN-57701638-85397229 2024-11-07 16:53:24,808 - INFO - Deleting VM ctest-TestBasicVMVN-57701638-85397229 2024-11-07 16:53:24,879 - INFO - Detaching port 719661f7-3996-482d-b152-52100bb8a651 from VM ctest-TestBasicVMVN-57701638-43203740 2024-11-07 16:53:24,915 - INFO - Deleting VM ctest-TestBasicVMVN-57701638-43203740 2024-11-07 16:53:25,004 - INFO - Deleting VN ctest-vn-48591812 2024-11-07 16:53:25,256 - DEBUG - Response for delete_port : () 2024-11-07 16:53:25,520 - DEBUG - Response for delete_port : () 2024-11-07 16:53:25,598 - DEBUG - VN 178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2 still in use: Unable to complete operation on network 178eda2f-9cb8-42df-b7d1-c2b6bfdd14c2. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-31c473b4-6e44-48e7-926c-b64e10d0b6e1'] 2024-11-07 16:53:25,598 - WARNING - Deleting VN ctest-vn-48591812 failed..Will retry 2024-11-07 16:53:27,762 - DEBUG - Response for deleting network () 2024-11-07 16:53:27,762 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/72b949bf-c0bf-4d67-8ffb-14aa83f9f70d 2024-11-07 16:53:27,769 - DEBUG - Response Code: 404 2024-11-07 16:53:27,769 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2024-11-07 16:53:27,776 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5db538cf-907c-436b-bc6d-9870bfa35860 2024-11-07 16:53:27,835 - DEBUG - Requesting: http://10.0.0.38:8082/project/ee5730cb-28bc-4e6b-a2a8-b0b849e42949 2024-11-07 16:53:27,932 - INFO - Validated that VN ctest-vn-48591812 is not found in API Server 2024-11-07 16:53:27,945 - DEBUG - VN ctest-vn-48591812 is not present in Agent 10.0.0.38 2024-11-07 16:53:27,945 - INFO - Validated that VN ctest-vn-48591812 is not in any agent 2024-11-07 16:53:27,950 - DEBUG - VRF 2 is not seen in agent 10.0.0.38 2024-11-07 16:53:27,956 - DEBUG - Vrouter 10.0.0.38 does not have vrf 2 for VN ctest-vn-48591812 2024-11-07 16:53:27,956 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-57701638:ctest-vn-48591812 2024-11-07 16:53:27,972 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-48591812 info 2024-11-07 16:53:28,058 - INFO - IPAM: ctest-ipam-31185198 is not found in API Server 2024-11-07 16:53:28,071 - INFO - IPAM:ctest-ipam-31185198 is not found in control node 2024-11-07 16:53:28,326 - DEBUG - No XMPP flaps were noticed during the test
2024-11-07 16:53:28,326 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:44]
2024-11-07 16:53:28,327 - INFO - -------------------------------------------------------------------------------- 2024-11-07 16:53:29,529 - INFO - Deleted project: ctest-TestBasicVMVN-57701638, ID : ee5730cb-28bc-4e6b-a2a8-b0b849e42949