2026-07-30 08:22:28,378 - INFO - Domain Default found not creating
2026-07-30 08:22:28,564 - INFO - Project ctest-TestBasicPolicy-37904102 not found, creating it
2026-07-30 08:22:29,084 - INFO - Created Project:ctest-TestBasicPolicy-37904102, ID : 4b17292f-39cc-4a4e-a0cb-0db4921dd60d
2026-07-30 08:22:31,074 - INFO - ================================================================================
2026-07-30 08:22:31,075 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-07-30 08:22:31,075 - 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-07-30 08:22:31,340 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with
2026-07-30 08:22:31,340 - INFO - Initial checks done. Running the testcase now
2026-07-30 08:22:31,340 - INFO -
2026-07-30 08:22:31,999 - DEBUG - Response for create_network : {'network': {'id': '3b4dd282-25d8-4b94-aeac-16f0ea0f2e87', 'name': 'ctest-vn-13028926', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-13028926'], 'port_security_enabled': True, 'description': ''}}
2026-07-30 08:22:32,227 - DEBUG - Response for create_subnet : {'subnet': {'id': '443e66b1-6001-4a89-a40b-56e907452289', 'name': '', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'network_id': '3b4dd282-25d8-4b94-aeac-16f0ea0f2e87', 'ip_version': 4, 'cidr': '178.53.166.64/26', 'allocation_pools': [{'start': '178.53.166.66', 'end': '178.53.166.126'}], 'gateway_ip': '178.53.166.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '178.53.166.66', 'tags': [], 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d'}}
2026-07-30 08:22:32,246 - INFO - Created VN ctest-vn-13028926
2026-07-30 08:22:32,298 - DEBUG - VN ctest-vn-13028926 UUID is 3b4dd282-25d8-4b94-aeac-16f0ea0f2e87
2026-07-30 08:22:32,623 - DEBUG - Response for create_network : {'network': {'id': '9c11d595-72c8-49eb-8d7f-edebad0975b8', 'name': 'ctest-vn-27825929', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-27825929'], 'port_security_enabled': True, 'description': ''}}
2026-07-30 08:22:32,828 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d94026e-5bce-4669-8cb5-4ce0c0cf8b7f', 'name': '', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'network_id': '9c11d595-72c8-49eb-8d7f-edebad0975b8', 'ip_version': 4, 'cidr': '175.207.69.64/26', 'allocation_pools': [{'start': '175.207.69.66', 'end': '175.207.69.126'}], 'gateway_ip': '175.207.69.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '175.207.69.66', 'tags': [], 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d'}}
2026-07-30 08:22:32,846 - INFO - Created VN ctest-vn-27825929
2026-07-30 08:22:32,898 - DEBUG - VN ctest-vn-27825929 UUID is 9c11d595-72c8-49eb-8d7f-edebad0975b8
2026-07-30 08:22:33,054 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926, 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-37904102:ctest-vn-27825929, 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-07-30 08:22:33,366 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3b4dd282-25d8-4b94-aeac-16f0ea0f2e87', 'name': 'ctest-vn-13028926', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['443e66b1-6001-4a89-a40b-56e907452289'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-13028926'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539']], 'subnet_ipam': [{'subnet_cidr': '178.53.166.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-30 08:22:33,621 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9c11d595-72c8-49eb-8d7f-edebad0975b8', 'name': 'ctest-vn-27825929', 'tenant_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'project_id': '4b17292f39cc4a4ea0cb0db4921dd60d', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d94026e-5bce-4669-8cb5-4ce0c0cf8b7f'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-vn-27825929'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539']], 'subnet_ipam': [{'subnet_cidr': '175.207.69.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-07-30 08:22:33,791 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-07-30 08:22:34,127 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-07-30 08:22:34,156 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353
2026-07-30 08:22:34,170 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d
2026-07-30 08:22:34,246 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87
2026-07-30 08:22:34,258 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87
2026-07-30 08:22:34,269 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe
2026-07-30 08:22:34,278 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe
2026-07-30 08:22:34,286 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/4492a6a6-4e10-4ef6-84b7-036f4ba0a8bc
2026-07-30 08:22:34,294 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-30 08:22:34,294 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87
2026-07-30 08:22:34,305 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe
2026-07-30 08:22:34,320 - INFO - Verified VN network id 11 for VN 3b4dd282-25d8-4b94-aeac-16f0ea0f2e87
2026-07-30 08:22:34,320 - INFO - Verifications in API Server for VN ctest-vn-13028926 passed
2026-07-30 08:22:34,320 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87
2026-07-30 08:22:34,330 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe
2026-07-30 08:22:34,338 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/295f0a5d-eeb3-473a-9e3b-b5bf11b3ccfe
2026-07-30 08:22:34,347 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/4492a6a6-4e10-4ef6-84b7-036f4ba0a8bc
2026-07-30 08:22:34,362 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37904102', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4273303077866982292', 'uuid-lslong': '12586460282568519303'}, 'enable': 'true', 'created': '2026-07-30T08:22:31', 'last-modified': '2026-07-30T08:22:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011152'}
2026-07-30 08:22:34,370 - DEBUG - Route Targets: ['target:64512:8000004']
2026-07-30 08:22:34,370 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-13028926 passed
2026-07-30 08:22:34,370 - DEBUG - ====Verifying policy data for ctest-vn-13028926 in API_Server ======
2026-07-30 08:22:34,370 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-07-30 08:22:34,377 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353
2026-07-30 08:22:34,389 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d
2026-07-30 08:22:34,492 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/3b4dd282-25d8-4b94-aeac-16f0ea0f2e87
2026-07-30 08:22:34,504 - DEBUG - ==>Verifying data for policy with id: d323a589-358a-4441-a3e1-04a42cc8b3a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539']
2026-07-30 08:22:34,505 - INFO - VN ctest-vn-13028926 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-30 08:22:34,505 - DEBUG - Verifying the vn in opserver
2026-07-30 08:22:34,505 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926 virtual network link through opserver 10.0.0.189
2026-07-30 08:22:34,505 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-07-30 08:22:34,834 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-07-30 08:22:34,887 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926?flat'}
2026-07-30 08:22:34,887 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-13028926 is found in opserver
2026-07-30 08:22:34,897 - DEBUG - Do not have enough data to verify VN in agent
2026-07-30 08:22:34,902 - DEBUG - VRF ids for VN ctest-vn-13028926: {}
2026-07-30 08:22:34,902 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-07-30 08:22:34,908 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353
2026-07-30 08:22:34,921 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d
2026-07-30 08:22:34,995 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8
2026-07-30 08:22:35,008 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8
2026-07-30 08:22:35,019 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf
2026-07-30 08:22:35,027 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf
2026-07-30 08:22:35,034 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f4ea5a53-4657-4706-bfcb-b561f76f9872
2026-07-30 08:22:35,042 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-30 08:22:35,042 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8
2026-07-30 08:22:35,051 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf
2026-07-30 08:22:35,069 - INFO - Verified VN network id 12 for VN 9c11d595-72c8-49eb-8d7f-edebad0975b8
2026-07-30 08:22:35,070 - INFO - Verifications in API Server for VN ctest-vn-27825929 passed
2026-07-30 08:22:35,070 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8
2026-07-30 08:22:35,080 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf
2026-07-30 08:22:35,087 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/0dd9ee1a-6f28-4180-954b-68162755dfdf
2026-07-30 08:22:35,095 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/f4ea5a53-4657-4706-bfcb-b561f76f9872
2026-07-30 08:22:35,108 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-37904102', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11246004582373411307', 'uuid-lslong': '10196129677866268088'}, 'enable': 'true', 'created': '2026-07-30T08:22:32', 'last-modified': '2026-07-30T08:22:33', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.520300'}
2026-07-30 08:22:35,116 - DEBUG - Route Targets: ['target:64512:8000005']
2026-07-30 08:22:35,116 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27825929 passed
2026-07-30 08:22:35,116 - DEBUG - ====Verifying policy data for ctest-vn-27825929 in API_Server ======
2026-07-30 08:22:35,116 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-07-30 08:22:35,123 - DEBUG - Requesting: http://10.0.0.189:8082/domain/803084ae-02e9-4945-8386-8ad6161ba353
2026-07-30 08:22:35,135 - DEBUG - Requesting: http://10.0.0.189:8082/project/4b17292f-39cc-4a4e-a0cb-0db4921dd60d
2026-07-30 08:22:35,213 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/9c11d595-72c8-49eb-8d7f-edebad0975b8
2026-07-30 08:22:35,223 - DEBUG - ==>Verifying data for policy with id: d323a589-358a-4441-a3e1-04a42cc8b3a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-37904102', 'ctest-policy-allow-all-72658539']
2026-07-30 08:22:35,223 - INFO - VN ctest-vn-27825929 Policy verification: verify_vn_policy_in_api_server, status: True
2026-07-30 08:22:35,223 - DEBUG - Verifying the vn in opserver
2026-07-30 08:22:35,223 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929 virtual network link through opserver 10.0.0.189
2026-07-30 08:22:35,223 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-07-30 08:22:35,235 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929?flat'}
2026-07-30 08:22:35,235 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-37904102:ctest-vn-27825929 is found in opserver
2026-07-30 08:22:35,247 - DEBUG - Do not have enough data to verify VN in agent
2026-07-30 08:22:35,252 - DEBUG - VRF ids for VN ctest-vn-27825929: {}
2026-07-30 08:22:35,317 - DEBUG - Services list from nova: [