2026-08-17 13:22:45,386 - INFO - Domain Default found not creating
2026-08-17 13:22:45,552 - INFO - Project ctest-TestBasicPolicy-49697984 not found, creating it
2026-08-17 13:22:46,030 - INFO - Created Project:ctest-TestBasicPolicy-49697984, ID : ece34572-239d-4ec4-a7a1-d4e10344556b
2026-08-17 13:22:47,585 - INFO - ================================================================================
2026-08-17 13:22:47,585 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-17 13:22:47,585 - 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-08-17 13:22:47,839 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2026-08-17 13:22:47,840 - INFO - Initial checks done. Running the testcase now
2026-08-17 13:22:47,840 - INFO -
2026-08-17 13:22:48,477 - DEBUG - Response for create_network : {'network': {'id': '8bd058ae-c86d-41c3-bb5e-b48367ff82e7', 'name': 'ctest-vn-17370770', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-17370770'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:22:48,658 - DEBUG - Response for create_subnet : {'subnet': {'id': '06da0d01-30fc-49b7-99c1-c1bd1d7c002b', 'name': '', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'network_id': '8bd058ae-c86d-41c3-bb5e-b48367ff82e7', 'ip_version': 4, 'cidr': '171.47.62.0/26', 'allocation_pools': [{'start': '171.47.62.2', 'end': '171.47.62.62'}], 'gateway_ip': '171.47.62.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.47.62.2', 'tags': [], 'project_id': 'ece34572239d4ec4a7a1d4e10344556b'}}
2026-08-17 13:22:48,673 - INFO - Created VN ctest-vn-17370770
2026-08-17 13:22:48,729 - DEBUG - VN ctest-vn-17370770 UUID is 8bd058ae-c86d-41c3-bb5e-b48367ff82e7
2026-08-17 13:22:49,059 - DEBUG - Response for create_network : {'network': {'id': '19ce44b0-c6c0-4ac2-954f-e194989ce6a3', 'name': 'ctest-vn-69471252', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-69471252'], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:22:49,242 - DEBUG - Response for create_subnet : {'subnet': {'id': '7d2795a8-671f-4ec6-b023-913f1329b39f', 'name': '', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'network_id': '19ce44b0-c6c0-4ac2-954f-e194989ce6a3', 'ip_version': 4, 'cidr': '126.30.65.0/26', 'allocation_pools': [{'start': '126.30.65.2', 'end': '126.30.65.62'}], 'gateway_ip': '126.30.65.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '126.30.65.2', 'tags': [], 'project_id': 'ece34572239d4ec4a7a1d4e10344556b'}}
2026-08-17 13:22:49,258 - INFO - Created VN ctest-vn-69471252
2026-08-17 13:22:49,309 - DEBUG - VN ctest-vn-69471252 UUID is 19ce44b0-c6c0-4ac2-954f-e194989ce6a3
2026-08-17 13:22:49,461 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770, 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-49697984:ctest-vn-69471252, 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-08-17 13:22:49,762 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '8bd058ae-c86d-41c3-bb5e-b48367ff82e7', 'name': 'ctest-vn-17370770', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['06da0d01-30fc-49b7-99c1-c1bd1d7c002b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-17370770'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762']], 'subnet_ipam': [{'subnet_cidr': '171.47.62.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:22:49,987 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '19ce44b0-c6c0-4ac2-954f-e194989ce6a3', 'name': 'ctest-vn-69471252', 'tenant_id': 'ece34572239d4ec4a7a1d4e10344556b', 'project_id': 'ece34572239d4ec4a7a1d4e10344556b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7d2795a8-671f-4ec6-b023-913f1329b39f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-vn-69471252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762']], 'subnet_ipam': [{'subnet_cidr': '126.30.65.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-17 13:22:50,157 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-17 13:22:50,475 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-17 13:22:50,501 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd
2026-08-17 13:22:50,513 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b
2026-08-17 13:22:50,584 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7
2026-08-17 13:22:50,599 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7
2026-08-17 13:22:50,608 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17
2026-08-17 13:22:50,617 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17
2026-08-17 13:22:50,624 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64d0162c-32a9-422f-aa10-1300e773d94e
2026-08-17 13:22:50,631 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 13:22:50,631 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7
2026-08-17 13:22:50,642 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17
2026-08-17 13:22:50,654 - INFO - Verified VN network id 11 for VN 8bd058ae-c86d-41c3-bb5e-b48367ff82e7
2026-08-17 13:22:50,654 - INFO - Verifications in API Server for VN ctest-vn-17370770 passed
2026-08-17 13:22:50,654 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7
2026-08-17 13:22:50,662 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17
2026-08-17 13:22:50,668 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f9b90352-ed55-4f8c-9052-13b322403f17
2026-08-17 13:22:50,673 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/64d0162c-32a9-422f-aa10-1300e773d94e
2026-08-17 13:22:50,685 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49697984', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10074649874137956803', 'uuid-lslong': '13501427209381839591'}, 'enable': 'true', 'created': '2026-08-17T13:22:48', 'last-modified': '2026-08-17T13:22:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.938633'}
2026-08-17 13:22:50,692 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-17 13:22:50,692 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17370770 passed
2026-08-17 13:22:50,692 - DEBUG - ====Verifying policy data for ctest-vn-17370770 in API_Server ======
2026-08-17 13:22:50,693 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-17 13:22:50,697 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd
2026-08-17 13:22:50,707 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b
2026-08-17 13:22:50,779 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/8bd058ae-c86d-41c3-bb5e-b48367ff82e7
2026-08-17 13:22:50,788 - DEBUG - ==>Verifying data for policy with id: 758f4735-699e-4a12-8954-998f330b7ebe, fqn: ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762']
2026-08-17 13:22:50,788 - INFO - VN ctest-vn-17370770 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 13:22:50,788 - DEBUG - Verifying the vn in opserver
2026-08-17 13:22:50,788 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770 virtual network link through opserver 10.0.0.38
2026-08-17 13:22:50,788 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-17 13:22:51,107 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-17 13:22:51,163 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770?flat'}
2026-08-17 13:22:51,163 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-17370770 is found in opserver
2026-08-17 13:22:51,173 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 13:22:51,178 - DEBUG - VRF ids for VN ctest-vn-17370770: {}
2026-08-17 13:22:51,178 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-17 13:22:51,183 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd
2026-08-17 13:22:51,195 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b
2026-08-17 13:22:51,265 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3
2026-08-17 13:22:51,278 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3
2026-08-17 13:22:51,287 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d
2026-08-17 13:22:51,294 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d
2026-08-17 13:22:51,301 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c05bad41-d11d-4b21-b501-1390d996d558
2026-08-17 13:22:51,308 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 13:22:51,308 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3
2026-08-17 13:22:51,318 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d
2026-08-17 13:22:51,335 - INFO - Verified VN network id 12 for VN 19ce44b0-c6c0-4ac2-954f-e194989ce6a3
2026-08-17 13:22:51,335 - INFO - Verifications in API Server for VN ctest-vn-69471252 passed
2026-08-17 13:22:51,335 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3
2026-08-17 13:22:51,345 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d
2026-08-17 13:22:51,353 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/c780c0d3-3b09-4da6-adeb-012322f2ef8d
2026-08-17 13:22:51,361 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/c05bad41-d11d-4b21-b501-1390d996d558
2026-08-17 13:22:51,375 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-49697984', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1859499222190017218', 'uuid-lslong': '10759066063143233187'}, 'enable': 'true', 'created': '2026-08-17T13:22:49', 'last-modified': '2026-08-17T13:22:49', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.412942'}
2026-08-17 13:22:51,381 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-17 13:22:51,382 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69471252 passed
2026-08-17 13:22:51,382 - DEBUG - ====Verifying policy data for ctest-vn-69471252 in API_Server ======
2026-08-17 13:22:51,382 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-08-17 13:22:51,387 - DEBUG - Requesting: http://10.0.0.38:8082/domain/79deeefe-3f76-4dc1-a723-9d83c309e4cd
2026-08-17 13:22:51,398 - DEBUG - Requesting: http://10.0.0.38:8082/project/ece34572-239d-4ec4-a7a1-d4e10344556b
2026-08-17 13:22:51,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/19ce44b0-c6c0-4ac2-954f-e194989ce6a3
2026-08-17 13:22:51,476 - DEBUG - ==>Verifying data for policy with id: 758f4735-699e-4a12-8954-998f330b7ebe, fqn: ['default-domain', 'ctest-TestBasicPolicy-49697984', 'ctest-policy-allow-all-99650762']
2026-08-17 13:22:51,476 - INFO - VN ctest-vn-69471252 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-17 13:22:51,476 - DEBUG - Verifying the vn in opserver
2026-08-17 13:22:51,476 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252 virtual network link through opserver 10.0.0.38
2026-08-17 13:22:51,476 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-08-17 13:22:51,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252?flat'}
2026-08-17 13:22:51,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-49697984:ctest-vn-69471252 is found in opserver
2026-08-17 13:22:51,493 - DEBUG - Do not have enough data to verify VN in agent
2026-08-17 13:22:51,498 - DEBUG - VRF ids for VN ctest-vn-69471252: {}
2026-08-17 13:22:51,556 - DEBUG - Services list from nova: [