2026-05-29 12:59:02,062 - INFO - Domain Default found not creating 2026-05-29 12:59:02,239 - INFO - Project ctest-TestBasicPolicy-93819322 not found, creating it 2026-05-29 12:59:02,735 - INFO - Created Project:ctest-TestBasicPolicy-93819322, ID : 6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5 2026-05-29 12:59:04,222 - INFO - ================================================================================ 2026-05-29 12:59:04,222 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-05-29 12:59:04,222 - 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 2026-05-29 12:59:04,476 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.254': '0'}} with 2026-05-29 12:59:04,476 - INFO - Initial checks done. Running the testcase now 2026-05-29 12:59:04,476 - INFO - 2026-05-29 12:59:05,005 - DEBUG - Response for create_network : {'network': {'id': '25ca668b-2a2c-49a8-a3eb-068e94502c43', 'name': 'ctest-vn-60997716', 'tenant_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'project_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-vn-60997716'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:59:05,219 - DEBUG - Response for create_subnet : {'subnet': {'id': '711cb7f6-a6c4-4afb-b85c-1a69212f9029', 'name': '', 'tenant_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'network_id': '25ca668b-2a2c-49a8-a3eb-068e94502c43', 'ip_version': 4, 'cidr': '32.170.57.64/26', 'allocation_pools': [{'start': '32.170.57.66', 'end': '32.170.57.126'}], 'gateway_ip': '32.170.57.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '32.170.57.66', 'tags': [], 'project_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5'}} 2026-05-29 12:59:05,240 - INFO - Created VN ctest-vn-60997716 2026-05-29 12:59:05,294 - DEBUG - VN ctest-vn-60997716 UUID is 25ca668b-2a2c-49a8-a3eb-068e94502c43 2026-05-29 12:59:05,585 - DEBUG - Response for create_network : {'network': {'id': 'fc869067-cf22-4ed2-a4ad-a54c7a756843', 'name': 'ctest-vn-58207684', 'tenant_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'project_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-vn-58207684'], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:59:05,779 - DEBUG - Response for create_subnet : {'subnet': {'id': '2220bda0-6fe1-43c2-a104-bc4b0273f0e3', 'name': '', 'tenant_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'network_id': 'fc869067-cf22-4ed2-a4ad-a54c7a756843', 'ip_version': 4, 'cidr': '122.218.236.128/26', 'allocation_pools': [{'start': '122.218.236.130', 'end': '122.218.236.190'}], 'gateway_ip': '122.218.236.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '122.218.236.130', 'tags': [], 'project_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5'}} 2026-05-29 12:59:05,796 - INFO - Created VN ctest-vn-58207684 2026-05-29 12:59:05,850 - DEBUG - VN ctest-vn-58207684 UUID is fc869067-cf22-4ed2-a4ad-a54c7a756843 2026-05-29 12:59:06,006 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-60997716, 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-93819322:ctest-vn-58207684, 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] 2026-05-29 12:59:06,302 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '25ca668b-2a2c-49a8-a3eb-068e94502c43', 'name': 'ctest-vn-60997716', 'tenant_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'project_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['711cb7f6-a6c4-4afb-b85c-1a69212f9029'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-vn-60997716'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-policy-allow-all-49929222']], 'subnet_ipam': [{'subnet_cidr': '32.170.57.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:59:06,537 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc869067-cf22-4ed2-a4ad-a54c7a756843', 'name': 'ctest-vn-58207684', 'tenant_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'project_id': '6d6aa4b53f6f4ec583c3ba919ac8ebe5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2220bda0-6fe1-43c2-a104-bc4b0273f0e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-vn-58207684'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-policy-allow-all-49929222']], 'subnet_ipam': [{'subnet_cidr': '122.218.236.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-05-29 12:59:06,698 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 12:59:06,992 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 12:59:07,033 - DEBUG - Requesting: http://10.0.0.33:8082/domain/85a7a162-38a2-4247-9a3b-f3e8e668adc5 2026-05-29 12:59:07,043 - DEBUG - Requesting: http://10.0.0.33:8082/project/6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5 2026-05-29 12:59:07,117 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ca668b-2a2c-49a8-a3eb-068e94502c43 2026-05-29 12:59:07,128 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ca668b-2a2c-49a8-a3eb-068e94502c43 2026-05-29 12:59:07,139 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9f67a954-3102-4d7a-b2d3-b3e3a35929bb 2026-05-29 12:59:07,146 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9f67a954-3102-4d7a-b2d3-b3e3a35929bb 2026-05-29 12:59:07,155 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/65b33ce5-5011-4aee-95a8-538ca709b0c7 2026-05-29 12:59:07,161 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 12:59:07,161 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ca668b-2a2c-49a8-a3eb-068e94502c43 2026-05-29 12:59:07,169 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9f67a954-3102-4d7a-b2d3-b3e3a35929bb 2026-05-29 12:59:07,182 - INFO - Verified VN network id 11 for VN 25ca668b-2a2c-49a8-a3eb-068e94502c43 2026-05-29 12:59:07,182 - INFO - Verifications in API Server for VN ctest-vn-60997716 passed 2026-05-29 12:59:07,183 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ca668b-2a2c-49a8-a3eb-068e94502c43 2026-05-29 12:59:07,191 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9f67a954-3102-4d7a-b2d3-b3e3a35929bb 2026-05-29 12:59:07,197 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9f67a954-3102-4d7a-b2d3-b3e3a35929bb 2026-05-29 12:59:07,204 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/65b33ce5-5011-4aee-95a8-538ca709b0c7 2026-05-29 12:59:07,215 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-60997716', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93819322', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2723101672592918952', 'uuid-lslong': '11811541657152662595'}, 'enable': 'true', 'created': '2026-05-29T12:59:04', 'last-modified': '2026-05-29T12:59:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938631'} 2026-05-29 12:59:07,220 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-05-29 12:59:07,221 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60997716 passed 2026-05-29 12:59:07,221 - DEBUG - ====Verifying policy data for ctest-vn-60997716 in API_Server ====== 2026-05-29 12:59:07,221 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 12:59:07,226 - DEBUG - Requesting: http://10.0.0.33:8082/domain/85a7a162-38a2-4247-9a3b-f3e8e668adc5 2026-05-29 12:59:07,237 - DEBUG - Requesting: http://10.0.0.33:8082/project/6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5 2026-05-29 12:59:07,306 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/25ca668b-2a2c-49a8-a3eb-068e94502c43 2026-05-29 12:59:07,314 - DEBUG - ==>Verifying data for policy with id: 1cdfb2a2-f836-4258-8f20-49084a3cf260, fqn: ['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-policy-allow-all-49929222'] 2026-05-29 12:59:07,315 - INFO - VN ctest-vn-60997716 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 12:59:07,315 - DEBUG - Verifying the vn in opserver 2026-05-29 12:59:07,315 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-60997716 virtual network link through opserver 10.0.0.33 2026-05-29 12:59:07,315 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-29 12:59:07,607 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-29 12:59:07,670 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-60997716', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-60997716?flat'} 2026-05-29 12:59:07,670 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-60997716 is found in opserver 2026-05-29 12:59:07,679 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 12:59:07,685 - DEBUG - VRF ids for VN ctest-vn-60997716: {} 2026-05-29 12:59:07,685 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 12:59:07,692 - DEBUG - Requesting: http://10.0.0.33:8082/domain/85a7a162-38a2-4247-9a3b-f3e8e668adc5 2026-05-29 12:59:07,703 - DEBUG - Requesting: http://10.0.0.33:8082/project/6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5 2026-05-29 12:59:07,775 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fc869067-cf22-4ed2-a4ad-a54c7a756843 2026-05-29 12:59:07,786 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fc869067-cf22-4ed2-a4ad-a54c7a756843 2026-05-29 12:59:07,794 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a5cfc31-24f7-48ad-a20f-7b69b59d4bd5 2026-05-29 12:59:07,801 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a5cfc31-24f7-48ad-a20f-7b69b59d4bd5 2026-05-29 12:59:07,808 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/28e5fabd-ae72-4696-b0f1-6be0d1ed73ec 2026-05-29 12:59:07,814 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 12:59:07,814 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fc869067-cf22-4ed2-a4ad-a54c7a756843 2026-05-29 12:59:07,824 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a5cfc31-24f7-48ad-a20f-7b69b59d4bd5 2026-05-29 12:59:07,839 - INFO - Verified VN network id 12 for VN fc869067-cf22-4ed2-a4ad-a54c7a756843 2026-05-29 12:59:07,839 - INFO - Verifications in API Server for VN ctest-vn-58207684 passed 2026-05-29 12:59:07,839 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fc869067-cf22-4ed2-a4ad-a54c7a756843 2026-05-29 12:59:07,847 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a5cfc31-24f7-48ad-a20f-7b69b59d4bd5 2026-05-29 12:59:07,854 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a5cfc31-24f7-48ad-a20f-7b69b59d4bd5 2026-05-29 12:59:07,860 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/28e5fabd-ae72-4696-b0f1-6be0d1ed73ec 2026-05-29 12:59:07,871 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-58207684', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-93819322', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18196390119968231122', 'uuid-lslong': '11866322341081737283'}, 'enable': 'true', 'created': '2026-05-29T12:59:05', 'last-modified': '2026-05-29T12:59:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.361919'} 2026-05-29 12:59:07,877 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-05-29 12:59:07,877 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58207684 passed 2026-05-29 12:59:07,877 - DEBUG - ====Verifying policy data for ctest-vn-58207684 in API_Server ====== 2026-05-29 12:59:07,877 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 12:59:07,882 - DEBUG - Requesting: http://10.0.0.33:8082/domain/85a7a162-38a2-4247-9a3b-f3e8e668adc5 2026-05-29 12:59:07,892 - DEBUG - Requesting: http://10.0.0.33:8082/project/6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5 2026-05-29 12:59:07,963 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/fc869067-cf22-4ed2-a4ad-a54c7a756843 2026-05-29 12:59:07,972 - DEBUG - ==>Verifying data for policy with id: 1cdfb2a2-f836-4258-8f20-49084a3cf260, fqn: ['default-domain', 'ctest-TestBasicPolicy-93819322', 'ctest-policy-allow-all-49929222'] 2026-05-29 12:59:07,972 - INFO - VN ctest-vn-58207684 Policy verification: verify_vn_policy_in_api_server, status: True 2026-05-29 12:59:07,972 - DEBUG - Verifying the vn in opserver 2026-05-29 12:59:07,972 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-58207684 virtual network link through opserver 10.0.0.33 2026-05-29 12:59:07,972 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks 2026-05-29 12:59:07,981 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-58207684', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-58207684?flat'} 2026-05-29 12:59:07,981 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-58207684 is found in opserver 2026-05-29 12:59:07,991 - DEBUG - Do not have enough data to verify VN in agent 2026-05-29 12:59:07,995 - DEBUG - VRF ids for VN ctest-vn-58207684: {} 2026-05-29 12:59:08,051 - DEBUG - Services list from nova: [, , ] 2026-05-29 12:59:09,066 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5850-1) 2026-05-29 12:59:10,206 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5850-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5850-1) 2026-05-29 12:59:10,206 - INFO - Waiting for VM ctest-TestBasicPolicy-93819322-22357457 to be up.. 2026-05-29 12:59:10,290 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-05-29 12:59:15,367 - DEBUG - VM is in ACTIVE state now 2026-05-29 12:59:15,368 - INFO - VM name : ctest-TestBasicPolicy-93819322-22357457 2026-05-29 12:59:15,443 - DEBUG - VM ctest-TestBasicPolicy-93819322-22357457 ID is 08ff2fcd-1a14-4595-8b77-4fa1a6b7c59a 2026-05-29 12:59:15,463 - DEBUG - VM ctest-TestBasicPolicy-93819322-22357457 launched on Node cn-jenkins-deploy-platform-ansible-os-5850-1 2026-05-29 12:59:15,536 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/08ff2fcd-1a14-4595-8b77-4fa1a6b7c59a 2026-05-29 12:59:15,545 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/bc370170-95ec-46e2-8be8-c3841a87f935 2026-05-29 12:59:18,804 - 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 1030ms') 2026-05-29 12:59:18,804 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93819322-22357457 failed! 2026-05-29 12:59:18,858 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-93819322:ctest-vn-60997716 is 32.170.57.65 and allocation pool is NOT set 2026-05-29 12:59:20,925 - 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=7.70 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=1.02 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.019/4.361/7.704/3.342 ms') 2026-05-29 12:59:20,925 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-93819322-22357457 passed 2026-05-29 12:59:21,074 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:59:21,074 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93819322-22357457, IP 32.170.57.67, Port 22 2026-05-29 12:59:21,230 - DEBUG - VM ctest-TestBasicPolicy-93819322-22357457 is ready for SSH connections 2026-05-29 12:59:21,230 - INFO - Waiting for VM ctest-TestBasicPolicy-93819322-32570610 to be up.. 2026-05-29 12:59:21,304 - DEBUG - VM is in ACTIVE state now 2026-05-29 12:59:21,304 - INFO - VM name : ctest-TestBasicPolicy-93819322-32570610 2026-05-29 12:59:21,378 - DEBUG - VM ctest-TestBasicPolicy-93819322-32570610 ID is 838d38d4-1655-41dd-bb09-eb470f092754 2026-05-29 12:59:21,378 - DEBUG - VM ctest-TestBasicPolicy-93819322-32570610 launched on Node cn-jenkins-deploy-platform-ansible-os-5850-1 2026-05-29 12:59:21,452 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine/838d38d4-1655-41dd-bb09-eb470f092754 2026-05-29 12:59:21,460 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-machine-interface/785eca7a-8922-40bb-8950-eabecdcfe2fc 2026-05-29 12:59:22,694 - DEBUG - (True, 'PING 169.254.0.4 (169.254.0.4) 56(84) bytes of data.\r\n64 bytes from 169.254.0.4: icmp_seq=1 ttl=63 time=3.06 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.434 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.434/1.747/3.060/1.313 ms') 2026-05-29 12:59:22,694 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-93819322-32570610 passed 2026-05-29 12:59:22,842 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:59:22,842 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-93819322-32570610, IP 122.218.236.131, Port 22 2026-05-29 12:59:22,998 - DEBUG - VM ctest-TestBasicPolicy-93819322-32570610 is ready for SSH connections 2026-05-29 12:59:22,998 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:59:22,998 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.218.236.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-29 12:59:22,998 - DEBUG - ping -s 56 -c 3 -W 1 122.218.236.131 2026-05-29 12:59:27,004 - DEBUG - PING 122.218.236.131 (122.218.236.131): 56 data bytes 64 bytes from 122.218.236.131: seq=0 ttl=63 time=3.532 ms 64 bytes from 122.218.236.131: seq=1 ttl=63 time=0.907 ms 64 bytes from 122.218.236.131: seq=2 ttl=63 time=0.719 ms --- 122.218.236.131 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.719/1.719/3.532 ms 2026-05-29 12:59:27,005 - INFO - Ping to IP 122.218.236.131 from VM ctest-TestBasicPolicy-93819322-22357457 passed 2026-05-29 12:59:27,177 - DEBUG - Policy Update Response {"network-policy": {"uuid": "1cdfb2a2-f836-4258-8f20-49084a3cf260", "href": "http://10.0.0.33:8082/network-policy/1cdfb2a2-f836-4258-8f20-49084a3cf260"}} 2026-05-29 12:59:27,178 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-05-29 12:59:27,178 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 122.218.236.131, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.33, gateway password: c0ntrail123 2026-05-29 12:59:27,178 - DEBUG - ping -s 56 -c 3 -W 1 122.218.236.131 2026-05-29 12:59:30,395 - DEBUG - PING 122.218.236.131 (122.218.236.131): 56 data bytes --- 122.218.236.131 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-05-29 12:59:30,395 - WARNING - Ping to IP 122.218.236.131 from VM ctest-TestBasicPolicy-93819322-22357457 failed 2026-05-29 12:59:30,395 - INFO - Deleting VM ctest-TestBasicPolicy-93819322-32570610 2026-05-29 12:59:30,470 - INFO - Deleting VM ctest-TestBasicPolicy-93819322-22357457 2026-05-29 12:59:30,823 - INFO - Deleted policy ctest-policy-allow-all-49929222 2026-05-29 12:59:30,824 - INFO - Deleting VN ctest-vn-58207684 2026-05-29 12:59:30,857 - DEBUG - VN fc869067-cf22-4ed2-a4ad-a54c7a756843 still in use: Unable to complete operation on network fc869067-cf22-4ed2-a4ad-a54c7a756843. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-2459c270-3791-4b1f-96f4-920cb8541258'] 2026-05-29 12:59:30,857 - WARNING - Deleting VN ctest-vn-58207684 failed..Will retry 2026-05-29 12:59:32,961 - DEBUG - Response for deleting network () 2026-05-29 12:59:32,961 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/4a5cfc31-24f7-48ad-a20f-7b69b59d4bd5 2026-05-29 12:59:32,966 - DEBUG - Response Code: 404 2026-05-29 12:59:32,966 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 12:59:32,972 - DEBUG - Requesting: http://10.0.0.33:8082/domain/85a7a162-38a2-4247-9a3b-f3e8e668adc5 2026-05-29 12:59:33,027 - DEBUG - Requesting: http://10.0.0.33:8082/project/6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5 2026-05-29 12:59:33,098 - INFO - Validated that VN ctest-vn-58207684 is not found in API Server 2026-05-29 12:59:33,107 - DEBUG - VN ctest-vn-58207684 is not present in Agent 10.0.0.33 2026-05-29 12:59:33,107 - INFO - Validated that VN ctest-vn-58207684 is not in any agent 2026-05-29 12:59:33,122 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-58207684 info 2026-05-29 12:59:33,122 - INFO - Deleting VN ctest-vn-60997716 2026-05-29 12:59:33,223 - DEBUG - Response for deleting network () 2026-05-29 12:59:33,223 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/9f67a954-3102-4d7a-b2d3-b3e3a35929bb 2026-05-29 12:59:33,230 - DEBUG - Response Code: 404 2026-05-29 12:59:33,230 - DEBUG - Requesting: http://10.0.0.33:8082/domains 2026-05-29 12:59:33,234 - DEBUG - Requesting: http://10.0.0.33:8082/domain/85a7a162-38a2-4247-9a3b-f3e8e668adc5 2026-05-29 12:59:33,287 - DEBUG - Requesting: http://10.0.0.33:8082/project/6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5 2026-05-29 12:59:33,355 - INFO - Validated that VN ctest-vn-60997716 is not found in API Server 2026-05-29 12:59:33,363 - DEBUG - VN ctest-vn-60997716 is not present in Agent 10.0.0.33 2026-05-29 12:59:33,363 - INFO - Validated that VN ctest-vn-60997716 is not in any agent 2026-05-29 12:59:33,378 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-60997716 info 2026-05-29 12:59:33,630 - DEBUG - No XMPP flaps were noticed during the test 2026-05-29 12:59:33,630 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:29] 2026-05-29 12:59:33,630 - INFO - -------------------------------------------------------------------------------- 2026-05-29 12:59:34,331 - INFO - Deleted project: ctest-TestBasicPolicy-93819322, ID : 6d6aa4b5-3f6f-4ec5-83c3-ba919ac8ebe5