2026-08-03 02:35:11,912 - INFO - Domain Default found not creating
2026-08-03 02:35:12,092 - INFO - Project ctest-TestBasicPolicy-43590353 not found, creating it
2026-08-03 02:35:12,586 - INFO - Created Project:ctest-TestBasicPolicy-43590353, ID : d999c864-e40a-486c-b8e1-d40a16632024
2026-08-03 02:35:14,188 - INFO - ================================================================================
2026-08-03 02:35:14,188 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-03 02:35:14,188 - 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-03 02:35:14,453 - DEBUG - Nothing to compare xmpp stats {'10.0.0.33': {'10.20.0.17': '0'}} with
2026-08-03 02:35:14,453 - INFO - Initial checks done. Running the testcase now
2026-08-03 02:35:14,453 - INFO -
2026-08-03 02:35:15,066 - DEBUG - Response for create_network : {'network': {'id': 'f11bdfa0-2063-4ace-ac4c-db4e67d88948', 'name': 'ctest-vn-27133399', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-27133399'], 'port_security_enabled': True, 'description': ''}}
2026-08-03 02:35:15,249 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e1b84ce2-c32d-40f7-9460-1143f115cfde', 'name': '', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'network_id': 'f11bdfa0-2063-4ace-ac4c-db4e67d88948', 'ip_version': 4, 'cidr': '98.104.137.64/26', 'allocation_pools': [{'start': '98.104.137.66', 'end': '98.104.137.126'}], 'gateway_ip': '98.104.137.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '98.104.137.66', 'tags': [], 'project_id': 'd999c864e40a486cb8e1d40a16632024'}}
2026-08-03 02:35:15,267 - INFO - Created VN ctest-vn-27133399
2026-08-03 02:35:15,323 - DEBUG - VN ctest-vn-27133399 UUID is f11bdfa0-2063-4ace-ac4c-db4e67d88948
2026-08-03 02:35:15,669 - DEBUG - Response for create_network : {'network': {'id': '583786fa-50ca-44ec-ac78-51151fdab50f', 'name': 'ctest-vn-36834630', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-36834630'], 'port_security_enabled': True, 'description': ''}}
2026-08-03 02:35:15,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '1a86dcf0-97bd-48dc-af8c-24b14b3aa3b6', 'name': '', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'network_id': '583786fa-50ca-44ec-ac78-51151fdab50f', 'ip_version': 4, 'cidr': '113.189.147.192/26', 'allocation_pools': [{'start': '113.189.147.194', 'end': '113.189.147.254'}], 'gateway_ip': '113.189.147.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.189.147.194', 'tags': [], 'project_id': 'd999c864e40a486cb8e1d40a16632024'}}
2026-08-03 02:35:15,876 - INFO - Created VN ctest-vn-36834630
2026-08-03 02:35:15,931 - DEBUG - VN ctest-vn-36834630 UUID is 583786fa-50ca-44ec-ac78-51151fdab50f
2026-08-03 02:35:16,043 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399, 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-43590353:ctest-vn-36834630, 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-03 02:35:16,363 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f11bdfa0-2063-4ace-ac4c-db4e67d88948', 'name': 'ctest-vn-27133399', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e1b84ce2-c32d-40f7-9460-1143f115cfde'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-27133399'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905']], 'subnet_ipam': [{'subnet_cidr': '98.104.137.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-03 02:35:16,598 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '583786fa-50ca-44ec-ac78-51151fdab50f', 'name': 'ctest-vn-36834630', 'tenant_id': 'd999c864e40a486cb8e1d40a16632024', 'project_id': 'd999c864e40a486cb8e1d40a16632024', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['1a86dcf0-97bd-48dc-af8c-24b14b3aa3b6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-vn-36834630'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905']], 'subnet_ipam': [{'subnet_cidr': '113.189.147.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-03 02:35:16,763 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-03 02:35:17,092 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-03 02:35:17,131 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc
2026-08-03 02:35:17,145 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024
2026-08-03 02:35:17,228 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948
2026-08-03 02:35:17,241 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948
2026-08-03 02:35:17,252 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf
2026-08-03 02:35:17,261 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf
2026-08-03 02:35:17,268 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0e612ad2-acd0-43e3-9b8c-a2a8561379f8
2026-08-03 02:35:17,275 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-03 02:35:17,276 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948
2026-08-03 02:35:17,285 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf
2026-08-03 02:35:17,301 - INFO - Verified VN network id 11 for VN f11bdfa0-2063-4ace-ac4c-db4e67d88948
2026-08-03 02:35:17,301 - INFO - Verifications in API Server for VN ctest-vn-27133399 passed
2026-08-03 02:35:17,301 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948
2026-08-03 02:35:17,312 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf
2026-08-03 02:35:17,319 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/c5f47f4a-8cd9-4162-b0f7-7e7fb72044cf
2026-08-03 02:35:17,329 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/0e612ad2-acd0-43e3-9b8c-a2a8561379f8
2026-08-03 02:35:17,341 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43590353', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17373725866342959822', 'uuid-lslong': '12415539402549791048'}, 'enable': 'true', 'created': '2026-08-03T02:35:15', 'last-modified': '2026-08-03T02:35:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011322'}
2026-08-03 02:35:17,349 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-03 02:35:17,349 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27133399 passed
2026-08-03 02:35:17,349 - DEBUG - ====Verifying policy data for ctest-vn-27133399 in API_Server ======
2026-08-03 02:35:17,349 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-03 02:35:17,355 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc
2026-08-03 02:35:17,366 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024
2026-08-03 02:35:17,443 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/f11bdfa0-2063-4ace-ac4c-db4e67d88948
2026-08-03 02:35:17,453 - DEBUG - ==>Verifying data for policy with id: 891aaa7a-5d2f-49aa-8937-33e8e1a16bb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905']
2026-08-03 02:35:17,453 - INFO - VN ctest-vn-27133399 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-03 02:35:17,453 - DEBUG - Verifying the vn in opserver
2026-08-03 02:35:17,453 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399 virtual network link through opserver 10.0.0.33
2026-08-03 02:35:17,453 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-03 02:35:17,784 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-03 02:35:17,840 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399?flat'}
2026-08-03 02:35:17,840 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-27133399 is found in opserver
2026-08-03 02:35:17,851 - DEBUG - Do not have enough data to verify VN in agent
2026-08-03 02:35:17,856 - DEBUG - VRF ids for VN ctest-vn-27133399: {}
2026-08-03 02:35:17,856 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-03 02:35:17,862 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc
2026-08-03 02:35:17,874 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024
2026-08-03 02:35:17,959 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f
2026-08-03 02:35:17,980 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f
2026-08-03 02:35:17,992 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032
2026-08-03 02:35:18,001 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032
2026-08-03 02:35:18,011 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/44f7a17a-11ec-4627-8e62-618bd9857335
2026-08-03 02:35:18,021 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-03 02:35:18,021 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f
2026-08-03 02:35:18,032 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032
2026-08-03 02:35:18,050 - INFO - Verified VN network id 12 for VN 583786fa-50ca-44ec-ac78-51151fdab50f
2026-08-03 02:35:18,051 - INFO - Verifications in API Server for VN ctest-vn-36834630 passed
2026-08-03 02:35:18,051 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f
2026-08-03 02:35:18,064 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032
2026-08-03 02:35:18,073 - DEBUG - Requesting: http://10.0.0.33:8082/routing-instance/20943483-4b6a-4483-b1d3-0edf23301032
2026-08-03 02:35:18,082 - DEBUG - Requesting: http://10.0.0.33:8082/route-target/44f7a17a-11ec-4627-8e62-618bd9857335
2026-08-03 02:35:18,099 - DEBUG - Control-node 10.0.0.33 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-43590353', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6356697808712123628', 'uuid-lslong': '12427772322899473679'}, 'enable': 'true', 'created': '2026-08-03T02:35:15', 'last-modified': '2026-08-03T02:35:16', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.523277'}
2026-08-03 02:35:18,105 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-03 02:35:18,106 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-36834630 passed
2026-08-03 02:35:18,106 - DEBUG - ====Verifying policy data for ctest-vn-36834630 in API_Server ======
2026-08-03 02:35:18,106 - DEBUG - Requesting: http://10.0.0.33:8082/domains
2026-08-03 02:35:18,112 - DEBUG - Requesting: http://10.0.0.33:8082/domain/fcfe315e-4663-4767-9fd7-8593d2c673fc
2026-08-03 02:35:18,127 - DEBUG - Requesting: http://10.0.0.33:8082/project/d999c864-e40a-486c-b8e1-d40a16632024
2026-08-03 02:35:18,204 - DEBUG - Requesting: http://10.0.0.33:8082/virtual-network/583786fa-50ca-44ec-ac78-51151fdab50f
2026-08-03 02:35:18,215 - DEBUG - ==>Verifying data for policy with id: 891aaa7a-5d2f-49aa-8937-33e8e1a16bb1, fqn: ['default-domain', 'ctest-TestBasicPolicy-43590353', 'ctest-policy-allow-all-80864905']
2026-08-03 02:35:18,215 - INFO - VN ctest-vn-36834630 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-03 02:35:18,215 - DEBUG - Verifying the vn in opserver
2026-08-03 02:35:18,215 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630 virtual network link through opserver 10.0.0.33
2026-08-03 02:35:18,215 - DEBUG - Requesting: http://10.0.0.33:8081/analytics/uves/virtual-networks
2026-08-03 02:35:18,227 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630', 'href': 'http://10.0.0.33:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630?flat'}
2026-08-03 02:35:18,228 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-43590353:ctest-vn-36834630 is found in opserver
2026-08-03 02:35:18,241 - DEBUG - Do not have enough data to verify VN in agent
2026-08-03 02:35:18,249 - DEBUG - VRF ids for VN ctest-vn-36834630: {}
2026-08-03 02:35:18,307 - DEBUG - Services list from nova: [