2026-02-20 09:04:41,938 - INFO - Domain Default found not creating
2026-02-20 09:04:42,094 - INFO - Project ctest-TestBasicPolicy-80928179 not found, creating it
2026-02-20 09:04:42,526 - INFO - Created Project:ctest-TestBasicPolicy-80928179, ID : 600a93f5-1586-4cfa-a1ac-869b1dde3de3
2026-02-20 09:04:43,963 - INFO - ================================================================================
2026-02-20 09:04:43,964 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 09:04:43,964 - 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-20 09:04:44,223 - DEBUG - Nothing to compare xmpp stats {'10.0.0.241': {'10.20.0.17': '0'}} with
2026-02-20 09:04:44,223 - INFO - Initial checks done. Running the testcase now
2026-02-20 09:04:44,223 - INFO -
2026-02-20 09:04:44,748 - DEBUG - Response for create_network : {'network': {'id': '56afa8a0-6a98-4d0a-94b4-e6b35229fda3', 'name': 'ctest-vn-30923303', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-30923303'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:04:44,909 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e41c18ae-2b51-4843-8544-13e29069ff7a', 'name': '', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'network_id': '56afa8a0-6a98-4d0a-94b4-e6b35229fda3', 'ip_version': 4, 'cidr': '220.58.188.192/26', 'allocation_pools': [{'start': '220.58.188.194', 'end': '220.58.188.254'}], 'gateway_ip': '220.58.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '220.58.188.194', 'tags': [], 'project_id': '600a93f515864cfaa1ac869b1dde3de3'}}
2026-02-20 09:04:44,926 - INFO - Created VN ctest-vn-30923303
2026-02-20 09:04:44,978 - DEBUG - VN ctest-vn-30923303 UUID is 56afa8a0-6a98-4d0a-94b4-e6b35229fda3
2026-02-20 09:04:45,285 - DEBUG - Response for create_network : {'network': {'id': 'd1903384-6e02-48ad-bdcf-5cbf8157b1ff', 'name': 'ctest-vn-57745252', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-57745252'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:04:45,461 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fa68bf37-6d23-4fa4-9dee-c94535074442', 'name': '', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'network_id': 'd1903384-6e02-48ad-bdcf-5cbf8157b1ff', 'ip_version': 4, 'cidr': '162.205.16.64/26', 'allocation_pools': [{'start': '162.205.16.66', 'end': '162.205.16.126'}], 'gateway_ip': '162.205.16.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '162.205.16.66', 'tags': [], 'project_id': '600a93f515864cfaa1ac869b1dde3de3'}}
2026-02-20 09:04:45,479 - INFO - Created VN ctest-vn-57745252
2026-02-20 09:04:45,530 - DEBUG - VN ctest-vn-57745252 UUID is d1903384-6e02-48ad-bdcf-5cbf8157b1ff
2026-02-20 09:04:45,678 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303, 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-80928179:ctest-vn-57745252, 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-20 09:04:45,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '56afa8a0-6a98-4d0a-94b4-e6b35229fda3', 'name': 'ctest-vn-30923303', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e41c18ae-2b51-4843-8544-13e29069ff7a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-30923303'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201']], 'subnet_ipam': [{'subnet_cidr': '220.58.188.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:04:46,171 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd1903384-6e02-48ad-bdcf-5cbf8157b1ff', 'name': 'ctest-vn-57745252', 'tenant_id': '600a93f515864cfaa1ac869b1dde3de3', 'project_id': '600a93f515864cfaa1ac869b1dde3de3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fa68bf37-6d23-4fa4-9dee-c94535074442'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-vn-57745252'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201']], 'subnet_ipam': [{'subnet_cidr': '162.205.16.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 09:04:46,330 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 09:04:46,630 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 09:04:46,659 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433
2026-02-20 09:04:46,670 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3
2026-02-20 09:04:46,740 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3
2026-02-20 09:04:46,749 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3
2026-02-20 09:04:46,757 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb
2026-02-20 09:04:46,764 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb
2026-02-20 09:04:46,770 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/bad359b6-e310-44df-9eed-0cd7e6bd860d
2026-02-20 09:04:46,775 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 09:04:46,775 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3
2026-02-20 09:04:46,782 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb
2026-02-20 09:04:46,795 - INFO - Verified VN network id 12 for VN 56afa8a0-6a98-4d0a-94b4-e6b35229fda3
2026-02-20 09:04:46,795 - INFO - Verifications in API Server for VN ctest-vn-30923303 passed
2026-02-20 09:04:46,795 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3
2026-02-20 09:04:46,802 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb
2026-02-20 09:04:46,808 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/98b04fe5-779c-42f7-9466-a468601739bb
2026-02-20 09:04:46,814 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/bad359b6-e310-44df-9eed-0cd7e6bd860d
2026-02-20 09:04:46,823 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80928179', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6246396615122767114', 'uuid-lslong': '10715443071273270691'}, 'enable': 'true', 'created': '2026-02-20T09:04:44', 'last-modified': '2026-02-20T09:04:45', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.876326'}
2026-02-20 09:04:46,829 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 09:04:46,829 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30923303 passed
2026-02-20 09:04:46,829 - DEBUG - ====Verifying policy data for ctest-vn-30923303 in API_Server ======
2026-02-20 09:04:46,829 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 09:04:46,834 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433
2026-02-20 09:04:46,844 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3
2026-02-20 09:04:46,911 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/56afa8a0-6a98-4d0a-94b4-e6b35229fda3
2026-02-20 09:04:46,919 - DEBUG - ==>Verifying data for policy with id: 808ba411-4c92-4e68-b2c2-262acc24fd04, fqn: ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201']
2026-02-20 09:04:46,919 - INFO - VN ctest-vn-30923303 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 09:04:46,919 - DEBUG - Verifying the vn in opserver
2026-02-20 09:04:46,919 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303 virtual network link through opserver 10.0.0.241
2026-02-20 09:04:46,919 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 09:04:47,209 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 09:04:47,267 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303?flat'}
2026-02-20 09:04:47,267 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-30923303 is found in opserver
2026-02-20 09:04:47,276 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 09:04:47,279 - DEBUG - VRF ids for VN ctest-vn-30923303: {}
2026-02-20 09:04:47,280 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 09:04:47,284 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433
2026-02-20 09:04:47,295 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3
2026-02-20 09:04:47,364 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff
2026-02-20 09:04:47,373 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff
2026-02-20 09:04:47,380 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0
2026-02-20 09:04:47,386 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0
2026-02-20 09:04:47,391 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/a73004a9-bce2-470e-9f41-597711ad8b84
2026-02-20 09:04:47,397 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 09:04:47,397 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff
2026-02-20 09:04:47,404 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0
2026-02-20 09:04:47,414 - INFO - Verified VN network id 13 for VN d1903384-6e02-48ad-bdcf-5cbf8157b1ff
2026-02-20 09:04:47,415 - INFO - Verifications in API Server for VN ctest-vn-57745252 passed
2026-02-20 09:04:47,415 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff
2026-02-20 09:04:47,421 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0
2026-02-20 09:04:47,426 - DEBUG - Requesting: http://10.0.0.241:8082/routing-instance/f0095516-8293-4c1a-8ef2-7f74ba58a8a0
2026-02-20 09:04:47,431 - DEBUG - Requesting: http://10.0.0.241:8082/route-target/a73004a9-bce2-470e-9f41-597711ad8b84
2026-02-20 09:04:47,440 - DEBUG - Control-node 10.0.0.241 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-80928179', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15100626194447616173', 'uuid-lslong': '13677252570926002687'}, 'enable': 'true', 'created': '2026-02-20T09:04:45', 'last-modified': '2026-02-20T09:04:46', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.287552'}
2026-02-20 09:04:47,445 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 09:04:47,445 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-57745252 passed
2026-02-20 09:04:47,445 - DEBUG - ====Verifying policy data for ctest-vn-57745252 in API_Server ======
2026-02-20 09:04:47,445 - DEBUG - Requesting: http://10.0.0.241:8082/domains
2026-02-20 09:04:47,450 - DEBUG - Requesting: http://10.0.0.241:8082/domain/9ca698ff-c3b9-4fc5-ab43-1aecd294a433
2026-02-20 09:04:47,459 - DEBUG - Requesting: http://10.0.0.241:8082/project/600a93f5-1586-4cfa-a1ac-869b1dde3de3
2026-02-20 09:04:47,527 - DEBUG - Requesting: http://10.0.0.241:8082/virtual-network/d1903384-6e02-48ad-bdcf-5cbf8157b1ff
2026-02-20 09:04:47,535 - DEBUG - ==>Verifying data for policy with id: 808ba411-4c92-4e68-b2c2-262acc24fd04, fqn: ['default-domain', 'ctest-TestBasicPolicy-80928179', 'ctest-policy-allow-all-91205201']
2026-02-20 09:04:47,535 - INFO - VN ctest-vn-57745252 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 09:04:47,535 - DEBUG - Verifying the vn in opserver
2026-02-20 09:04:47,535 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252 virtual network link through opserver 10.0.0.241
2026-02-20 09:04:47,535 - DEBUG - Requesting: http://10.0.0.241:8081/analytics/uves/virtual-networks
2026-02-20 09:04:47,543 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252', 'href': 'http://10.0.0.241:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252?flat'}
2026-02-20 09:04:47,543 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-80928179:ctest-vn-57745252 is found in opserver
2026-02-20 09:04:47,551 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 09:04:47,555 - DEBUG - VRF ids for VN ctest-vn-57745252: {}
2026-02-20 09:04:47,606 - DEBUG - Services list from nova: [