2026-03-27 12:10:04,546 - INFO - Domain Default found not creating
2026-03-27 12:10:04,726 - INFO - Project ctest-TestBasicPolicy-47834178 not found, creating it
2026-03-27 12:10:05,189 - INFO - Created Project:ctest-TestBasicPolicy-47834178, ID : 1aaeaed9-e53a-4baf-98ba-60beef7828be
2026-03-27 12:10:06,714 - INFO - ================================================================================
2026-03-27 12:10:06,714 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-03-27 12:10:06,714 - 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-03-27 12:10:06,967 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.14': '0'}} with
2026-03-27 12:10:06,967 - INFO - Initial checks done. Running the testcase now
2026-03-27 12:10:06,967 - INFO -
2026-03-27 12:10:07,538 - DEBUG - Response for create_network : {'network': {'id': '0584dcba-5a1f-48d1-a134-424ad725d93f', 'name': 'ctest-vn-06127553', 'tenant_id': '1aaeaed9e53a4baf98ba60beef7828be', 'project_id': '1aaeaed9e53a4baf98ba60beef7828be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-vn-06127553'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 12:10:07,733 - DEBUG - Response for create_subnet : {'subnet': {'id': '948f2be0-3c85-4386-a825-70cb98f658e6', 'name': '', 'tenant_id': '1aaeaed9e53a4baf98ba60beef7828be', 'network_id': '0584dcba-5a1f-48d1-a134-424ad725d93f', 'ip_version': 4, 'cidr': '194.73.208.64/26', 'allocation_pools': [{'start': '194.73.208.66', 'end': '194.73.208.126'}], 'gateway_ip': '194.73.208.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '194.73.208.66', 'tags': [], 'project_id': '1aaeaed9e53a4baf98ba60beef7828be'}}
2026-03-27 12:10:07,751 - INFO - Created VN ctest-vn-06127553
2026-03-27 12:10:07,806 - DEBUG - VN ctest-vn-06127553 UUID is 0584dcba-5a1f-48d1-a134-424ad725d93f
2026-03-27 12:10:08,113 - DEBUG - Response for create_network : {'network': {'id': 'eb865b49-2d88-4fcc-b932-2f32912b9c75', 'name': 'ctest-vn-34338115', 'tenant_id': '1aaeaed9e53a4baf98ba60beef7828be', 'project_id': '1aaeaed9e53a4baf98ba60beef7828be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-vn-34338115'], 'port_security_enabled': True, 'description': ''}}
2026-03-27 12:10:08,357 - DEBUG - Response for create_subnet : {'subnet': {'id': '452ec05d-16a8-45a8-97fd-4cdbeb6d10d5', 'name': '', 'tenant_id': '1aaeaed9e53a4baf98ba60beef7828be', 'network_id': 'eb865b49-2d88-4fcc-b932-2f32912b9c75', 'ip_version': 4, 'cidr': '171.208.137.192/26', 'allocation_pools': [{'start': '171.208.137.194', 'end': '171.208.137.254'}], 'gateway_ip': '171.208.137.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '171.208.137.194', 'tags': [], 'project_id': '1aaeaed9e53a4baf98ba60beef7828be'}}
2026-03-27 12:10:08,377 - INFO - Created VN ctest-vn-34338115
2026-03-27 12:10:08,430 - DEBUG - VN ctest-vn-34338115 UUID is eb865b49-2d88-4fcc-b932-2f32912b9c75
2026-03-27 12:10:08,551 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-06127553, 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-47834178:ctest-vn-34338115, 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-03-27 12:10:08,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0584dcba-5a1f-48d1-a134-424ad725d93f', 'name': 'ctest-vn-06127553', 'tenant_id': '1aaeaed9e53a4baf98ba60beef7828be', 'project_id': '1aaeaed9e53a4baf98ba60beef7828be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['948f2be0-3c85-4386-a825-70cb98f658e6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-vn-06127553'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-policy-allow-all-52862164']], 'subnet_ipam': [{'subnet_cidr': '194.73.208.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 12:10:09,088 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb865b49-2d88-4fcc-b932-2f32912b9c75', 'name': 'ctest-vn-34338115', 'tenant_id': '1aaeaed9e53a4baf98ba60beef7828be', 'project_id': '1aaeaed9e53a4baf98ba60beef7828be', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['452ec05d-16a8-45a8-97fd-4cdbeb6d10d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-vn-34338115'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-policy-allow-all-52862164']], 'subnet_ipam': [{'subnet_cidr': '171.208.137.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-03-27 12:10:09,258 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 12:10:09,557 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 12:10:09,592 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a2830ea-7c03-444f-9a6f-6351c73dbdec
2026-03-27 12:10:09,606 - DEBUG - Requesting: http://10.0.0.249:8082/project/1aaeaed9-e53a-4baf-98ba-60beef7828be
2026-03-27 12:10:09,689 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0584dcba-5a1f-48d1-a134-424ad725d93f
2026-03-27 12:10:09,702 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0584dcba-5a1f-48d1-a134-424ad725d93f
2026-03-27 12:10:09,712 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/890520d0-bfb5-4c1c-96a1-91b12f87dcc6
2026-03-27 12:10:09,720 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/890520d0-bfb5-4c1c-96a1-91b12f87dcc6
2026-03-27 12:10:09,727 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/956ae787-c2c6-4f1a-8159-d90ca5e58a7c
2026-03-27 12:10:09,734 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 12:10:09,734 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0584dcba-5a1f-48d1-a134-424ad725d93f
2026-03-27 12:10:09,743 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/890520d0-bfb5-4c1c-96a1-91b12f87dcc6
2026-03-27 12:10:09,758 - INFO - Verified VN network id 11 for VN 0584dcba-5a1f-48d1-a134-424ad725d93f
2026-03-27 12:10:09,758 - INFO - Verifications in API Server for VN ctest-vn-06127553 passed
2026-03-27 12:10:09,758 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0584dcba-5a1f-48d1-a134-424ad725d93f
2026-03-27 12:10:09,768 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/890520d0-bfb5-4c1c-96a1-91b12f87dcc6
2026-03-27 12:10:09,775 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/890520d0-bfb5-4c1c-96a1-91b12f87dcc6
2026-03-27 12:10:09,784 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/956ae787-c2c6-4f1a-8159-d90ca5e58a7c
2026-03-27 12:10:09,797 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-06127553', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47834178', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '397685360049473745', 'uuid-lslong': '11615982228099946815'}, 'enable': 'true', 'created': '2026-03-27T12:10:07', 'last-modified': '2026-03-27T12:10:08', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.971022'}
2026-03-27 12:10:09,803 - DEBUG - Route Targets: ['target:64512:8000004']
2026-03-27 12:10:09,804 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06127553 passed
2026-03-27 12:10:09,804 - DEBUG - ====Verifying policy data for ctest-vn-06127553 in API_Server ======
2026-03-27 12:10:09,804 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 12:10:09,809 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a2830ea-7c03-444f-9a6f-6351c73dbdec
2026-03-27 12:10:09,822 - DEBUG - Requesting: http://10.0.0.249:8082/project/1aaeaed9-e53a-4baf-98ba-60beef7828be
2026-03-27 12:10:09,894 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/0584dcba-5a1f-48d1-a134-424ad725d93f
2026-03-27 12:10:09,903 - DEBUG - ==>Verifying data for policy with id: 4e189c18-35da-4276-ad9a-37eff5ff3b0a, fqn: ['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-policy-allow-all-52862164']
2026-03-27 12:10:09,903 - INFO - VN ctest-vn-06127553 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 12:10:09,903 - DEBUG - Verifying the vn in opserver
2026-03-27 12:10:09,903 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-06127553 virtual network link through opserver 10.0.0.249
2026-03-27 12:10:09,903 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-27 12:10:10,195 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-27 12:10:10,259 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-06127553', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-06127553?flat'}
2026-03-27 12:10:10,259 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-06127553 is found in opserver
2026-03-27 12:10:10,270 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 12:10:10,275 - DEBUG - VRF ids for VN ctest-vn-06127553: {}
2026-03-27 12:10:10,275 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 12:10:10,281 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a2830ea-7c03-444f-9a6f-6351c73dbdec
2026-03-27 12:10:10,293 - DEBUG - Requesting: http://10.0.0.249:8082/project/1aaeaed9-e53a-4baf-98ba-60beef7828be
2026-03-27 12:10:10,367 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb865b49-2d88-4fcc-b932-2f32912b9c75
2026-03-27 12:10:10,378 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb865b49-2d88-4fcc-b932-2f32912b9c75
2026-03-27 12:10:10,389 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cf177725-ee53-4912-a150-76ebc73fee76
2026-03-27 12:10:10,398 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cf177725-ee53-4912-a150-76ebc73fee76
2026-03-27 12:10:10,404 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/636ca0e2-4ab3-4057-a2ed-754aa1becc03
2026-03-27 12:10:10,411 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 12:10:10,413 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb865b49-2d88-4fcc-b932-2f32912b9c75
2026-03-27 12:10:10,425 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cf177725-ee53-4912-a150-76ebc73fee76
2026-03-27 12:10:10,444 - INFO - Verified VN network id 12 for VN eb865b49-2d88-4fcc-b932-2f32912b9c75
2026-03-27 12:10:10,444 - INFO - Verifications in API Server for VN ctest-vn-34338115 passed
2026-03-27 12:10:10,444 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb865b49-2d88-4fcc-b932-2f32912b9c75
2026-03-27 12:10:10,454 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cf177725-ee53-4912-a150-76ebc73fee76
2026-03-27 12:10:10,461 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/cf177725-ee53-4912-a150-76ebc73fee76
2026-03-27 12:10:10,469 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/636ca0e2-4ab3-4057-a2ed-754aa1becc03
2026-03-27 12:10:10,481 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-34338115', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-47834178', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16971352615646941132', 'uuid-lslong': '13344780540082625653'}, 'enable': 'true', 'created': '2026-03-27T12:10:08', 'last-modified': '2026-03-27T12:10:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.413820'}
2026-03-27 12:10:10,488 - DEBUG - Route Targets: ['target:64512:8000005']
2026-03-27 12:10:10,488 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34338115 passed
2026-03-27 12:10:10,488 - DEBUG - ====Verifying policy data for ctest-vn-34338115 in API_Server ======
2026-03-27 12:10:10,488 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-03-27 12:10:10,496 - DEBUG - Requesting: http://10.0.0.249:8082/domain/1a2830ea-7c03-444f-9a6f-6351c73dbdec
2026-03-27 12:10:10,507 - DEBUG - Requesting: http://10.0.0.249:8082/project/1aaeaed9-e53a-4baf-98ba-60beef7828be
2026-03-27 12:10:10,591 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/eb865b49-2d88-4fcc-b932-2f32912b9c75
2026-03-27 12:10:10,607 - DEBUG - ==>Verifying data for policy with id: 4e189c18-35da-4276-ad9a-37eff5ff3b0a, fqn: ['default-domain', 'ctest-TestBasicPolicy-47834178', 'ctest-policy-allow-all-52862164']
2026-03-27 12:10:10,607 - INFO - VN ctest-vn-34338115 Policy verification: verify_vn_policy_in_api_server, status: True
2026-03-27 12:10:10,607 - DEBUG - Verifying the vn in opserver
2026-03-27 12:10:10,607 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-34338115 virtual network link through opserver 10.0.0.249
2026-03-27 12:10:10,608 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-03-27 12:10:10,624 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-34338115', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-34338115?flat'}
2026-03-27 12:10:10,624 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-47834178:ctest-vn-34338115 is found in opserver
2026-03-27 12:10:10,638 - DEBUG - Do not have enough data to verify VN in agent
2026-03-27 12:10:10,646 - DEBUG - VRF ids for VN ctest-vn-34338115: {}
2026-03-27 12:10:10,727 - DEBUG - Services list from nova: [