2026-01-27 16:00:58,982 - INFO - Domain Default found not creating
2026-01-27 16:00:59,213 - INFO - Project ctest-TestBasicPolicy-55017827 not found, creating it
2026-01-27 16:00:59,677 - INFO - Created Project:ctest-TestBasicPolicy-55017827, ID : 4530effb-f9a9-49fb-82f8-207e1e72a704
2026-01-27 16:01:01,432 - INFO - ================================================================================
2026-01-27 16:01:01,432 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-27 16:01:01,433 - 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-01-27 16:01:01,705 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-01-27 16:01:01,706 - INFO - Initial checks done. Running the testcase now
2026-01-27 16:01:01,706 - INFO -
2026-01-27 16:01:02,361 - DEBUG - Response for create_network : {'network': {'id': 'fec57e6e-2bae-4661-9796-d1a3f644eee8', 'name': 'ctest-vn-69293029', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-69293029'], 'port_security_enabled': True, 'description': ''}}
2026-01-27 16:01:02,554 - DEBUG - Response for create_subnet : {'subnet': {'id': '606d579e-148d-429c-99d0-785ffda16e2c', 'name': '', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'network_id': 'fec57e6e-2bae-4661-9796-d1a3f644eee8', 'ip_version': 4, 'cidr': '35.220.52.192/26', 'allocation_pools': [{'start': '35.220.52.194', 'end': '35.220.52.254'}], 'gateway_ip': '35.220.52.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '35.220.52.194', 'tags': [], 'project_id': '4530effbf9a949fb82f8207e1e72a704'}}
2026-01-27 16:01:02,579 - INFO - Created VN ctest-vn-69293029
2026-01-27 16:01:02,640 - DEBUG - VN ctest-vn-69293029 UUID is fec57e6e-2bae-4661-9796-d1a3f644eee8
2026-01-27 16:01:02,958 - DEBUG - Response for create_network : {'network': {'id': '2989cbc9-a1ce-4b3a-85c9-fb300137e4e6', 'name': 'ctest-vn-87874372', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-87874372'], 'port_security_enabled': True, 'description': ''}}
2026-01-27 16:01:03,149 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b43fe125-3246-4652-927c-e5a1d4b9a487', 'name': '', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'network_id': '2989cbc9-a1ce-4b3a-85c9-fb300137e4e6', 'ip_version': 4, 'cidr': '82.74.243.192/26', 'allocation_pools': [{'start': '82.74.243.194', 'end': '82.74.243.254'}], 'gateway_ip': '82.74.243.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '82.74.243.194', 'tags': [], 'project_id': '4530effbf9a949fb82f8207e1e72a704'}}
2026-01-27 16:01:03,170 - INFO - Created VN ctest-vn-87874372
2026-01-27 16:01:03,223 - DEBUG - VN ctest-vn-87874372 UUID is 2989cbc9-a1ce-4b3a-85c9-fb300137e4e6
2026-01-27 16:01:03,348 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029, 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-55017827:ctest-vn-87874372, 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-01-27 16:01:03,651 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fec57e6e-2bae-4661-9796-d1a3f644eee8', 'name': 'ctest-vn-69293029', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['606d579e-148d-429c-99d0-785ffda16e2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-69293029'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219']], 'subnet_ipam': [{'subnet_cidr': '35.220.52.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-27 16:01:03,947 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2989cbc9-a1ce-4b3a-85c9-fb300137e4e6', 'name': 'ctest-vn-87874372', 'tenant_id': '4530effbf9a949fb82f8207e1e72a704', 'project_id': '4530effbf9a949fb82f8207e1e72a704', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b43fe125-3246-4652-927c-e5a1d4b9a487'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-vn-87874372'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219']], 'subnet_ipam': [{'subnet_cidr': '82.74.243.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-27 16:01:04,091 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-27 16:01:04,436 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-27 16:01:04,471 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57
2026-01-27 16:01:04,488 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704
2026-01-27 16:01:04,562 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8
2026-01-27 16:01:04,573 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8
2026-01-27 16:01:04,582 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa
2026-01-27 16:01:04,588 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa
2026-01-27 16:01:04,594 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/15a1fae3-5683-45a7-a2da-e787c8fe3b61
2026-01-27 16:01:04,600 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-27 16:01:04,601 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8
2026-01-27 16:01:04,609 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa
2026-01-27 16:01:04,627 - INFO - Verified VN network id 11 for VN fec57e6e-2bae-4661-9796-d1a3f644eee8
2026-01-27 16:01:04,627 - INFO - Verifications in API Server for VN ctest-vn-69293029 passed
2026-01-27 16:01:04,627 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8
2026-01-27 16:01:04,638 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa
2026-01-27 16:01:04,646 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a61a325c-e553-473c-b143-42f67a32efaa
2026-01-27 16:01:04,655 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/15a1fae3-5683-45a7-a2da-e787c8fe3b61
2026-01-27 16:01:04,668 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55017827', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18358218467690038881', 'uuid-lslong': '10923148448375303912'}, 'enable': 'true', 'created': '2026-01-27T16:01:02', 'last-modified': '2026-01-27T16:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040785'}
2026-01-27 16:01:04,674 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-27 16:01:04,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69293029 passed
2026-01-27 16:01:04,674 - DEBUG - ====Verifying policy data for ctest-vn-69293029 in API_Server ======
2026-01-27 16:01:04,674 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-27 16:01:04,681 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57
2026-01-27 16:01:04,695 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704
2026-01-27 16:01:04,775 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/fec57e6e-2bae-4661-9796-d1a3f644eee8
2026-01-27 16:01:04,789 - DEBUG - ==>Verifying data for policy with id: 3458e86e-5c64-4662-8445-31976845c12f, fqn: ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219']
2026-01-27 16:01:04,789 - INFO - VN ctest-vn-69293029 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-27 16:01:04,789 - DEBUG - Verifying the vn in opserver
2026-01-27 16:01:04,789 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029 virtual network link through opserver 10.0.0.22
2026-01-27 16:01:04,789 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-27 16:01:05,131 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-27 16:01:05,200 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029?flat'}
2026-01-27 16:01:05,200 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-69293029 is found in opserver
2026-01-27 16:01:05,211 - DEBUG - Do not have enough data to verify VN in agent
2026-01-27 16:01:05,216 - DEBUG - VRF ids for VN ctest-vn-69293029: {}
2026-01-27 16:01:05,216 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-27 16:01:05,222 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57
2026-01-27 16:01:05,234 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704
2026-01-27 16:01:05,309 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6
2026-01-27 16:01:05,325 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6
2026-01-27 16:01:05,336 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d
2026-01-27 16:01:05,344 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d
2026-01-27 16:01:05,353 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/79ed51a1-1f43-4fcc-a3a3-36c3bafbb3fe
2026-01-27 16:01:05,362 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-27 16:01:05,362 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6
2026-01-27 16:01:05,374 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d
2026-01-27 16:01:05,391 - INFO - Verified VN network id 12 for VN 2989cbc9-a1ce-4b3a-85c9-fb300137e4e6
2026-01-27 16:01:05,391 - INFO - Verifications in API Server for VN ctest-vn-87874372 passed
2026-01-27 16:01:05,391 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6
2026-01-27 16:01:05,403 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d
2026-01-27 16:01:05,411 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/c3122668-4c57-46a7-823a-53cdb4e6ff0d
2026-01-27 16:01:05,419 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/79ed51a1-1f43-4fcc-a3a3-36c3bafbb3fe
2026-01-27 16:01:05,431 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-55017827', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2993147494227921722', 'uuid-lslong': '9640512660960699622'}, 'enable': 'true', 'created': '2026-01-27T16:01:02', 'last-modified': '2026-01-27T16:01:03', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.560643'}
2026-01-27 16:01:05,437 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-27 16:01:05,437 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87874372 passed
2026-01-27 16:01:05,437 - DEBUG - ====Verifying policy data for ctest-vn-87874372 in API_Server ======
2026-01-27 16:01:05,437 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-01-27 16:01:05,445 - DEBUG - Requesting: http://10.0.0.22:8082/domain/4e83dece-47db-427b-9ba6-0be660924a57
2026-01-27 16:01:05,455 - DEBUG - Requesting: http://10.0.0.22:8082/project/4530effb-f9a9-49fb-82f8-207e1e72a704
2026-01-27 16:01:05,529 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/2989cbc9-a1ce-4b3a-85c9-fb300137e4e6
2026-01-27 16:01:05,539 - DEBUG - ==>Verifying data for policy with id: 3458e86e-5c64-4662-8445-31976845c12f, fqn: ['default-domain', 'ctest-TestBasicPolicy-55017827', 'ctest-policy-allow-all-54995219']
2026-01-27 16:01:05,539 - INFO - VN ctest-vn-87874372 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-27 16:01:05,539 - DEBUG - Verifying the vn in opserver
2026-01-27 16:01:05,540 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372 virtual network link through opserver 10.0.0.22
2026-01-27 16:01:05,540 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-01-27 16:01:05,551 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372?flat'}
2026-01-27 16:01:05,551 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-55017827:ctest-vn-87874372 is found in opserver
2026-01-27 16:01:05,564 - DEBUG - Do not have enough data to verify VN in agent
2026-01-27 16:01:05,568 - DEBUG - VRF ids for VN ctest-vn-87874372: {}
2026-01-27 16:01:05,632 - DEBUG - Services list from nova: [