2026-01-29 01:02:10,330 - INFO - Domain Default found not creating
2026-01-29 01:02:10,497 - INFO - Project ctest-TestBasicPolicy-46368408 not found, creating it
2026-01-29 01:02:10,984 - INFO - Created Project:ctest-TestBasicPolicy-46368408, ID : 322aab69-4e5d-4664-8830-6781f4abef8a
2026-01-29 01:02:12,570 - INFO - ================================================================================
2026-01-29 01:02:12,570 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-01-29 01:02:12,570 - 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-01-29 01:02:12,825 - DEBUG - Nothing to compare xmpp stats {'10.0.0.50': {'10.20.0.17': '0'}} with
2026-01-29 01:02:12,825 - INFO - Initial checks done. Running the testcase now
2026-01-29 01:02:12,825 - INFO -
2026-01-29 01:02:13,424 - DEBUG - Response for create_network : {'network': {'id': '7d280152-9103-403a-9884-b718d0698e8e', 'name': 'ctest-vn-03527262', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-03527262'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 01:02:13,591 - DEBUG - Response for create_subnet : {'subnet': {'id': '9c6759af-6340-4fdc-8811-ff7d656fbf18', 'name': '', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'network_id': '7d280152-9103-403a-9884-b718d0698e8e', 'ip_version': 4, 'cidr': '107.16.111.192/26', 'allocation_pools': [{'start': '107.16.111.194', 'end': '107.16.111.254'}], 'gateway_ip': '107.16.111.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.16.111.194', 'tags': [], 'project_id': '322aab694e5d466488306781f4abef8a'}}
2026-01-29 01:02:13,616 - INFO - Created VN ctest-vn-03527262
2026-01-29 01:02:13,671 - DEBUG - VN ctest-vn-03527262 UUID is 7d280152-9103-403a-9884-b718d0698e8e
2026-01-29 01:02:13,977 - DEBUG - Response for create_network : {'network': {'id': '53e6264d-3134-483b-8da0-0440ee25b2e8', 'name': 'ctest-vn-70152436', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-70152436'], 'port_security_enabled': True, 'description': ''}}
2026-01-29 01:02:14,195 - DEBUG - Response for create_subnet : {'subnet': {'id': '7a62140f-a9b4-4a72-9ac8-d6376a7eb613', 'name': '', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'network_id': '53e6264d-3134-483b-8da0-0440ee25b2e8', 'ip_version': 4, 'cidr': '4.231.249.64/26', 'allocation_pools': [{'start': '4.231.249.66', 'end': '4.231.249.126'}], 'gateway_ip': '4.231.249.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '4.231.249.66', 'tags': [], 'project_id': '322aab694e5d466488306781f4abef8a'}}
2026-01-29 01:02:14,213 - INFO - Created VN ctest-vn-70152436
2026-01-29 01:02:14,267 - DEBUG - VN ctest-vn-70152436 UUID is 53e6264d-3134-483b-8da0-0440ee25b2e8
2026-01-29 01:02:14,388 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262, 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-46368408:ctest-vn-70152436, 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-01-29 01:02:14,683 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7d280152-9103-403a-9884-b718d0698e8e', 'name': 'ctest-vn-03527262', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9c6759af-6340-4fdc-8811-ff7d656fbf18'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-03527262'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776']], 'subnet_ipam': [{'subnet_cidr': '107.16.111.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 01:02:14,902 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '53e6264d-3134-483b-8da0-0440ee25b2e8', 'name': 'ctest-vn-70152436', 'tenant_id': '322aab694e5d466488306781f4abef8a', 'project_id': '322aab694e5d466488306781f4abef8a', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['7a62140f-a9b4-4a72-9ac8-d6376a7eb613'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-vn-70152436'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776']], 'subnet_ipam': [{'subnet_cidr': '4.231.249.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-01-29 01:02:15,050 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 01:02:15,403 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 01:02:15,437 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57
2026-01-29 01:02:15,452 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a
2026-01-29 01:02:15,527 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e
2026-01-29 01:02:15,539 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e
2026-01-29 01:02:15,550 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652
2026-01-29 01:02:15,557 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652
2026-01-29 01:02:15,564 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/63c703d5-4810-4f93-b9bc-6a41fae7db30
2026-01-29 01:02:15,571 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 01:02:15,571 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e
2026-01-29 01:02:15,580 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652
2026-01-29 01:02:15,595 - INFO - Verified VN network id 11 for VN 7d280152-9103-403a-9884-b718d0698e8e
2026-01-29 01:02:15,595 - INFO - Verifications in API Server for VN ctest-vn-03527262 passed
2026-01-29 01:02:15,595 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e
2026-01-29 01:02:15,605 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652
2026-01-29 01:02:15,612 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/0b13e34f-20b6-4cb7-9bad-adf875f9b652
2026-01-29 01:02:15,619 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/63c703d5-4810-4f93-b9bc-6a41fae7db30
2026-01-29 01:02:15,633 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46368408', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9018459707941273658', 'uuid-lslong': '10990110307894529678'}, 'enable': 'true', 'created': '2026-01-29T01:02:13', 'last-modified': '2026-01-29T01:02:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.976812'}
2026-01-29 01:02:15,639 - DEBUG - Route Targets: ['target:64512:8000004']
2026-01-29 01:02:15,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03527262 passed
2026-01-29 01:02:15,639 - DEBUG - ====Verifying policy data for ctest-vn-03527262 in API_Server ======
2026-01-29 01:02:15,639 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 01:02:15,645 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57
2026-01-29 01:02:15,658 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a
2026-01-29 01:02:15,736 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/7d280152-9103-403a-9884-b718d0698e8e
2026-01-29 01:02:15,745 - DEBUG - ==>Verifying data for policy with id: ffe91f47-7798-4f20-9941-8ca2c947310e, fqn: ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776']
2026-01-29 01:02:15,745 - INFO - VN ctest-vn-03527262 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 01:02:15,745 - DEBUG - Verifying the vn in opserver
2026-01-29 01:02:15,745 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262 virtual network link through opserver 10.0.0.50
2026-01-29 01:02:15,745 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-29 01:02:16,087 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-29 01:02:16,154 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262?flat'}
2026-01-29 01:02:16,154 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-03527262 is found in opserver
2026-01-29 01:02:16,165 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 01:02:16,169 - DEBUG - VRF ids for VN ctest-vn-03527262: {}
2026-01-29 01:02:16,169 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 01:02:16,176 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57
2026-01-29 01:02:16,187 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a
2026-01-29 01:02:16,259 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8
2026-01-29 01:02:16,270 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8
2026-01-29 01:02:16,279 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1
2026-01-29 01:02:16,286 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1
2026-01-29 01:02:16,293 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a718b3c9-7529-4ddf-a647-cb5b79d48d40
2026-01-29 01:02:16,301 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 01:02:16,301 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8
2026-01-29 01:02:16,316 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1
2026-01-29 01:02:16,333 - INFO - Verified VN network id 12 for VN 53e6264d-3134-483b-8da0-0440ee25b2e8
2026-01-29 01:02:16,334 - INFO - Verifications in API Server for VN ctest-vn-70152436 passed
2026-01-29 01:02:16,334 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8
2026-01-29 01:02:16,347 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1
2026-01-29 01:02:16,356 - DEBUG - Requesting: http://10.0.0.50:8082/routing-instance/62a5cf0b-b657-493e-8334-bf12030500a1
2026-01-29 01:02:16,366 - DEBUG - Requesting: http://10.0.0.50:8082/route-target/a718b3c9-7529-4ddf-a647-cb5b79d48d40
2026-01-29 01:02:16,382 - DEBUG - Control-node 10.0.0.50 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-46368408', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6045561662771316795', 'uuid-lslong': '10205161432541410024'}, 'enable': 'true', 'created': '2026-01-29T01:02:13', 'last-modified': '2026-01-29T01:02:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.501860'}
2026-01-29 01:02:16,389 - DEBUG - Route Targets: ['target:64512:8000005']
2026-01-29 01:02:16,389 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-70152436 passed
2026-01-29 01:02:16,389 - DEBUG - ====Verifying policy data for ctest-vn-70152436 in API_Server ======
2026-01-29 01:02:16,389 - DEBUG - Requesting: http://10.0.0.50:8082/domains
2026-01-29 01:02:16,396 - DEBUG - Requesting: http://10.0.0.50:8082/domain/bee51af8-9885-4bc1-ae81-663ad207ab57
2026-01-29 01:02:16,409 - DEBUG - Requesting: http://10.0.0.50:8082/project/322aab69-4e5d-4664-8830-6781f4abef8a
2026-01-29 01:02:16,485 - DEBUG - Requesting: http://10.0.0.50:8082/virtual-network/53e6264d-3134-483b-8da0-0440ee25b2e8
2026-01-29 01:02:16,494 - DEBUG - ==>Verifying data for policy with id: ffe91f47-7798-4f20-9941-8ca2c947310e, fqn: ['default-domain', 'ctest-TestBasicPolicy-46368408', 'ctest-policy-allow-all-68196776']
2026-01-29 01:02:16,495 - INFO - VN ctest-vn-70152436 Policy verification: verify_vn_policy_in_api_server, status: True
2026-01-29 01:02:16,495 - DEBUG - Verifying the vn in opserver
2026-01-29 01:02:16,495 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436 virtual network link through opserver 10.0.0.50
2026-01-29 01:02:16,495 - DEBUG - Requesting: http://10.0.0.50:8081/analytics/uves/virtual-networks
2026-01-29 01:02:16,504 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436', 'href': 'http://10.0.0.50:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436?flat'}
2026-01-29 01:02:16,504 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-46368408:ctest-vn-70152436 is found in opserver
2026-01-29 01:02:16,514 - DEBUG - Do not have enough data to verify VN in agent
2026-01-29 01:02:16,520 - DEBUG - VRF ids for VN ctest-vn-70152436: {}
2026-01-29 01:02:16,584 - DEBUG - Services list from nova: [