2026-05-28 02:03:38,577 - INFO - Domain Default found not creating
2026-05-28 02:03:38,746 - INFO - Project ctest-TestBasicPolicy-88610588 not found, creating it
2026-05-28 02:03:39,198 - INFO - Created Project:ctest-TestBasicPolicy-88610588, ID : 619bfe3e-3326-43a2-8d0c-054f7b2a6797
2026-05-28 02:03:40,688 - INFO - ================================================================================
2026-05-28 02:03:40,688 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-28 02:03:40,688 - 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-05-28 02:03:40,940 - DEBUG - Nothing to compare xmpp stats {'10.0.0.65': {'10.20.0.18': '0'}} with
2026-05-28 02:03:40,940 - INFO - Initial checks done. Running the testcase now
2026-05-28 02:03:40,940 - INFO -
2026-05-28 02:03:41,514 - DEBUG - Response for create_network : {'network': {'id': 'dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a', 'name': 'ctest-vn-29767382', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-29767382'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:03:41,707 - DEBUG - Response for create_subnet : {'subnet': {'id': '8bc81d95-4b4c-4e46-a212-50dabfec1604', 'name': '', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'network_id': 'dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a', 'ip_version': 4, 'cidr': '191.56.240.128/26', 'allocation_pools': [{'start': '191.56.240.130', 'end': '191.56.240.190'}], 'gateway_ip': '191.56.240.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '191.56.240.130', 'tags': [], 'project_id': '619bfe3e332643a28d0c054f7b2a6797'}}
2026-05-28 02:03:41,727 - INFO - Created VN ctest-vn-29767382
2026-05-28 02:03:41,779 - DEBUG - VN ctest-vn-29767382 UUID is dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a
2026-05-28 02:03:42,074 - DEBUG - Response for create_network : {'network': {'id': '14558c8f-88be-47e8-812e-ed2be08848b3', 'name': 'ctest-vn-35110260', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-35110260'], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:03:42,276 - DEBUG - Response for create_subnet : {'subnet': {'id': '094c8b12-cdc3-4e5e-887c-c97613b632ad', 'name': '', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'network_id': '14558c8f-88be-47e8-812e-ed2be08848b3', 'ip_version': 4, 'cidr': '89.180.72.192/26', 'allocation_pools': [{'start': '89.180.72.194', 'end': '89.180.72.254'}], 'gateway_ip': '89.180.72.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.180.72.194', 'tags': [], 'project_id': '619bfe3e332643a28d0c054f7b2a6797'}}
2026-05-28 02:03:42,293 - INFO - Created VN ctest-vn-35110260
2026-05-28 02:03:42,343 - DEBUG - VN ctest-vn-35110260 UUID is 14558c8f-88be-47e8-812e-ed2be08848b3
2026-05-28 02:03:42,460 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382, 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-88610588:ctest-vn-35110260, 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-05-28 02:03:42,748 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a', 'name': 'ctest-vn-29767382', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8bc81d95-4b4c-4e46-a212-50dabfec1604'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-29767382'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607']], 'subnet_ipam': [{'subnet_cidr': '191.56.240.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:03:42,971 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14558c8f-88be-47e8-812e-ed2be08848b3', 'name': 'ctest-vn-35110260', 'tenant_id': '619bfe3e332643a28d0c054f7b2a6797', 'project_id': '619bfe3e332643a28d0c054f7b2a6797', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['094c8b12-cdc3-4e5e-887c-c97613b632ad'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-vn-35110260'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607']], 'subnet_ipam': [{'subnet_cidr': '89.180.72.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-28 02:03:43,131 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2026-05-28 02:03:43,422 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2026-05-28 02:03:43,454 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e
2026-05-28 02:03:43,466 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797
2026-05-28 02:03:43,541 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a
2026-05-28 02:03:43,554 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a
2026-05-28 02:03:43,563 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b
2026-05-28 02:03:43,571 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b
2026-05-28 02:03:43,579 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/55ef9958-e046-4ec2-9cfb-61021f6a17ab
2026-05-28 02:03:43,586 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 02:03:43,586 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a
2026-05-28 02:03:43,597 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b
2026-05-28 02:03:43,613 - INFO - Verified VN network id 11 for VN dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a
2026-05-28 02:03:43,613 - INFO - Verifications in API Server for VN ctest-vn-29767382 passed
2026-05-28 02:03:43,613 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a
2026-05-28 02:03:43,624 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b
2026-05-28 02:03:43,632 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/0a9ddfc3-6ca1-46e5-af0b-4cadfc94290b
2026-05-28 02:03:43,641 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/55ef9958-e046-4ec2-9cfb-61021f6a17ab
2026-05-28 02:03:43,653 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88610588', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16131484620484661189', 'uuid-lslong': '11661111543853747722'}, 'enable': 'true', 'created': '2026-05-28T02:03:41', 'last-modified': '2026-05-28T02:03:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.924738'}
2026-05-28 02:03:43,660 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-28 02:03:43,660 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29767382 passed
2026-05-28 02:03:43,660 - DEBUG - ====Verifying policy data for ctest-vn-29767382 in API_Server ======
2026-05-28 02:03:43,660 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2026-05-28 02:03:43,665 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e
2026-05-28 02:03:43,676 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797
2026-05-28 02:03:43,748 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/dfde8bcb-47aa-4fc5-a1d4-972a799c0e0a
2026-05-28 02:03:43,756 - DEBUG - ==>Verifying data for policy with id: 099e4a6e-79ee-4686-b723-59067bb98ad0, fqn: ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607']
2026-05-28 02:03:43,756 - INFO - VN ctest-vn-29767382 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 02:03:43,756 - DEBUG - Verifying the vn in opserver
2026-05-28 02:03:43,756 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382 virtual network link through opserver 10.0.0.65
2026-05-28 02:03:43,757 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2026-05-28 02:03:44,047 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2026-05-28 02:03:44,114 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382?flat'}
2026-05-28 02:03:44,114 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-29767382 is found in opserver
2026-05-28 02:03:44,124 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 02:03:44,129 - DEBUG - VRF ids for VN ctest-vn-29767382: {}
2026-05-28 02:03:44,129 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2026-05-28 02:03:44,136 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e
2026-05-28 02:03:44,148 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797
2026-05-28 02:03:44,218 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3
2026-05-28 02:03:44,230 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3
2026-05-28 02:03:44,242 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9
2026-05-28 02:03:44,251 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9
2026-05-28 02:03:44,259 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/16ba8e42-3a83-482d-9e33-2e3699fb1bd3
2026-05-28 02:03:44,267 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 02:03:44,267 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3
2026-05-28 02:03:44,276 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9
2026-05-28 02:03:44,293 - INFO - Verified VN network id 12 for VN 14558c8f-88be-47e8-812e-ed2be08848b3
2026-05-28 02:03:44,293 - INFO - Verifications in API Server for VN ctest-vn-35110260 passed
2026-05-28 02:03:44,293 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3
2026-05-28 02:03:44,303 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9
2026-05-28 02:03:44,309 - DEBUG - Requesting: http://10.0.0.65:8082/routing-instance/43929d40-ee30-4151-88e6-1cf401e0eea9
2026-05-28 02:03:44,316 - DEBUG - Requesting: http://10.0.0.65:8082/route-target/16ba8e42-3a83-482d-9e33-2e3699fb1bd3
2026-05-28 02:03:44,328 - DEBUG - Control-node 10.0.0.65 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88610588', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1465231801881348072', 'uuid-lslong': '9308638252527798451'}, 'enable': 'true', 'created': '2026-05-28T02:03:42', 'last-modified': '2026-05-28T02:03:42', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.375998'}
2026-05-28 02:03:44,335 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-28 02:03:44,336 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-35110260 passed
2026-05-28 02:03:44,336 - DEBUG - ====Verifying policy data for ctest-vn-35110260 in API_Server ======
2026-05-28 02:03:44,336 - DEBUG - Requesting: http://10.0.0.65:8082/domains
2026-05-28 02:03:44,342 - DEBUG - Requesting: http://10.0.0.65:8082/domain/35f40dc4-ad20-4c6b-9ec4-ae6d5231740e
2026-05-28 02:03:44,355 - DEBUG - Requesting: http://10.0.0.65:8082/project/619bfe3e-3326-43a2-8d0c-054f7b2a6797
2026-05-28 02:03:44,425 - DEBUG - Requesting: http://10.0.0.65:8082/virtual-network/14558c8f-88be-47e8-812e-ed2be08848b3
2026-05-28 02:03:44,436 - DEBUG - ==>Verifying data for policy with id: 099e4a6e-79ee-4686-b723-59067bb98ad0, fqn: ['default-domain', 'ctest-TestBasicPolicy-88610588', 'ctest-policy-allow-all-20600607']
2026-05-28 02:03:44,436 - INFO - VN ctest-vn-35110260 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-28 02:03:44,436 - DEBUG - Verifying the vn in opserver
2026-05-28 02:03:44,437 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260 virtual network link through opserver 10.0.0.65
2026-05-28 02:03:44,437 - DEBUG - Requesting: http://10.0.0.65:8081/analytics/uves/virtual-networks
2026-05-28 02:03:44,447 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260', 'href': 'http://10.0.0.65:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260?flat'}
2026-05-28 02:03:44,448 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88610588:ctest-vn-35110260 is found in opserver
2026-05-28 02:03:44,461 - DEBUG - Do not have enough data to verify VN in agent
2026-05-28 02:03:44,467 - DEBUG - VRF ids for VN ctest-vn-35110260: {}
2026-05-28 02:03:44,526 - DEBUG - Services list from nova: [