2026-02-09 20:33:51,856 - INFO - Domain Default found not creating
2026-02-09 20:33:52,000 - INFO - Project ctest-TestBasicPolicy-33481409 not found, creating it
2026-02-09 20:33:52,428 - INFO - Created Project:ctest-TestBasicPolicy-33481409, ID : bff3b76d-7997-44d9-9945-6694e191dc18
2026-02-09 20:33:53,819 - INFO - ================================================================================
2026-02-09 20:33:53,819 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-09 20:33:53,819 - 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-09 20:33:54,073 - DEBUG - Nothing to compare xmpp stats {'10.0.0.73': {'10.20.0.254': '0'}} with
2026-02-09 20:33:54,073 - INFO - Initial checks done. Running the testcase now
2026-02-09 20:33:54,073 - INFO -
2026-02-09 20:33:54,583 - DEBUG - Response for create_network : {'network': {'id': '16de0278-9269-4b9b-bf88-176b8330d1d0', 'name': 'ctest-vn-67629435', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-67629435'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 20:33:54,755 - DEBUG - Response for create_subnet : {'subnet': {'id': '9607b950-e1e1-415b-b545-b87409260c2f', 'name': '', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'network_id': '16de0278-9269-4b9b-bf88-176b8330d1d0', 'ip_version': 4, 'cidr': '170.104.8.0/26', 'allocation_pools': [{'start': '170.104.8.2', 'end': '170.104.8.62'}], 'gateway_ip': '170.104.8.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '170.104.8.2', 'tags': [], 'project_id': 'bff3b76d799744d999456694e191dc18'}}
2026-02-09 20:33:54,774 - INFO - Created VN ctest-vn-67629435
2026-02-09 20:33:54,825 - DEBUG - VN ctest-vn-67629435 UUID is 16de0278-9269-4b9b-bf88-176b8330d1d0
2026-02-09 20:33:55,105 - DEBUG - Response for create_network : {'network': {'id': '5b0674e1-d867-44de-828e-3bec705779d2', 'name': 'ctest-vn-97103488', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-97103488'], 'port_security_enabled': True, 'description': ''}}
2026-02-09 20:33:55,241 - DEBUG - Response for create_subnet : {'subnet': {'id': '2105cca8-090d-4f2f-b4e6-71d2074be74b', 'name': '', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'network_id': '5b0674e1-d867-44de-828e-3bec705779d2', 'ip_version': 4, 'cidr': '76.95.182.0/26', 'allocation_pools': [{'start': '76.95.182.2', 'end': '76.95.182.62'}], 'gateway_ip': '76.95.182.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '76.95.182.2', 'tags': [], 'project_id': 'bff3b76d799744d999456694e191dc18'}}
2026-02-09 20:33:55,257 - INFO - Created VN ctest-vn-97103488
2026-02-09 20:33:55,309 - DEBUG - VN ctest-vn-97103488 UUID is 5b0674e1-d867-44de-828e-3bec705779d2
2026-02-09 20:33:55,453 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435, 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-33481409:ctest-vn-97103488, 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-09 20:33:55,733 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '16de0278-9269-4b9b-bf88-176b8330d1d0', 'name': 'ctest-vn-67629435', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9607b950-e1e1-415b-b545-b87409260c2f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-67629435'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706']], 'subnet_ipam': [{'subnet_cidr': '170.104.8.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 20:33:55,950 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5b0674e1-d867-44de-828e-3bec705779d2', 'name': 'ctest-vn-97103488', 'tenant_id': 'bff3b76d799744d999456694e191dc18', 'project_id': 'bff3b76d799744d999456694e191dc18', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2105cca8-090d-4f2f-b4e6-71d2074be74b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-vn-97103488'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706']], 'subnet_ipam': [{'subnet_cidr': '76.95.182.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-09 20:33:56,101 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-09 20:33:56,392 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-09 20:33:56,421 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b
2026-02-09 20:33:56,431 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18
2026-02-09 20:33:56,496 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0
2026-02-09 20:33:56,505 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0
2026-02-09 20:33:56,513 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55
2026-02-09 20:33:56,519 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55
2026-02-09 20:33:56,524 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/dcf331b4-c166-4838-9658-070b94a2dcc8
2026-02-09 20:33:56,529 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 20:33:56,530 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0
2026-02-09 20:33:56,537 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55
2026-02-09 20:33:56,548 - INFO - Verified VN network id 11 for VN 16de0278-9269-4b9b-bf88-176b8330d1d0
2026-02-09 20:33:56,548 - INFO - Verifications in API Server for VN ctest-vn-67629435 passed
2026-02-09 20:33:56,548 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0
2026-02-09 20:33:56,555 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55
2026-02-09 20:33:56,561 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/8f2b9a92-58cc-41dd-8e8e-922eea7dbc55
2026-02-09 20:33:56,566 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/dcf331b4-c166-4838-9658-070b94a2dcc8
2026-02-09 20:33:56,576 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33481409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1647757230539885467', 'uuid-lslong': '13801306808606839248'}, 'enable': 'true', 'created': '2026-02-09T20:33:54', 'last-modified': '2026-02-09T20:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.863487'}
2026-02-09 20:33:56,581 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-09 20:33:56,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-67629435 passed
2026-02-09 20:33:56,581 - DEBUG - ====Verifying policy data for ctest-vn-67629435 in API_Server ======
2026-02-09 20:33:56,582 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-09 20:33:56,586 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b
2026-02-09 20:33:56,598 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18
2026-02-09 20:33:56,666 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/16de0278-9269-4b9b-bf88-176b8330d1d0
2026-02-09 20:33:56,674 - DEBUG - ==>Verifying data for policy with id: 13c54e60-5592-4b15-a991-7758fa4b3330, fqn: ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706']
2026-02-09 20:33:56,674 - INFO - VN ctest-vn-67629435 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 20:33:56,674 - DEBUG - Verifying the vn in opserver
2026-02-09 20:33:56,674 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435 virtual network link through opserver 10.0.0.73
2026-02-09 20:33:56,674 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-09 20:33:56,961 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-09 20:33:57,017 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435?flat'}
2026-02-09 20:33:57,017 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-67629435 is found in opserver
2026-02-09 20:33:57,025 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 20:33:57,029 - DEBUG - VRF ids for VN ctest-vn-67629435: {}
2026-02-09 20:33:57,029 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-09 20:33:57,033 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b
2026-02-09 20:33:57,042 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18
2026-02-09 20:33:57,109 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2
2026-02-09 20:33:57,119 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2
2026-02-09 20:33:57,126 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16
2026-02-09 20:33:57,132 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16
2026-02-09 20:33:57,138 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f97082ef-ba94-4c9b-8687-9fb4e00f28cd
2026-02-09 20:33:57,143 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 20:33:57,143 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2
2026-02-09 20:33:57,151 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16
2026-02-09 20:33:57,162 - INFO - Verified VN network id 12 for VN 5b0674e1-d867-44de-828e-3bec705779d2
2026-02-09 20:33:57,162 - INFO - Verifications in API Server for VN ctest-vn-97103488 passed
2026-02-09 20:33:57,162 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2
2026-02-09 20:33:57,169 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16
2026-02-09 20:33:57,175 - DEBUG - Requesting: http://10.0.0.73:8082/routing-instance/074d7df0-f19c-4a5a-987b-c8fd36c80d16
2026-02-09 20:33:57,180 - DEBUG - Requesting: http://10.0.0.73:8082/route-target/f97082ef-ba94-4c9b-8687-9fb4e00f28cd
2026-02-09 20:33:57,188 - DEBUG - Control-node 10.0.0.73 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-33481409', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6559058420658816222', 'uuid-lslong': '9407522558306646482'}, 'enable': 'true', 'created': '2026-02-09T20:33:55', 'last-modified': '2026-02-09T20:33:55', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.260925'}
2026-02-09 20:33:57,193 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-09 20:33:57,193 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97103488 passed
2026-02-09 20:33:57,193 - DEBUG - ====Verifying policy data for ctest-vn-97103488 in API_Server ======
2026-02-09 20:33:57,193 - DEBUG - Requesting: http://10.0.0.73:8082/domains
2026-02-09 20:33:57,198 - DEBUG - Requesting: http://10.0.0.73:8082/domain/8425cd12-e398-4f2e-b2f0-8bea6a2faa0b
2026-02-09 20:33:57,208 - DEBUG - Requesting: http://10.0.0.73:8082/project/bff3b76d-7997-44d9-9945-6694e191dc18
2026-02-09 20:33:57,274 - DEBUG - Requesting: http://10.0.0.73:8082/virtual-network/5b0674e1-d867-44de-828e-3bec705779d2
2026-02-09 20:33:57,281 - DEBUG - ==>Verifying data for policy with id: 13c54e60-5592-4b15-a991-7758fa4b3330, fqn: ['default-domain', 'ctest-TestBasicPolicy-33481409', 'ctest-policy-allow-all-43613706']
2026-02-09 20:33:57,281 - INFO - VN ctest-vn-97103488 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-09 20:33:57,281 - DEBUG - Verifying the vn in opserver
2026-02-09 20:33:57,281 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488 virtual network link through opserver 10.0.0.73
2026-02-09 20:33:57,281 - DEBUG - Requesting: http://10.0.0.73:8081/analytics/uves/virtual-networks
2026-02-09 20:33:57,289 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488', 'href': 'http://10.0.0.73:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488?flat'}
2026-02-09 20:33:57,289 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-33481409:ctest-vn-97103488 is found in opserver
2026-02-09 20:33:57,298 - DEBUG - Do not have enough data to verify VN in agent
2026-02-09 20:33:57,302 - DEBUG - VRF ids for VN ctest-vn-97103488: {}
2026-02-09 20:33:57,350 - DEBUG - Services list from nova: [