2026-09-16 15:36:24,336 - INFO - Domain Default found not creating
2026-09-16 15:36:24,507 - INFO - Project ctest-TestBasicPolicy-27049043 not found, creating it
2026-09-16 15:36:24,998 - INFO - Created Project:ctest-TestBasicPolicy-27049043, ID : 15b2b630-7ce2-4850-b6e1-a81f4b9857d3
2026-09-16 15:36:27,360 - INFO - ================================================================================
2026-09-16 15:36:27,360 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 15:36:27,360 - 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-09-16 15:36:27,625 - DEBUG - Nothing to compare xmpp stats {'10.0.0.189': {'10.20.0.17': '0'}} with
2026-09-16 15:36:27,625 - INFO - Initial checks done. Running the testcase now
2026-09-16 15:36:27,625 - INFO -
2026-09-16 15:36:28,222 - DEBUG - Response for create_network : {'network': {'id': '662a2013-e9db-421f-a566-22a608b8274e', 'name': 'ctest-vn-03400409', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-03400409'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 15:36:28,460 - DEBUG - Response for create_subnet : {'subnet': {'id': '154a0fe5-82dd-4091-bf37-02614e3ebf5c', 'name': '', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'network_id': '662a2013-e9db-421f-a566-22a608b8274e', 'ip_version': 4, 'cidr': '84.192.205.128/26', 'allocation_pools': [{'start': '84.192.205.130', 'end': '84.192.205.190'}], 'gateway_ip': '84.192.205.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '84.192.205.130', 'tags': [], 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3'}}
2026-09-16 15:36:28,478 - INFO - Created VN ctest-vn-03400409
2026-09-16 15:36:28,532 - DEBUG - VN ctest-vn-03400409 UUID is 662a2013-e9db-421f-a566-22a608b8274e
2026-09-16 15:36:28,848 - DEBUG - Response for create_network : {'network': {'id': 'a45e399c-c3d4-4571-8e78-52b5234a8ac2', 'name': 'ctest-vn-43512666', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-43512666'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 15:36:29,076 - DEBUG - Response for create_subnet : {'subnet': {'id': '287f579c-c67e-4fb0-ba72-f7748a5b9cd8', 'name': '', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'network_id': 'a45e399c-c3d4-4571-8e78-52b5234a8ac2', 'ip_version': 4, 'cidr': '131.254.17.128/26', 'allocation_pools': [{'start': '131.254.17.130', 'end': '131.254.17.190'}], 'gateway_ip': '131.254.17.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '131.254.17.130', 'tags': [], 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3'}}
2026-09-16 15:36:29,094 - INFO - Created VN ctest-vn-43512666
2026-09-16 15:36:29,148 - DEBUG - VN ctest-vn-43512666 UUID is a45e399c-c3d4-4571-8e78-52b5234a8ac2
2026-09-16 15:36:29,304 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409, 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-27049043:ctest-vn-43512666, 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-09-16 15:36:29,647 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '662a2013-e9db-421f-a566-22a608b8274e', 'name': 'ctest-vn-03400409', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['154a0fe5-82dd-4091-bf37-02614e3ebf5c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-03400409'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182']], 'subnet_ipam': [{'subnet_cidr': '84.192.205.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 15:36:29,879 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a45e399c-c3d4-4571-8e78-52b5234a8ac2', 'name': 'ctest-vn-43512666', 'tenant_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'project_id': '15b2b6307ce24850b6e1a81f4b9857d3', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['287f579c-c67e-4fb0-ba72-f7748a5b9cd8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-vn-43512666'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182']], 'subnet_ipam': [{'subnet_cidr': '131.254.17.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 15:36:30,048 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 15:36:30,377 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 15:36:30,407 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58
2026-09-16 15:36:30,421 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3
2026-09-16 15:36:30,495 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e
2026-09-16 15:36:30,508 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e
2026-09-16 15:36:30,518 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1
2026-09-16 15:36:30,527 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1
2026-09-16 15:36:30,535 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/45b42ef9-39db-4390-913a-bb31144ff70b
2026-09-16 15:36:30,543 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 15:36:30,543 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e
2026-09-16 15:36:30,554 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1
2026-09-16 15:36:30,570 - INFO - Verified VN network id 12 for VN 662a2013-e9db-421f-a566-22a608b8274e
2026-09-16 15:36:30,570 - INFO - Verifications in API Server for VN ctest-vn-03400409 passed
2026-09-16 15:36:30,570 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e
2026-09-16 15:36:30,579 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1
2026-09-16 15:36:30,587 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/7b0a49ec-6b91-4afa-b43f-27812f4600d1
2026-09-16 15:36:30,596 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/45b42ef9-39db-4390-913a-bb31144ff70b
2026-09-16 15:36:30,609 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27049043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7361731810790425119', 'uuid-lslong': '11918251560388798286'}, 'enable': 'true', 'created': '2026-09-16T15:36:28', 'last-modified': '2026-09-16T15:36:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.003062'}
2026-09-16 15:36:30,617 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 15:36:30,617 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-03400409 passed
2026-09-16 15:36:30,617 - DEBUG - ====Verifying policy data for ctest-vn-03400409 in API_Server ======
2026-09-16 15:36:30,617 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 15:36:30,623 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58
2026-09-16 15:36:30,636 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3
2026-09-16 15:36:30,713 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/662a2013-e9db-421f-a566-22a608b8274e
2026-09-16 15:36:30,727 - DEBUG - ==>Verifying data for policy with id: b5e48a4c-4c65-4746-ba0c-c4aba50df954, fqn: ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182']
2026-09-16 15:36:30,727 - INFO - VN ctest-vn-03400409 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 15:36:30,727 - DEBUG - Verifying the vn in opserver
2026-09-16 15:36:30,727 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409 virtual network link through opserver 10.0.0.189
2026-09-16 15:36:30,727 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-16 15:36:31,058 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-16 15:36:31,111 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409?flat'}
2026-09-16 15:36:31,111 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-03400409 is found in opserver
2026-09-16 15:36:31,121 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 15:36:31,126 - DEBUG - VRF ids for VN ctest-vn-03400409: {}
2026-09-16 15:36:31,126 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 15:36:31,132 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58
2026-09-16 15:36:31,146 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3
2026-09-16 15:36:31,236 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2
2026-09-16 15:36:31,251 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2
2026-09-16 15:36:31,261 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab
2026-09-16 15:36:31,268 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab
2026-09-16 15:36:31,278 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3d7a7fc4-8130-4373-a3de-23056ecca7c7
2026-09-16 15:36:31,286 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 15:36:31,286 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2
2026-09-16 15:36:31,299 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab
2026-09-16 15:36:31,317 - INFO - Verified VN network id 13 for VN a45e399c-c3d4-4571-8e78-52b5234a8ac2
2026-09-16 15:36:31,317 - INFO - Verifications in API Server for VN ctest-vn-43512666 passed
2026-09-16 15:36:31,317 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2
2026-09-16 15:36:31,330 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab
2026-09-16 15:36:31,340 - DEBUG - Requesting: http://10.0.0.189:8082/routing-instance/1a5989bc-bd30-4f54-8942-b69d4599c6ab
2026-09-16 15:36:31,349 - DEBUG - Requesting: http://10.0.0.189:8082/route-target/3d7a7fc4-8130-4373-a3de-23056ecca7c7
2026-09-16 15:36:31,362 - DEBUG - Control-node 10.0.0.189 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-27049043', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11843967415494133105', 'uuid-lslong': '10266046288525691586'}, 'enable': 'true', 'created': '2026-09-16T15:36:28', 'last-modified': '2026-09-16T15:36:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.508300'}
2026-09-16 15:36:31,369 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 15:36:31,369 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-43512666 passed
2026-09-16 15:36:31,369 - DEBUG - ====Verifying policy data for ctest-vn-43512666 in API_Server ======
2026-09-16 15:36:31,369 - DEBUG - Requesting: http://10.0.0.189:8082/domains
2026-09-16 15:36:31,375 - DEBUG - Requesting: http://10.0.0.189:8082/domain/412d5f52-2c16-4d8c-8608-f2d15b01fc58
2026-09-16 15:36:31,388 - DEBUG - Requesting: http://10.0.0.189:8082/project/15b2b630-7ce2-4850-b6e1-a81f4b9857d3
2026-09-16 15:36:31,463 - DEBUG - Requesting: http://10.0.0.189:8082/virtual-network/a45e399c-c3d4-4571-8e78-52b5234a8ac2
2026-09-16 15:36:31,474 - DEBUG - ==>Verifying data for policy with id: b5e48a4c-4c65-4746-ba0c-c4aba50df954, fqn: ['default-domain', 'ctest-TestBasicPolicy-27049043', 'ctest-policy-allow-all-22583182']
2026-09-16 15:36:31,474 - INFO - VN ctest-vn-43512666 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 15:36:31,474 - DEBUG - Verifying the vn in opserver
2026-09-16 15:36:31,474 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666 virtual network link through opserver 10.0.0.189
2026-09-16 15:36:31,474 - DEBUG - Requesting: http://10.0.0.189:8081/analytics/uves/virtual-networks
2026-09-16 15:36:31,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666', 'href': 'http://10.0.0.189:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666?flat'}
2026-09-16 15:36:31,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-27049043:ctest-vn-43512666 is found in opserver
2026-09-16 15:36:31,496 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 15:36:31,502 - DEBUG - VRF ids for VN ctest-vn-43512666: {}
2026-09-16 15:36:31,563 - DEBUG - Services list from nova: [