2026-01-19 11:58:08,367 - INFO - Domain Default found not creating
2026-01-19 11:58:08,538 - INFO - Project ctest-TestBasicPolicy-88955835 not found, creating it
2026-01-19 11:58:09,025 - INFO - Created Project:ctest-TestBasicPolicy-88955835, ID : 35954975-3297-453a-bd3a-1f69596c3fdd
2026-01-19 11:58:10,634 - INFO - ================================================================================
2026-01-19 11:58:10,635 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-19 11:58:10,635 - 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-19 11:58:10,890 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.129': '0'}} with
2026-01-19 11:58:10,890 - INFO - Initial checks done. Running the testcase now
2026-01-19 11:58:10,890 - INFO -
2026-01-19 11:58:11,533 - DEBUG - Response for create_network : {'network': {'id': '9683dec0-5628-4eca-873e-5143d3384de1', 'name': 'ctest-vn-25367055', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-25367055'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 11:58:11,753 - DEBUG - Response for create_subnet : {'subnet': {'id': '0851ef6e-a431-470e-8af6-5f5978e6f3fb', 'name': '', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'network_id': '9683dec0-5628-4eca-873e-5143d3384de1', 'ip_version': 4, 'cidr': '58.235.176.128/26', 'allocation_pools': [{'start': '58.235.176.130', 'end': '58.235.176.190'}], 'gateway_ip': '58.235.176.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.235.176.130', 'tags': [], 'project_id': '359549753297453abd3a1f69596c3fdd'}}
2026-01-19 11:58:11,774 - INFO - Created VN ctest-vn-25367055
2026-01-19 11:58:11,831 - DEBUG - VN ctest-vn-25367055 UUID is 9683dec0-5628-4eca-873e-5143d3384de1
2026-01-19 11:58:12,139 - DEBUG - Response for create_network : {'network': {'id': 'cf76cd65-be74-4376-a127-0439d704de3e', 'name': 'ctest-vn-91156450', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-91156450'], 'port_security_enabled': True, 'description': ''}}
2026-01-19 11:58:12,346 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f46b6e77-a536-4932-9c38-aba24385ca4a', 'name': '', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'network_id': 'cf76cd65-be74-4376-a127-0439d704de3e', 'ip_version': 4, 'cidr': '39.219.46.64/26', 'allocation_pools': [{'start': '39.219.46.66', 'end': '39.219.46.126'}], 'gateway_ip': '39.219.46.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.219.46.66', 'tags': [], 'project_id': '359549753297453abd3a1f69596c3fdd'}}
2026-01-19 11:58:12,364 - INFO - Created VN ctest-vn-91156450
2026-01-19 11:58:12,417 - DEBUG - VN ctest-vn-91156450 UUID is cf76cd65-be74-4376-a127-0439d704de3e
2026-01-19 11:58:12,546 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055, 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-88955835:ctest-vn-91156450, 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-19 11:58:12,853 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9683dec0-5628-4eca-873e-5143d3384de1', 'name': 'ctest-vn-25367055', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0851ef6e-a431-470e-8af6-5f5978e6f3fb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-25367055'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982']], 'subnet_ipam': [{'subnet_cidr': '58.235.176.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 11:58:13,142 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf76cd65-be74-4376-a127-0439d704de3e', 'name': 'ctest-vn-91156450', 'tenant_id': '359549753297453abd3a1f69596c3fdd', 'project_id': '359549753297453abd3a1f69596c3fdd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f46b6e77-a536-4932-9c38-aba24385ca4a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-vn-91156450'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982']], 'subnet_ipam': [{'subnet_cidr': '39.219.46.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-19 11:58:13,289 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-19 11:58:13,607 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-19 11:58:13,643 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1
2026-01-19 11:58:13,656 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd
2026-01-19 11:58:13,737 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1
2026-01-19 11:58:13,749 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1
2026-01-19 11:58:13,759 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b
2026-01-19 11:58:13,766 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b
2026-01-19 11:58:13,773 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9b8bb462-2f86-43eb-aca4-4f2edc8a7667
2026-01-19 11:58:13,779 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 11:58:13,780 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1
2026-01-19 11:58:13,788 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b
2026-01-19 11:58:13,803 - INFO - Verified VN network id 11 for VN 9683dec0-5628-4eca-873e-5143d3384de1
2026-01-19 11:58:13,803 - INFO - Verifications in API Server for VN ctest-vn-25367055 passed
2026-01-19 11:58:13,804 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1
2026-01-19 11:58:13,813 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b
2026-01-19 11:58:13,820 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/867a6548-ec32-46a2-9c97-851818cba80b
2026-01-19 11:58:13,826 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9b8bb462-2f86-43eb-aca4-4f2edc8a7667
2026-01-19 11:58:13,838 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88955835', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10845757245298855626', 'uuid-lslong': '9745315995424673249'}, 'enable': 'true', 'created': '2026-01-19T11:58:11', 'last-modified': '2026-01-19T11:58:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.014709'}
2026-01-19 11:58:13,843 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-19 11:58:13,844 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-25367055 passed
2026-01-19 11:58:13,844 - DEBUG - ====Verifying policy data for ctest-vn-25367055 in API_Server ======
2026-01-19 11:58:13,844 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-19 11:58:13,849 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1
2026-01-19 11:58:13,861 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd
2026-01-19 11:58:13,932 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/9683dec0-5628-4eca-873e-5143d3384de1
2026-01-19 11:58:13,943 - DEBUG - ==>Verifying data for policy with id: 728f74db-2dc8-4a1c-975d-1e2fc232f929, fqn: ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982']
2026-01-19 11:58:13,944 - INFO - VN ctest-vn-25367055 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 11:58:13,944 - DEBUG - Verifying the vn in opserver
2026-01-19 11:58:13,944 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055 virtual network link through opserver 10.0.0.141
2026-01-19 11:58:13,944 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-19 11:58:14,251 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-19 11:58:14,321 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055?flat'}
2026-01-19 11:58:14,322 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-25367055 is found in opserver
2026-01-19 11:58:14,331 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 11:58:14,337 - DEBUG - VRF ids for VN ctest-vn-25367055: {}
2026-01-19 11:58:14,337 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-19 11:58:14,343 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1
2026-01-19 11:58:14,354 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd
2026-01-19 11:58:14,423 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e
2026-01-19 11:58:14,439 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e
2026-01-19 11:58:14,451 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9
2026-01-19 11:58:14,460 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9
2026-01-19 11:58:14,469 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9d934b40-3885-4f1f-9db3-4b76227d6857
2026-01-19 11:58:14,477 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 11:58:14,477 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e
2026-01-19 11:58:14,490 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9
2026-01-19 11:58:14,508 - INFO - Verified VN network id 12 for VN cf76cd65-be74-4376-a127-0439d704de3e
2026-01-19 11:58:14,508 - INFO - Verifications in API Server for VN ctest-vn-91156450 passed
2026-01-19 11:58:14,508 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e
2026-01-19 11:58:14,522 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9
2026-01-19 11:58:14,531 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/8c4e5009-b38e-4717-b5ed-3be12f162eb9
2026-01-19 11:58:14,541 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/9d934b40-3885-4f1f-9db3-4b76227d6857
2026-01-19 11:58:14,558 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88955835', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14949361849973621622', 'uuid-lslong': '11612254810665180734'}, 'enable': 'true', 'created': '2026-01-19T11:58:12', 'last-modified': '2026-01-19T11:58:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.484509'}
2026-01-19 11:58:14,566 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-19 11:58:14,566 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-91156450 passed
2026-01-19 11:58:14,566 - DEBUG - ====Verifying policy data for ctest-vn-91156450 in API_Server ======
2026-01-19 11:58:14,567 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-01-19 11:58:14,574 - DEBUG - Requesting: http://10.0.0.141:8082/domain/6b9f818a-63c4-4ff0-b09f-4afdc9a631c1
2026-01-19 11:58:14,588 - DEBUG - Requesting: http://10.0.0.141:8082/project/35954975-3297-453a-bd3a-1f69596c3fdd
2026-01-19 11:58:14,655 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/cf76cd65-be74-4376-a127-0439d704de3e
2026-01-19 11:58:14,667 - DEBUG - ==>Verifying data for policy with id: 728f74db-2dc8-4a1c-975d-1e2fc232f929, fqn: ['default-domain', 'ctest-TestBasicPolicy-88955835', 'ctest-policy-allow-all-46129982']
2026-01-19 11:58:14,667 - INFO - VN ctest-vn-91156450 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-19 11:58:14,667 - DEBUG - Verifying the vn in opserver
2026-01-19 11:58:14,667 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450 virtual network link through opserver 10.0.0.141
2026-01-19 11:58:14,667 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-01-19 11:58:14,677 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450?flat'}
2026-01-19 11:58:14,677 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88955835:ctest-vn-91156450 is found in opserver
2026-01-19 11:58:14,687 - DEBUG - Do not have enough data to verify VN in agent
2026-01-19 11:58:14,692 - DEBUG - VRF ids for VN ctest-vn-91156450: {}
2026-01-19 11:58:14,750 - DEBUG - Services list from nova: [