2026-04-21 19:47:09,303 - INFO - Domain Default found not creating 2026-04-21 19:47:09,459 - INFO - Project ctest-TestBasicPolicy-52237532 not found, creating it 2026-04-21 19:47:09,898 - INFO - Created Project:ctest-TestBasicPolicy-52237532, ID : 2ed918fb-0a8f-4c2e-a09e-c99cc13986f8 2026-04-21 19:47:11,992 - INFO - ================================================================================ 2026-04-21 19:47:11,992 - INFO - STARTING TEST : test_basic_policy_allow_deny 2026-04-21 19:47:11,992 - 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-04-21 19:47:12,245 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with 2026-04-21 19:47:12,245 - INFO - Initial checks done. Running the testcase now 2026-04-21 19:47:12,245 - INFO - 2026-04-21 19:47:12,769 - DEBUG - Response for create_network : {'network': {'id': '7b52c8b7-ab5d-417a-897c-402cd9f4ae97', 'name': 'ctest-vn-78065028', 'tenant_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'project_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-vn-78065028'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 19:47:12,935 - DEBUG - Response for create_subnet : {'subnet': {'id': '96b983c3-047a-4cba-a4c7-307ed20f3a38', 'name': '', 'tenant_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'network_id': '7b52c8b7-ab5d-417a-897c-402cd9f4ae97', 'ip_version': 4, 'cidr': '149.123.17.192/26', 'allocation_pools': [{'start': '149.123.17.194', 'end': '149.123.17.254'}], 'gateway_ip': '149.123.17.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '149.123.17.194', 'tags': [], 'project_id': '2ed918fb0a8f4c2ea09ec99cc13986f8'}} 2026-04-21 19:47:12,951 - INFO - Created VN ctest-vn-78065028 2026-04-21 19:47:13,004 - DEBUG - VN ctest-vn-78065028 UUID is 7b52c8b7-ab5d-417a-897c-402cd9f4ae97 2026-04-21 19:47:13,341 - DEBUG - Response for create_network : {'network': {'id': '7f594eb7-ff5e-4b83-8973-4814942d7051', 'name': 'ctest-vn-64248671', 'tenant_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'project_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-vn-64248671'], 'port_security_enabled': True, 'description': ''}} 2026-04-21 19:47:13,504 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cc9e080f-a437-4a5e-a305-56dbba97a859', 'name': '', 'tenant_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'network_id': '7f594eb7-ff5e-4b83-8973-4814942d7051', 'ip_version': 4, 'cidr': '173.27.66.192/26', 'allocation_pools': [{'start': '173.27.66.194', 'end': '173.27.66.254'}], 'gateway_ip': '173.27.66.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.27.66.194', 'tags': [], 'project_id': '2ed918fb0a8f4c2ea09ec99cc13986f8'}} 2026-04-21 19:47:13,521 - INFO - Created VN ctest-vn-64248671 2026-04-21 19:47:13,572 - DEBUG - VN ctest-vn-64248671 UUID is 7f594eb7-ff5e-4b83-8973-4814942d7051 2026-04-21 19:47:13,720 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-78065028, 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-52237532:ctest-vn-64248671, 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-04-21 19:47:14,020 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b52c8b7-ab5d-417a-897c-402cd9f4ae97', 'name': 'ctest-vn-78065028', 'tenant_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'project_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['96b983c3-047a-4cba-a4c7-307ed20f3a38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-vn-78065028'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-policy-allow-all-01833741']], 'subnet_ipam': [{'subnet_cidr': '149.123.17.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 19:47:14,251 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7f594eb7-ff5e-4b83-8973-4814942d7051', 'name': 'ctest-vn-64248671', 'tenant_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'project_id': '2ed918fb0a8f4c2ea09ec99cc13986f8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['cc9e080f-a437-4a5e-a305-56dbba97a859'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-vn-64248671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-policy-allow-all-01833741']], 'subnet_ipam': [{'subnet_cidr': '173.27.66.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}} 2026-04-21 19:47:14,424 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 19:47:14,717 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 19:47:14,750 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a42d8d3-b791-46a2-aef4-4cf3befe4b5b 2026-04-21 19:47:14,760 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ed918fb-0a8f-4c2e-a09e-c99cc13986f8 2026-04-21 19:47:14,833 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7b52c8b7-ab5d-417a-897c-402cd9f4ae97 2026-04-21 19:47:14,843 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7b52c8b7-ab5d-417a-897c-402cd9f4ae97 2026-04-21 19:47:14,852 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/58da511b-082a-4954-844e-d48b275058a4 2026-04-21 19:47:14,858 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/58da511b-082a-4954-844e-d48b275058a4 2026-04-21 19:47:14,865 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3cf1d4e2-984d-46ba-92e7-789868a14fe5 2026-04-21 19:47:14,870 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 19:47:14,870 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7b52c8b7-ab5d-417a-897c-402cd9f4ae97 2026-04-21 19:47:14,878 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/58da511b-082a-4954-844e-d48b275058a4 2026-04-21 19:47:14,889 - INFO - Verified VN network id 10 for VN 7b52c8b7-ab5d-417a-897c-402cd9f4ae97 2026-04-21 19:47:14,889 - INFO - Verifications in API Server for VN ctest-vn-78065028 passed 2026-04-21 19:47:14,889 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7b52c8b7-ab5d-417a-897c-402cd9f4ae97 2026-04-21 19:47:14,896 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/58da511b-082a-4954-844e-d48b275058a4 2026-04-21 19:47:14,902 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/58da511b-082a-4954-844e-d48b275058a4 2026-04-21 19:47:14,907 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3cf1d4e2-984d-46ba-92e7-789868a14fe5 2026-04-21 19:47:14,916 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-78065028', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52237532', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8886385705934995834', 'uuid-lslong': '9906863841687678615'}, 'enable': 'true', 'created': '2026-04-21T19:47:12', 'last-modified': '2026-04-21T19:47:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.923871'} 2026-04-21 19:47:14,921 - DEBUG - Route Targets: ['target:64512:8000004'] 2026-04-21 19:47:14,921 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-78065028 passed 2026-04-21 19:47:14,921 - DEBUG - ====Verifying policy data for ctest-vn-78065028 in API_Server ====== 2026-04-21 19:47:14,921 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 19:47:14,926 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a42d8d3-b791-46a2-aef4-4cf3befe4b5b 2026-04-21 19:47:14,935 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ed918fb-0a8f-4c2e-a09e-c99cc13986f8 2026-04-21 19:47:15,005 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7b52c8b7-ab5d-417a-897c-402cd9f4ae97 2026-04-21 19:47:15,013 - DEBUG - ==>Verifying data for policy with id: c0c75ed2-3bc2-46a1-876b-aaa595268a1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-policy-allow-all-01833741'] 2026-04-21 19:47:15,013 - INFO - VN ctest-vn-78065028 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 19:47:15,013 - DEBUG - Verifying the vn in opserver 2026-04-21 19:47:15,014 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-78065028 virtual network link through opserver 10.0.0.50 2026-04-21 19:47:15,014 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 19:47:15,304 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 19:47:15,355 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-78065028', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-78065028?flat'} 2026-04-21 19:47:15,355 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-78065028 is found in opserver 2026-04-21 19:47:15,363 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 19:47:15,367 - DEBUG - VRF ids for VN ctest-vn-78065028: {} 2026-04-21 19:47:15,367 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 19:47:15,372 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a42d8d3-b791-46a2-aef4-4cf3befe4b5b 2026-04-21 19:47:15,380 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ed918fb-0a8f-4c2e-a09e-c99cc13986f8 2026-04-21 19:47:15,449 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f594eb7-ff5e-4b83-8973-4814942d7051 2026-04-21 19:47:15,459 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f594eb7-ff5e-4b83-8973-4814942d7051 2026-04-21 19:47:15,466 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a8774bf-1f63-4729-aa02-36821e0b3ef0 2026-04-21 19:47:15,473 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a8774bf-1f63-4729-aa02-36821e0b3ef0 2026-04-21 19:47:15,478 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/71913c6f-3905-4a13-b468-cace4b6977e0 2026-04-21 19:47:15,483 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 19:47:15,483 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f594eb7-ff5e-4b83-8973-4814942d7051 2026-04-21 19:47:15,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a8774bf-1f63-4729-aa02-36821e0b3ef0 2026-04-21 19:47:15,503 - INFO - Verified VN network id 11 for VN 7f594eb7-ff5e-4b83-8973-4814942d7051 2026-04-21 19:47:15,503 - INFO - Verifications in API Server for VN ctest-vn-64248671 passed 2026-04-21 19:47:15,503 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f594eb7-ff5e-4b83-8973-4814942d7051 2026-04-21 19:47:15,511 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a8774bf-1f63-4729-aa02-36821e0b3ef0 2026-04-21 19:47:15,516 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a8774bf-1f63-4729-aa02-36821e0b3ef0 2026-04-21 19:47:15,522 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/71913c6f-3905-4a13-b468-cace4b6977e0 2026-04-21 19:47:15,533 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-64248671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-52237532', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9176452267914447747', 'uuid-lslong': '9904339258740404305'}, 'enable': 'true', 'created': '2026-04-21T19:47:13', 'last-modified': '2026-04-21T19:47:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.300095'} 2026-04-21 19:47:15,540 - DEBUG - Route Targets: ['target:64512:8000005'] 2026-04-21 19:47:15,540 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-64248671 passed 2026-04-21 19:47:15,541 - DEBUG - ====Verifying policy data for ctest-vn-64248671 in API_Server ====== 2026-04-21 19:47:15,541 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 19:47:15,547 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a42d8d3-b791-46a2-aef4-4cf3befe4b5b 2026-04-21 19:47:15,556 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ed918fb-0a8f-4c2e-a09e-c99cc13986f8 2026-04-21 19:47:15,631 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7f594eb7-ff5e-4b83-8973-4814942d7051 2026-04-21 19:47:15,638 - DEBUG - ==>Verifying data for policy with id: c0c75ed2-3bc2-46a1-876b-aaa595268a1b, fqn: ['default-domain', 'ctest-TestBasicPolicy-52237532', 'ctest-policy-allow-all-01833741'] 2026-04-21 19:47:15,638 - INFO - VN ctest-vn-64248671 Policy verification: verify_vn_policy_in_api_server, status: True 2026-04-21 19:47:15,638 - DEBUG - Verifying the vn in opserver 2026-04-21 19:47:15,638 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-64248671 virtual network link through opserver 10.0.0.50 2026-04-21 19:47:15,638 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks 2026-04-21 19:47:15,646 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-64248671', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-64248671?flat'} 2026-04-21 19:47:15,646 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-64248671 is found in opserver 2026-04-21 19:47:15,654 - DEBUG - Do not have enough data to verify VN in agent 2026-04-21 19:47:15,658 - DEBUG - VRF ids for VN ctest-vn-64248671: {} 2026-04-21 19:47:15,708 - DEBUG - Services list from nova: [, , ] 2026-04-21 19:47:16,725 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5663-1) 2026-04-21 19:47:17,847 - INFO - VM ([]) created on node: (cn-jenkins-deploy-platform-ansible-os-5663-1), Zone: (nova:cn-jenkins-deploy-platform-ansible-os-5663-1) 2026-04-21 19:47:17,847 - INFO - Waiting for VM ctest-TestBasicPolicy-52237532-18378141 to be up.. 2026-04-21 19:47:17,925 - DEBUG - VM is still in BUILD state, Expected: ACTIVE 2026-04-21 19:47:23,001 - DEBUG - VM is in ACTIVE state now 2026-04-21 19:47:23,002 - INFO - VM name : ctest-TestBasicPolicy-52237532-18378141 2026-04-21 19:47:23,067 - DEBUG - VM ctest-TestBasicPolicy-52237532-18378141 ID is 8d2c622d-20fe-4e77-afaf-4c02d9c8d1ba 2026-04-21 19:47:23,084 - DEBUG - VM ctest-TestBasicPolicy-52237532-18378141 launched on Node cn-jenkins-deploy-platform-ansible-os-5663-1 2026-04-21 19:47:23,151 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/8d2c622d-20fe-4e77-afaf-4c02d9c8d1ba 2026-04-21 19:47:23,159 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/70163dda-2521-4bd5-b0b7-35f427e7300e 2026-04-21 19:47:26,403 - 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 1011ms') 2026-04-21 19:47:26,403 - DEBUG - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52237532-18378141 failed! 2026-04-21 19:47:26,456 - DEBUG - Gateway for vn default-domain:ctest-TestBasicPolicy-52237532:ctest-vn-78065028 is 149.123.17.193 and allocation pool is NOT set 2026-04-21 19:47:28,512 - DEBUG - (True, 'PING 169.254.0.3 (169.254.0.3) 56(84) bytes of data.\r\n64 bytes from 169.254.0.3: icmp_seq=1 ttl=63 time=2.95 ms\r\n64 bytes from 169.254.0.3: icmp_seq=2 ttl=63 time=0.310 ms\r\n\r\n--- 169.254.0.3 ping statistics ---\r\n2 packets transmitted, 2 received, 0% packet loss, time 1001ms\r\nrtt min/avg/max/mdev = 0.310/1.630/2.950/1.320 ms') 2026-04-21 19:47:28,512 - INFO - Ping to Metadata IP 169.254.0.3 of VM ctest-TestBasicPolicy-52237532-18378141 passed 2026-04-21 19:47:28,668 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:47:28,668 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52237532-18378141, IP 149.123.17.195, Port 22 2026-04-21 19:47:28,827 - DEBUG - VM ctest-TestBasicPolicy-52237532-18378141 is ready for SSH connections 2026-04-21 19:47:28,827 - INFO - Waiting for VM ctest-TestBasicPolicy-52237532-37804592 to be up.. 2026-04-21 19:47:28,895 - DEBUG - VM is in ACTIVE state now 2026-04-21 19:47:28,895 - INFO - VM name : ctest-TestBasicPolicy-52237532-37804592 2026-04-21 19:47:28,968 - DEBUG - VM ctest-TestBasicPolicy-52237532-37804592 ID is 3bcb1c86-2c15-4619-9cb2-7a2e94a9fbd4 2026-04-21 19:47:28,968 - DEBUG - VM ctest-TestBasicPolicy-52237532-37804592 launched on Node cn-jenkins-deploy-platform-ansible-os-5663-1 2026-04-21 19:47:29,037 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine/3bcb1c86-2c15-4619-9cb2-7a2e94a9fbd4 2026-04-21 19:47:29,043 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-machine-interface/60ad557e-14c6-48e9-b131-dc9ee7f57f63 2026-04-21 19:47:30,277 - 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.79 ms\r\n64 bytes from 169.254.0.4: icmp_seq=2 ttl=63 time=0.414 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.414/1.602/2.790/1.188 ms') 2026-04-21 19:47:30,277 - INFO - Ping to Metadata IP 169.254.0.4 of VM ctest-TestBasicPolicy-52237532-37804592 passed 2026-04-21 19:47:30,424 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:47:30,424 - DEBUG - Waiting to SSH to VM ctest-TestBasicPolicy-52237532-37804592, IP 173.27.66.195, Port 22 2026-04-21 19:47:30,575 - DEBUG - VM ctest-TestBasicPolicy-52237532-37804592 is ready for SSH connections 2026-04-21 19:47:30,576 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:47:30,576 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.27.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 19:47:30,576 - DEBUG - ping -s 56 -c 3 -W 1 173.27.66.195 2026-04-21 19:47:34,573 - DEBUG - PING 173.27.66.195 (173.27.66.195): 56 data bytes 64 bytes from 173.27.66.195: seq=0 ttl=63 time=4.353 ms 64 bytes from 173.27.66.195: seq=1 ttl=63 time=0.967 ms 64 bytes from 173.27.66.195: seq=2 ttl=63 time=0.819 ms --- 173.27.66.195 ping statistics --- 3 packets transmitted, 3 packets received, 0% packet loss round-trip min/avg/max = 0.819/2.046/4.353 ms 2026-04-21 19:47:34,573 - INFO - Ping to IP 173.27.66.195 from VM ctest-TestBasicPolicy-52237532-18378141 passed 2026-04-21 19:47:34,748 - DEBUG - Policy Update Response {"network-policy": {"uuid": "c0c75ed2-3bc2-46a1-876b-aaa595268a1b", "href": "http://10.0.0.50:8082/network-policy/c0c75ed2-3bc2-46a1-876b-aaa595268a1b"}} 2026-04-21 19:47:34,748 - DEBUG - verify_vm_launched is skipped since self.vm_launch_flag is set 2026-04-21 19:47:34,748 - DEBUG - Running remote_cmd, Cmd : ping -s 56 -c 3 -W 1 173.27.66.195, host_string: cirros@169.254.0.3, password: cubswin:)gateway: ubuntu@10.0.0.50, gateway password: c0ntrail123 2026-04-21 19:47:34,748 - DEBUG - ping -s 56 -c 3 -W 1 173.27.66.195 2026-04-21 19:47:37,949 - DEBUG - PING 173.27.66.195 (173.27.66.195): 56 data bytes --- 173.27.66.195 ping statistics --- 3 packets transmitted, 0 packets received, 100% packet loss 2026-04-21 19:47:37,949 - WARNING - Ping to IP 173.27.66.195 from VM ctest-TestBasicPolicy-52237532-18378141 failed 2026-04-21 19:47:37,950 - INFO - Deleting VM ctest-TestBasicPolicy-52237532-37804592 2026-04-21 19:47:38,026 - INFO - Deleting VM ctest-TestBasicPolicy-52237532-18378141 2026-04-21 19:47:38,366 - INFO - Deleted policy ctest-policy-allow-all-01833741 2026-04-21 19:47:38,367 - INFO - Deleting VN ctest-vn-64248671 2026-04-21 19:47:38,399 - DEBUG - VN 7f594eb7-ff5e-4b83-8973-4814942d7051 still in use: Unable to complete operation on network 7f594eb7-ff5e-4b83-8973-4814942d7051. There are one or more ports still in use on the network. Neutron server returns request_ids: ['req-9829faa4-2bef-4428-b7ec-3f8fea41e7e7'] 2026-04-21 19:47:38,399 - WARNING - Deleting VN ctest-vn-64248671 failed..Will retry 2026-04-21 19:47:40,502 - DEBUG - Response for deleting network () 2026-04-21 19:47:40,502 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/3a8774bf-1f63-4729-aa02-36821e0b3ef0 2026-04-21 19:47:40,508 - DEBUG - Response Code: 404 2026-04-21 19:47:40,508 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 19:47:40,512 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a42d8d3-b791-46a2-aef4-4cf3befe4b5b 2026-04-21 19:47:40,566 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ed918fb-0a8f-4c2e-a09e-c99cc13986f8 2026-04-21 19:47:40,634 - INFO - Validated that VN ctest-vn-64248671 is not found in API Server 2026-04-21 19:47:40,643 - DEBUG - VN ctest-vn-64248671 is not present in Agent 10.0.0.50 2026-04-21 19:47:40,643 - INFO - Validated that VN ctest-vn-64248671 is not in any agent 2026-04-21 19:47:40,654 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-64248671 info 2026-04-21 19:47:40,654 - INFO - Deleting VN ctest-vn-78065028 2026-04-21 19:47:40,743 - DEBUG - Response for deleting network () 2026-04-21 19:47:40,743 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/58da511b-082a-4954-844e-d48b275058a4 2026-04-21 19:47:40,747 - DEBUG - Response Code: 404 2026-04-21 19:47:40,747 - DEBUG - Requesting: http://10.0.0.50:8082/domains 2026-04-21 19:47:40,752 - DEBUG - Requesting: http://10.0.0.50:8082/domain/8a42d8d3-b791-46a2-aef4-4cf3befe4b5b 2026-04-21 19:47:40,805 - DEBUG - Requesting: http://10.0.0.50:8082/project/2ed918fb-0a8f-4c2e-a09e-c99cc13986f8 2026-04-21 19:47:40,869 - INFO - Validated that VN ctest-vn-78065028 is not found in API Server 2026-04-21 19:47:40,878 - DEBUG - VN ctest-vn-78065028 is not present in Agent 10.0.0.50 2026-04-21 19:47:40,878 - INFO - Validated that VN ctest-vn-78065028 is not in any agent 2026-04-21 19:47:40,889 - INFO - Validated that Routing instances and Config db in Control-nodes does not have VN ctest-vn-78065028 info 2026-04-21 19:47:41,141 - DEBUG - No XMPP flaps were noticed during the test 2026-04-21 19:47:41,141 - INFO - END TEST : test_basic_policy_allow_deny : PASSED[0:00:30] 2026-04-21 19:47:41,141 - INFO - -------------------------------------------------------------------------------- 2026-04-21 19:47:41,814 - INFO - Deleted project: ctest-TestBasicPolicy-52237532, ID : 2ed918fb-0a8f-4c2e-a09e-c99cc13986f8