2024-08-21 16:33:23,459 - INFO - Domain Default found not creating 2024-08-21 16:33:23,615 - INFO - Project ctest-TestBasicVMVN-97738589 not found, creating it 2024-08-21 16:33:24,067 - INFO - Created Project:ctest-TestBasicVMVN-97738589, ID : 2671a423-7118-41bc-b6f4-77adab9028e9 2024-08-21 16:33:25,607 - INFO - ================================================================================ 2024-08-21 16:33:25,607 - INFO - STARTING TEST : test_generic_link_local_service 2024-08-21 16:33:25,607 - INFO - TEST DESCRIPTION : Description: Test to validate generic linklocal service - running nova list from vm. 1.Create generic link local service to be able to wget to jenkins 2.Create a vm 3.Try wget to jenkins - passes if successful else fails Maintainer: sandipd@juniper.net 2024-08-21 16:33:25,860 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.5': '0'}} with 2024-08-21 16:33:25,860 - INFO - Initial checks done. Running the testcase now 2024-08-21 16:33:25,860 - INFO - 2024-08-21 16:33:26,404 - DEBUG - Response for create_network : {'network': {'id': '0baf226e-1c7e-43e7-b24c-78cb04777fdb', 'name': 'ctest-vn2_metadata-46712370', 'tenant_id': '2671a423711841bcb6f477adab9028e9', 'project_id': '2671a423711841bcb6f477adab9028e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-97738589', 'ctest-vn2_metadata-46712370'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 16:33:26,605 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b023d66a-8b70-4460-ab2b-c69dc2a11950', 'name': '', 'tenant_id': '2671a423711841bcb6f477adab9028e9', 'network_id': '0baf226e-1c7e-43e7-b24c-78cb04777fdb', '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': '2671a423711841bcb6f477adab9028e9'}} 2024-08-21 16:33:26,626 - INFO - Created VN ctest-vn2_metadata-46712370 2024-08-21 16:33:26,678 - DEBUG - VN ctest-vn2_metadata-46712370 UUID is 0baf226e-1c7e-43e7-b24c-78cb04777fdb 2024-08-21 16:33:26,862 - DEBUG - Services list from nova: [, , ] 2024-08-21 16:33:27,865 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1693-1) 2024-08-21 16:33:27,974 - DEBUG - Link local service introspect added 2024-08-21 16:33:28,016 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 16:33:33,096 - DEBUG - VM is in ACTIVE state now 2024-08-21 16:33:33,211 - INFO - Waiting for VM ctest-TestBasicVMVN-97738589-02305285 to be up.. 2024-08-21 16:33:33,211 - INFO - VM name : ctest-TestBasicVMVN-97738589-02305285 2024-08-21 16:33:33,287 - DEBUG - VM ctest-TestBasicVMVN-97738589-02305285 ID is f6021db7-5b22-43fd-bed9-415727827c73 2024-08-21 16:33:33,287 - DEBUG - VM ctest-TestBasicVMVN-97738589-02305285 launched on Node cn-jenkins-deploy-platform-ansible-os-1693-1 2024-08-21 16:33:33,458 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f6021db7-5b22-43fd-bed9-415727827c73 2024-08-21 16:33:33,750 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/f6021db7-5b22-43fd-bed9-415727827c73 2024-08-21 16:33:33,782 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/ada41928-9bde-42da-86fc-1524e920921b 2024-08-21 16:33:37,034 - 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 1019ms') 2024-08-21 16:33:37,034 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-97738589-02305285 failed! 2024-08-21 16:33:37,086 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-97738589:ctest-vn2_metadata-46712370 is 11.1.1.1 and allocation pool is NOT set 2024-08-21 16:33:39,142 - 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=3.00 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.738 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 = 0.738/1.870/3.002/1.132 ms') 2024-08-21 16:33:39,142 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-97738589-02305285 passed 2024-08-21 16:33:39,290 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:33:39,290 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-97738589-02305285, IP 11.1.1.3, Port 22 2024-08-21 16:33:39,346 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-21 16:33:39,419 - DEBUG - VM ctest-TestBasicVMVN-97738589-02305285 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-21 16:33:44,419 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:33:44,420 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-97738589-02305285, IP 11.1.1.3, Port 22 2024-08-21 16:33:44,575 - DEBUG - VM ctest-TestBasicVMVN-97738589-02305285 is ready for SSH connections 2024-08-21 16:33:44,575 - INFO - Retry 0 2024-08-21 16:33:44,575 - 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.42, gateway password: c0ntrail123 2024-08-21 16:33:44,575 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-08-21 16:33:46,167 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-08-21 16:33:46,167 - INFO - Generic metadata worked 2024-08-21 16:33:46,406 - DEBUG - Link local service introspect removed 2024-08-21 16:33:46,406 - INFO - Deleting VM ctest-TestBasicVMVN-97738589-02305285 2024-08-21 16:33:46,468 - INFO - Deleting VN ctest-vn2_metadata-46712370 2024-08-21 16:33:46,507 - DEBUG - VN 0baf226e-1c7e-43e7-b24c-78cb04777fdb still in use: Unable to complete operation on network 0baf226e-1c7e-43e7-b24c-78cb04777fdb. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-388863a4-2f02-48ee-8e4a-e5f0e62e2509'] 2024-08-21 16:33:46,507 - WARNING - Deleting VN ctest-vn2_metadata-46712370 failed..Will retry 2024-08-21 16:33:48,634 - DEBUG - Response for deleting network () 2024-08-21 16:33:48,891 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 16:33:48,892 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:23] 2024-08-21 16:33:48,892 - INFO - -------------------------------------------------------------------------------- 2024-08-21 16:33:48,894 - INFO - ================================================================================ 2024-08-21 16:33:48,894 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-08-21 16:33:48,894 - INFO - TEST DESCRIPTION : Description: Validate Ping between 2 VMs in the same VN, 2 VMs in different VN subnets. Test steps: 1. Create 1 IPAM's. 2. Create 1 VN with 2 subnets and launch 2 VMs in them. 3. Ping between the VMs in the same VN should go thru fine. 4. Ping to the subnet broadcast and all-broadcast address. Pass criteria: VM in the same subnet will respond to both the pings, while the VM in a different VN should respond only to the all-broadcast address. Maintainer : ganeshahv@juniper.net 2024-08-21 16:33:49,179 - DEBUG - Nothing to compare xmpp stats {'10.0.0.42': {'10.20.0.5': '0'}} with 2024-08-21 16:33:49,179 - INFO - Initial checks done. Running the testcase now 2024-08-21 16:33:49,180 - INFO - 2024-08-21 16:33:49,661 - DEBUG - Response for create_network : {'network': {'id': 'ac805c10-ba43-4395-8434-63d9e6f5cf87', 'name': 'ctest-vn-73247853', 'tenant_id': '2671a423711841bcb6f477adab9028e9', 'project_id': '2671a423711841bcb6f477adab9028e9', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-97738589', 'ctest-vn-73247853'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 16:33:49,862 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bddb1488-b910-4621-a43b-4ce7f6c587ba', 'name': '', 'tenant_id': '2671a423711841bcb6f477adab9028e9', 'network_id': 'ac805c10-ba43-4395-8434-63d9e6f5cf87', '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': '2671a423711841bcb6f477adab9028e9'}} 2024-08-21 16:33:50,063 - DEBUG - Response for create_subnet : {'subnet': {'id': '5ae71b70-38a9-4c26-9164-ef845d5abff1', 'name': '', 'tenant_id': '2671a423711841bcb6f477adab9028e9', 'network_id': 'ac805c10-ba43-4395-8434-63d9e6f5cf87', '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': '2671a423711841bcb6f477adab9028e9'}} 2024-08-21 16:33:50,082 - INFO - Created VN ctest-vn-73247853 2024-08-21 16:33:50,134 - DEBUG - VN ctest-vn-73247853 UUID is ac805c10-ba43-4395-8434-63d9e6f5cf87 2024-08-21 16:33:50,498 - DEBUG - Response for create_port : {'port': {'name': 'b2bdf082-cd47-46d8-b926-d2c55e550138', 'id': 'b2bdf082-cd47-46d8-b926-d2c55e550138', 'tenant_id': '2671a423711841bcb6f477adab9028e9', 'network_id': 'ac805c10-ba43-4395-8434-63d9e6f5cf87', 'mac_address': '02:b2:bd:f0:82:cd', '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': 'bddb1488-b910-4621-a43b-4ce7f6c587ba'}], 'security_groups': ['bb337699-5396-46f1-97df-bcb84c7f918b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2671a423711841bcb6f477adab9028e9'}} 2024-08-21 16:33:50,671 - DEBUG - Response for create_port : {'port': {'name': 'fb43b467-2ad4-474f-a592-ee2065603d53', 'id': 'fb43b467-2ad4-474f-a592-ee2065603d53', 'tenant_id': '2671a423711841bcb6f477adab9028e9', 'network_id': 'ac805c10-ba43-4395-8434-63d9e6f5cf87', 'mac_address': '02:fb:43:b4:67:2a', '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': '5ae71b70-38a9-4c26-9164-ef845d5abff1'}], 'security_groups': ['bb337699-5396-46f1-97df-bcb84c7f918b'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '2671a423711841bcb6f477adab9028e9'}} 2024-08-21 16:33:51,122 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1693-1) 2024-08-21 16:33:51,492 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1693-1) 2024-08-21 16:33:52,699 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1693-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1693-1) 2024-08-21 16:33:52,699 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-08-21 16:33:52,708 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5b309771-a273-4311-af6e-ed5e0e917c96 2024-08-21 16:33:52,724 - DEBUG - Requesting: http://10.0.0.42:8082/project/2671a423-7118-41bc-b6f4-77adab9028e9 2024-08-21 16:33:52,798 - DEBUG - Requesting: http://10.0.0.42:8082/network-ipam/3e97a4c9-a461-4f8c-8cf7-ac18b6e85ed0 2024-08-21 16:33:52,808 - INFO - Verifications in API Server for IPAM: ctest-ipam-28878254 passed 2024-08-21 16:33:52,817 - DEBUG - Control-node 10.0.0.42 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-97738589:ctest-ipam-28878254', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-97738589', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4510254737788063628', 'uuid-lslong': '10157776706705317584'}, 'enable': 'true', 'created': '2024-08-21T16:33:49', 'last-modified': '2024-08-21T16:33:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.411278'} 2024-08-21 16:33:52,817 - INFO - Verifications in Control node for IPAM: ctest-ipam-28878254 passed 2024-08-21 16:33:52,817 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-08-21 16:33:52,825 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5b309771-a273-4311-af6e-ed5e0e917c96 2024-08-21 16:33:52,841 - DEBUG - Requesting: http://10.0.0.42:8082/project/2671a423-7118-41bc-b6f4-77adab9028e9 2024-08-21 16:33:52,924 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac805c10-ba43-4395-8434-63d9e6f5cf87 2024-08-21 16:33:52,935 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac805c10-ba43-4395-8434-63d9e6f5cf87 2024-08-21 16:33:52,945 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/27000d39-840a-4063-87d7-6eb4097725d7 2024-08-21 16:33:52,956 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/27000d39-840a-4063-87d7-6eb4097725d7 2024-08-21 16:33:52,964 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/92a9a114-e349-4b46-b7c8-da7febd1ce64 2024-08-21 16:33:52,971 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 16:33:52,971 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac805c10-ba43-4395-8434-63d9e6f5cf87 2024-08-21 16:33:52,981 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/27000d39-840a-4063-87d7-6eb4097725d7 2024-08-21 16:33:52,995 - INFO - Verified VN network id 9 for VN ac805c10-ba43-4395-8434-63d9e6f5cf87 2024-08-21 16:33:52,995 - INFO - Verifications in API Server for VN ctest-vn-73247853 passed 2024-08-21 16:33:52,995 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac805c10-ba43-4395-8434-63d9e6f5cf87 2024-08-21 16:33:53,019 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/27000d39-840a-4063-87d7-6eb4097725d7 2024-08-21 16:33:53,032 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/27000d39-840a-4063-87d7-6eb4097725d7 2024-08-21 16:33:53,046 - DEBUG - Requesting: http://10.0.0.42:8082/route-target/92a9a114-e349-4b46-b7c8-da7febd1ce64 2024-08-21 16:33:53,075 - DEBUG - Control-node 10.0.0.42 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-97738589', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '12430036198456771477', 'uuid-lslong': '9526348899329363847'}, 'enable': 'true', 'created': '2024-08-21T16:33:49', 'last-modified': '2024-08-21T16:33:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.057761'} 2024-08-21 16:33:53,087 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 16:33:53,087 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-73247853 passed 2024-08-21 16:33:53,091 - DEBUG - ====Verifying policy data for ctest-vn-73247853 in API_Server ====== 2024-08-21 16:33:53,091 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-08-21 16:33:53,106 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5b309771-a273-4311-af6e-ed5e0e917c96 2024-08-21 16:33:53,119 - DEBUG - Requesting: http://10.0.0.42:8082/project/2671a423-7118-41bc-b6f4-77adab9028e9 2024-08-21 16:33:53,207 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-network/ac805c10-ba43-4395-8434-63d9e6f5cf87 2024-08-21 16:33:53,223 - DEBUG - =>VN ctest-vn-73247853 has no policy to be verified 2024-08-21 16:33:53,223 - DEBUG - Verifying the vn in opserver 2024-08-21 16:33:53,223 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853 virtual network link through opserver 10.0.0.42 2024-08-21 16:33:53,223 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2024-08-21 16:33:53,625 - DEBUG - Requesting: http://10.0.0.42:8081/analytics/uves/virtual-networks 2024-08-21 16:33:53,724 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853', 'href': 'http://10.0.0.42:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853?flat'} 2024-08-21 16:33:53,725 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853 is found in opserver 2024-08-21 16:33:53,732 - DEBUG - VRF ids for VN ctest-vn-73247853: {'10.0.0.42': '2'} 2024-08-21 16:33:53,732 - INFO - Waiting for VM ctest-TestBasicVMVN-97738589-63189424 to be up.. 2024-08-21 16:33:53,878 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 16:33:58,987 - DEBUG - VM is in ACTIVE state now 2024-08-21 16:33:58,987 - INFO - VM name : ctest-TestBasicVMVN-97738589-63189424 2024-08-21 16:33:59,104 - DEBUG - VM ctest-TestBasicVMVN-97738589-63189424 ID is baa04170-8b84-4f4b-88ba-80d682caa6be 2024-08-21 16:33:59,105 - DEBUG - VM ctest-TestBasicVMVN-97738589-63189424 launched on Node cn-jenkins-deploy-platform-ansible-os-1693-1 2024-08-21 16:33:59,202 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/baa04170-8b84-4f4b-88ba-80d682caa6be 2024-08-21 16:33:59,218 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/b2bdf082-cd47-46d8-b926-d2c55e550138 2024-08-21 16:34:02,477 - 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-08-21 16:34:02,477 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-97738589-63189424 failed! 2024-08-21 16:34:02,534 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853 is 31.1.1.1 and allocation pool is NOT set 2024-08-21 16:34:02,534 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853 is 31.1.2.1 and allocation pool is NOT set 2024-08-21 16:34:04,599 - 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=2.76 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=2.69 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.685/2.720/2.756/0.035 ms') 2024-08-21 16:34:04,600 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-97738589-63189424 passed 2024-08-21 16:34:04,814 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:04,814 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-97738589-63189424, IP 31.1.1.4, Port 22 2024-08-21 16:34:04,869 - DEBUG - Error on ssh to cirros@169.254.0.3:22, result: /bin/bash: connect: Connection refused /bin/bash: line 1: /dev/tcp/169.254.0.3/22: Connection refused {'failed': True, 'command': '(echo > /dev/tcp/169.254.0.3/22)', 'real_command': '/bin/bash -l -c "(echo > /dev/tcp/169.254.0.3/22)"', 'return_code': 1, 'succeeded': False, 'stderr': ''} 2024-08-21 16:34:04,943 - DEBUG - VM ctest-TestBasicVMVN-97738589-63189424 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-21 16:34:09,944 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:09,944 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-97738589-63189424, IP 31.1.1.4, Port 22 2024-08-21 16:34:10,102 - DEBUG - VM ctest-TestBasicVMVN-97738589-63189424 is ready for SSH connections 2024-08-21 16:34:10,102 - INFO - Waiting for VM ctest-TestBasicVMVN-97738589-76312501 to be up.. 2024-08-21 16:34:10,260 - DEBUG - VM is in ACTIVE state now 2024-08-21 16:34:10,260 - INFO - VM name : ctest-TestBasicVMVN-97738589-76312501 2024-08-21 16:34:10,333 - DEBUG - VM ctest-TestBasicVMVN-97738589-76312501 ID is 31719353-ee4f-442b-bab2-37a4fb046893 2024-08-21 16:34:10,333 - DEBUG - VM ctest-TestBasicVMVN-97738589-76312501 launched on Node cn-jenkins-deploy-platform-ansible-os-1693-1 2024-08-21 16:34:10,405 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/31719353-ee4f-442b-bab2-37a4fb046893 2024-08-21 16:34:10,413 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/fb43b467-2ad4-474f-a592-ee2065603d53 2024-08-21 16:34:11,642 - 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=2.87 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.312 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.312/1.591/2.871/1.279 ms') 2024-08-21 16:34:11,642 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-97738589-76312501 passed 2024-08-21 16:34:11,790 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:11,790 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-97738589-76312501, IP 31.1.2.4, Port 22 2024-08-21 16:34:11,946 - DEBUG - VM ctest-TestBasicVMVN-97738589-76312501 is ready for SSH connections 2024-08-21 16:34:11,946 - INFO - Waiting for VM ctest-TestBasicVMVN-97738589-65452895 to be up.. 2024-08-21 16:34:12,019 - DEBUG - VM is in ACTIVE state now 2024-08-21 16:34:12,019 - INFO - VM name : ctest-TestBasicVMVN-97738589-65452895 2024-08-21 16:34:12,092 - DEBUG - VM ctest-TestBasicVMVN-97738589-65452895 ID is c455417f-462d-4828-9254-7b5e280287f4 2024-08-21 16:34:12,092 - DEBUG - VM ctest-TestBasicVMVN-97738589-65452895 launched on Node cn-jenkins-deploy-platform-ansible-os-1693-1 2024-08-21 16:34:12,163 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine/c455417f-462d-4828-9254-7b5e280287f4 2024-08-21 16:34:12,171 - DEBUG - Requesting: http://10.0.0.42:8082/virtual-machine-interface/82fa3c85-b8ac-4d70-895e-acb1e3b6c359 2024-08-21 16:34:13,402 - 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=2.72 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.459 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.459/1.587/2.716/1.128 ms') 2024-08-21 16:34:13,402 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-97738589-65452895 passed 2024-08-21 16:34:13,554 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:13,554 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-97738589-65452895, IP 31.1.1.3, Port 22 2024-08-21 16:34:13,706 - DEBUG - VM ctest-TestBasicVMVN-97738589-65452895 is ready for SSH connections 2024-08-21 16:34:13,706 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:13,707 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:13,707 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-08-21 16:34:17,367 - 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.297 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.690 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.772 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.690/1.586/3.297 ms 2024-08-21 16:34:17,367 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-97738589-63189424 passed 2024-08-21 16:34:17,367 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:17,367 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:17,367 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-08-21 16:34:21,292 - 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=2.807 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=0.826 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=0.846 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.826/1.493/2.807 ms 2024-08-21 16:34:21,292 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-97738589-76312501 passed 2024-08-21 16:34:21,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:21,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:21,292 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 16:34:21,292 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:21,293 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-21 16:34:21,467 - DEBUG - None 2024-08-21 16:34:21,467 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:21,468 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-21 16:34:21,641 - DEBUG - None 2024-08-21 16:34:21,641 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:21,641 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-21 16:34:22,237 - DEBUG - None 2024-08-21 16:34:22,237 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:22,238 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-08-21 16:34:24,444 - DEBUG - PING 31.1.1.7 (31.1.1.7): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.771 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.239 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.397 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.598 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.366 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.366/1.874/5.239 ms 2024-08-21 16:34:24,444 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:24,444 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-08-21 16:34:26,677 - 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=0.953 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.724 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.836 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.587 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.518 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.351 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.499 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.499/2.352/4.836 ms 2024-08-21 16:34:26,677 - 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.42, gateway password: c0ntrail123 2024-08-21 16:34:26,677 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-08-21 16:34:28,972 - 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.882 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.170 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.248 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.454 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.709 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=2.582 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.331 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.331/1.910/4.248 ms 2024-08-21 16:34:28,972 - INFO - Deleting VM ctest-TestBasicVMVN-97738589-65452895 2024-08-21 16:34:29,034 - INFO - Detaching port fb43b467-2ad4-474f-a592-ee2065603d53 from VM ctest-TestBasicVMVN-97738589-76312501 2024-08-21 16:34:29,078 - INFO - Deleting VM ctest-TestBasicVMVN-97738589-76312501 2024-08-21 16:34:29,141 - INFO - Detaching port b2bdf082-cd47-46d8-b926-d2c55e550138 from VM ctest-TestBasicVMVN-97738589-63189424 2024-08-21 16:34:29,174 - INFO - Deleting VM ctest-TestBasicVMVN-97738589-63189424 2024-08-21 16:34:29,239 - INFO - Deleting VN ctest-vn-73247853 2024-08-21 16:34:29,400 - DEBUG - Response for delete_port : () 2024-08-21 16:34:29,567 - DEBUG - Response for delete_port : () 2024-08-21 16:34:29,619 - DEBUG - VN ac805c10-ba43-4395-8434-63d9e6f5cf87 still in use: Unable to complete operation on network ac805c10-ba43-4395-8434-63d9e6f5cf87. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-52bf0371-e263-40e8-8d95-27aa1fe19a7d'] 2024-08-21 16:34:29,619 - WARNING - Deleting VN ctest-vn-73247853 failed..Will retry 2024-08-21 16:34:31,779 - DEBUG - Response for deleting network () 2024-08-21 16:34:31,779 - DEBUG - Requesting: http://10.0.0.42:8082/routing-instance/27000d39-840a-4063-87d7-6eb4097725d7 2024-08-21 16:34:31,788 - DEBUG - Response Code: 404 2024-08-21 16:34:31,788 - DEBUG - Requesting: http://10.0.0.42:8082/domains 2024-08-21 16:34:31,796 - DEBUG - Requesting: http://10.0.0.42:8082/domain/5b309771-a273-4311-af6e-ed5e0e917c96 2024-08-21 16:34:31,852 - DEBUG - Requesting: http://10.0.0.42:8082/project/2671a423-7118-41bc-b6f4-77adab9028e9 2024-08-21 16:34:31,922 - INFO - Validated that VN ctest-vn-73247853 is not found in API Server 2024-08-21 16:34:31,933 - DEBUG - VN ctest-vn-73247853 is not present in Agent 10.0.0.42 2024-08-21 16:34:31,933 - INFO - Validated that VN ctest-vn-73247853 is not in any agent 2024-08-21 16:34:31,938 - DEBUG - VRF 2 is not seen in agent 10.0.0.42 2024-08-21 16:34:31,945 - DEBUG - Vrouter 10.0.0.42 does not have vrf 2 for VN ctest-vn-73247853 2024-08-21 16:34:31,945 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-97738589:ctest-vn-73247853 2024-08-21 16:34:31,955 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-73247853 info 2024-08-21 16:34:32,030 - INFO - IPAM: ctest-ipam-28878254 is not found in API Server 2024-08-21 16:34:32,043 - INFO - IPAM:ctest-ipam-28878254 is not found in control node 2024-08-21 16:34:32,299 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 16:34:32,299 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:44] 2024-08-21 16:34:32,299 - INFO - -------------------------------------------------------------------------------- 2024-08-21 16:34:33,040 - INFO - Deleted project: ctest-TestBasicVMVN-97738589, ID : 2671a423-7118-41bc-b6f4-77adab9028e9