2026-11-04 04:12:32,417 - INFO - Domain Default found not creating
2026-11-04 04:12:32,607 - INFO - Project ctest-TestBasicPolicy-12757195 not found, creating it
2026-11-04 04:12:33,112 - INFO - Created Project:ctest-TestBasicPolicy-12757195, ID : c62113c2-1960-42c8-8989-d2aef20ea39f
2026-11-04 04:12:35,638 - INFO - ================================================================================
2026-11-04 04:12:35,638 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-04 04:12:35,638 - 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-04 04:12:35,908 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.17': '0'}} with
2026-11-04 04:12:35,908 - INFO - Initial checks done. Running the testcase now
2026-11-04 04:12:35,908 - INFO -
2026-11-04 04:12:36,499 - DEBUG - Response for create_network : {'network': {'id': '317143d0-2a75-4107-bb86-fda8f8df9ba4', 'name': 'ctest-vn-33883671', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-33883671'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 04:12:36,720 - DEBUG - Response for create_subnet : {'subnet': {'id': '5f1c7721-e4d1-43f2-a068-9b949ec733e5', 'name': '', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'network_id': '317143d0-2a75-4107-bb86-fda8f8df9ba4', 'ip_version': 4, 'cidr': '12.145.130.64/26', 'allocation_pools': [{'start': '12.145.130.66', 'end': '12.145.130.126'}], 'gateway_ip': '12.145.130.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '12.145.130.66', 'tags': [], 'project_id': 'c62113c2196042c88989d2aef20ea39f'}}
2026-11-04 04:12:36,737 - INFO - Created VN ctest-vn-33883671
2026-11-04 04:12:36,790 - DEBUG - VN ctest-vn-33883671 UUID is 317143d0-2a75-4107-bb86-fda8f8df9ba4
2026-11-04 04:12:37,105 - DEBUG - Response for create_network : {'network': {'id': '38b9a87e-a5ce-4ba7-b2f7-1165fdb14796', 'name': 'ctest-vn-58288084', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-58288084'], 'port_security_enabled': True, 'description': ''}}
2026-11-04 04:12:37,302 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e4022628-261f-4740-8c62-94bfb2d2f5b0', 'name': '', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'network_id': '38b9a87e-a5ce-4ba7-b2f7-1165fdb14796', 'ip_version': 4, 'cidr': '20.245.197.192/26', 'allocation_pools': [{'start': '20.245.197.194', 'end': '20.245.197.254'}], 'gateway_ip': '20.245.197.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '20.245.197.194', 'tags': [], 'project_id': 'c62113c2196042c88989d2aef20ea39f'}}
2026-11-04 04:12:37,322 - INFO - Created VN ctest-vn-58288084
2026-11-04 04:12:37,389 - DEBUG - VN ctest-vn-58288084 UUID is 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796
2026-11-04 04:12:37,502 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671, 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-12757195:ctest-vn-58288084, 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-04 04:12:37,819 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '317143d0-2a75-4107-bb86-fda8f8df9ba4', 'name': 'ctest-vn-33883671', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['5f1c7721-e4d1-43f2-a068-9b949ec733e5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-33883671'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542']], 'subnet_ipam': [{'subnet_cidr': '12.145.130.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 04:12:38,042 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '38b9a87e-a5ce-4ba7-b2f7-1165fdb14796', 'name': 'ctest-vn-58288084', 'tenant_id': 'c62113c2196042c88989d2aef20ea39f', 'project_id': 'c62113c2196042c88989d2aef20ea39f', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['e4022628-261f-4740-8c62-94bfb2d2f5b0'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-vn-58288084'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542']], 'subnet_ipam': [{'subnet_cidr': '20.245.197.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-04 04:12:38,210 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-04 04:12:38,581 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-04 04:12:38,608 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d
2026-11-04 04:12:38,621 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f
2026-11-04 04:12:38,698 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4
2026-11-04 04:12:38,710 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4
2026-11-04 04:12:38,720 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a
2026-11-04 04:12:38,727 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a
2026-11-04 04:12:38,735 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/a4fbeed5-916a-427f-b13b-b9e6dc190174
2026-11-04 04:12:38,743 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 04:12:38,743 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4
2026-11-04 04:12:38,753 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a
2026-11-04 04:12:38,768 - INFO - Verified VN network id 11 for VN 317143d0-2a75-4107-bb86-fda8f8df9ba4
2026-11-04 04:12:38,768 - INFO - Verifications in API Server for VN ctest-vn-33883671 passed
2026-11-04 04:12:38,768 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4
2026-11-04 04:12:38,778 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a
2026-11-04 04:12:38,785 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/21e44d64-5701-4615-9135-4c614e8f0e7a
2026-11-04 04:12:38,792 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/a4fbeed5-916a-427f-b13b-b9e6dc190174
2026-11-04 04:12:38,805 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12757195', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3562703341571358983', 'uuid-lslong': '13512766634143488932'}, 'enable': 'true', 'created': '2026-11-04T04:12:36', 'last-modified': '2026-11-04T04:12:37', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.017280'}
2026-11-04 04:12:38,812 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-04 04:12:38,812 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-33883671 passed
2026-11-04 04:12:38,812 - DEBUG - ====Verifying policy data for ctest-vn-33883671 in API_Server ======
2026-11-04 04:12:38,812 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-04 04:12:38,817 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d
2026-11-04 04:12:38,828 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f
2026-11-04 04:12:38,905 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/317143d0-2a75-4107-bb86-fda8f8df9ba4
2026-11-04 04:12:38,916 - DEBUG - ==>Verifying data for policy with id: a14f3f09-acb2-4a05-81bb-414fce069f60, fqn: ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542']
2026-11-04 04:12:38,916 - INFO - VN ctest-vn-33883671 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 04:12:38,916 - DEBUG - Verifying the vn in opserver
2026-11-04 04:12:38,916 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671 virtual network link through opserver 10.0.0.177
2026-11-04 04:12:38,917 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-04 04:12:39,280 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-04 04:12:39,328 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671?flat'}
2026-11-04 04:12:39,328 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-33883671 is found in opserver
2026-11-04 04:12:39,340 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 04:12:39,345 - DEBUG - VRF ids for VN ctest-vn-33883671: {}
2026-11-04 04:12:39,345 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-04 04:12:39,351 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d
2026-11-04 04:12:39,367 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f
2026-11-04 04:12:39,446 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796
2026-11-04 04:12:39,457 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796
2026-11-04 04:12:39,467 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502
2026-11-04 04:12:39,475 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502
2026-11-04 04:12:39,482 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cbaa48ca-673d-405c-831f-84328a761b7f
2026-11-04 04:12:39,488 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 04:12:39,489 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796
2026-11-04 04:12:39,498 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502
2026-11-04 04:12:39,512 - INFO - Verified VN network id 12 for VN 38b9a87e-a5ce-4ba7-b2f7-1165fdb14796
2026-11-04 04:12:39,512 - INFO - Verifications in API Server for VN ctest-vn-58288084 passed
2026-11-04 04:12:39,513 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796
2026-11-04 04:12:39,522 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502
2026-11-04 04:12:39,531 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/f33fc21b-438e-4ca6-a218-477a51713502
2026-11-04 04:12:39,538 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cbaa48ca-673d-405c-831f-84328a761b7f
2026-11-04 04:12:39,551 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-12757195', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4087483398716541863', 'uuid-lslong': '12895795187744327574'}, 'enable': 'true', 'created': '2026-11-04T04:12:37', 'last-modified': '2026-11-04T04:12:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.529681'}
2026-11-04 04:12:39,557 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-04 04:12:39,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-58288084 passed
2026-11-04 04:12:39,557 - DEBUG - ====Verifying policy data for ctest-vn-58288084 in API_Server ======
2026-11-04 04:12:39,557 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-04 04:12:39,563 - DEBUG - Requesting: http://10.0.0.177:8082/domain/2aa1593e-0905-4cb6-be0a-b6482102598d
2026-11-04 04:12:39,574 - DEBUG - Requesting: http://10.0.0.177:8082/project/c62113c2-1960-42c8-8989-d2aef20ea39f
2026-11-04 04:12:39,648 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/38b9a87e-a5ce-4ba7-b2f7-1165fdb14796
2026-11-04 04:12:39,658 - DEBUG - ==>Verifying data for policy with id: a14f3f09-acb2-4a05-81bb-414fce069f60, fqn: ['default-domain', 'ctest-TestBasicPolicy-12757195', 'ctest-policy-allow-all-92294542']
2026-11-04 04:12:39,658 - INFO - VN ctest-vn-58288084 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-04 04:12:39,658 - DEBUG - Verifying the vn in opserver
2026-11-04 04:12:39,658 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084 virtual network link through opserver 10.0.0.177
2026-11-04 04:12:39,658 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-04 04:12:39,668 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084?flat'}
2026-11-04 04:12:39,668 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-12757195:ctest-vn-58288084 is found in opserver
2026-11-04 04:12:39,680 - DEBUG - Do not have enough data to verify VN in agent
2026-11-04 04:12:39,686 - DEBUG - VRF ids for VN ctest-vn-58288084: {}
2026-11-04 04:12:39,748 - DEBUG - Services list from nova: [