2026-06-22 13:23:05,579 - INFO - Domain Default found not creating
2026-06-22 13:23:05,740 - INFO - Project ctest-TestBasicPolicy-26269211 not found, creating it
2026-06-22 13:23:06,220 - INFO - Created Project:ctest-TestBasicPolicy-26269211, ID : c5edc576-b30d-4a62-b0f1-9dd05ecbadd7
2026-06-22 13:23:07,672 - INFO - ================================================================================
2026-06-22 13:23:07,672 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-22 13:23:07,672 - 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-06-22 13:23:07,925 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-06-22 13:23:07,925 - INFO - Initial checks done. Running the testcase now
2026-06-22 13:23:07,925 - INFO -
2026-06-22 13:23:08,479 - DEBUG - Response for create_network : {'network': {'id': '69ae54fd-2ab9-4b61-8d67-0e841cf8b452', 'name': 'ctest-vn-11927473', 'tenant_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'project_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-vn-11927473'], 'port_security_enabled': True, 'description': ''}}
2026-06-22 13:23:08,703 - DEBUG - Response for create_subnet : {'subnet': {'id': '32b9ae61-0535-4aa2-8f7a-2c873ac6df37', 'name': '', 'tenant_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'network_id': '69ae54fd-2ab9-4b61-8d67-0e841cf8b452', 'ip_version': 4, 'cidr': '73.58.132.192/26', 'allocation_pools': [{'start': '73.58.132.194', 'end': '73.58.132.254'}], 'gateway_ip': '73.58.132.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '73.58.132.194', 'tags': [], 'project_id': 'c5edc576b30d4a62b0f19dd05ecbadd7'}}
2026-06-22 13:23:08,718 - INFO - Created VN ctest-vn-11927473
2026-06-22 13:23:08,772 - DEBUG - VN ctest-vn-11927473 UUID is 69ae54fd-2ab9-4b61-8d67-0e841cf8b452
2026-06-22 13:23:09,074 - DEBUG - Response for create_network : {'network': {'id': '8b891c15-d88a-4055-9c72-0782c38da3ff', 'name': 'ctest-vn-13041981', 'tenant_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'project_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-vn-13041981'], 'port_security_enabled': True, 'description': ''}}
2026-06-22 13:23:09,265 - DEBUG - Response for create_subnet : {'subnet': {'id': '0bc8a63f-4858-4334-8cae-0ac939a9c533', 'name': '', 'tenant_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'network_id': '8b891c15-d88a-4055-9c72-0782c38da3ff', 'ip_version': 4, 'cidr': '66.117.210.64/26', 'allocation_pools': [{'start': '66.117.210.66', 'end': '66.117.210.126'}], 'gateway_ip': '66.117.210.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '66.117.210.66', 'tags': [], 'project_id': 'c5edc576b30d4a62b0f19dd05ecbadd7'}}
2026-06-22 13:23:09,279 - INFO - Created VN ctest-vn-13041981
2026-06-22 13:23:09,332 - DEBUG - VN ctest-vn-13041981 UUID is 8b891c15-d88a-4055-9c72-0782c38da3ff
2026-06-22 13:23:09,472 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-11927473, 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-26269211:ctest-vn-13041981, 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-06-22 13:23:09,749 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '69ae54fd-2ab9-4b61-8d67-0e841cf8b452', 'name': 'ctest-vn-11927473', 'tenant_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'project_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['32b9ae61-0535-4aa2-8f7a-2c873ac6df37'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-vn-11927473'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-policy-allow-all-88644983']], 'subnet_ipam': [{'subnet_cidr': '73.58.132.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-22 13:23:09,977 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8b891c15-d88a-4055-9c72-0782c38da3ff', 'name': 'ctest-vn-13041981', 'tenant_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'project_id': 'c5edc576b30d4a62b0f19dd05ecbadd7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0bc8a63f-4858-4334-8cae-0ac939a9c533'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-vn-13041981'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-policy-allow-all-88644983']], 'subnet_ipam': [{'subnet_cidr': '66.117.210.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-22 13:23:10,140 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 13:23:10,459 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 13:23:10,484 - DEBUG - Requesting: http://10.0.0.38:8082/domain/efbd51fb-a21e-4f27-90b3-98b29ff2b20d
2026-06-22 13:23:10,494 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5edc576-b30d-4a62-b0f1-9dd05ecbadd7
2026-06-22 13:23:10,566 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69ae54fd-2ab9-4b61-8d67-0e841cf8b452
2026-06-22 13:23:10,575 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69ae54fd-2ab9-4b61-8d67-0e841cf8b452
2026-06-22 13:23:10,583 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e4422f8-ce10-447b-b22c-b7115330ae8d
2026-06-22 13:23:10,590 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e4422f8-ce10-447b-b22c-b7115330ae8d
2026-06-22 13:23:10,597 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3f6dd922-0cf3-4452-9dbd-2b0849c05471
2026-06-22 13:23:10,603 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 13:23:10,603 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69ae54fd-2ab9-4b61-8d67-0e841cf8b452
2026-06-22 13:23:10,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e4422f8-ce10-447b-b22c-b7115330ae8d
2026-06-22 13:23:10,626 - INFO - Verified VN network id 11 for VN 69ae54fd-2ab9-4b61-8d67-0e841cf8b452
2026-06-22 13:23:10,626 - INFO - Verifications in API Server for VN ctest-vn-11927473 passed
2026-06-22 13:23:10,626 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69ae54fd-2ab9-4b61-8d67-0e841cf8b452
2026-06-22 13:23:10,637 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e4422f8-ce10-447b-b22c-b7115330ae8d
2026-06-22 13:23:10,649 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2e4422f8-ce10-447b-b22c-b7115330ae8d
2026-06-22 13:23:10,656 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/3f6dd922-0cf3-4452-9dbd-2b0849c05471
2026-06-22 13:23:10,669 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-11927473', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26269211', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7615117466250333025', 'uuid-lslong': '10189128642533569618'}, 'enable': 'true', 'created': '2026-06-22T13:23:08', 'last-modified': '2026-06-22T13:23:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.939320'}
2026-06-22 13:23:10,674 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-22 13:23:10,674 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11927473 passed
2026-06-22 13:23:10,674 - DEBUG - ====Verifying policy data for ctest-vn-11927473 in API_Server ======
2026-06-22 13:23:10,674 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 13:23:10,679 - DEBUG - Requesting: http://10.0.0.38:8082/domain/efbd51fb-a21e-4f27-90b3-98b29ff2b20d
2026-06-22 13:23:10,689 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5edc576-b30d-4a62-b0f1-9dd05ecbadd7
2026-06-22 13:23:10,758 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/69ae54fd-2ab9-4b61-8d67-0e841cf8b452
2026-06-22 13:23:10,766 - DEBUG - ==>Verifying data for policy with id: d902ed92-25b3-4fa5-a7ad-2baea992a5ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-policy-allow-all-88644983']
2026-06-22 13:23:10,766 - INFO - VN ctest-vn-11927473 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 13:23:10,766 - DEBUG - Verifying the vn in opserver
2026-06-22 13:23:10,766 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-11927473 virtual network link through opserver 10.0.0.38
2026-06-22 13:23:10,766 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-22 13:23:11,081 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-22 13:23:11,127 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-11927473', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-11927473?flat'}
2026-06-22 13:23:11,127 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-11927473 is found in opserver
2026-06-22 13:23:11,135 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 13:23:11,139 - DEBUG - VRF ids for VN ctest-vn-11927473: {}
2026-06-22 13:23:11,139 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 13:23:11,144 - DEBUG - Requesting: http://10.0.0.38:8082/domain/efbd51fb-a21e-4f27-90b3-98b29ff2b20d
2026-06-22 13:23:11,154 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5edc576-b30d-4a62-b0f1-9dd05ecbadd7
2026-06-22 13:23:11,222 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b891c15-d88a-4055-9c72-0782c38da3ff
2026-06-22 13:23:11,234 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b891c15-d88a-4055-9c72-0782c38da3ff
2026-06-22 13:23:11,242 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c9dd1ed-3853-40bc-a001-b083d23fcb3c
2026-06-22 13:23:11,248 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c9dd1ed-3853-40bc-a001-b083d23fcb3c
2026-06-22 13:23:11,254 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d491fe88-932b-4689-8f11-227436ed4ea7
2026-06-22 13:23:11,260 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 13:23:11,260 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b891c15-d88a-4055-9c72-0782c38da3ff
2026-06-22 13:23:11,267 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c9dd1ed-3853-40bc-a001-b083d23fcb3c
2026-06-22 13:23:11,281 - INFO - Verified VN network id 12 for VN 8b891c15-d88a-4055-9c72-0782c38da3ff
2026-06-22 13:23:11,282 - INFO - Verifications in API Server for VN ctest-vn-13041981 passed
2026-06-22 13:23:11,282 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b891c15-d88a-4055-9c72-0782c38da3ff
2026-06-22 13:23:11,290 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c9dd1ed-3853-40bc-a001-b083d23fcb3c
2026-06-22 13:23:11,297 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/2c9dd1ed-3853-40bc-a001-b083d23fcb3c
2026-06-22 13:23:11,303 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d491fe88-932b-4689-8f11-227436ed4ea7
2026-06-22 13:23:11,315 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-13041981', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-26269211', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10054598523234173013', 'uuid-lslong': '11273081075469755391'}, 'enable': 'true', 'created': '2026-06-22T13:23:09', 'last-modified': '2026-06-22T13:23:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.364529'}
2026-06-22 13:23:11,322 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-22 13:23:11,322 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13041981 passed
2026-06-22 13:23:11,322 - DEBUG - ====Verifying policy data for ctest-vn-13041981 in API_Server ======
2026-06-22 13:23:11,322 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-06-22 13:23:11,327 - DEBUG - Requesting: http://10.0.0.38:8082/domain/efbd51fb-a21e-4f27-90b3-98b29ff2b20d
2026-06-22 13:23:11,337 - DEBUG - Requesting: http://10.0.0.38:8082/project/c5edc576-b30d-4a62-b0f1-9dd05ecbadd7
2026-06-22 13:23:11,406 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8b891c15-d88a-4055-9c72-0782c38da3ff
2026-06-22 13:23:11,415 - DEBUG - ==>Verifying data for policy with id: d902ed92-25b3-4fa5-a7ad-2baea992a5ee, fqn: ['default-domain', 'ctest-TestBasicPolicy-26269211', 'ctest-policy-allow-all-88644983']
2026-06-22 13:23:11,415 - INFO - VN ctest-vn-13041981 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-22 13:23:11,415 - DEBUG - Verifying the vn in opserver
2026-06-22 13:23:11,415 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-13041981 virtual network link through opserver 10.0.0.38
2026-06-22 13:23:11,415 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-06-22 13:23:11,425 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-13041981', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-13041981?flat'}
2026-06-22 13:23:11,425 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-26269211:ctest-vn-13041981 is found in opserver
2026-06-22 13:23:11,434 - DEBUG - Do not have enough data to verify VN in agent
2026-06-22 13:23:11,438 - DEBUG - VRF ids for VN ctest-vn-13041981: {}
2026-06-22 13:23:11,488 - DEBUG - Services list from nova: [