2026-03-16 16:33:09,892 - INFO - Domain Default found not creating
2026-03-16 16:33:10,172 - INFO - Project ctest-TestBasicPolicy-13240611 not found, creating it
2026-03-16 16:33:10,867 - INFO - Created Project:ctest-TestBasicPolicy-13240611, ID : b57187f2-dba5-446f-bb32-0255b00cc03a
2026-03-16 16:33:12,797 - INFO - ================================================================================
2026-03-16 16:33:12,797 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-16 16:33:12,797 - 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-03-16 16:33:13,114 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-03-16 16:33:13,114 - INFO - Initial checks done. Running the testcase now
2026-03-16 16:33:13,115 - INFO -
2026-03-16 16:33:13,899 - DEBUG - Response for create_network : {'network': {'id': 'dc4b1880-bb1d-4bb1-a81b-ad22816d8823', 'name': 'ctest-vn-35462419', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-35462419'], 'port_security_enabled': True, 'description': ''}}
2026-03-16 16:33:14,183 - DEBUG - Response for create_subnet : {'subnet': {'id': '0cab547c-4aaa-45e2-a931-0722bf06ee87', 'name': '', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'network_id': 'dc4b1880-bb1d-4bb1-a81b-ad22816d8823', 'ip_version': 4, 'cidr': '71.154.59.128/26', 'allocation_pools': [{'start': '71.154.59.130', 'end': '71.154.59.190'}], 'gateway_ip': '71.154.59.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '71.154.59.130', 'tags': [], 'project_id': 'b57187f2dba5446fbb320255b00cc03a'}}
2026-03-16 16:33:14,211 - INFO - Created VN ctest-vn-35462419
2026-03-16 16:33:14,273 - DEBUG - VN ctest-vn-35462419 UUID is dc4b1880-bb1d-4bb1-a81b-ad22816d8823
2026-03-16 16:33:14,664 - DEBUG - Response for create_network : {'network': {'id': 'a491c51e-a260-434b-9f63-937e86bc4a2e', 'name': 'ctest-vn-84682802', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-84682802'], 'port_security_enabled': True, 'description': ''}}
2026-03-16 16:33:14,831 - DEBUG - Response for create_subnet : {'subnet': {'id': '84bad297-e690-43be-8653-8663f4db341c', 'name': '', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'network_id': 'a491c51e-a260-434b-9f63-937e86bc4a2e', 'ip_version': 4, 'cidr': '63.180.145.128/26', 'allocation_pools': [{'start': '63.180.145.130', 'end': '63.180.145.190'}], 'gateway_ip': '63.180.145.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '63.180.145.130', 'tags': [], 'project_id': 'b57187f2dba5446fbb320255b00cc03a'}}
2026-03-16 16:33:14,848 - INFO - Created VN ctest-vn-84682802
2026-03-16 16:33:14,901 - DEBUG - VN ctest-vn-84682802 UUID is a491c51e-a260-434b-9f63-937e86bc4a2e
2026-03-16 16:33:15,037 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419, 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-13240611:ctest-vn-84682802, 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-03-16 16:33:15,448 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dc4b1880-bb1d-4bb1-a81b-ad22816d8823', 'name': 'ctest-vn-35462419', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0cab547c-4aaa-45e2-a931-0722bf06ee87'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-35462419'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889']], 'subnet_ipam': [{'subnet_cidr': '71.154.59.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-16 16:33:15,722 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a491c51e-a260-434b-9f63-937e86bc4a2e', 'name': 'ctest-vn-84682802', 'tenant_id': 'b57187f2dba5446fbb320255b00cc03a', 'project_id': 'b57187f2dba5446fbb320255b00cc03a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['84bad297-e690-43be-8653-8663f4db341c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-vn-84682802'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889']], 'subnet_ipam': [{'subnet_cidr': '63.180.145.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-16 16:33:15,892 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-16 16:33:16,190 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-16 16:33:16,237 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77
2026-03-16 16:33:16,260 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a
2026-03-16 16:33:16,345 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823
2026-03-16 16:33:16,366 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823
2026-03-16 16:33:16,381 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08
2026-03-16 16:33:16,395 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08
2026-03-16 16:33:16,407 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a209d784-c9ae-46b4-9bd2-ee0322515365
2026-03-16 16:33:16,418 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-16 16:33:16,418 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823
2026-03-16 16:33:16,434 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08
2026-03-16 16:33:16,458 - INFO - Verified VN network id 10 for VN dc4b1880-bb1d-4bb1-a81b-ad22816d8823
2026-03-16 16:33:16,458 - INFO - Verifications in API Server for VN ctest-vn-35462419 passed
2026-03-16 16:33:16,458 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823
2026-03-16 16:33:16,475 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08
2026-03-16 16:33:16,490 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/de363ea9-dedf-417a-9364-d0bce8619b08
2026-03-16 16:33:16,504 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a209d784-c9ae-46b4-9bd2-ee0322515365
2026-03-16 16:33:16,528 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13240611', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15873808252771584945', 'uuid-lslong': '12113465986455013411'}, 'enable': 'true', 'created': '2026-03-16T16:33:13', 'last-modified': '2026-03-16T16:33:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.122298'}
2026-03-16 16:33:16,537 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-16 16:33:16,537 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35462419 passed
2026-03-16 16:33:16,537 - DEBUG - ====Verifying policy data for ctest-vn-35462419 in API_Server ======
2026-03-16 16:33:16,537 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-16 16:33:16,549 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77
2026-03-16 16:33:16,581 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a
2026-03-16 16:33:16,674 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/dc4b1880-bb1d-4bb1-a81b-ad22816d8823
2026-03-16 16:33:16,685 - DEBUG - ==>Verifying data for policy with id: ee26da68-51c2-4bc0-9109-68a385fc0525, fqn: ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889']
2026-03-16 16:33:16,685 - INFO - VN ctest-vn-35462419 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-16 16:33:16,685 - DEBUG - Verifying the vn in opserver
2026-03-16 16:33:16,685 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419 virtual network link through opserver 10.0.0.50
2026-03-16 16:33:16,686 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-16 16:33:17,001 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-16 16:33:17,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419?flat'}
2026-03-16 16:33:17,074 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-35462419 is found in opserver
2026-03-16 16:33:17,091 - DEBUG - Do not have enough data to verify VN in agent
2026-03-16 16:33:17,098 - DEBUG - VRF ids for VN ctest-vn-35462419: {}
2026-03-16 16:33:17,098 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-16 16:33:17,107 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77
2026-03-16 16:33:17,128 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a
2026-03-16 16:33:17,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e
2026-03-16 16:33:17,241 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e
2026-03-16 16:33:17,257 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184
2026-03-16 16:33:17,266 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184
2026-03-16 16:33:17,274 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bf94f68-4609-4521-8c64-7f4fcfd6cd8c
2026-03-16 16:33:17,282 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-16 16:33:17,282 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e
2026-03-16 16:33:17,296 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184
2026-03-16 16:33:17,315 - INFO - Verified VN network id 11 for VN a491c51e-a260-434b-9f63-937e86bc4a2e
2026-03-16 16:33:17,316 - INFO - Verifications in API Server for VN ctest-vn-84682802 passed
2026-03-16 16:33:17,316 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e
2026-03-16 16:33:17,328 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184
2026-03-16 16:33:17,342 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/fc7ba7d0-d92b-4f99-8f0e-943a216e3184
2026-03-16 16:33:17,358 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/3bf94f68-4609-4521-8c64-7f4fcfd6cd8c
2026-03-16 16:33:17,379 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-13240611', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11858476029207135051', 'uuid-lslong': '11485185646360545838'}, 'enable': 'true', 'created': '2026-03-16T16:33:14', 'last-modified': '2026-03-16T16:33:15', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.684878'}
2026-03-16 16:33:17,389 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-16 16:33:17,390 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84682802 passed
2026-03-16 16:33:17,390 - DEBUG - ====Verifying policy data for ctest-vn-84682802 in API_Server ======
2026-03-16 16:33:17,390 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-03-16 16:33:17,399 - DEBUG - Requesting: http://10.0.0.50:8082/domain/01357fc8-9dcf-491a-9f75-366df8e84a77
2026-03-16 16:33:17,413 - DEBUG - Requesting: http://10.0.0.50:8082/project/b57187f2-dba5-446f-bb32-0255b00cc03a
2026-03-16 16:33:17,506 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/a491c51e-a260-434b-9f63-937e86bc4a2e
2026-03-16 16:33:17,524 - DEBUG - ==>Verifying data for policy with id: ee26da68-51c2-4bc0-9109-68a385fc0525, fqn: ['default-domain', 'ctest-TestBasicPolicy-13240611', 'ctest-policy-allow-all-30828889']
2026-03-16 16:33:17,524 - INFO - VN ctest-vn-84682802 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-16 16:33:17,525 - DEBUG - Verifying the vn in opserver
2026-03-16 16:33:17,525 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802 virtual network link through opserver 10.0.0.50
2026-03-16 16:33:17,525 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-03-16 16:33:17,538 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802?flat'}
2026-03-16 16:33:17,538 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-13240611:ctest-vn-84682802 is found in opserver
2026-03-16 16:33:17,552 - DEBUG - Do not have enough data to verify VN in agent
2026-03-16 16:33:17,560 - DEBUG - VRF ids for VN ctest-vn-84682802: {}
2026-03-16 16:33:17,649 - DEBUG - Services list from nova: [