2026-03-03 16:20:58,123 - INFO - Domain Default found not creating
2026-03-03 16:20:58,314 - INFO - Project ctest-TestBasicPolicy-48177128 not found, creating it
2026-03-03 16:20:58,800 - INFO - Created Project:ctest-TestBasicPolicy-48177128, ID : 8971dbc2-d438-45a8-987f-99ff7c24fa59
2026-03-03 16:21:00,364 - INFO - ================================================================================
2026-03-03 16:21:00,365 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-03 16:21:00,365 - 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-03-03 16:21:00,631 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.192': '0'}} with
2026-03-03 16:21:00,631 - INFO - Initial checks done. Running the testcase now
2026-03-03 16:21:00,631 - INFO -
2026-03-03 16:21:01,214 - DEBUG - Response for create_network : {'network': {'id': '2580bee3-5c3b-44fd-8b9b-ed3e687c9076', 'name': 'ctest-vn-40006637', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-40006637'], 'port_security_enabled': True, 'description': ''}}
2026-03-03 16:21:01,420 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b6bc3526-10f5-4ae5-80f8-6e7c8eb4881e', 'name': '', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'network_id': '2580bee3-5c3b-44fd-8b9b-ed3e687c9076', 'ip_version': 4, 'cidr': '154.66.149.128/26', 'allocation_pools': [{'start': '154.66.149.130', 'end': '154.66.149.190'}], 'gateway_ip': '154.66.149.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '154.66.149.130', 'tags': [], 'project_id': '8971dbc2d43845a8987f99ff7c24fa59'}}
2026-03-03 16:21:01,439 - INFO - Created VN ctest-vn-40006637
2026-03-03 16:21:01,491 - DEBUG - VN ctest-vn-40006637 UUID is 2580bee3-5c3b-44fd-8b9b-ed3e687c9076
2026-03-03 16:21:01,794 - DEBUG - Response for create_network : {'network': {'id': 'ed2b53b8-a288-4251-a3c7-ce4bdb00cc17', 'name': 'ctest-vn-15683620', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-15683620'], 'port_security_enabled': True, 'description': ''}}
2026-03-03 16:21:01,994 - DEBUG - Response for create_subnet : {'subnet': {'id': '63bb1897-63c8-4a57-82a0-2ff76a59a15a', 'name': '', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'network_id': 'ed2b53b8-a288-4251-a3c7-ce4bdb00cc17', 'ip_version': 4, 'cidr': '132.217.207.0/26', 'allocation_pools': [{'start': '132.217.207.2', 'end': '132.217.207.62'}], 'gateway_ip': '132.217.207.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '132.217.207.2', 'tags': [], 'project_id': '8971dbc2d43845a8987f99ff7c24fa59'}}
2026-03-03 16:21:02,013 - INFO - Created VN ctest-vn-15683620
2026-03-03 16:21:02,066 - DEBUG - VN ctest-vn-15683620 UUID is ed2b53b8-a288-4251-a3c7-ce4bdb00cc17
2026-03-03 16:21:02,184 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637, 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-48177128:ctest-vn-15683620, 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-03-03 16:21:02,493 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2580bee3-5c3b-44fd-8b9b-ed3e687c9076', 'name': 'ctest-vn-40006637', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b6bc3526-10f5-4ae5-80f8-6e7c8eb4881e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-40006637'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787']], 'subnet_ipam': [{'subnet_cidr': '154.66.149.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-03 16:21:02,724 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ed2b53b8-a288-4251-a3c7-ce4bdb00cc17', 'name': 'ctest-vn-15683620', 'tenant_id': '8971dbc2d43845a8987f99ff7c24fa59', 'project_id': '8971dbc2d43845a8987f99ff7c24fa59', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['63bb1897-63c8-4a57-82a0-2ff76a59a15a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-vn-15683620'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787']], 'subnet_ipam': [{'subnet_cidr': '132.217.207.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-03 16:21:02,883 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-03-03 16:21:03,202 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-03-03 16:21:03,237 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17
2026-03-03 16:21:03,251 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59
2026-03-03 16:21:03,328 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076
2026-03-03 16:21:03,339 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076
2026-03-03 16:21:03,349 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0
2026-03-03 16:21:03,358 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0
2026-03-03 16:21:03,366 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/c3aa55d3-8e10-4efd-bfaa-c26becedbcf5
2026-03-03 16:21:03,373 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-03 16:21:03,374 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076
2026-03-03 16:21:03,383 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0
2026-03-03 16:21:03,399 - INFO - Verified VN network id 11 for VN 2580bee3-5c3b-44fd-8b9b-ed3e687c9076
2026-03-03 16:21:03,400 - INFO - Verifications in API Server for VN ctest-vn-40006637 passed
2026-03-03 16:21:03,400 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076
2026-03-03 16:21:03,411 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0
2026-03-03 16:21:03,421 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f57c2ce0-10f4-42f0-921e-c6f95e1587d0
2026-03-03 16:21:03,431 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/c3aa55d3-8e10-4efd-bfaa-c26becedbcf5
2026-03-03 16:21:03,446 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48177128', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2702369660136539389', 'uuid-lslong': '10059895044958883958'}, 'enable': 'true', 'created': '2026-03-03T16:21:01', 'last-modified': '2026-03-03T16:21:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.978494'}
2026-03-03 16:21:03,452 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-03 16:21:03,452 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40006637 passed
2026-03-03 16:21:03,453 - DEBUG - ====Verifying policy data for ctest-vn-40006637 in API_Server ======
2026-03-03 16:21:03,453 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-03-03 16:21:03,459 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17
2026-03-03 16:21:03,469 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59
2026-03-03 16:21:03,543 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/2580bee3-5c3b-44fd-8b9b-ed3e687c9076
2026-03-03 16:21:03,554 - DEBUG - ==>Verifying data for policy with id: 3fbea0fc-cf7b-4525-ab8c-ed3e4a4df37b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787']
2026-03-03 16:21:03,554 - INFO - VN ctest-vn-40006637 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-03 16:21:03,554 - DEBUG - Verifying the vn in opserver
2026-03-03 16:21:03,554 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637 virtual network link through opserver 10.0.0.73
2026-03-03 16:21:03,554 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-03-03 16:21:03,853 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-03-03 16:21:03,933 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637?flat'}
2026-03-03 16:21:03,933 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-40006637 is found in opserver
2026-03-03 16:21:03,945 - DEBUG - Do not have enough data to verify VN in agent
2026-03-03 16:21:03,950 - DEBUG - VRF ids for VN ctest-vn-40006637: {}
2026-03-03 16:21:03,950 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-03-03 16:21:03,958 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17
2026-03-03 16:21:03,970 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59
2026-03-03 16:21:04,046 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17
2026-03-03 16:21:04,065 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17
2026-03-03 16:21:04,075 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89
2026-03-03 16:21:04,084 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89
2026-03-03 16:21:04,093 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/d090cfa7-6fff-4327-afa5-619cd23816c7
2026-03-03 16:21:04,103 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-03 16:21:04,103 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17
2026-03-03 16:21:04,114 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89
2026-03-03 16:21:04,131 - INFO - Verified VN network id 12 for VN ed2b53b8-a288-4251-a3c7-ce4bdb00cc17
2026-03-03 16:21:04,131 - INFO - Verifications in API Server for VN ctest-vn-15683620 passed
2026-03-03 16:21:04,131 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17
2026-03-03 16:21:04,142 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89
2026-03-03 16:21:04,151 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/f60d90b9-c039-4349-b65c-19f8ae443e89
2026-03-03 16:21:04,159 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/d090cfa7-6fff-4327-afa5-619cd23816c7
2026-03-03 16:21:04,172 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-48177128', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17089845263453405777', 'uuid-lslong': '11801628173739805719'}, 'enable': 'true', 'created': '2026-03-03T16:21:01', 'last-modified': '2026-03-03T16:21:02', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.466884'}
2026-03-03 16:21:04,178 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-03 16:21:04,178 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-15683620 passed
2026-03-03 16:21:04,178 - DEBUG - ====Verifying policy data for ctest-vn-15683620 in API_Server ======
2026-03-03 16:21:04,178 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-03-03 16:21:04,185 - DEBUG - Requesting: http://10.0.0.73:8082/domain/5eb03227-a908-476a-b987-492475270c17
2026-03-03 16:21:04,197 - DEBUG - Requesting: http://10.0.0.73:8082/project/8971dbc2-d438-45a8-987f-99ff7c24fa59
2026-03-03 16:21:04,276 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/ed2b53b8-a288-4251-a3c7-ce4bdb00cc17
2026-03-03 16:21:04,286 - DEBUG - ==>Verifying data for policy with id: 3fbea0fc-cf7b-4525-ab8c-ed3e4a4df37b, fqn: ['default-domain', 'ctest-TestBasicPolicy-48177128', 'ctest-policy-allow-all-14201787']
2026-03-03 16:21:04,287 - INFO - VN ctest-vn-15683620 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-03 16:21:04,287 - DEBUG - Verifying the vn in opserver
2026-03-03 16:21:04,287 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620 virtual network link through opserver 10.0.0.73
2026-03-03 16:21:04,287 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-03-03 16:21:04,299 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620?flat'}
2026-03-03 16:21:04,299 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-48177128:ctest-vn-15683620 is found in opserver
2026-03-03 16:21:04,311 - DEBUG - Do not have enough data to verify VN in agent
2026-03-03 16:21:04,316 - DEBUG - VRF ids for VN ctest-vn-15683620: {}
2026-03-03 16:21:04,395 - DEBUG - Services list from nova: [