2024-11-08 18:54:26,502 - INFO - Domain Default found not creating 2024-11-08 18:54:26,824 - INFO - Project ctest-TestBasicVMVN-30560984 not found, creating it 2024-11-08 18:54:27,436 - INFO - Created Project:ctest-TestBasicVMVN-30560984, ID : 1be1a2b2-7df8-4d9b-90e2-742db56f9040 2024-11-08 18:54:29,398 - INFO - ================================================================================ 2024-11-08 18:54:29,398 - INFO - STARTING TEST : test_generic_link_local_service 2024-11-08 18:54:29,398 - 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-08 18:54:29,676 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.24': '0'}} with 2024-11-08 18:54:29,676 - INFO - Initial checks done. Running the testcase now 2024-11-08 18:54:29,676 - INFO - 2024-11-08 18:54:30,395 - DEBUG - Response for create_network : {'network': {'id': '732fcbdc-5d66-45ea-8c07-5f85325e7798', 'name': 'ctest-vn2_metadata-62393186', 'tenant_id': '1be1a2b27df84d9b90e2742db56f9040', 'project_id': '1be1a2b27df84d9b90e2742db56f9040', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-30560984', 'ctest-vn2_metadata-62393186'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:54:30,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b469fb0b-a43e-4730-8d77-cb8d1528eadb', 'name': '', 'tenant_id': '1be1a2b27df84d9b90e2742db56f9040', 'network_id': '732fcbdc-5d66-45ea-8c07-5f85325e7798', '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': '1be1a2b27df84d9b90e2742db56f9040'}} 2024-11-08 18:54:30,664 - INFO - Created VN ctest-vn2_metadata-62393186 2024-11-08 18:54:30,727 - DEBUG - VN ctest-vn2_metadata-62393186 UUID is 732fcbdc-5d66-45ea-8c07-5f85325e7798 2024-11-08 18:54:30,973 - DEBUG - Services list from nova: [, , ] 2024-11-08 18:54:32,268 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:54:32,387 - DEBUG - Link local service introspect added 2024-11-08 18:54:32,432 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2024-11-08 18:54:37,538 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:54:37,690 - INFO - Waiting for VM ctest-TestBasicVMVN-30560984-98432487 to be up.. 2024-11-08 18:54:37,690 - INFO - VM name : ctest-TestBasicVMVN-30560984-98432487 2024-11-08 18:54:37,806 - DEBUG - VM ctest-TestBasicVMVN-30560984-98432487 ID is 110e897f-12b7-4dd4-99b9-74dfc054f05a 2024-11-08 18:54:37,806 - DEBUG - VM ctest-TestBasicVMVN-30560984-98432487 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:54:38,041 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/110e897f-12b7-4dd4-99b9-74dfc054f05a 2024-11-08 18:54:38,377 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/110e897f-12b7-4dd4-99b9-74dfc054f05a 2024-11-08 18:54:38,417 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/00de675a-a786-44bd-970c-41e6cecbe52d 2024-11-08 18:54:41,730 - 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 1034ms') 2024-11-08 18:54:41,730 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-30560984-98432487 failed! 2024-11-08 18:54:41,799 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-30560984:ctest-vn2_metadata-62393186 is 11.1.1.1 and allocation pool is NOT set 2024-11-08 18:54:45,880 - 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=2 ttl=63 time=7.13 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 1 received, 50% packet loss, time 1011ms\r\nrtt min/avg/max/mdev = 7.134/7.134/7.134/0.000 ms') 2024-11-08 18:54:45,880 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-30560984-98432487 passed 2024-11-08 18:54:46,059 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:54:46,059 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-30560984-98432487, IP 11.1.1.3, Port 22 2024-11-08 18:54:46,241 - DEBUG - VM ctest-TestBasicVMVN-30560984-98432487 is ready for SSH connections 2024-11-08 18:54:46,241 - INFO - Retry 0 2024-11-08 18:54:46,241 - 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.12, gateway password: c0ntrail123 2024-11-08 18:54:46,241 - DEBUG - wget http://169.254.1.2:8083 --spider && echo "Successful" 2024-11-08 18:54:48,044 - DEBUG - Connecting to 169.254.1.2:8083 (169.254.1.2:8083) Successful 2024-11-08 18:54:48,044 - INFO - Generic metadata worked 2024-11-08 18:54:48,399 - DEBUG - Link local service introspect removed 2024-11-08 18:54:48,399 - INFO - Deleting VM ctest-TestBasicVMVN-30560984-98432487 2024-11-08 18:54:48,496 - INFO - Deleting VN ctest-vn2_metadata-62393186 2024-11-08 18:54:48,577 - DEBUG - VN 732fcbdc-5d66-45ea-8c07-5f85325e7798 still in use: Unable to complete operation on network 732fcbdc-5d66-45ea-8c07-5f85325e7798. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-83f1c186-106e-4496-a3b1-4a4674f798e6'] 2024-11-08 18:54:48,577 - WARNING - Deleting VN ctest-vn2_metadata-62393186 failed..Will retry 2024-11-08 18:54:50,768 - DEBUG - Response for deleting network () 2024-11-08 18:54:51,071 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 18:54:51,071 - INFO - END TEST : test_generic_link_local_service : PASSED[0:00:22] 2024-11-08 18:54:51,071 - INFO - -------------------------------------------------------------------------------- 2024-11-08 18:54:51,076 - INFO - ================================================================================ 2024-11-08 18:54:51,077 - INFO - STARTING TEST : test_ping_within_vn_two_vms_two_different_subnets 2024-11-08 18:54:51,077 - 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-08 18:54:51,365 - DEBUG - Nothing to compare xmpp stats {'10.0.0.12': {'10.20.0.24': '0'}} with 2024-11-08 18:54:51,365 - INFO - Initial checks done. Running the testcase now 2024-11-08 18:54:51,365 - INFO - 2024-11-08 18:54:52,020 - DEBUG - Response for create_network : {'network': {'id': '834fa756-bd6a-43e5-b2e9-4a91cc306b46', 'name': 'ctest-vn-56397304', 'tenant_id': '1be1a2b27df84d9b90e2742db56f9040', 'project_id': '1be1a2b27df84d9b90e2742db56f9040', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicVMVN-30560984', 'ctest-vn-56397304'], 'port_security_enabled': True, 'description': ''}} 2024-11-08 18:54:52,233 - DEBUG - Response for create_subnet : {'subnet': {'id': '4b4727cd-7397-4cfc-a29c-847dfb33f184', 'name': '', 'tenant_id': '1be1a2b27df84d9b90e2742db56f9040', 'network_id': '834fa756-bd6a-43e5-b2e9-4a91cc306b46', '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': '1be1a2b27df84d9b90e2742db56f9040'}} 2024-11-08 18:54:52,417 - DEBUG - Response for create_subnet : {'subnet': {'id': '01d3ee5e-072e-4b45-a7ba-4408d24b15c8', 'name': '', 'tenant_id': '1be1a2b27df84d9b90e2742db56f9040', 'network_id': '834fa756-bd6a-43e5-b2e9-4a91cc306b46', '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': '1be1a2b27df84d9b90e2742db56f9040'}} 2024-11-08 18:54:52,440 - INFO - Created VN ctest-vn-56397304 2024-11-08 18:54:52,507 - DEBUG - VN ctest-vn-56397304 UUID is 834fa756-bd6a-43e5-b2e9-4a91cc306b46 2024-11-08 18:54:53,081 - DEBUG - Response for create_port : {'port': {'name': '6305bbc4-e68e-4aa8-84b1-ebea07b9896a', 'id': '6305bbc4-e68e-4aa8-84b1-ebea07b9896a', 'tenant_id': '1be1a2b27df84d9b90e2742db56f9040', 'network_id': '834fa756-bd6a-43e5-b2e9-4a91cc306b46', 'mac_address': '02:63:05:bb:c4:e6', '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': '4b4727cd-7397-4cfc-a29c-847dfb33f184'}], 'security_groups': ['bc2eaa32-f808-43bc-b5d4-87393555955a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1be1a2b27df84d9b90e2742db56f9040'}} 2024-11-08 18:54:53,290 - DEBUG - Response for create_port : {'port': {'name': '56381173-8cc8-49ad-bd4d-08385afbb046', 'id': '56381173-8cc8-49ad-bd4d-08385afbb046', 'tenant_id': '1be1a2b27df84d9b90e2742db56f9040', 'network_id': '834fa756-bd6a-43e5-b2e9-4a91cc306b46', 'mac_address': '02:56:38:11:73:8c', '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': '01d3ee5e-072e-4b45-a7ba-4408d24b15c8'}], 'security_groups': ['bc2eaa32-f808-43bc-b5d4-87393555955a'], 'admin_state_up': True, 'device_id': '', 'device_owner': '', 'status': 'DOWN', 'port_security_enabled': True, 'description': '', 'project_id': '1be1a2b27df84d9b90e2742db56f9040'}} 2024-11-08 18:54:53,813 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:54:54,592 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:54:56,154 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-2240-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-2240-1) 2024-11-08 18:54:56,154 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:54:56,161 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:54:56,181 - DEBUG - Requesting: http://10.0.0.12:8082/project/1be1a2b2-7df8-4d9b-90e2-742db56f9040 2024-11-08 18:54:56,304 - DEBUG - Requesting: http://10.0.0.12:8082/network-ipam/371b8ab0-5ed6-4ff8-a99d-be8da3e5d0f5 2024-11-08 18:54:56,322 - INFO - Verifications in API Server for IPAM: ctest-ipam-03179950 passed 2024-11-08 18:54:56,331 - DEBUG - Control-node 10.0.0.12 : IPAM object is : {'node_name': 'network-ipam:default-domain:ctest-TestBasicVMVN-30560984:ctest-ipam-03179950', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-30560984', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3970919986567204856', 'uuid-lslong': '12222134479302807797'}, 'enable': 'true', 'created': '2024-11-08T18:54:51', 'last-modified': '2024-11-08T18:54:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.699237'} 2024-11-08 18:54:56,331 - INFO - Verifications in Control node for IPAM: ctest-ipam-03179950 passed 2024-11-08 18:54:56,331 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:54:56,338 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:54:56,367 - DEBUG - Requesting: http://10.0.0.12:8082/project/1be1a2b2-7df8-4d9b-90e2-742db56f9040 2024-11-08 18:54:56,490 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/834fa756-bd6a-43e5-b2e9-4a91cc306b46 2024-11-08 18:54:56,515 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/834fa756-bd6a-43e5-b2e9-4a91cc306b46 2024-11-08 18:54:56,535 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/067c3a5f-fb02-4e37-a816-4d766fea567b 2024-11-08 18:54:56,550 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/067c3a5f-fb02-4e37-a816-4d766fea567b 2024-11-08 18:54:56,566 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/b6ffc268-a514-449f-b4ff-3a1809594d47 2024-11-08 18:54:56,577 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 18:54:56,577 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/834fa756-bd6a-43e5-b2e9-4a91cc306b46 2024-11-08 18:54:56,604 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/067c3a5f-fb02-4e37-a816-4d766fea567b 2024-11-08 18:54:56,657 - INFO - Verified VN network id 8 for VN 834fa756-bd6a-43e5-b2e9-4a91cc306b46 2024-11-08 18:54:56,657 - INFO - Verifications in API Server for VN ctest-vn-56397304 passed 2024-11-08 18:54:56,657 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/834fa756-bd6a-43e5-b2e9-4a91cc306b46 2024-11-08 18:54:56,679 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/067c3a5f-fb02-4e37-a816-4d766fea567b 2024-11-08 18:54:56,691 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/067c3a5f-fb02-4e37-a816-4d766fea567b 2024-11-08 18:54:56,706 - DEBUG - Requesting: http://10.0.0.12:8082/route-target/b6ffc268-a514-449f-b4ff-3a1809594d47 2024-11-08 18:54:56,745 - DEBUG - Control-node 10.0.0.12 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304', 'interests': '0', 'advertised': '0', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicVMVN-30560984', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9461965333115585509', 'uuid-lslong': '12891917398381194054'}, 'enable': 'true', 'created': '2024-11-08T18:54:51', 'last-modified': '2024-11-08T18:54:52', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:04.369888'} 2024-11-08 18:54:56,759 - DEBUG - Route Targets: ['target:64512:8000005'] 2024-11-08 18:54:56,759 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-56397304 passed 2024-11-08 18:54:56,759 - DEBUG - ====Verifying policy data for ctest-vn-56397304 in API_Server ====== 2024-11-08 18:54:56,759 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:54:56,767 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:54:56,860 - DEBUG - Requesting: http://10.0.0.12:8082/project/1be1a2b2-7df8-4d9b-90e2-742db56f9040 2024-11-08 18:54:57,072 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-network/834fa756-bd6a-43e5-b2e9-4a91cc306b46 2024-11-08 18:54:57,102 - DEBUG - =>VN ctest-vn-56397304 has no policy to be verified 2024-11-08 18:54:57,102 - DEBUG - Verifying the vn in opserver 2024-11-08 18:54:57,102 - DEBUG - Verifying the default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304 virtual network link through opserver 10.0.0.12 2024-11-08 18:54:57,102 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-11-08 18:54:57,526 - DEBUG - Requesting: http://10.0.0.12:8081/analytics/uves/virtual-networks 2024-11-08 18:54:57,641 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304', 'href': 'http://10.0.0.12:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304?flat'} 2024-11-08 18:54:57,641 - INFO - Validated that VN default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304 is found in opserver 2024-11-08 18:54:57,650 - DEBUG - VRF ids for VN ctest-vn-56397304: {'10.0.0.12': '2'} 2024-11-08 18:54:57,650 - INFO - Waiting for VM ctest-TestBasicVMVN-30560984-20992371 to be up.. 2024-11-08 18:54:57,769 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:54:57,769 - INFO - VM name : ctest-TestBasicVMVN-30560984-20992371 2024-11-08 18:54:57,900 - DEBUG - VM ctest-TestBasicVMVN-30560984-20992371 ID is c0fab3ab-0b8d-4f35-b71d-3925be0a21ef 2024-11-08 18:54:57,900 - DEBUG - VM ctest-TestBasicVMVN-30560984-20992371 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:54:58,055 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/c0fab3ab-0b8d-4f35-b71d-3925be0a21ef 2024-11-08 18:54:58,065 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/6305bbc4-e68e-4aa8-84b1-ebea07b9896a 2024-11-08 18:55:01,365 - 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 1000ms') 2024-11-08 18:55:01,365 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-30560984-20992371 failed! 2024-11-08 18:55:01,427 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304 is 31.1.1.1 and allocation pool is NOT set 2024-11-08 18:55:01,428 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304 is 31.1.2.1 and allocation pool is NOT set 2024-11-08 18:55:05,496 - 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 1002ms') 2024-11-08 18:55:05,496 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-30560984-20992371 failed! 2024-11-08 18:55:05,559 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304 is 31.1.1.1 and allocation pool is NOT set 2024-11-08 18:55:05,559 - DEBUG - Gateway for vn default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304 is 31.1.2.1 and allocation pool is NOT set 2024-11-08 18:55:07,634 - 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.15 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=3.19 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 3.145/3.165/3.185/0.020 ms') 2024-11-08 18:55:07,634 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicVMVN-30560984-20992371 passed 2024-11-08 18:55:07,812 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:07,812 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-30560984-20992371, IP 31.1.1.4, Port 22 2024-11-08 18:55:07,883 - 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-08 18:55:08,033 - DEBUG - VM ctest-TestBasicVMVN-30560984-20992371 is NOT ready for SSH connections, VM status: ACTIVE 2024-11-08 18:55:13,034 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:13,034 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-30560984-20992371, IP 31.1.1.4, Port 22 2024-11-08 18:55:13,202 - DEBUG - VM ctest-TestBasicVMVN-30560984-20992371 is ready for SSH connections 2024-11-08 18:55:13,203 - INFO - Waiting for VM ctest-TestBasicVMVN-30560984-73524681 to be up.. 2024-11-08 18:55:13,354 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:55:13,354 - INFO - VM name : ctest-TestBasicVMVN-30560984-73524681 2024-11-08 18:55:13,459 - DEBUG - VM ctest-TestBasicVMVN-30560984-73524681 ID is 5895f2ee-f820-47a4-92ee-d420e8c216e2 2024-11-08 18:55:13,459 - DEBUG - VM ctest-TestBasicVMVN-30560984-73524681 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:55:13,561 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/5895f2ee-f820-47a4-92ee-d420e8c216e2 2024-11-08 18:55:13,575 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/56381173-8cc8-49ad-bd4d-08385afbb046 2024-11-08 18:55:14,854 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=4.19 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.482 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.482/2.337/4.193/1.855 ms') 2024-11-08 18:55:14,854 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicVMVN-30560984-73524681 passed 2024-11-08 18:55:15,024 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:15,024 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-30560984-73524681, IP 31.1.2.4, Port 22 2024-11-08 18:55:15,187 - DEBUG - VM ctest-TestBasicVMVN-30560984-73524681 is ready for SSH connections 2024-11-08 18:55:15,188 - INFO - Waiting for VM ctest-TestBasicVMVN-30560984-77645748 to be up.. 2024-11-08 18:55:15,334 - DEBUG - VM is in ACTIVE state now 2024-11-08 18:55:15,334 - INFO - VM name : ctest-TestBasicVMVN-30560984-77645748 2024-11-08 18:55:15,430 - DEBUG - VM ctest-TestBasicVMVN-30560984-77645748 ID is 9ebe3359-1f97-442d-bb8d-b649f23415fa 2024-11-08 18:55:15,430 - DEBUG - VM ctest-TestBasicVMVN-30560984-77645748 launched on Node cn-jenkins-deploy-platform-ansible-os-2240-1 2024-11-08 18:55:15,533 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine/9ebe3359-1f97-442d-bb8d-b649f23415fa 2024-11-08 18:55:15,548 - DEBUG - Requesting: http://10.0.0.12:8082/virtual-machine-interface/58762c1b-f6af-441a-815f-d8e1d4cf336c 2024-11-08 18:55:16,841 - 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=5.45 ms\r\n64 bytes from 169.254.0.5: icmp_seq=2 ttl=63 time=0.736 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.736/3.090/5.445/2.354 ms') 2024-11-08 18:55:16,841 - INFO - Ping to Metadata IP 169.254.0.5 of VM ctest-TestBasicVMVN-30560984-77645748 passed 2024-11-08 18:55:17,040 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:17,040 - DEBUG - Waiting to SSH to VM ctest-TestBasicVMVN-30560984-77645748, IP 31.1.1.3, Port 22 2024-11-08 18:55:17,230 - DEBUG - VM ctest-TestBasicVMVN-30560984-77645748 is ready for SSH connections 2024-11-08 18:55:17,230 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:17,231 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:17,231 - DEBUG - ping -s 56 -c 3 -W 1 31.1.2.4 2024-11-08 18:55:21,247 - DEBUG - PING 31.1.2.4 (31.1.2.4): 56 data bytes 64 bytes from 31.1.2.4: seq=0 ttl=63 time=4.577 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.914 ms 64 bytes from 31.1.2.4: seq=2 ttl=63 time=1.195 ms --- 31.1.2.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.195/2.562/4.577 ms 2024-11-08 18:55:21,248 - INFO - Ping to IP 31.1.2.4 from VM ctest-TestBasicVMVN-30560984-20992371 passed 2024-11-08 18:55:21,248 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:21,249 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:21,249 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.4 2024-11-08 18:55:25,447 - 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=5.215 ms 64 bytes from 31.1.1.4: seq=1 ttl=63 time=1.414 ms 64 bytes from 31.1.1.4: seq=2 ttl=63 time=2.054 ms --- 31.1.1.4 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 1.414/2.894/5.215 ms 2024-11-08 18:55:25,447 - INFO - Ping to IP 31.1.1.4 from VM ctest-TestBasicVMVN-30560984-73524681 passed 2024-11-08 18:55:25,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:25,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:25,447 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2024-11-08 18:55:25,448 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:25,448 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-08 18:55:25,641 - DEBUG - None 2024-11-08 18:55:25,643 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:25,643 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-08 18:55:25,864 - DEBUG - None 2024-11-08 18:55:25,865 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:25,865 - DEBUG - echo 0 > /proc/sys/net/ipv4/icmp_echo_ignore_broadcasts 2024-11-08 18:55:26,561 - DEBUG - None 2024-11-08 18:55:26,563 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:26,564 - DEBUG - ping -s 56 -c 3 -W 1 31.1.1.7 2024-11-08 18:55:28,870 - 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=4.919 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=11.653 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.216 ms 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.538 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.418 ms --- 31.1.1.7 ping statistics --- 3 packets transmitted, 3 packets received, 2 duplicates, 0% packet loss round-trip min/avg/max = 0.418/4.348/11.653 ms 2024-11-08 18:55:28,871 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:28,871 - DEBUG - ping -s 56 -c 3 -W 1 224.0.0.1 2024-11-08 18:55:31,152 - 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.019 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=5.199 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=9.066 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=0.462 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=1.658 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=3.987 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.590 ms --- 224.0.0.1 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.462/3.140/9.066 ms 2024-11-08 18:55:31,152 - 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.12, gateway password: c0ntrail123 2024-11-08 18:55:31,152 - DEBUG - ping -s 56 -c 3 -W 1 255.255.255.255 2024-11-08 18:55:33,459 - 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.030 ms 64 bytes from 31.1.1.3: seq=0 ttl=64 time=4.529 ms (DUP!) 64 bytes from 31.1.2.4: seq=0 ttl=63 time=5.855 ms (DUP!) 64 bytes from 31.1.1.4: seq=1 ttl=64 time=1.032 ms 64 bytes from 31.1.2.4: seq=1 ttl=63 time=4.855 ms (DUP!) 64 bytes from 31.1.1.3: seq=1 ttl=64 time=7.166 ms (DUP!) 64 bytes from 31.1.1.4: seq=2 ttl=64 time=0.463 ms --- 255.255.255.255 ping statistics --- 3 packets transmitted, 3 packets received, 4 duplicates, 0% packet loss round-trip min/avg/max = 0.463/3.561/7.166 ms 2024-11-08 18:55:33,459 - INFO - Deleting VM ctest-TestBasicVMVN-30560984-77645748 2024-11-08 18:55:33,548 - INFO - Detaching port 56381173-8cc8-49ad-bd4d-08385afbb046 from VM ctest-TestBasicVMVN-30560984-73524681 2024-11-08 18:55:33,606 - INFO - Deleting VM ctest-TestBasicVMVN-30560984-73524681 2024-11-08 18:55:33,718 - INFO - Detaching port 6305bbc4-e68e-4aa8-84b1-ebea07b9896a from VM ctest-TestBasicVMVN-30560984-20992371 2024-11-08 18:55:33,760 - INFO - Deleting VM ctest-TestBasicVMVN-30560984-20992371 2024-11-08 18:55:33,869 - INFO - Deleting VN ctest-vn-56397304 2024-11-08 18:55:34,178 - DEBUG - Response for delete_port : () 2024-11-08 18:55:34,495 - DEBUG - Response for delete_port : () 2024-11-08 18:55:34,700 - DEBUG - Response for deleting network () 2024-11-08 18:55:34,701 - DEBUG - Requesting: http://10.0.0.12:8082/routing-instance/067c3a5f-fb02-4e37-a816-4d766fea567b 2024-11-08 18:55:34,718 - DEBUG - Response Code: 404 2024-11-08 18:55:34,718 - DEBUG - Requesting: http://10.0.0.12:8082/domains 2024-11-08 18:55:34,725 - DEBUG - Requesting: http://10.0.0.12:8082/domain/deac93db-e4c7-46f0-b024-7d6f99ebbe98 2024-11-08 18:55:34,754 - DEBUG - Requesting: http://10.0.0.12:8082/project/1be1a2b2-7df8-4d9b-90e2-742db56f9040 2024-11-08 18:55:34,864 - INFO - Validated that VN ctest-vn-56397304 is not found in API Server 2024-11-08 18:55:34,885 - DEBUG - VN ctest-vn-56397304 is not present in Agent 10.0.0.12 2024-11-08 18:55:34,885 - INFO - Validated that VN ctest-vn-56397304 is not in any agent 2024-11-08 18:55:34,895 - DEBUG - VRF 2 is not seen in agent 10.0.0.12 2024-11-08 18:55:34,903 - DEBUG - Vrouter 10.0.0.12 does not have vrf 2 for VN ctest-vn-56397304 2024-11-08 18:55:34,903 - INFO - Validated that all vrouters do not have the route table for VN default-domain:ctest-TestBasicVMVN-30560984:ctest-vn-56397304 2024-11-08 18:55:34,920 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-56397304 info 2024-11-08 18:55:35,011 - INFO - IPAM: ctest-ipam-03179950 is not found in API Server 2024-11-08 18:55:35,027 - INFO - IPAM:ctest-ipam-03179950 is not found in control node 2024-11-08 18:55:35,315 - DEBUG - No XMPP flaps were noticed during the test 2024-11-08 18:55:35,315 - INFO - END TEST : test_ping_within_vn_two_vms_two_different_subnets : PASSED[0:00:44] 2024-11-08 18:55:35,315 - INFO - -------------------------------------------------------------------------------- 2024-11-08 18:55:36,141 - INFO - Deleted project: ctest-TestBasicVMVN-30560984, ID : 1be1a2b2-7df8-4d9b-90e2-742db56f9040