2026-02-10 02:56:47,507 - INFO - Domain Default found not creating
2026-02-10 02:56:47,669 - INFO - Project ctest-TestBasicPolicy-66050505 not found, creating it
2026-02-10 02:56:48,145 - INFO - Created Project:ctest-TestBasicPolicy-66050505, ID : c8c9bc48-56dd-4b59-ba5c-1810312dedcd
2026-02-10 02:56:49,626 - INFO - ================================================================================
2026-02-10 02:56:49,626 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-10 02:56:49,626 - 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 02:56:49,886 - DEBUG - Nothing to compare xmpp stats {'10.0.0.130': {'10.20.0.17': '0'}} with
2026-02-10 02:56:49,886 - INFO - Initial checks done. Running the testcase now
2026-02-10 02:56:49,886 - INFO -
2026-02-10 02:56:50,473 - DEBUG - Response for create_network : {'network': {'id': '927588e0-df44-4fc4-8cac-9b743bc87203', 'name': 'ctest-vn-42217125', 'tenant_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'project_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-vn-42217125'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 02:56:50,637 - DEBUG - Response for create_subnet : {'subnet': {'id': '0a16b6c0-93dc-444f-ac65-7ce2b2f3171b', 'name': '', 'tenant_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'network_id': '927588e0-df44-4fc4-8cac-9b743bc87203', 'ip_version': 4, 'cidr': '2.178.12.128/26', 'allocation_pools': [{'start': '2.178.12.130', 'end': '2.178.12.190'}], 'gateway_ip': '2.178.12.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '2.178.12.130', 'tags': [], 'project_id': 'c8c9bc4856dd4b59ba5c1810312dedcd'}}
2026-02-10 02:56:50,653 - INFO - Created VN ctest-vn-42217125
2026-02-10 02:56:50,704 - DEBUG - VN ctest-vn-42217125 UUID is 927588e0-df44-4fc4-8cac-9b743bc87203
2026-02-10 02:56:51,024 - DEBUG - Response for create_network : {'network': {'id': '6a3083ac-26ea-4c95-af6d-6b3c6bd598bf', 'name': 'ctest-vn-47788843', 'tenant_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'project_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-vn-47788843'], 'port_security_enabled': True, 'description': ''}}
2026-02-10 02:56:51,178 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e9d5922e-18af-4737-890c-36b11da2792c', 'name': '', 'tenant_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'network_id': '6a3083ac-26ea-4c95-af6d-6b3c6bd598bf', 'ip_version': 4, 'cidr': '3.98.131.192/26', 'allocation_pools': [{'start': '3.98.131.194', 'end': '3.98.131.254'}], 'gateway_ip': '3.98.131.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '3.98.131.194', 'tags': [], 'project_id': 'c8c9bc4856dd4b59ba5c1810312dedcd'}}
2026-02-10 02:56:51,195 - INFO - Created VN ctest-vn-47788843
2026-02-10 02:56:51,244 - DEBUG - VN ctest-vn-47788843 UUID is 6a3083ac-26ea-4c95-af6d-6b3c6bd598bf
2026-02-10 02:56:51,396 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-42217125, 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-66050505:ctest-vn-47788843, 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 02:56:51,691 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '927588e0-df44-4fc4-8cac-9b743bc87203', 'name': 'ctest-vn-42217125', 'tenant_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'project_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0a16b6c0-93dc-444f-ac65-7ce2b2f3171b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-vn-42217125'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-policy-allow-all-05761110']], 'subnet_ipam': [{'subnet_cidr': '2.178.12.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 02:56:51,905 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6a3083ac-26ea-4c95-af6d-6b3c6bd598bf', 'name': 'ctest-vn-47788843', 'tenant_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'project_id': 'c8c9bc4856dd4b59ba5c1810312dedcd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e9d5922e-18af-4737-890c-36b11da2792c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-vn-47788843'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-policy-allow-all-05761110']], 'subnet_ipam': [{'subnet_cidr': '3.98.131.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-10 02:56:52,068 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-10 02:56:52,362 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-10 02:56:52,392 - DEBUG - Requesting: http://10.0.0.130:8082/domain/647bf87e-49fa-4bec-92d2-d2cef5d1bccb
2026-02-10 02:56:52,403 - DEBUG - Requesting: http://10.0.0.130:8082/project/c8c9bc48-56dd-4b59-ba5c-1810312dedcd
2026-02-10 02:56:52,470 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/927588e0-df44-4fc4-8cac-9b743bc87203
2026-02-10 02:56:52,480 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/927588e0-df44-4fc4-8cac-9b743bc87203
2026-02-10 02:56:52,488 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c1872fea-0a6c-4aa1-b7d6-1916516c5e70
2026-02-10 02:56:52,494 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c1872fea-0a6c-4aa1-b7d6-1916516c5e70
2026-02-10 02:56:52,500 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5e7db292-1fad-436d-9f2a-07842e3d81e5
2026-02-10 02:56:52,506 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 02:56:52,506 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/927588e0-df44-4fc4-8cac-9b743bc87203
2026-02-10 02:56:52,513 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c1872fea-0a6c-4aa1-b7d6-1916516c5e70
2026-02-10 02:56:52,526 - INFO - Verified VN network id 12 for VN 927588e0-df44-4fc4-8cac-9b743bc87203
2026-02-10 02:56:52,526 - INFO - Verifications in API Server for VN ctest-vn-42217125 passed
2026-02-10 02:56:52,526 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/927588e0-df44-4fc4-8cac-9b743bc87203
2026-02-10 02:56:52,533 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c1872fea-0a6c-4aa1-b7d6-1916516c5e70
2026-02-10 02:56:52,538 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/c1872fea-0a6c-4aa1-b7d6-1916516c5e70
2026-02-10 02:56:52,543 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/5e7db292-1fad-436d-9f2a-07842e3d81e5
2026-02-10 02:56:52,553 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-42217125', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66050505', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10553491801212473284', 'uuid-lslong': '10136647784825647619'}, 'enable': 'true', 'created': '2026-02-10T02:56:50', 'last-modified': '2026-02-10T02:56:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.886964'}
2026-02-10 02:56:52,559 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-10 02:56:52,559 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-42217125 passed
2026-02-10 02:56:52,559 - DEBUG - ====Verifying policy data for ctest-vn-42217125 in API_Server ======
2026-02-10 02:56:52,559 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-10 02:56:52,563 - DEBUG - Requesting: http://10.0.0.130:8082/domain/647bf87e-49fa-4bec-92d2-d2cef5d1bccb
2026-02-10 02:56:52,572 - DEBUG - Requesting: http://10.0.0.130:8082/project/c8c9bc48-56dd-4b59-ba5c-1810312dedcd
2026-02-10 02:56:52,638 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/927588e0-df44-4fc4-8cac-9b743bc87203
2026-02-10 02:56:52,647 - DEBUG - ==>Verifying data for policy with id: 96b17b5e-1170-4d34-8cac-f6d2eaf5a69e, fqn: ['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-policy-allow-all-05761110']
2026-02-10 02:56:52,647 - INFO - VN ctest-vn-42217125 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 02:56:52,647 - DEBUG - Verifying the vn in opserver
2026-02-10 02:56:52,647 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-42217125 virtual network link through opserver 10.0.0.130
2026-02-10 02:56:52,647 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-10 02:56:52,938 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-10 02:56:52,995 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-42217125', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-42217125?flat'}
2026-02-10 02:56:52,995 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-42217125 is found in opserver
2026-02-10 02:56:53,003 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 02:56:53,007 - DEBUG - VRF ids for VN ctest-vn-42217125: {}
2026-02-10 02:56:53,007 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-10 02:56:53,012 - DEBUG - Requesting: http://10.0.0.130:8082/domain/647bf87e-49fa-4bec-92d2-d2cef5d1bccb
2026-02-10 02:56:53,022 - DEBUG - Requesting: http://10.0.0.130:8082/project/c8c9bc48-56dd-4b59-ba5c-1810312dedcd
2026-02-10 02:56:53,089 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6a3083ac-26ea-4c95-af6d-6b3c6bd598bf
2026-02-10 02:56:53,098 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6a3083ac-26ea-4c95-af6d-6b3c6bd598bf
2026-02-10 02:56:53,106 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9cc36b19-6f39-45c4-9a54-62c8f3a9c2e9
2026-02-10 02:56:53,111 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9cc36b19-6f39-45c4-9a54-62c8f3a9c2e9
2026-02-10 02:56:53,116 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0cb3173f-715b-444f-b20e-3c5fc16831dc
2026-02-10 02:56:53,122 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 02:56:53,122 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6a3083ac-26ea-4c95-af6d-6b3c6bd598bf
2026-02-10 02:56:53,129 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9cc36b19-6f39-45c4-9a54-62c8f3a9c2e9
2026-02-10 02:56:53,140 - INFO - Verified VN network id 13 for VN 6a3083ac-26ea-4c95-af6d-6b3c6bd598bf
2026-02-10 02:56:53,140 - INFO - Verifications in API Server for VN ctest-vn-47788843 passed
2026-02-10 02:56:53,140 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6a3083ac-26ea-4c95-af6d-6b3c6bd598bf
2026-02-10 02:56:53,147 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9cc36b19-6f39-45c4-9a54-62c8f3a9c2e9
2026-02-10 02:56:53,152 - DEBUG - Requesting: http://10.0.0.130:8082/routing-instance/9cc36b19-6f39-45c4-9a54-62c8f3a9c2e9
2026-02-10 02:56:53,157 - DEBUG - Requesting: http://10.0.0.130:8082/route-target/0cb3173f-715b-444f-b20e-3c5fc16831dc
2026-02-10 02:56:53,166 - DEBUG - Control-node 10.0.0.130 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-47788843', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66050505', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7651760542312975509', 'uuid-lslong': '12640877636350220479'}, 'enable': 'true', 'created': '2026-02-10T02:56:50', 'last-modified': '2026-02-10T02:56:51', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.281308'}
2026-02-10 02:56:53,171 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-10 02:56:53,171 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47788843 passed
2026-02-10 02:56:53,171 - DEBUG - ====Verifying policy data for ctest-vn-47788843 in API_Server ======
2026-02-10 02:56:53,171 - DEBUG - Requesting: http://10.0.0.130:8082/domains
2026-02-10 02:56:53,176 - DEBUG - Requesting: http://10.0.0.130:8082/domain/647bf87e-49fa-4bec-92d2-d2cef5d1bccb
2026-02-10 02:56:53,185 - DEBUG - Requesting: http://10.0.0.130:8082/project/c8c9bc48-56dd-4b59-ba5c-1810312dedcd
2026-02-10 02:56:53,255 - DEBUG - Requesting: http://10.0.0.130:8082/virtual-network/6a3083ac-26ea-4c95-af6d-6b3c6bd598bf
2026-02-10 02:56:53,262 - DEBUG - ==>Verifying data for policy with id: 96b17b5e-1170-4d34-8cac-f6d2eaf5a69e, fqn: ['default-domain', 'ctest-TestBasicPolicy-66050505', 'ctest-policy-allow-all-05761110']
2026-02-10 02:56:53,262 - INFO - VN ctest-vn-47788843 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-10 02:56:53,262 - DEBUG - Verifying the vn in opserver
2026-02-10 02:56:53,263 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-47788843 virtual network link through opserver 10.0.0.130
2026-02-10 02:56:53,263 - DEBUG - Requesting: http://10.0.0.130:8081/analytics/uves/virtual-networks
2026-02-10 02:56:53,272 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-47788843', 'href': 'http://10.0.0.130:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-47788843?flat'}
2026-02-10 02:56:53,272 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66050505:ctest-vn-47788843 is found in opserver
2026-02-10 02:56:53,280 - DEBUG - Do not have enough data to verify VN in agent
2026-02-10 02:56:53,284 - DEBUG - VRF ids for VN ctest-vn-47788843: {}
2026-02-10 02:56:53,336 - DEBUG - Services list from nova: [