2026-09-17 17:20:02,375 - INFO - Domain Default found not creating
2026-09-17 17:20:02,542 - INFO - Project ctest-TestBasicPolicy-29413706 not found, creating it
2026-09-17 17:20:03,001 - INFO - Created Project:ctest-TestBasicPolicy-29413706, ID : 35578c46-21ae-40f5-b1c1-727c0ef259de
2026-09-17 17:20:04,557 - INFO - ================================================================================
2026-09-17 17:20:04,558 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-17 17:20:04,558 - 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-09-17 17:20:04,813 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-09-17 17:20:04,814 - INFO - Initial checks done. Running the testcase now
2026-09-17 17:20:04,814 - INFO -
2026-09-17 17:20:05,391 - DEBUG - Response for create_network : {'network': {'id': 'd52d7986-b529-4295-a039-7c094c785cd2', 'name': 'ctest-vn-36865562', 'tenant_id': '35578c4621ae40f5b1c1727c0ef259de', 'project_id': '35578c4621ae40f5b1c1727c0ef259de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-vn-36865562'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:20:05,605 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b63c1c54-9c0c-4672-9447-338b8c79c94a', 'name': '', 'tenant_id': '35578c4621ae40f5b1c1727c0ef259de', 'network_id': 'd52d7986-b529-4295-a039-7c094c785cd2', 'ip_version': 4, 'cidr': '158.72.143.192/26', 'allocation_pools': [{'start': '158.72.143.194', 'end': '158.72.143.254'}], 'gateway_ip': '158.72.143.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '158.72.143.194', 'tags': [], 'project_id': '35578c4621ae40f5b1c1727c0ef259de'}}
2026-09-17 17:20:05,623 - INFO - Created VN ctest-vn-36865562
2026-09-17 17:20:05,676 - DEBUG - VN ctest-vn-36865562 UUID is d52d7986-b529-4295-a039-7c094c785cd2
2026-09-17 17:20:05,995 - DEBUG - Response for create_network : {'network': {'id': 'f43be230-10d7-4fdb-830d-a7c25fd44d07', 'name': 'ctest-vn-26603644', 'tenant_id': '35578c4621ae40f5b1c1727c0ef259de', 'project_id': '35578c4621ae40f5b1c1727c0ef259de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-vn-26603644'], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:20:06,159 - DEBUG - Response for create_subnet : {'subnet': {'id': '0272fa37-27a8-4087-9f71-6d54d720bc32', 'name': '', 'tenant_id': '35578c4621ae40f5b1c1727c0ef259de', 'network_id': 'f43be230-10d7-4fdb-830d-a7c25fd44d07', 'ip_version': 4, 'cidr': '130.231.57.192/26', 'allocation_pools': [{'start': '130.231.57.194', 'end': '130.231.57.254'}], 'gateway_ip': '130.231.57.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '130.231.57.194', 'tags': [], 'project_id': '35578c4621ae40f5b1c1727c0ef259de'}}
2026-09-17 17:20:06,175 - INFO - Created VN ctest-vn-26603644
2026-09-17 17:20:06,227 - DEBUG - VN ctest-vn-26603644 UUID is f43be230-10d7-4fdb-830d-a7c25fd44d07
2026-09-17 17:20:06,344 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-36865562, 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-29413706:ctest-vn-26603644, 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-09-17 17:20:06,659 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd52d7986-b529-4295-a039-7c094c785cd2', 'name': 'ctest-vn-36865562', 'tenant_id': '35578c4621ae40f5b1c1727c0ef259de', 'project_id': '35578c4621ae40f5b1c1727c0ef259de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['b63c1c54-9c0c-4672-9447-338b8c79c94a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-vn-36865562'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-policy-allow-all-92652564']], 'subnet_ipam': [{'subnet_cidr': '158.72.143.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:20:06,897 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f43be230-10d7-4fdb-830d-a7c25fd44d07', 'name': 'ctest-vn-26603644', 'tenant_id': '35578c4621ae40f5b1c1727c0ef259de', 'project_id': '35578c4621ae40f5b1c1727c0ef259de', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['0272fa37-27a8-4087-9f71-6d54d720bc32'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-vn-26603644'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-policy-allow-all-92652564']], 'subnet_ipam': [{'subnet_cidr': '130.231.57.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-17 17:20:07,059 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-17 17:20:07,395 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-17 17:20:07,430 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a70a4269-7755-4a7f-ad9f-eb3075e40b02
2026-09-17 17:20:07,443 - DEBUG - Requesting: http://10.0.0.50:8082/project/35578c46-21ae-40f5-b1c1-727c0ef259de
2026-09-17 17:20:07,515 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d52d7986-b529-4295-a039-7c094c785cd2
2026-09-17 17:20:07,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d52d7986-b529-4295-a039-7c094c785cd2
2026-09-17 17:20:07,536 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/778d029e-c766-490a-a177-02db8c324d60
2026-09-17 17:20:07,542 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/778d029e-c766-490a-a177-02db8c324d60
2026-09-17 17:20:07,548 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8f4507bc-8c81-48ea-8e0a-0e52d257145b
2026-09-17 17:20:07,554 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 17:20:07,554 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d52d7986-b529-4295-a039-7c094c785cd2
2026-09-17 17:20:07,562 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/778d029e-c766-490a-a177-02db8c324d60
2026-09-17 17:20:07,575 - INFO - Verified VN network id 12 for VN d52d7986-b529-4295-a039-7c094c785cd2
2026-09-17 17:20:07,575 - INFO - Verifications in API Server for VN ctest-vn-36865562 passed
2026-09-17 17:20:07,575 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d52d7986-b529-4295-a039-7c094c785cd2
2026-09-17 17:20:07,583 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/778d029e-c766-490a-a177-02db8c324d60
2026-09-17 17:20:07,589 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/778d029e-c766-490a-a177-02db8c324d60
2026-09-17 17:20:07,596 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/8f4507bc-8c81-48ea-8e0a-0e52d257145b
2026-09-17 17:20:07,607 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-36865562', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29413706', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15361067523502588565', 'uuid-lslong': '11545395499120483538'}, 'enable': 'true', 'created': '2026-09-17T17:20:05', 'last-modified': '2026-09-17T17:20:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971899'}
2026-09-17 17:20:07,613 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-17 17:20:07,613 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36865562 passed
2026-09-17 17:20:07,613 - DEBUG - ====Verifying policy data for ctest-vn-36865562 in API_Server ======
2026-09-17 17:20:07,613 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-17 17:20:07,619 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a70a4269-7755-4a7f-ad9f-eb3075e40b02
2026-09-17 17:20:07,630 - DEBUG - Requesting: http://10.0.0.50:8082/project/35578c46-21ae-40f5-b1c1-727c0ef259de
2026-09-17 17:20:07,707 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/d52d7986-b529-4295-a039-7c094c785cd2
2026-09-17 17:20:07,720 - DEBUG - ==>Verifying data for policy with id: 45d7b0b1-6e21-4750-945c-dde92aadc0b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-policy-allow-all-92652564']
2026-09-17 17:20:07,720 - INFO - VN ctest-vn-36865562 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 17:20:07,720 - DEBUG - Verifying the vn in opserver
2026-09-17 17:20:07,720 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-36865562 virtual network link through opserver 10.0.0.50
2026-09-17 17:20:07,720 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-17 17:20:08,052 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-17 17:20:08,108 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-36865562', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-36865562?flat'}
2026-09-17 17:20:08,108 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-36865562 is found in opserver
2026-09-17 17:20:08,118 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 17:20:08,123 - DEBUG - VRF ids for VN ctest-vn-36865562: {}
2026-09-17 17:20:08,123 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-17 17:20:08,129 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a70a4269-7755-4a7f-ad9f-eb3075e40b02
2026-09-17 17:20:08,139 - DEBUG - Requesting: http://10.0.0.50:8082/project/35578c46-21ae-40f5-b1c1-727c0ef259de
2026-09-17 17:20:08,218 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f43be230-10d7-4fdb-830d-a7c25fd44d07
2026-09-17 17:20:08,230 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f43be230-10d7-4fdb-830d-a7c25fd44d07
2026-09-17 17:20:08,239 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8dc98843-97cd-4829-bf14-3da2569234c7
2026-09-17 17:20:08,246 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8dc98843-97cd-4829-bf14-3da2569234c7
2026-09-17 17:20:08,253 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/96344579-986a-4e5b-b2d7-1e2ac19e1204
2026-09-17 17:20:08,261 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 17:20:08,261 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f43be230-10d7-4fdb-830d-a7c25fd44d07
2026-09-17 17:20:08,271 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8dc98843-97cd-4829-bf14-3da2569234c7
2026-09-17 17:20:08,289 - INFO - Verified VN network id 13 for VN f43be230-10d7-4fdb-830d-a7c25fd44d07
2026-09-17 17:20:08,289 - INFO - Verifications in API Server for VN ctest-vn-26603644 passed
2026-09-17 17:20:08,289 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f43be230-10d7-4fdb-830d-a7c25fd44d07
2026-09-17 17:20:08,300 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8dc98843-97cd-4829-bf14-3da2569234c7
2026-09-17 17:20:08,308 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/8dc98843-97cd-4829-bf14-3da2569234c7
2026-09-17 17:20:08,317 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/96344579-986a-4e5b-b2d7-1e2ac19e1204
2026-09-17 17:20:08,336 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-26603644', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29413706', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17598908664949198811', 'uuid-lslong': '9443388446939041031'}, 'enable': 'true', 'created': '2026-09-17T17:20:05', 'last-modified': '2026-09-17T17:20:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.469108'}
2026-09-17 17:20:08,344 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-17 17:20:08,344 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26603644 passed
2026-09-17 17:20:08,344 - DEBUG - ====Verifying policy data for ctest-vn-26603644 in API_Server ======
2026-09-17 17:20:08,344 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-09-17 17:20:08,353 - DEBUG - Requesting: http://10.0.0.50:8082/domain/a70a4269-7755-4a7f-ad9f-eb3075e40b02
2026-09-17 17:20:08,367 - DEBUG - Requesting: http://10.0.0.50:8082/project/35578c46-21ae-40f5-b1c1-727c0ef259de
2026-09-17 17:20:08,440 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/f43be230-10d7-4fdb-830d-a7c25fd44d07
2026-09-17 17:20:08,458 - DEBUG - ==>Verifying data for policy with id: 45d7b0b1-6e21-4750-945c-dde92aadc0b2, fqn: ['default-domain', 'ctest-TestBasicPolicy-29413706', 'ctest-policy-allow-all-92652564']
2026-09-17 17:20:08,458 - INFO - VN ctest-vn-26603644 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-17 17:20:08,458 - DEBUG - Verifying the vn in opserver
2026-09-17 17:20:08,458 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-26603644 virtual network link through opserver 10.0.0.50
2026-09-17 17:20:08,458 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-09-17 17:20:08,469 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-26603644', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-26603644?flat'}
2026-09-17 17:20:08,469 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29413706:ctest-vn-26603644 is found in opserver
2026-09-17 17:20:08,482 - DEBUG - Do not have enough data to verify VN in agent
2026-09-17 17:20:08,487 - DEBUG - VRF ids for VN ctest-vn-26603644: {}
2026-09-17 17:20:08,552 - DEBUG - Services list from nova: [