2026-11-17 20:09:23,363 - INFO - Domain Default found not creating
2026-11-17 20:09:23,533 - INFO - Project ctest-TestBasicPolicy-70705229 not found, creating it
2026-11-17 20:09:24,066 - INFO - Created Project:ctest-TestBasicPolicy-70705229, ID : 19a8408d-c491-4a58-bd2e-34ddaaf3856d
2026-11-17 20:09:25,594 - INFO - ================================================================================
2026-11-17 20:09:25,595 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-17 20:09:25,595 - 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-11-17 20:09:25,850 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-11-17 20:09:25,850 - INFO - Initial checks done. Running the testcase now
2026-11-17 20:09:25,850 - INFO -
2026-11-17 20:09:26,396 - DEBUG - Response for create_network : {'network': {'id': '74991708-06b8-4b92-95e0-5ab313aebcd5', 'name': 'ctest-vn-16753283', 'tenant_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'project_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-vn-16753283'], 'port_security_enabled': True, 'description': ''}}
2026-11-17 20:09:26,572 - DEBUG - Response for create_subnet : {'subnet': {'id': '779b1cb1-0597-4c43-8289-7f7b04c25b89', 'name': '', 'tenant_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'network_id': '74991708-06b8-4b92-95e0-5ab313aebcd5', 'ip_version': 4, 'cidr': '111.154.151.128/26', 'allocation_pools': [{'start': '111.154.151.130', 'end': '111.154.151.190'}], 'gateway_ip': '111.154.151.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '111.154.151.130', 'tags': [], 'project_id': '19a8408dc4914a58bd2e34ddaaf3856d'}}
2026-11-17 20:09:26,589 - INFO - Created VN ctest-vn-16753283
2026-11-17 20:09:26,644 - DEBUG - VN ctest-vn-16753283 UUID is 74991708-06b8-4b92-95e0-5ab313aebcd5
2026-11-17 20:09:26,964 - DEBUG - Response for create_network : {'network': {'id': '52af27a2-10fb-4070-8098-947ca0294f6a', 'name': 'ctest-vn-88774690', 'tenant_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'project_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-vn-88774690'], 'port_security_enabled': True, 'description': ''}}
2026-11-17 20:09:27,187 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cb77c610-a380-4000-be18-071d9213ef49', 'name': '', 'tenant_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'network_id': '52af27a2-10fb-4070-8098-947ca0294f6a', 'ip_version': 4, 'cidr': '97.249.80.64/26', 'allocation_pools': [{'start': '97.249.80.66', 'end': '97.249.80.126'}], 'gateway_ip': '97.249.80.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '97.249.80.66', 'tags': [], 'project_id': '19a8408dc4914a58bd2e34ddaaf3856d'}}
2026-11-17 20:09:27,205 - INFO - Created VN ctest-vn-88774690
2026-11-17 20:09:27,256 - DEBUG - VN ctest-vn-88774690 UUID is 52af27a2-10fb-4070-8098-947ca0294f6a
2026-11-17 20:09:27,404 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-16753283, 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-70705229:ctest-vn-88774690, 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-11-17 20:09:27,702 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '74991708-06b8-4b92-95e0-5ab313aebcd5', 'name': 'ctest-vn-16753283', 'tenant_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'project_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['779b1cb1-0597-4c43-8289-7f7b04c25b89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-vn-16753283'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-policy-allow-all-41312570']], 'subnet_ipam': [{'subnet_cidr': '111.154.151.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-17 20:09:27,925 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '52af27a2-10fb-4070-8098-947ca0294f6a', 'name': 'ctest-vn-88774690', 'tenant_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'project_id': '19a8408dc4914a58bd2e34ddaaf3856d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cb77c610-a380-4000-be18-071d9213ef49'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-vn-88774690'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-policy-allow-all-41312570']], 'subnet_ipam': [{'subnet_cidr': '97.249.80.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-17 20:09:28,084 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-17 20:09:28,401 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-17 20:09:28,429 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ebb8758f-1fba-4261-835d-cb5b5294da24
2026-11-17 20:09:28,444 - DEBUG - Requesting: http://10.0.0.177:8082/project/19a8408d-c491-4a58-bd2e-34ddaaf3856d
2026-11-17 20:09:28,523 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/74991708-06b8-4b92-95e0-5ab313aebcd5
2026-11-17 20:09:28,534 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/74991708-06b8-4b92-95e0-5ab313aebcd5
2026-11-17 20:09:28,543 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3b03bacb-04ed-4c5c-82b3-edff6f2ee3f1
2026-11-17 20:09:28,551 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3b03bacb-04ed-4c5c-82b3-edff6f2ee3f1
2026-11-17 20:09:28,557 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/6e17b32d-57fb-46a3-b1fe-007efa26b84f
2026-11-17 20:09:28,563 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-17 20:09:28,563 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/74991708-06b8-4b92-95e0-5ab313aebcd5
2026-11-17 20:09:28,571 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3b03bacb-04ed-4c5c-82b3-edff6f2ee3f1
2026-11-17 20:09:28,584 - INFO - Verified VN network id 12 for VN 74991708-06b8-4b92-95e0-5ab313aebcd5
2026-11-17 20:09:28,584 - INFO - Verifications in API Server for VN ctest-vn-16753283 passed
2026-11-17 20:09:28,585 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/74991708-06b8-4b92-95e0-5ab313aebcd5
2026-11-17 20:09:28,592 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3b03bacb-04ed-4c5c-82b3-edff6f2ee3f1
2026-11-17 20:09:28,598 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3b03bacb-04ed-4c5c-82b3-edff6f2ee3f1
2026-11-17 20:09:28,605 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/6e17b32d-57fb-46a3-b1fe-007efa26b84f
2026-11-17 20:09:28,618 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-16753283', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70705229', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8401771903076289426', 'uuid-lslong': '10799731631610313941'}, 'enable': 'true', 'created': '2026-11-17T20:09:26', 'last-modified': '2026-11-17T20:09:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.940795'}
2026-11-17 20:09:28,626 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-17 20:09:28,626 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16753283 passed
2026-11-17 20:09:28,626 - DEBUG - ====Verifying policy data for ctest-vn-16753283 in API_Server ======
2026-11-17 20:09:28,626 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-17 20:09:28,632 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ebb8758f-1fba-4261-835d-cb5b5294da24
2026-11-17 20:09:28,642 - DEBUG - Requesting: http://10.0.0.177:8082/project/19a8408d-c491-4a58-bd2e-34ddaaf3856d
2026-11-17 20:09:28,708 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/74991708-06b8-4b92-95e0-5ab313aebcd5
2026-11-17 20:09:28,717 - DEBUG - ==>Verifying data for policy with id: a0c99eec-f78b-4e9b-ac4b-aa86e9ba641d, fqn: ['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-policy-allow-all-41312570']
2026-11-17 20:09:28,717 - INFO - VN ctest-vn-16753283 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-17 20:09:28,717 - DEBUG - Verifying the vn in opserver
2026-11-17 20:09:28,717 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-16753283 virtual network link through opserver 10.0.0.177
2026-11-17 20:09:28,717 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-17 20:09:29,040 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-17 20:09:29,099 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-16753283', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-16753283?flat'}
2026-11-17 20:09:29,099 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-16753283 is found in opserver
2026-11-17 20:09:29,110 - DEBUG - Do not have enough data to verify VN in agent
2026-11-17 20:09:29,117 - DEBUG - VRF ids for VN ctest-vn-16753283: {}
2026-11-17 20:09:29,117 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-17 20:09:29,123 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ebb8758f-1fba-4261-835d-cb5b5294da24
2026-11-17 20:09:29,134 - DEBUG - Requesting: http://10.0.0.177:8082/project/19a8408d-c491-4a58-bd2e-34ddaaf3856d
2026-11-17 20:09:29,208 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/52af27a2-10fb-4070-8098-947ca0294f6a
2026-11-17 20:09:29,219 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/52af27a2-10fb-4070-8098-947ca0294f6a
2026-11-17 20:09:29,227 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/aa18565a-8804-4b78-832e-691d463c4eaf
2026-11-17 20:09:29,234 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/aa18565a-8804-4b78-832e-691d463c4eaf
2026-11-17 20:09:29,241 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/22557f89-1c64-49ff-ad6e-a20f7b98a89d
2026-11-17 20:09:29,247 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-17 20:09:29,247 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/52af27a2-10fb-4070-8098-947ca0294f6a
2026-11-17 20:09:29,256 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/aa18565a-8804-4b78-832e-691d463c4eaf
2026-11-17 20:09:29,270 - INFO - Verified VN network id 13 for VN 52af27a2-10fb-4070-8098-947ca0294f6a
2026-11-17 20:09:29,270 - INFO - Verifications in API Server for VN ctest-vn-88774690 passed
2026-11-17 20:09:29,270 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/52af27a2-10fb-4070-8098-947ca0294f6a
2026-11-17 20:09:29,279 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/aa18565a-8804-4b78-832e-691d463c4eaf
2026-11-17 20:09:29,285 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/aa18565a-8804-4b78-832e-691d463c4eaf
2026-11-17 20:09:29,291 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/22557f89-1c64-49ff-ad6e-a20f7b98a89d
2026-11-17 20:09:29,303 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-88774690', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-70705229', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '5958024409057542256', 'uuid-lslong': '9266319496298712938'}, 'enable': 'true', 'created': '2026-11-17T20:09:26', 'last-modified': '2026-11-17T20:09:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.403471'}
2026-11-17 20:09:29,309 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-17 20:09:29,309 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88774690 passed
2026-11-17 20:09:29,309 - DEBUG - ====Verifying policy data for ctest-vn-88774690 in API_Server ======
2026-11-17 20:09:29,309 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-17 20:09:29,314 - DEBUG - Requesting: http://10.0.0.177:8082/domain/ebb8758f-1fba-4261-835d-cb5b5294da24
2026-11-17 20:09:29,325 - DEBUG - Requesting: http://10.0.0.177:8082/project/19a8408d-c491-4a58-bd2e-34ddaaf3856d
2026-11-17 20:09:29,397 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/52af27a2-10fb-4070-8098-947ca0294f6a
2026-11-17 20:09:29,405 - DEBUG - ==>Verifying data for policy with id: a0c99eec-f78b-4e9b-ac4b-aa86e9ba641d, fqn: ['default-domain', 'ctest-TestBasicPolicy-70705229', 'ctest-policy-allow-all-41312570']
2026-11-17 20:09:29,405 - INFO - VN ctest-vn-88774690 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-17 20:09:29,405 - DEBUG - Verifying the vn in opserver
2026-11-17 20:09:29,405 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-88774690 virtual network link through opserver 10.0.0.177
2026-11-17 20:09:29,405 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-17 20:09:29,415 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-88774690', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-88774690?flat'}
2026-11-17 20:09:29,415 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-70705229:ctest-vn-88774690 is found in opserver
2026-11-17 20:09:29,425 - DEBUG - Do not have enough data to verify VN in agent
2026-11-17 20:09:29,430 - DEBUG - VRF ids for VN ctest-vn-88774690: {}
2026-11-17 20:09:29,486 - DEBUG - Services list from nova: [