2026-02-03 06:18:09,853 - INFO - Domain Default found not creating
2026-02-03 06:18:10,000 - INFO - Project ctest-TestBasicPolicy-29769577 not found, creating it
2026-02-03 06:18:10,417 - INFO - Created Project:ctest-TestBasicPolicy-29769577, ID : a782723a-401d-4d32-9aca-f2ae2934db10
2026-02-03 06:18:11,860 - INFO - ================================================================================
2026-02-03 06:18:11,860 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-03 06:18:11,860 - 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-03 06:18:12,117 - DEBUG - Nothing to compare xmpp stats {'10.0.0.22': {'10.20.0.17': '0'}} with
2026-02-03 06:18:12,117 - INFO - Initial checks done. Running the testcase now
2026-02-03 06:18:12,117 - INFO -
2026-02-03 06:18:12,667 - DEBUG - Response for create_network : {'network': {'id': 'd98b4ac3-5132-419c-9da7-f089a030028a', 'name': 'ctest-vn-59407694', 'tenant_id': 'a782723a401d4d329acaf2ae2934db10', 'project_id': 'a782723a401d4d329acaf2ae2934db10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-vn-59407694'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 06:18:12,858 - DEBUG - Response for create_subnet : {'subnet': {'id': '0171fdaf-505a-4230-8f9d-ea3cf8007625', 'name': '', 'tenant_id': 'a782723a401d4d329acaf2ae2934db10', 'network_id': 'd98b4ac3-5132-419c-9da7-f089a030028a', 'ip_version': 4, 'cidr': '74.79.235.0/26', 'allocation_pools': [{'start': '74.79.235.2', 'end': '74.79.235.62'}], 'gateway_ip': '74.79.235.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '74.79.235.2', 'tags': [], 'project_id': 'a782723a401d4d329acaf2ae2934db10'}}
2026-02-03 06:18:12,875 - INFO - Created VN ctest-vn-59407694
2026-02-03 06:18:12,927 - DEBUG - VN ctest-vn-59407694 UUID is d98b4ac3-5132-419c-9da7-f089a030028a
2026-02-03 06:18:13,248 - DEBUG - Response for create_network : {'network': {'id': 'f8f8b351-0c67-4f70-ae12-4a5c61a81d36', 'name': 'ctest-vn-38424329', 'tenant_id': 'a782723a401d4d329acaf2ae2934db10', 'project_id': 'a782723a401d4d329acaf2ae2934db10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-vn-38424329'], 'port_security_enabled': True, 'description': ''}}
2026-02-03 06:18:13,437 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d452c83-5b82-4d18-b6e2-2546c44327f9', 'name': '', 'tenant_id': 'a782723a401d4d329acaf2ae2934db10', 'network_id': 'f8f8b351-0c67-4f70-ae12-4a5c61a81d36', 'ip_version': 4, 'cidr': '51.193.62.192/26', 'allocation_pools': [{'start': '51.193.62.194', 'end': '51.193.62.254'}], 'gateway_ip': '51.193.62.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '51.193.62.194', 'tags': [], 'project_id': 'a782723a401d4d329acaf2ae2934db10'}}
2026-02-03 06:18:13,454 - INFO - Created VN ctest-vn-38424329
2026-02-03 06:18:13,507 - DEBUG - VN ctest-vn-38424329 UUID is f8f8b351-0c67-4f70-ae12-4a5c61a81d36
2026-02-03 06:18:13,659 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-59407694, 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-29769577:ctest-vn-38424329, 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-03 06:18:13,941 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd98b4ac3-5132-419c-9da7-f089a030028a', 'name': 'ctest-vn-59407694', 'tenant_id': 'a782723a401d4d329acaf2ae2934db10', 'project_id': 'a782723a401d4d329acaf2ae2934db10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0171fdaf-505a-4230-8f9d-ea3cf8007625'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-vn-59407694'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-policy-allow-all-40675132']], 'subnet_ipam': [{'subnet_cidr': '74.79.235.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 06:18:14,176 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'f8f8b351-0c67-4f70-ae12-4a5c61a81d36', 'name': 'ctest-vn-38424329', 'tenant_id': 'a782723a401d4d329acaf2ae2934db10', 'project_id': 'a782723a401d4d329acaf2ae2934db10', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d452c83-5b82-4d18-b6e2-2546c44327f9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-vn-38424329'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-policy-allow-all-40675132']], 'subnet_ipam': [{'subnet_cidr': '51.193.62.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-03 06:18:14,335 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-03 06:18:14,632 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-03 06:18:14,661 - DEBUG - Requesting: http://10.0.0.22:8082/domain/078c5f1d-539d-41ab-abb3-64d3f6e7731d
2026-02-03 06:18:14,671 - DEBUG - Requesting: http://10.0.0.22:8082/project/a782723a-401d-4d32-9aca-f2ae2934db10
2026-02-03 06:18:14,739 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d98b4ac3-5132-419c-9da7-f089a030028a
2026-02-03 06:18:14,749 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d98b4ac3-5132-419c-9da7-f089a030028a
2026-02-03 06:18:14,758 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a262a8f7-08f8-407d-8c79-9349c9773608
2026-02-03 06:18:14,765 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a262a8f7-08f8-407d-8c79-9349c9773608
2026-02-03 06:18:14,771 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/db9c66e1-33a4-49b1-a9b8-8bf5167cb27b
2026-02-03 06:18:14,777 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 06:18:14,777 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d98b4ac3-5132-419c-9da7-f089a030028a
2026-02-03 06:18:14,786 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a262a8f7-08f8-407d-8c79-9349c9773608
2026-02-03 06:18:14,799 - INFO - Verified VN network id 11 for VN d98b4ac3-5132-419c-9da7-f089a030028a
2026-02-03 06:18:14,799 - INFO - Verifications in API Server for VN ctest-vn-59407694 passed
2026-02-03 06:18:14,799 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d98b4ac3-5132-419c-9da7-f089a030028a
2026-02-03 06:18:14,807 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a262a8f7-08f8-407d-8c79-9349c9773608
2026-02-03 06:18:14,813 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/a262a8f7-08f8-407d-8c79-9349c9773608
2026-02-03 06:18:14,819 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/db9c66e1-33a4-49b1-a9b8-8bf5167cb27b
2026-02-03 06:18:14,829 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-59407694', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29769577', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15675705130734469532', 'uuid-lslong': '11360313058954052234'}, 'enable': 'true', 'created': '2026-02-03T06:18:12', 'last-modified': '2026-02-03T06:18:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.906651'}
2026-02-03 06:18:14,836 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-03 06:18:14,836 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59407694 passed
2026-02-03 06:18:14,836 - DEBUG - ====Verifying policy data for ctest-vn-59407694 in API_Server ======
2026-02-03 06:18:14,838 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-03 06:18:14,843 - DEBUG - Requesting: http://10.0.0.22:8082/domain/078c5f1d-539d-41ab-abb3-64d3f6e7731d
2026-02-03 06:18:14,853 - DEBUG - Requesting: http://10.0.0.22:8082/project/a782723a-401d-4d32-9aca-f2ae2934db10
2026-02-03 06:18:14,924 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/d98b4ac3-5132-419c-9da7-f089a030028a
2026-02-03 06:18:14,933 - DEBUG - ==>Verifying data for policy with id: d8a63988-8cfb-4270-ba08-8ee47a12bbf7, fqn: ['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-policy-allow-all-40675132']
2026-02-03 06:18:14,933 - INFO - VN ctest-vn-59407694 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 06:18:14,933 - DEBUG - Verifying the vn in opserver
2026-02-03 06:18:14,933 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-59407694 virtual network link through opserver 10.0.0.22
2026-02-03 06:18:14,933 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-03 06:18:15,230 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-03 06:18:15,290 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-59407694', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-59407694?flat'}
2026-02-03 06:18:15,290 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-59407694 is found in opserver
2026-02-03 06:18:15,299 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 06:18:15,303 - DEBUG - VRF ids for VN ctest-vn-59407694: {}
2026-02-03 06:18:15,303 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-03 06:18:15,307 - DEBUG - Requesting: http://10.0.0.22:8082/domain/078c5f1d-539d-41ab-abb3-64d3f6e7731d
2026-02-03 06:18:15,317 - DEBUG - Requesting: http://10.0.0.22:8082/project/a782723a-401d-4d32-9aca-f2ae2934db10
2026-02-03 06:18:15,379 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8f8b351-0c67-4f70-ae12-4a5c61a81d36
2026-02-03 06:18:15,393 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8f8b351-0c67-4f70-ae12-4a5c61a81d36
2026-02-03 06:18:15,401 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/484569c7-9428-4fbf-b1b6-bd135dd3ad4a
2026-02-03 06:18:15,407 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/484569c7-9428-4fbf-b1b6-bd135dd3ad4a
2026-02-03 06:18:15,413 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2c5f8ddb-8e04-43e7-b599-530501143aac
2026-02-03 06:18:15,419 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 06:18:15,419 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8f8b351-0c67-4f70-ae12-4a5c61a81d36
2026-02-03 06:18:15,428 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/484569c7-9428-4fbf-b1b6-bd135dd3ad4a
2026-02-03 06:18:15,439 - INFO - Verified VN network id 12 for VN f8f8b351-0c67-4f70-ae12-4a5c61a81d36
2026-02-03 06:18:15,440 - INFO - Verifications in API Server for VN ctest-vn-38424329 passed
2026-02-03 06:18:15,440 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8f8b351-0c67-4f70-ae12-4a5c61a81d36
2026-02-03 06:18:15,448 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/484569c7-9428-4fbf-b1b6-bd135dd3ad4a
2026-02-03 06:18:15,453 - DEBUG - Requesting: http://10.0.0.22:8082/routing-instance/484569c7-9428-4fbf-b1b6-bd135dd3ad4a
2026-02-03 06:18:15,459 - DEBUG - Requesting: http://10.0.0.22:8082/route-target/2c5f8ddb-8e04-43e7-b599-530501143aac
2026-02-03 06:18:15,470 - DEBUG - Control-node 10.0.0.22 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-38424329', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-29769577', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17940286276312190832', 'uuid-lslong': '12543169672816106806'}, 'enable': 'true', 'created': '2026-02-03T06:18:13', 'last-modified': '2026-02-03T06:18:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322413'}
2026-02-03 06:18:15,476 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-03 06:18:15,476 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38424329 passed
2026-02-03 06:18:15,476 - DEBUG - ====Verifying policy data for ctest-vn-38424329 in API_Server ======
2026-02-03 06:18:15,476 - DEBUG - Requesting: http://10.0.0.22:8082/domains
2026-02-03 06:18:15,481 - DEBUG - Requesting: http://10.0.0.22:8082/domain/078c5f1d-539d-41ab-abb3-64d3f6e7731d
2026-02-03 06:18:15,489 - DEBUG - Requesting: http://10.0.0.22:8082/project/a782723a-401d-4d32-9aca-f2ae2934db10
2026-02-03 06:18:15,556 - DEBUG - Requesting: http://10.0.0.22:8082/virtual-network/f8f8b351-0c67-4f70-ae12-4a5c61a81d36
2026-02-03 06:18:15,564 - DEBUG - ==>Verifying data for policy with id: d8a63988-8cfb-4270-ba08-8ee47a12bbf7, fqn: ['default-domain', 'ctest-TestBasicPolicy-29769577', 'ctest-policy-allow-all-40675132']
2026-02-03 06:18:15,564 - INFO - VN ctest-vn-38424329 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-03 06:18:15,564 - DEBUG - Verifying the vn in opserver
2026-02-03 06:18:15,564 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-38424329 virtual network link through opserver 10.0.0.22
2026-02-03 06:18:15,564 - DEBUG - Requesting: http://10.0.0.22:8081/analytics/uves/virtual-networks
2026-02-03 06:18:15,573 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-38424329', 'href': 'http://10.0.0.22:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-38424329?flat'}
2026-02-03 06:18:15,573 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-29769577:ctest-vn-38424329 is found in opserver
2026-02-03 06:18:15,581 - DEBUG - Do not have enough data to verify VN in agent
2026-02-03 06:18:15,584 - DEBUG - VRF ids for VN ctest-vn-38424329: {}
2026-02-03 06:18:15,645 - DEBUG - Services list from nova: [