2024-08-21 11:56:34,747 - INFO - Domain Default found not creating 2024-08-21 11:56:34,941 - INFO - Project ctest-TestBasicVMVN-77983662 not found, creating it 2024-08-21 11:56:35,476 - INFO - Created Project:ctest-TestBasicVMVN-77983662, ID : 6757236e-4665-4c8e-b042-a284f10cbed1 2024-08-21 11:56:37,159 - INFO - ================================================================================ 2024-08-21 11:56:37,159 - INFO - STARTING TEST : test_generic_link_local_service 2024-08-21 11:56:37,159 - 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 11:56:37,415 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.22': '0'}} with 2024-08-21 11:56:37,415 - INFO - Initial checks done. Running the testcase now 2024-08-21 11:56:37,415 - INFO - 2024-08-21 11:56:38,017 - DEBUG - Response for create_network : {'network': {'id': 'da64fc0c-6e69-4520-8094-f45a59aa1b30', 'name': 'ctest-vn2_metadata-16869949', 'tenant_id': '6757236e46654c8eb042a284f10cbed1', 'project_id': '6757236e46654c8eb042a284f10cbed1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-77983662', 'ctest-vn2_metadata-16869949'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 11:56:38,286 - DEBUG - Response for create_subnet : {'subnet': {'id': '2c0b2393-803c-46fb-9116-fe9c4b3a81d5', 'name': '', 'tenant_id': '6757236e46654c8eb042a284f10cbed1', 'network_id': 'da64fc0c-6e69-4520-8094-f45a59aa1b30', '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': '6757236e46654c8eb042a284f10cbed1'}} 2024-08-21 11:56:38,308 - INFO - Created VN ctest-vn2_metadata-16869949 2024-08-21 11:56:38,361 - DEBUG - VN ctest-vn2_metadata-16869949 UUID is da64fc0c-6e69-4520-8094-f45a59aa1b30 2024-08-21 11:56:38,569 - DEBUG - Services list from nova: [, , ] 2024-08-21 11:56:39,727 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:56:39,844 - DEBUG - Link local service introspect added 2024-08-21 11:56:39,892 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-08-21 11:56:44,983 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:56:45,121 - INFO - Waiting for VM ctest-TestBasicVMVN-77983662-27091687 to be up.. 2024-08-21 11:56:45,121 - INFO - VM name : ctest-TestBasicVMVN-77983662-27091687 2024-08-21 11:56:45,207 - DEBUG - VM ctest-TestBasicVMVN-77983662-27091687 ID is 119a03d2-ac63-4725-96ef-20f58854ae98 2024-08-21 11:56:45,207 - DEBUG - VM ctest-TestBasicVMVN-77983662-27091687 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:56:45,294 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/119a03d2-ac63-4725-96ef-20f58854ae98 2024-08-21 11:56:45,593 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/119a03d2-ac63-4725-96ef-20f58854ae98 2024-08-21 11:56:45,629 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/4b4fa612-2cab-4856-8855-76e4c5463726 2024-08-21 11:56:48,903 - 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-08-21 11:56:48,903 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-77983662-27091687 failed! 2024-08-21 11:56:48,961 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-77983662:ctest-vn2_metadata-16869949 is 11.1.1.1 and allocation pool is NOT set 2024-08-21 11:56:51,025 - 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=15.8 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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 = 1.403/8.606/15.810/7.203 ms') 2024-08-21 11:56:51,026 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-77983662-27091687 passed 2024-08-21 11:56:51,177 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:56:51,177 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-77983662-27091687, IP 11.1.1.3, Port 22 2024-08-21 11:56:51,233 - 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 11:56:51,319 - DEBUG - VM ctest-TestBasicVMVN-77983662-27091687 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-21 11:56:56,319 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:56:56,320 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-77983662-27091687, IP 11.1.1.3, Port 22 2024-08-21 11:56:56,476 - DEBUG - VM ctest-TestBasicVMVN-77983662-27091687 is ready for SSH connections 2024-08-21 11:56:56,476 - INFO - Retry 0 2024-08-21 11:56:56,476 - 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.41, gateway password: c0ntrail123 2024-08-21 11:56:56,477 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-08-21 11:56:58,089 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-08-21 11:56:58,089 - INFO - Generic metadata worked 2024-08-21 11:56:58,341 - DEBUG - Link local service introspect removed 2024-08-21 11:56:58,341 - INFO - Deleting VM ctest-TestBasicVMVN-77983662-27091687 2024-08-21 11:56:58,411 - INFO - Deleting VN ctest-vn2_metadata-16869949 2024-08-21 11:56:58,452 - DEBUG - VN da64fc0c-6e69-4520-8094-f45a59aa1b30 still in use: Unable to complete operation on network da64fc0c-6e69-4520-8094-f45a59aa1b30. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-5ebb1f1f-2f86-46d3-ae14-0741cb66659b'] 2024-08-21 11:56:58,452 - WARNING - Deleting VN ctest-vn2_metadata-16869949 failed..Will retry 2024-08-21 11:57:00,579 - DEBUG - Response for deleting network () 2024-08-21 11:57:00,839 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 11:57:00,840 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:23] 2024-08-21 11:57:00,840 - INFO - -------------------------------------------------------------------------------- 2024-08-21 11:57:00,842 - INFO - ================================================================================ 2024-08-21 11:57:00,842 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-08-21 11:57:00,842 - 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 11:57:01,130 - DEBUG - Nothing to compare xmpp stats {'10.0.0.41': {'10.20.0.22': '0'}} with 2024-08-21 11:57:01,130 - INFO - Initial checks done. Running the testcase now 2024-08-21 11:57:01,130 - INFO - 2024-08-21 11:57:01,637 - DEBUG - Response for create_network : {'network': {'id': '1c8fe481-34ea-4faa-b74f-37e7c3f6534e', 'name': 'ctest-vn-72770501', 'tenant_id': '6757236e46654c8eb042a284f10cbed1', 'project_id': '6757236e46654c8eb042a284f10cbed1', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-77983662', 'ctest-vn-72770501'], 'port_security_enabled': True, 'description': ''}} 2024-08-21 11:57:01,869 - DEBUG - Response for create_subnet : {'subnet': {'id': '19b5a5e6-b887-4f41-a116-0f1fe36a8d66', 'name': '', 'tenant_id': '6757236e46654c8eb042a284f10cbed1', 'network_id': '1c8fe481-34ea-4faa-b74f-37e7c3f6534e', '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': '6757236e46654c8eb042a284f10cbed1'}} 2024-08-21 11:57:02,075 - DEBUG - Response for create_subnet : {'subnet': {'id': '6aeb338b-50b6-466a-b920-57a0459729ba', 'name': '', 'tenant_id': '6757236e46654c8eb042a284f10cbed1', 'network_id': '1c8fe481-34ea-4faa-b74f-37e7c3f6534e', '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': '6757236e46654c8eb042a284f10cbed1'}} 2024-08-21 11:57:02,099 - INFO - Created VN ctest-vn-72770501 2024-08-21 11:57:02,149 - DEBUG - VN ctest-vn-72770501 UUID is 1c8fe481-34ea-4faa-b74f-37e7c3f6534e 2024-08-21 11:57:02,572 - DEBUG - Response for create_port : {'port': {'name': '630a1f75-4e15-478c-818b-443b8fada07f', 'id': '630a1f75-4e15-478c-818b-443b8fada07f', 'tenant_id': '6757236e46654c8eb042a284f10cbed1', 'network_id': '1c8fe481-34ea-4faa-b74f-37e7c3f6534e', 'mac_address': '02:63:0a:1f:75:4e', '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': '19b5a5e6-b887-4f41-a116-0f1fe36a8d66'}], 'security_groups': ['5cab5112-8ff4-4f85-a575-ba06ebe69b57'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6757236e46654c8eb042a284f10cbed1'}} 2024-08-21 11:57:02,759 - DEBUG - Response for create_port : {'port': {'name': '59388d87-4bba-45cf-bfda-17fd055ab1a8', 'id': '59388d87-4bba-45cf-bfda-17fd055ab1a8', 'tenant_id': '6757236e46654c8eb042a284f10cbed1', 'network_id': '1c8fe481-34ea-4faa-b74f-37e7c3f6534e', 'mac_address': '02:59:38:8d:87:4b', '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': '6aeb338b-50b6-466a-b920-57a0459729ba'}], 'security_groups': ['5cab5112-8ff4-4f85-a575-ba06ebe69b57'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '6757236e46654c8eb042a284f10cbed1'}} 2024-08-21 11:57:03,236 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:57:03,673 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:57:05,011 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-1683-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-1683-1) 2024-08-21 11:57:05,011 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:57:05,023 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:57:05,102 - DEBUG - Requesting: http://10.0.0.41:8082/project/6757236e-4665-4c8e-b042-a284f10cbed1 2024-08-21 11:57:05,172 - DEBUG - Requesting: http://10.0.0.41:8082/network-ipam/2f6113d3-b68a-43af-b838-8c327059e622 2024-08-21 11:57:05,187 - INFO - Verifications in API Server for IPAM: ctest-ipam-73843346 passed 2024-08-21 11:57:05,196 - DEBUG - Control-node 10.0.0.41 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-77983662:ctest-ipam-73843346', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-77983662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3414031792545088431', 'uuid-lslong': '13274514049935730210'}, 'enable': 'true', 'created': '2024-08-21T11:57:01', 'last-modified': '2024-08-21T11:57:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.831772'} 2024-08-21 11:57:05,196 - INFO - Verifications in Control node for IPAM: ctest-ipam-73843346 passed 2024-08-21 11:57:05,196 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:57:05,222 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:57:05,247 - DEBUG - Requesting: http://10.0.0.41:8082/project/6757236e-4665-4c8e-b042-a284f10cbed1 2024-08-21 11:57:05,362 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1c8fe481-34ea-4faa-b74f-37e7c3f6534e 2024-08-21 11:57:05,400 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1c8fe481-34ea-4faa-b74f-37e7c3f6534e 2024-08-21 11:57:05,425 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/020fbb88-6a3e-415c-8292-9369832d6b70 2024-08-21 11:57:05,468 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/020fbb88-6a3e-415c-8292-9369832d6b70 2024-08-21 11:57:05,477 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0753ec99-5f37-4c84-b4d9-406c1742ed02 2024-08-21 11:57:05,486 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 11:57:05,486 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1c8fe481-34ea-4faa-b74f-37e7c3f6534e 2024-08-21 11:57:05,508 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/020fbb88-6a3e-415c-8292-9369832d6b70 2024-08-21 11:57:05,538 - INFO - Verified VN network id 8 for VN 1c8fe481-34ea-4faa-b74f-37e7c3f6534e 2024-08-21 11:57:05,538 - INFO - Verifications in API Server for VN ctest-vn-72770501 passed 2024-08-21 11:57:05,538 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1c8fe481-34ea-4faa-b74f-37e7c3f6534e 2024-08-21 11:57:05,562 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/020fbb88-6a3e-415c-8292-9369832d6b70 2024-08-21 11:57:05,589 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/020fbb88-6a3e-415c-8292-9369832d6b70 2024-08-21 11:57:05,623 - DEBUG - Requesting: http://10.0.0.41:8082/route-target/0753ec99-5f37-4c84-b4d9-406c1742ed02 2024-08-21 11:57:05,644 - DEBUG - Control-node 10.0.0.41 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-77983662', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2058114798321291178', 'uuid-lslong': '13208837700665627470'}, 'enable': 'true', 'created': '2024-08-21T11:57:01', 'last-modified': '2024-08-21T11:57:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:03.603062'} 2024-08-21 11:57:05,654 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-08-21 11:57:05,654 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-72770501 passed 2024-08-21 11:57:05,655 - DEBUG - ====Verifying policy data for ctest-vn-72770501 in API_Server ====== 2024-08-21 11:57:05,655 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:57:05,684 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:57:05,725 - DEBUG - Requesting: http://10.0.0.41:8082/project/6757236e-4665-4c8e-b042-a284f10cbed1 2024-08-21 11:57:05,896 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-network/1c8fe481-34ea-4faa-b74f-37e7c3f6534e 2024-08-21 11:57:05,921 - DEBUG - =>VN ctest-vn-72770501 has no policy to be verified 2024-08-21 11:57:05,922 - DEBUG - Verifying the vn in opserver 2024-08-21 11:57:05,922 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501 virtual network link through opserver 10.0.0.41 2024-08-21 11:57:05,922 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-21 11:57:06,270 - DEBUG - Requesting: http://10.0.0.41:8081/analytics/uves/virtual-networks 2024-08-21 11:57:06,365 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501', 'href': 'http://10.0.0.41:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501?flat'} 2024-08-21 11:57:06,365 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501 is found in opserver 2024-08-21 11:57:06,377 - DEBUG - VRF ids for VN ctest-vn-72770501: {'10.0.0.41': '2'} 2024-08-21 11:57:06,377 - INFO - Waiting for VM ctest-TestBasicVMVN-77983662-17305519 to be up.. 2024-08-21 11:57:06,500 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:57:06,501 - INFO - VM name : ctest-TestBasicVMVN-77983662-17305519 2024-08-21 11:57:06,601 - DEBUG - VM ctest-TestBasicVMVN-77983662-17305519 ID is 94a7bf8c-4fa6-4588-8482-f35e7a2a8912 2024-08-21 11:57:06,601 - DEBUG - VM ctest-TestBasicVMVN-77983662-17305519 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:57:06,696 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/94a7bf8c-4fa6-4588-8482-f35e7a2a8912 2024-08-21 11:57:06,704 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/630a1f75-4e15-478c-818b-443b8fada07f 2024-08-21 11:57:09,995 - 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 1035ms') 2024-08-21 11:57:09,995 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-77983662-17305519 failed! 2024-08-21 11:57:10,049 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501 is 31.1.1.1 and allocation pool is NOT set 2024-08-21 11:57:10,049 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501 is 31.1.2.1 and allocation pool is NOT set 2024-08-21 11:57:14,119 - 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 1001ms') 2024-08-21 11:57:14,119 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-77983662-17305519 failed! 2024-08-21 11:57:14,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501 is 31.1.1.1 and allocation pool is NOT set 2024-08-21 11:57:14,177 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501 is 31.1.2.1 and allocation pool is NOT set 2024-08-21 11:57:16,236 - 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.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.40 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 = 1.402/3.050/4.699/1.648 ms') 2024-08-21 11:57:16,236 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-77983662-17305519 passed 2024-08-21 11:57:16,397 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:16,397 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-77983662-17305519, IP 31.1.1.4, Port 22 2024-08-21 11:57:16,463 - 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 11:57:16,587 - DEBUG - VM ctest-TestBasicVMVN-77983662-17305519 is NOT ready for SSH connections, VM status: ACTIVE 2024-08-21 11:57:21,588 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:21,588 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-77983662-17305519, IP 31.1.1.4, Port 22 2024-08-21 11:57:21,745 - DEBUG - VM ctest-TestBasicVMVN-77983662-17305519 is ready for SSH connections 2024-08-21 11:57:21,746 - INFO - Waiting for VM ctest-TestBasicVMVN-77983662-19434021 to be up.. 2024-08-21 11:57:21,845 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:57:21,845 - INFO - VM name : ctest-TestBasicVMVN-77983662-19434021 2024-08-21 11:57:21,949 - DEBUG - VM ctest-TestBasicVMVN-77983662-19434021 ID is 6cb20322-8272-4dee-b700-1b7850eba469 2024-08-21 11:57:21,949 - DEBUG - VM ctest-TestBasicVMVN-77983662-19434021 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:57:22,124 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/6cb20322-8272-4dee-b700-1b7850eba469 2024-08-21 11:57:22,134 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/59388d87-4bba-45cf-bfda-17fd055ab1a8 2024-08-21 11:57:23,391 - 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.90 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.430 ms\r\n\r\n--- 169.254.0.4 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1002ms\r\nrtt min/avg/max/mdev = 0.430/1.667/2.904/1.237 ms') 2024-08-21 11:57:23,391 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-77983662-19434021 passed 2024-08-21 11:57:23,549 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:23,549 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-77983662-19434021, IP 31.1.2.4, Port 22 2024-08-21 11:57:23,709 - DEBUG - VM ctest-TestBasicVMVN-77983662-19434021 is ready for SSH connections 2024-08-21 11:57:23,709 - INFO - Waiting for VM ctest-TestBasicVMVN-77983662-50067571 to be up.. 2024-08-21 11:57:23,794 - DEBUG - VM is in ACTIVE state now 2024-08-21 11:57:23,794 - INFO - VM name : ctest-TestBasicVMVN-77983662-50067571 2024-08-21 11:57:23,887 - DEBUG - VM ctest-TestBasicVMVN-77983662-50067571 ID is 32d127b2-f7a6-4b75-a7e7-b97c2f779adb 2024-08-21 11:57:23,887 - DEBUG - VM ctest-TestBasicVMVN-77983662-50067571 launched on Node cn-jenkins-deploy-platform-ansible-os-1683-1 2024-08-21 11:57:23,976 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine/32d127b2-f7a6-4b75-a7e7-b97c2f779adb 2024-08-21 11:57:23,987 - DEBUG - Requesting: http://10.0.0.41:8082/virtual-machine-interface/943e3ec6-2b0d-4cd0-8dcd-8436bdbc0e64 2024-08-21 11:57:25,233 - 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.47 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.424 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.424/1.944/3.465/1.520 ms') 2024-08-21 11:57:25,234 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-77983662-50067571 passed 2024-08-21 11:57:25,389 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:25,389 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-77983662-50067571, IP 31.1.1.3, Port 22 2024-08-21 11:57:25,545 - DEBUG - VM ctest-TestBasicVMVN-77983662-50067571 is ready for SSH connections 2024-08-21 11:57:25,545 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:25,545 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:25,546 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-08-21 11:57:29,279 - 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.936 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=0.882 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=0.984 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.882/2.267/4.936 ms 2024-08-21 11:57:29,280 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-77983662-17305519 passed 2024-08-21 11:57:29,280 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:29,280 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:29,280 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-08-21 11:57:33,277 - 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.232 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.018 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=1.024 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.018/1.758/3.232 ms 2024-08-21 11:57:33,277 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-77983662-19434021 passed 2024-08-21 11:57:33,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:33,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:33,277 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-08-21 11:57:33,278 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:33,278 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-21 11:57:33,477 - DEBUG - None 2024-08-21 11:57:33,478 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:33,478 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-21 11:57:33,668 - DEBUG - None 2024-08-21 11:57:33,668 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:33,668 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-08-21 11:57:34,304 - DEBUG - None 2024-08-21 11:57:34,304 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:34,304 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-08-21 11:57:36,511 - 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.012 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.676 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.363 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.913 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.381 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.363/1.869/4.676 ms 2024-08-21 11:57:36,511 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:36,511 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-08-21 11:57:38,759 - 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.439 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.668 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=5.943 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.373 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.823 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=3.083 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.367 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.367/2.528/5.943 ms 2024-08-21 11:57:38,759 - 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.41, gateway password: c0ntrail123 2024-08-21 11:57:38,759 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-08-21 11:57:41,000 - DEBUG - PING 255.255.255.255 (255.255.255.255): 56 data bytes 64 bytes from 31.1.1.4: seq=0 ttl=64 time=1.232 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=3.032 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=3.884 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.402 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=1.547 ms (DUP!) 64 bytes from 31.1.2.4: seq=1 ttl=63 time=2.779 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.410 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.402/1.898/3.884 ms 2024-08-21 11:57:41,000 - INFO - Deleting VM ctest-TestBasicVMVN-77983662-50067571 2024-08-21 11:57:41,085 - INFO - Detaching port 59388d87-4bba-45cf-bfda-17fd055ab1a8 from VM ctest-TestBasicVMVN-77983662-19434021 2024-08-21 11:57:41,141 - INFO - Deleting VM ctest-TestBasicVMVN-77983662-19434021 2024-08-21 11:57:41,213 - INFO - Detaching port 630a1f75-4e15-478c-818b-443b8fada07f from VM ctest-TestBasicVMVN-77983662-17305519 2024-08-21 11:57:41,252 - INFO - Deleting VM ctest-TestBasicVMVN-77983662-17305519 2024-08-21 11:57:41,334 - INFO - Deleting VN ctest-vn-72770501 2024-08-21 11:57:41,546 - DEBUG - Response for delete_port : () 2024-08-21 11:57:42,346 - DEBUG - Response for delete_port : () 2024-08-21 11:57:42,542 - DEBUG - Response for deleting network () 2024-08-21 11:57:42,543 - DEBUG - Requesting: http://10.0.0.41:8082/routing-instance/020fbb88-6a3e-415c-8292-9369832d6b70 2024-08-21 11:57:42,549 - DEBUG - Response Code: 404 2024-08-21 11:57:42,549 - DEBUG - Requesting: http://10.0.0.41:8082/domains 2024-08-21 11:57:42,562 - DEBUG - Requesting: http://10.0.0.41:8082/domain/5804f0e4-b85e-4f82-aabe-70b8d2036d56 2024-08-21 11:57:42,625 - DEBUG - Requesting: http://10.0.0.41:8082/project/6757236e-4665-4c8e-b042-a284f10cbed1 2024-08-21 11:57:42,707 - INFO - Validated that VN ctest-vn-72770501 is not found in API Server 2024-08-21 11:57:42,720 - DEBUG - VN ctest-vn-72770501 is not present in Agent 10.0.0.41 2024-08-21 11:57:42,720 - INFO - Validated that VN ctest-vn-72770501 is not in any agent 2024-08-21 11:57:42,725 - DEBUG - VRF 2 is not seen in agent 10.0.0.41 2024-08-21 11:57:42,732 - DEBUG - Vrouter 10.0.0.41 does not have vrf 2 for VN ctest-vn-72770501 2024-08-21 11:57:42,732 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-77983662:ctest-vn-72770501 2024-08-21 11:57:42,743 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-72770501 info 2024-08-21 11:57:42,829 - INFO - IPAM: ctest-ipam-73843346 is not found in API Server 2024-08-21 11:57:42,840 - INFO - IPAM:ctest-ipam-73843346 is not found in control node 2024-08-21 11:57:43,102 - DEBUG - No XMPP flaps were noticed during the test 2024-08-21 11:57:43,103 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:43] 2024-08-21 11:57:43,103 - INFO - -------------------------------------------------------------------------------- 2024-08-21 11:57:43,832 - INFO - Deleted project: ctest-TestBasicVMVN-77983662, ID : 6757236e-4665-4c8e-b042-a284f10cbed1