2025-11-05 19:31:52,039 - INFO - Domain Default found not creating 2025-11-05 19:31:52,197 - INFO - Project ctest-TestBasicPolicy-80481817 not found, creating it 2025-11-05 19:31:52,678 - INFO - Created Project:ctest-TestBasicPolicy-80481817, ID : 6b53d597-7e12-40f7-8093-a6d107321fbd 2025-11-05 19:31:54,169 - INFO - ================================================================================ 2025-11-05 19:31:54,169 - INFO - STARTING TEST : test_basic_policy_allow_deny 2025-11-05 19:31:54,169 - INFO - TEST DESCRIPTION : Create 2 Vns and allow icmp traffic between them and validate with pings Update the policy to deny the same traffic Check that pings fail 2025-11-05 19:31:54,430 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with 2025-11-05 19:31:54,430 - INFO - Initial checks done. Running the testcase now 2025-11-05 19:31:54,430 - INFO - 2025-11-05 19:31:54,992 - DEBUG - Response for create_network : {'network': {'id': 'd9652d9a-3adb-40e8-bba2-03e1cb92a2a0', 'name': 'ctest-vn-41993527', 'tenant_id': '6b53d5977e1240f78093a6d107321fbd', 'project_id': '6b53d5977e1240f78093a6d107321fbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-vn-41993527'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 19:31:55,155 - DEBUG - Response for create_subnet : {'subnet': {'id': '7af5d42e-f42e-41ed-a0fa-6c4af2bc9e53', 'name': '', 'tenant_id': '6b53d5977e1240f78093a6d107321fbd', 'network_id': 'd9652d9a-3adb-40e8-bba2-03e1cb92a2a0', 'ip_version': 4, 'cidr': '126.171.183.0/26', 'allocation_pools': [{'start': '126.171.183.2', 'end': '126.171.183.62'}], 'gateway_ip': '126.171.183.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.171.183.2', 'tags': [], 'project_id': '6b53d5977e1240f78093a6d107321fbd'}} 2025-11-05 19:31:55,175 - INFO - Created VN ctest-vn-41993527 2025-11-05 19:31:55,229 - DEBUG - VN ctest-vn-41993527 UUID is d9652d9a-3adb-40e8-bba2-03e1cb92a2a0 2025-11-05 19:31:55,516 - DEBUG - Response for create_network : {'network': {'id': '48b90b18-5a60-43e9-a83a-25547a3bec42', 'name': 'ctest-vn-97627421', 'tenant_id': '6b53d5977e1240f78093a6d107321fbd', 'project_id': '6b53d5977e1240f78093a6d107321fbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-vn-97627421'], 'port_security_enabled': True, 'description': ''}} 2025-11-05 19:31:55,691 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ad07d456-330e-4faa-9511-1d5f0b2648d1', 'name': '', 'tenant_id': '6b53d5977e1240f78093a6d107321fbd', 'network_id': '48b90b18-5a60-43e9-a83a-25547a3bec42', 'ip_version': 4, 'cidr': '115.103.32.0/26', 'allocation_pools': [{'start': '115.103.32.2', 'end': '115.103.32.62'}], 'gateway_ip': '115.103.32.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.103.32.2', 'tags': [], 'project_id': '6b53d5977e1240f78093a6d107321fbd'}} 2025-11-05 19:31:55,708 - INFO - Created VN ctest-vn-97627421 2025-11-05 19:31:55,761 - DEBUG - VN ctest-vn-97627421 UUID is 48b90b18-5a60-43e9-a83a-25547a3bec42 2025-11-05 19:31:55,878 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-41993527, security_group = None, network_policy = None, subnet_list = []], src_ports = [start_port = -1, end_port = -1], application = [], dst_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-97627421, security_group = None, network_policy = None, subnet_list = []], dst_ports = [start_port = -1, end_port = -1], action_list = simple_action = pass, gateway_name = None, apply_service = [], service_properties = None, mirror_to = None, assign_routing_instance = None, log = False, alert = False, qos_action = None, host_based_service = False, ethertype = None, created = None, last_modified = None, description = None] 2025-11-05 19:31:56,166 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd9652d9a-3adb-40e8-bba2-03e1cb92a2a0', 'name': 'ctest-vn-41993527', 'tenant_id': '6b53d5977e1240f78093a6d107321fbd', 'project_id': '6b53d5977e1240f78093a6d107321fbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7af5d42e-f42e-41ed-a0fa-6c4af2bc9e53'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-vn-41993527'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-policy-allow-all-95030094']], 'subnet_ipam': [{'subnet_cidr': '126.171.183.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 19:31:56,407 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '48b90b18-5a60-43e9-a83a-25547a3bec42', 'name': 'ctest-vn-97627421', 'tenant_id': '6b53d5977e1240f78093a6d107321fbd', 'project_id': '6b53d5977e1240f78093a6d107321fbd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ad07d456-330e-4faa-9511-1d5f0b2648d1'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-vn-97627421'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-policy-allow-all-95030094']], 'subnet_ipam': [{'subnet_cidr': '115.103.32.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2025-11-05 19:31:56,553 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 19:31:56,858 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 19:31:56,887 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0abf5c5-4c69-4064-b262-0314d8719ba6 2025-11-05 19:31:56,902 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b53d597-7e12-40f7-8093-a6d107321fbd 2025-11-05 19:31:56,980 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9652d9a-3adb-40e8-bba2-03e1cb92a2a0 2025-11-05 19:31:56,994 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9652d9a-3adb-40e8-bba2-03e1cb92a2a0 2025-11-05 19:31:57,005 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38520f27-2fad-479e-afec-823c224d579e 2025-11-05 19:31:57,012 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38520f27-2fad-479e-afec-823c224d579e 2025-11-05 19:31:57,020 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d83c1572-10b5-4149-a251-c6a02ad39580 2025-11-05 19:31:57,027 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 19:31:57,027 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9652d9a-3adb-40e8-bba2-03e1cb92a2a0 2025-11-05 19:31:57,037 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38520f27-2fad-479e-afec-823c224d579e 2025-11-05 19:31:57,053 - INFO - Verified VN network id 11 for VN d9652d9a-3adb-40e8-bba2-03e1cb92a2a0 2025-11-05 19:31:57,053 - INFO - Verifications in API Server for VN ctest-vn-41993527 passed 2025-11-05 19:31:57,053 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9652d9a-3adb-40e8-bba2-03e1cb92a2a0 2025-11-05 19:31:57,063 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38520f27-2fad-479e-afec-823c224d579e 2025-11-05 19:31:57,069 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38520f27-2fad-479e-afec-823c224d579e 2025-11-05 19:31:57,075 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d83c1572-10b5-4149-a251-c6a02ad39580 2025-11-05 19:31:57,087 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-41993527', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80481817', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15664977019313799400', 'uuid-lslong': '13520373299637559968'}, 'enable': 'true', 'created': '2025-11-05T19:31:54', 'last-modified': '2025-11-05T19:31:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.936435'} 2025-11-05 19:31:57,093 - DEBUG - Route Targets: ['target:64512:8000004'] 2025-11-05 19:31:57,094 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41993527 passed 2025-11-05 19:31:57,094 - DEBUG - ====Verifying policy data for ctest-vn-41993527 in API_Server ====== 2025-11-05 19:31:57,094 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 19:31:57,100 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0abf5c5-4c69-4064-b262-0314d8719ba6 2025-11-05 19:31:57,109 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b53d597-7e12-40f7-8093-a6d107321fbd 2025-11-05 19:31:57,183 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d9652d9a-3adb-40e8-bba2-03e1cb92a2a0 2025-11-05 19:31:57,191 - DEBUG - ==>Verifying data for policy with id: 7fa1e670-7395-4071-a34e-97c1aa8b07ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-policy-allow-all-95030094'] 2025-11-05 19:31:57,191 - INFO - VN ctest-vn-41993527 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 19:31:57,191 - DEBUG - Verifying the vn in opserver 2025-11-05 19:31:57,191 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-41993527 virtual network link through opserver 10.0.0.38 2025-11-05 19:31:57,191 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 19:31:57,485 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 19:31:57,552 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-41993527', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-41993527?flat'} 2025-11-05 19:31:57,552 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-41993527 is found in opserver 2025-11-05 19:31:57,562 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 19:31:57,567 - DEBUG - VRF ids for VN ctest-vn-41993527: {} 2025-11-05 19:31:57,567 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 19:31:57,573 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0abf5c5-4c69-4064-b262-0314d8719ba6 2025-11-05 19:31:57,584 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b53d597-7e12-40f7-8093-a6d107321fbd 2025-11-05 19:31:57,656 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48b90b18-5a60-43e9-a83a-25547a3bec42 2025-11-05 19:31:57,669 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48b90b18-5a60-43e9-a83a-25547a3bec42 2025-11-05 19:31:57,679 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17547ae9-4b21-4d0b-b567-850bf5ea4454 2025-11-05 19:31:57,685 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17547ae9-4b21-4d0b-b567-850bf5ea4454 2025-11-05 19:31:57,691 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/972e499c-b1c1-4b0a-9ede-875e02d99f8a 2025-11-05 19:31:57,698 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 19:31:57,698 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48b90b18-5a60-43e9-a83a-25547a3bec42 2025-11-05 19:31:57,707 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17547ae9-4b21-4d0b-b567-850bf5ea4454 2025-11-05 19:31:57,722 - INFO - Verified VN network id 12 for VN 48b90b18-5a60-43e9-a83a-25547a3bec42 2025-11-05 19:31:57,722 - INFO - Verifications in API Server for VN ctest-vn-97627421 passed 2025-11-05 19:31:57,722 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48b90b18-5a60-43e9-a83a-25547a3bec42 2025-11-05 19:31:57,731 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17547ae9-4b21-4d0b-b567-850bf5ea4454 2025-11-05 19:31:57,737 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17547ae9-4b21-4d0b-b567-850bf5ea4454 2025-11-05 19:31:57,744 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/972e499c-b1c1-4b0a-9ede-875e02d99f8a 2025-11-05 19:31:57,757 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-97627421', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80481817', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5240231840645661673', 'uuid-lslong': '12122042391779339330'}, 'enable': 'true', 'created': '2025-11-05T19:31:55', 'last-modified': '2025-11-05T19:31:56', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.379411'} 2025-11-05 19:31:57,762 - DEBUG - Route Targets: ['target:64512:8000005'] 2025-11-05 19:31:57,762 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97627421 passed 2025-11-05 19:31:57,762 - DEBUG - ====Verifying policy data for ctest-vn-97627421 in API_Server ====== 2025-11-05 19:31:57,762 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 19:31:57,768 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0abf5c5-4c69-4064-b262-0314d8719ba6 2025-11-05 19:31:57,782 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b53d597-7e12-40f7-8093-a6d107321fbd 2025-11-05 19:31:57,862 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/48b90b18-5a60-43e9-a83a-25547a3bec42 2025-11-05 19:31:57,871 - DEBUG - ==>Verifying data for policy with id: 7fa1e670-7395-4071-a34e-97c1aa8b07ea, fqn: ['default-domain', 'ctest-TestBasicPolicy-80481817', 'ctest-policy-allow-all-95030094'] 2025-11-05 19:31:57,871 - INFO - VN ctest-vn-97627421 Policy verification: verify_vn_policy_in_api_server, status: True 2025-11-05 19:31:57,871 - DEBUG - Verifying the vn in opserver 2025-11-05 19:31:57,871 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-97627421 virtual network link through opserver 10.0.0.38 2025-11-05 19:31:57,872 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks 2025-11-05 19:31:57,882 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-97627421', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-97627421?flat'} 2025-11-05 19:31:57,882 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-97627421 is found in opserver 2025-11-05 19:31:57,892 - DEBUG - Do not have enough data to verify VN in agent 2025-11-05 19:31:57,897 - DEBUG - VRF ids for VN ctest-vn-97627421: {} 2025-11-05 19:31:57,957 - DEBUG - Services list from nova: [, , ] 2025-11-05 19:31:59,013 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4654-1) 2025-11-05 19:32:00,274 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-4654-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-4654-1) 2025-11-05 19:32:00,274 - INFO - Waiting for VM ctest-TestBasicPolicy-80481817-92277502 to be up.. 2025-11-05 19:32:00,383 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2025-11-05 19:32:05,471 - DEBUG - VM is in ACTIVE state now 2025-11-05 19:32:05,471 - INFO - VM name : ctest-TestBasicPolicy-80481817-92277502 2025-11-05 19:32:05,556 - DEBUG - VM ctest-TestBasicPolicy-80481817-92277502 ID is 40f10b72-8084-419c-a8b1-8a4a09884cb3 2025-11-05 19:32:05,587 - DEBUG - VM ctest-TestBasicPolicy-80481817-92277502 launched on Node cn-jenkins-deploy-platform-ansible-os-4654-1 2025-11-05 19:32:05,677 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/40f10b72-8084-419c-a8b1-8a4a09884cb3 2025-11-05 19:32:05,687 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/673d825d-59c6-4322-ad6c-f9068eae29c3 2025-11-05 19:32:08,956 - 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 1017ms') 2025-11-05 19:32:08,956 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80481817-92277502 failed! 2025-11-05 19:32:09,009 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-80481817:ctest-vn-41993527 is 126.171.183.1 and allocation pool is NOT set 2025-11-05 19:32:11,077 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=5.51 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.42 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 1.418/3.464/5.511/2.046 ms') 2025-11-05 19:32:11,077 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-80481817-92277502 passed 2025-11-05 19:32:11,233 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 19:32:11,233 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80481817-92277502, IP 126.171.183.3, Port 22 2025-11-05 19:32:11,399 - DEBUG - VM ctest-TestBasicPolicy-80481817-92277502 is ready for SSH connections 2025-11-05 19:32:11,399 - INFO - Waiting for VM ctest-TestBasicPolicy-80481817-14667481 to be up.. 2025-11-05 19:32:11,478 - DEBUG - VM is in ACTIVE state now 2025-11-05 19:32:11,479 - INFO - VM name : ctest-TestBasicPolicy-80481817-14667481 2025-11-05 19:32:11,643 - DEBUG - VM ctest-TestBasicPolicy-80481817-14667481 ID is 8c02d2bc-dd64-4aeb-b560-0f0e4bbcce23 2025-11-05 19:32:11,643 - DEBUG - VM ctest-TestBasicPolicy-80481817-14667481 launched on Node cn-jenkins-deploy-platform-ansible-os-4654-1 2025-11-05 19:32:11,759 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine/8c02d2bc-dd64-4aeb-b560-0f0e4bbcce23 2025-11-05 19:32:11,783 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-machine-interface/3f9bd70e-b4cb-4d8e-9e2e-be175f4cd3b5 2025-11-05 19:32:13,067 - 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=5.47 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.488 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.488/2.980/5.472/2.492 ms') 2025-11-05 19:32:13,067 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-80481817-14667481 passed 2025-11-05 19:32:13,221 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 19:32:13,221 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-80481817-14667481, IP 115.103.32.3, Port 22 2025-11-05 19:32:13,380 - DEBUG - VM ctest-TestBasicPolicy-80481817-14667481 is ready for SSH connections 2025-11-05 19:32:13,380 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 19:32:13,381 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.103.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 19:32:13,381 - DEBUG - ping -s 56 -c 3 -W 1 115.103.32.3 2025-11-05 19:32:17,490 - DEBUG - PING 115.103.32.3 (115.103.32.3): 56 data bytes 64 bytes from 115.103.32.3: seq=0 ttl=63 time=4.381 ms 64 bytes from 115.103.32.3: seq=1 ttl=63 time=0.971 ms 64 bytes from 115.103.32.3: seq=2 ttl=63 time=1.039 ms --- 115.103.32.3 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.971/2.130/4.381 ms 2025-11-05 19:32:17,490 - INFO - Ping to IP 115.103.32.3 from VM ctest-TestBasicPolicy-80481817-92277502 passed 2025-11-05 19:32:17,673 - DEBUG - Policy Update Response {"network-policy": {"uuid": "7fa1e670-7395-4071-a34e-97c1aa8b07ea", "href": "http://10.0.0.38:8082/network-policy/7fa1e670-7395-4071-a34e-97c1aa8b07ea"}} 2025-11-05 19:32:17,673 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2025-11-05 19:32:17,673 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 115.103.32.3, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.38, gateway password: c0ntrail123 2025-11-05 19:32:17,673 - DEBUG - ping -s 56 -c 3 -W 1 115.103.32.3 2025-11-05 19:32:20,909 - DEBUG - PING 115.103.32.3 (115.103.32.3): 56 data bytes --- 115.103.32.3 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2025-11-05 19:32:20,909 - WARNING - Ping to IP 115.103.32.3 from VM ctest-TestBasicPolicy-80481817-92277502 failed 2025-11-05 19:32:20,909 - INFO - Deleting VM ctest-TestBasicPolicy-80481817-14667481 2025-11-05 19:32:20,984 - INFO - Deleting VM ctest-TestBasicPolicy-80481817-92277502 2025-11-05 19:32:21,377 - INFO - Deleted policy ctest-policy-allow-all-95030094 2025-11-05 19:32:21,377 - INFO - Deleting VN ctest-vn-97627421 2025-11-05 19:32:21,416 - DEBUG - VN 48b90b18-5a60-43e9-a83a-25547a3bec42 still in use: Unable to complete operation on network 48b90b18-5a60-43e9-a83a-25547a3bec42. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-c76a19dd-8a72-41b0-8460-adfe66b7886c'] 2025-11-05 19:32:21,416 - WARNING - Deleting VN ctest-vn-97627421 failed..Will retry 2025-11-05 19:32:23,541 - DEBUG - Response for deleting network () 2025-11-05 19:32:23,542 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/17547ae9-4b21-4d0b-b567-850bf5ea4454 2025-11-05 19:32:23,545 - DEBUG - Response Code: 404 2025-11-05 19:32:23,546 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 19:32:23,550 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0abf5c5-4c69-4064-b262-0314d8719ba6 2025-11-05 19:32:23,611 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b53d597-7e12-40f7-8093-a6d107321fbd 2025-11-05 19:32:23,689 - INFO - Validated that VN ctest-vn-97627421 is not found in API Server 2025-11-05 19:32:23,698 - DEBUG - VN ctest-vn-97627421 is not present in Agent 10.0.0.38 2025-11-05 19:32:23,699 - INFO - Validated that VN ctest-vn-97627421 is not in any agent 2025-11-05 19:32:23,713 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-97627421 info 2025-11-05 19:32:23,714 - INFO - Deleting VN ctest-vn-41993527 2025-11-05 19:32:23,825 - DEBUG - Response for deleting network () 2025-11-05 19:32:23,825 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/38520f27-2fad-479e-afec-823c224d579e 2025-11-05 19:32:23,831 - DEBUG - Response Code: 404 2025-11-05 19:32:23,832 - DEBUG - Requesting: http://10.0.0.38:8082/domains 2025-11-05 19:32:23,838 - DEBUG - Requesting: http://10.0.0.38:8082/domain/f0abf5c5-4c69-4064-b262-0314d8719ba6 2025-11-05 19:32:23,890 - DEBUG - Requesting: http://10.0.0.38:8082/project/6b53d597-7e12-40f7-8093-a6d107321fbd 2025-11-05 19:32:23,967 - INFO - Validated that VN ctest-vn-41993527 is not found in API Server 2025-11-05 19:32:23,976 - DEBUG - VN ctest-vn-41993527 is not present in Agent 10.0.0.38 2025-11-05 19:32:23,976 - INFO - Validated that VN ctest-vn-41993527 is not in any agent 2025-11-05 19:32:23,990 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-41993527 info 2025-11-05 19:32:24,259 - DEBUG - No XMPP flaps were noticed during the test
2025-11-05 19:32:24,259 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30]
2025-11-05 19:32:24,259 - INFO - -------------------------------------------------------------------------------- 2025-11-05 19:32:24,971 - INFO - Deleted project: ctest-TestBasicPolicy-80481817, ID : 6b53d597-7e12-40f7-8093-a6d107321fbd