2026-06-08 10:22:59,264 - INFO - Domain Default found not creating
2026-06-08 10:22:59,458 - INFO - Project ctest-TestBasicPolicy-57863812 not found, creating it
2026-06-08 10:22:59,988 - INFO - Created Project:ctest-TestBasicPolicy-57863812, ID : 6457cc6a-ce39-43ea-a521-6173c1313ff3
2026-06-08 10:23:01,699 - INFO - ================================================================================
2026-06-08 10:23:01,700 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-08 10:23:01,700 - 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-06-08 10:23:01,966 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-06-08 10:23:01,966 - INFO - Initial checks done. Running the testcase now
2026-06-08 10:23:01,966 - INFO -
2026-06-08 10:23:02,781 - DEBUG - Response for create_network : {'network': {'id': '6e4e685c-11a3-4bf5-8631-809fccf5f3d0', 'name': 'ctest-vn-11067213', 'tenant_id': '6457cc6ace3943eaa5216173c1313ff3', 'project_id': '6457cc6ace3943eaa5216173c1313ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-vn-11067213'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 10:23:03,255 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f7842888-1896-4d2c-96dc-0e051cd4dd07', 'name': '', 'tenant_id': '6457cc6ace3943eaa5216173c1313ff3', 'network_id': '6e4e685c-11a3-4bf5-8631-809fccf5f3d0', 'ip_version': 4, 'cidr': '93.33.231.64/26', 'allocation_pools': [{'start': '93.33.231.66', 'end': '93.33.231.126'}], 'gateway_ip': '93.33.231.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '93.33.231.66', 'tags': [], 'project_id': '6457cc6ace3943eaa5216173c1313ff3'}}
2026-06-08 10:23:03,293 - INFO - Created VN ctest-vn-11067213
2026-06-08 10:23:03,351 - DEBUG - VN ctest-vn-11067213 UUID is 6e4e685c-11a3-4bf5-8631-809fccf5f3d0
2026-06-08 10:23:03,697 - DEBUG - Response for create_network : {'network': {'id': '921b044b-c5b9-45dd-8ccf-665e5991ddbb', 'name': 'ctest-vn-31253554', 'tenant_id': '6457cc6ace3943eaa5216173c1313ff3', 'project_id': '6457cc6ace3943eaa5216173c1313ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-vn-31253554'], 'port_security_enabled': True, 'description': ''}}
2026-06-08 10:23:03,887 - DEBUG - Response for create_subnet : {'subnet': {'id': '48e169eb-b79d-468b-9d16-fee48bbda9ac', 'name': '', 'tenant_id': '6457cc6ace3943eaa5216173c1313ff3', 'network_id': '921b044b-c5b9-45dd-8ccf-665e5991ddbb', 'ip_version': 4, 'cidr': '95.201.248.64/26', 'allocation_pools': [{'start': '95.201.248.66', 'end': '95.201.248.126'}], 'gateway_ip': '95.201.248.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '95.201.248.66', 'tags': [], 'project_id': '6457cc6ace3943eaa5216173c1313ff3'}}
2026-06-08 10:23:03,907 - INFO - Created VN ctest-vn-31253554
2026-06-08 10:23:03,967 - DEBUG - VN ctest-vn-31253554 UUID is 921b044b-c5b9-45dd-8ccf-665e5991ddbb
2026-06-08 10:23:04,088 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-11067213, 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-57863812:ctest-vn-31253554, 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-06-08 10:23:04,388 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e4e685c-11a3-4bf5-8631-809fccf5f3d0', 'name': 'ctest-vn-11067213', 'tenant_id': '6457cc6ace3943eaa5216173c1313ff3', 'project_id': '6457cc6ace3943eaa5216173c1313ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f7842888-1896-4d2c-96dc-0e051cd4dd07'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-vn-11067213'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-policy-allow-all-17839283']], 'subnet_ipam': [{'subnet_cidr': '93.33.231.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-08 10:23:04,637 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '921b044b-c5b9-45dd-8ccf-665e5991ddbb', 'name': 'ctest-vn-31253554', 'tenant_id': '6457cc6ace3943eaa5216173c1313ff3', 'project_id': '6457cc6ace3943eaa5216173c1313ff3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['48e169eb-b79d-468b-9d16-fee48bbda9ac'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-vn-31253554'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-policy-allow-all-17839283']], 'subnet_ipam': [{'subnet_cidr': '95.201.248.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-08 10:23:04,795 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-08 10:23:05,136 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-08 10:23:05,171 - DEBUG - Requesting: http://10.0.0.33:8082/domain/39e3d44c-e320-48e2-a357-b7e5e23d2031
2026-06-08 10:23:05,184 - DEBUG - Requesting: http://10.0.0.33:8082/project/6457cc6a-ce39-43ea-a521-6173c1313ff3
2026-06-08 10:23:05,263 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e4e685c-11a3-4bf5-8631-809fccf5f3d0
2026-06-08 10:23:05,275 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e4e685c-11a3-4bf5-8631-809fccf5f3d0
2026-06-08 10:23:05,284 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/69b5c969-a3db-48f3-a54a-34aebcf8806c
2026-06-08 10:23:05,291 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/69b5c969-a3db-48f3-a54a-34aebcf8806c
2026-06-08 10:23:05,298 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f1b3877c-d85d-4d63-9aae-3de8b2ccb1cc
2026-06-08 10:23:05,315 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-08 10:23:05,316 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e4e685c-11a3-4bf5-8631-809fccf5f3d0
2026-06-08 10:23:05,326 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/69b5c969-a3db-48f3-a54a-34aebcf8806c
2026-06-08 10:23:05,342 - INFO - Verified VN network id 12 for VN 6e4e685c-11a3-4bf5-8631-809fccf5f3d0
2026-06-08 10:23:05,342 - INFO - Verifications in API Server for VN ctest-vn-11067213 passed
2026-06-08 10:23:05,342 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e4e685c-11a3-4bf5-8631-809fccf5f3d0
2026-06-08 10:23:05,352 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/69b5c969-a3db-48f3-a54a-34aebcf8806c
2026-06-08 10:23:05,361 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/69b5c969-a3db-48f3-a54a-34aebcf8806c
2026-06-08 10:23:05,369 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/f1b3877c-d85d-4d63-9aae-3de8b2ccb1cc
2026-06-08 10:23:05,382 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-11067213', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57863812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7948405136997698549', 'uuid-lslong': '9669651298767991760'}, 'enable': 'true', 'created': '2026-06-08T10:23:02', 'last-modified': '2026-06-08T10:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017159'}
2026-06-08 10:23:05,390 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-08 10:23:05,390 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11067213 passed
2026-06-08 10:23:05,390 - DEBUG - ====Verifying policy data for ctest-vn-11067213 in API_Server ======
2026-06-08 10:23:05,390 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-08 10:23:05,397 - DEBUG - Requesting: http://10.0.0.33:8082/domain/39e3d44c-e320-48e2-a357-b7e5e23d2031
2026-06-08 10:23:05,408 - DEBUG - Requesting: http://10.0.0.33:8082/project/6457cc6a-ce39-43ea-a521-6173c1313ff3
2026-06-08 10:23:05,491 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/6e4e685c-11a3-4bf5-8631-809fccf5f3d0
2026-06-08 10:23:05,502 - DEBUG - ==>Verifying data for policy with id: 6085f01b-b61d-45eb-8c7a-48495bc952ed, fqn: ['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-policy-allow-all-17839283']
2026-06-08 10:23:05,502 - INFO - VN ctest-vn-11067213 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-08 10:23:05,502 - DEBUG - Verifying the vn in opserver
2026-06-08 10:23:05,502 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-11067213 virtual network link through opserver 10.0.0.33
2026-06-08 10:23:05,502 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-08 10:23:05,842 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-08 10:23:05,908 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-11067213', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-11067213?flat'}
2026-06-08 10:23:05,909 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-11067213 is found in opserver
2026-06-08 10:23:05,920 - DEBUG - Do not have enough data to verify VN in agent
2026-06-08 10:23:05,924 - DEBUG - VRF ids for VN ctest-vn-11067213: {}
2026-06-08 10:23:05,924 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-08 10:23:05,931 - DEBUG - Requesting: http://10.0.0.33:8082/domain/39e3d44c-e320-48e2-a357-b7e5e23d2031
2026-06-08 10:23:05,946 - DEBUG - Requesting: http://10.0.0.33:8082/project/6457cc6a-ce39-43ea-a521-6173c1313ff3
2026-06-08 10:23:06,023 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/921b044b-c5b9-45dd-8ccf-665e5991ddbb
2026-06-08 10:23:06,035 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/921b044b-c5b9-45dd-8ccf-665e5991ddbb
2026-06-08 10:23:06,045 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/247f98e1-1a8d-4558-8617-7bf9de13f0b7
2026-06-08 10:23:06,052 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/247f98e1-1a8d-4558-8617-7bf9de13f0b7
2026-06-08 10:23:06,058 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e38f8f78-41d2-4ee7-9635-2bc3f9fc96ef
2026-06-08 10:23:06,066 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-08 10:23:06,066 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/921b044b-c5b9-45dd-8ccf-665e5991ddbb
2026-06-08 10:23:06,075 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/247f98e1-1a8d-4558-8617-7bf9de13f0b7
2026-06-08 10:23:06,090 - INFO - Verified VN network id 13 for VN 921b044b-c5b9-45dd-8ccf-665e5991ddbb
2026-06-08 10:23:06,090 - INFO - Verifications in API Server for VN ctest-vn-31253554 passed
2026-06-08 10:23:06,090 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/921b044b-c5b9-45dd-8ccf-665e5991ddbb
2026-06-08 10:23:06,100 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/247f98e1-1a8d-4558-8617-7bf9de13f0b7
2026-06-08 10:23:06,108 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/247f98e1-1a8d-4558-8617-7bf9de13f0b7
2026-06-08 10:23:06,115 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/e38f8f78-41d2-4ee7-9635-2bc3f9fc96ef
2026-06-08 10:23:06,128 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-31253554', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-57863812', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10528013277394978269', 'uuid-lslong': '10146441040904707515'}, 'enable': 'true', 'created': '2026-06-08T10:23:03', 'last-modified': '2026-06-08T10:23:04', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520374'}
2026-06-08 10:23:06,134 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-08 10:23:06,134 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-31253554 passed
2026-06-08 10:23:06,134 - DEBUG - ====Verifying policy data for ctest-vn-31253554 in API_Server ======
2026-06-08 10:23:06,134 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-06-08 10:23:06,141 - DEBUG - Requesting: http://10.0.0.33:8082/domain/39e3d44c-e320-48e2-a357-b7e5e23d2031
2026-06-08 10:23:06,152 - DEBUG - Requesting: http://10.0.0.33:8082/project/6457cc6a-ce39-43ea-a521-6173c1313ff3
2026-06-08 10:23:06,225 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/921b044b-c5b9-45dd-8ccf-665e5991ddbb
2026-06-08 10:23:06,235 - DEBUG - ==>Verifying data for policy with id: 6085f01b-b61d-45eb-8c7a-48495bc952ed, fqn: ['default-domain', 'ctest-TestBasicPolicy-57863812', 'ctest-policy-allow-all-17839283']
2026-06-08 10:23:06,235 - INFO - VN ctest-vn-31253554 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-08 10:23:06,235 - DEBUG - Verifying the vn in opserver
2026-06-08 10:23:06,235 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-31253554 virtual network link through opserver 10.0.0.33
2026-06-08 10:23:06,236 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-06-08 10:23:06,247 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-31253554', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-31253554?flat'}
2026-06-08 10:23:06,247 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-57863812:ctest-vn-31253554 is found in opserver
2026-06-08 10:23:06,258 - DEBUG - Do not have enough data to verify VN in agent
2026-06-08 10:23:06,263 - DEBUG - VRF ids for VN ctest-vn-31253554: {}
2026-06-08 10:23:06,332 - DEBUG - Services list from nova: [