2026-02-10 13:56:45,468 - INFO - Domain Default found not creating
2026-02-10 13:56:45,639 - INFO - Project ctest-TestBasicPolicy-28623575 not found, creating it
2026-02-10 13:56:46,107 - INFO - Created Project:ctest-TestBasicPolicy-28623575, ID : ed3a68f1-8b4a-42f9-8017-240fb6696328
2026-02-10 13:56:47,719 - INFO - ================================================================================
2026-02-10 13:56:47,719 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 13:56:47,719 - 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-02-10 13:56:47,972 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-02-10 13:56:47,972 - INFO - Initial checks done. Running the testcase now
2026-02-10 13:56:47,972 - INFO -
2026-02-10 13:56:48,574 - DEBUG - Response for create_network : {'network': {'id': '031553ca-ab8b-4c17-92ba-8c7e254aa51a', 'name': 'ctest-vn-53653290', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-53653290'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 13:56:48,785 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ba2268c1-c14b-4fde-9060-e6e7bff5e200', 'name': '', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'network_id': '031553ca-ab8b-4c17-92ba-8c7e254aa51a', 'ip_version': 4, 'cidr': '209.103.11.64/26', 'allocation_pools': [{'start': '209.103.11.66', 'end': '209.103.11.126'}], 'gateway_ip': '209.103.11.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '209.103.11.66', 'tags': [], 'project_id': 'ed3a68f18b4a42f98017240fb6696328'}}
2026-02-10 13:56:48,804 - INFO - Created VN ctest-vn-53653290
2026-02-10 13:56:48,859 - DEBUG - VN ctest-vn-53653290 UUID is 031553ca-ab8b-4c17-92ba-8c7e254aa51a
2026-02-10 13:56:49,167 - DEBUG - Response for create_network : {'network': {'id': 'c12d4389-cc1f-465a-9740-7bb0d1207722', 'name': 'ctest-vn-74212824', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-74212824'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 13:56:49,326 - DEBUG - Response for create_subnet : {'subnet': {'id': '64b52e10-f41f-4f3e-a874-0c517bb1c009', 'name': '', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'network_id': 'c12d4389-cc1f-465a-9740-7bb0d1207722', 'ip_version': 4, 'cidr': '2.154.182.64/26', 'allocation_pools': [{'start': '2.154.182.66', 'end': '2.154.182.126'}], 'gateway_ip': '2.154.182.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.154.182.66', 'tags': [], 'project_id': 'ed3a68f18b4a42f98017240fb6696328'}}
2026-02-10 13:56:49,346 - INFO - Created VN ctest-vn-74212824
2026-02-10 13:56:49,399 - DEBUG - VN ctest-vn-74212824 UUID is c12d4389-cc1f-465a-9740-7bb0d1207722
2026-02-10 13:56:49,516 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290, 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-28623575:ctest-vn-74212824, 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-02-10 13:56:49,821 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '031553ca-ab8b-4c17-92ba-8c7e254aa51a', 'name': 'ctest-vn-53653290', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ba2268c1-c14b-4fde-9060-e6e7bff5e200'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-53653290'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967']], 'subnet_ipam': [{'subnet_cidr': '209.103.11.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 13:56:50,046 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c12d4389-cc1f-465a-9740-7bb0d1207722', 'name': 'ctest-vn-74212824', 'tenant_id': 'ed3a68f18b4a42f98017240fb6696328', 'project_id': 'ed3a68f18b4a42f98017240fb6696328', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['64b52e10-f41f-4f3e-a874-0c517bb1c009'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-vn-74212824'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967']], 'subnet_ipam': [{'subnet_cidr': '2.154.182.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 13:56:50,223 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 13:56:50,561 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 13:56:50,594 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1
2026-02-10 13:56:50,607 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328
2026-02-10 13:56:50,683 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a
2026-02-10 13:56:50,694 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a
2026-02-10 13:56:50,703 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d
2026-02-10 13:56:50,710 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d
2026-02-10 13:56:50,717 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9412b63f-0818-44af-9e7b-2c485fffb3a6
2026-02-10 13:56:50,725 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 13:56:50,725 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a
2026-02-10 13:56:50,734 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d
2026-02-10 13:56:50,749 - INFO - Verified VN network id 10 for VN 031553ca-ab8b-4c17-92ba-8c7e254aa51a
2026-02-10 13:56:50,749 - INFO - Verifications in API Server for VN ctest-vn-53653290 passed
2026-02-10 13:56:50,749 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a
2026-02-10 13:56:50,758 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d
2026-02-10 13:56:50,766 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/13ae4274-f18f-4169-a939-c2e13954d94d
2026-02-10 13:56:50,772 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/9412b63f-0818-44af-9e7b-2c485fffb3a6
2026-02-10 13:56:50,785 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28623575', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '222175886551239703', 'uuid-lslong': '10572917548625077530'}, 'enable': 'true', 'created': '2026-02-10T13:56:48', 'last-modified': '2026-02-10T13:56:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.994724'}
2026-02-10 13:56:50,791 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 13:56:50,791 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-53653290 passed
2026-02-10 13:56:50,792 - DEBUG - ====Verifying policy data for ctest-vn-53653290 in API_Server ======
2026-02-10 13:56:50,792 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 13:56:50,798 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1
2026-02-10 13:56:50,810 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328
2026-02-10 13:56:50,882 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/031553ca-ab8b-4c17-92ba-8c7e254aa51a
2026-02-10 13:56:50,891 - DEBUG - ==>Verifying data for policy with id: 6a629653-9069-475c-b713-9b459e27be49, fqn: ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967']
2026-02-10 13:56:50,891 - INFO - VN ctest-vn-53653290 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 13:56:50,891 - DEBUG - Verifying the vn in opserver
2026-02-10 13:56:50,891 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290 virtual network link through opserver 10.0.0.50
2026-02-10 13:56:50,891 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 13:56:51,227 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 13:56:51,303 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290?flat'}
2026-02-10 13:56:51,303 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-53653290 is found in opserver
2026-02-10 13:56:51,314 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 13:56:51,319 - DEBUG - VRF ids for VN ctest-vn-53653290: {}
2026-02-10 13:56:51,319 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 13:56:51,325 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1
2026-02-10 13:56:51,338 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328
2026-02-10 13:56:51,410 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722
2026-02-10 13:56:51,424 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722
2026-02-10 13:56:51,434 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94
2026-02-10 13:56:51,441 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94
2026-02-10 13:56:51,447 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a50f0bf7-191d-48f8-9d63-f8a948db0023
2026-02-10 13:56:51,454 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 13:56:51,455 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722
2026-02-10 13:56:51,464 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94
2026-02-10 13:56:51,478 - INFO - Verified VN network id 11 for VN c12d4389-cc1f-465a-9740-7bb0d1207722
2026-02-10 13:56:51,478 - INFO - Verifications in API Server for VN ctest-vn-74212824 passed
2026-02-10 13:56:51,479 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722
2026-02-10 13:56:51,488 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94
2026-02-10 13:56:51,496 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/91ddd1d3-b957-439b-96d8-3ad402660b94
2026-02-10 13:56:51,502 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a50f0bf7-191d-48f8-9d63-f8a948db0023
2026-02-10 13:56:51,514 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-28623575', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13919856282386253402', 'uuid-lslong': '10898847097589626658'}, 'enable': 'true', 'created': '2026-02-10T13:56:49', 'last-modified': '2026-02-10T13:56:50', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.489483'}
2026-02-10 13:56:51,519 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 13:56:51,519 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-74212824 passed
2026-02-10 13:56:51,520 - DEBUG - ====Verifying policy data for ctest-vn-74212824 in API_Server ======
2026-02-10 13:56:51,520 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-02-10 13:56:51,526 - DEBUG - Requesting: http://10.0.0.50:8082/domain/f546d81a-955a-40ab-b155-f0c6ef249bd1
2026-02-10 13:56:51,537 - DEBUG - Requesting: http://10.0.0.50:8082/project/ed3a68f1-8b4a-42f9-8017-240fb6696328
2026-02-10 13:56:51,607 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/c12d4389-cc1f-465a-9740-7bb0d1207722
2026-02-10 13:56:51,617 - DEBUG - ==>Verifying data for policy with id: 6a629653-9069-475c-b713-9b459e27be49, fqn: ['default-domain', 'ctest-TestBasicPolicy-28623575', 'ctest-policy-allow-all-43924967']
2026-02-10 13:56:51,617 - INFO - VN ctest-vn-74212824 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 13:56:51,617 - DEBUG - Verifying the vn in opserver
2026-02-10 13:56:51,617 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824 virtual network link through opserver 10.0.0.50
2026-02-10 13:56:51,617 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-02-10 13:56:51,627 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824?flat'}
2026-02-10 13:56:51,627 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-28623575:ctest-vn-74212824 is found in opserver
2026-02-10 13:56:51,638 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 13:56:51,644 - DEBUG - VRF ids for VN ctest-vn-74212824: {}
2026-02-10 13:56:51,710 - DEBUG - Services list from nova: [