2026-08-20 07:04:20,437 - INFO - Domain Default found not creating
2026-08-20 07:04:20,637 - INFO - Project ctest-TestBasicPolicy-41670429 not found, creating it
2026-08-20 07:04:21,178 - INFO - Created Project:ctest-TestBasicPolicy-41670429, ID : 2aa50576-7810-4abf-9f2b-00b02d5b07bc
2026-08-20 07:04:23,053 - INFO - ================================================================================
2026-08-20 07:04:23,054 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-20 07:04:23,054 - 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-08-20 07:04:23,337 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.25': '0'}} with
2026-08-20 07:04:23,337 - INFO - Initial checks done. Running the testcase now
2026-08-20 07:04:23,337 - INFO -
2026-08-20 07:04:24,051 - DEBUG - Response for create_network : {'network': {'id': 'd8db3e2b-4811-4609-aed2-68705638a623', 'name': 'ctest-vn-23119594', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-23119594'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 07:04:24,258 - DEBUG - Response for create_subnet : {'subnet': {'id': '58327327-4a8c-45b2-b4ed-bd8380de4d38', 'name': '', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'network_id': 'd8db3e2b-4811-4609-aed2-68705638a623', 'ip_version': 4, 'cidr': '113.10.182.192/26', 'allocation_pools': [{'start': '113.10.182.194', 'end': '113.10.182.254'}], 'gateway_ip': '113.10.182.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '113.10.182.194', 'tags': [], 'project_id': '2aa5057678104abf9f2b00b02d5b07bc'}}
2026-08-20 07:04:24,278 - INFO - Created VN ctest-vn-23119594
2026-08-20 07:04:24,331 - DEBUG - VN ctest-vn-23119594 UUID is d8db3e2b-4811-4609-aed2-68705638a623
2026-08-20 07:04:24,680 - DEBUG - Response for create_network : {'network': {'id': 'eeca7338-91a8-4d46-b15b-04012850f434', 'name': 'ctest-vn-26833205', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-26833205'], 'port_security_enabled': True, 'description': ''}}
2026-08-20 07:04:24,892 - DEBUG - Response for create_subnet : {'subnet': {'id': '8277b393-f2ea-49a2-badd-048b0b7d07c2', 'name': '', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'network_id': 'eeca7338-91a8-4d46-b15b-04012850f434', 'ip_version': 4, 'cidr': '91.207.196.64/26', 'allocation_pools': [{'start': '91.207.196.66', 'end': '91.207.196.126'}], 'gateway_ip': '91.207.196.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.207.196.66', 'tags': [], 'project_id': '2aa5057678104abf9f2b00b02d5b07bc'}}
2026-08-20 07:04:24,912 - INFO - Created VN ctest-vn-26833205
2026-08-20 07:04:24,967 - DEBUG - VN ctest-vn-26833205 UUID is eeca7338-91a8-4d46-b15b-04012850f434
2026-08-20 07:04:25,085 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594, 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-41670429:ctest-vn-26833205, 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-08-20 07:04:25,462 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd8db3e2b-4811-4609-aed2-68705638a623', 'name': 'ctest-vn-23119594', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['58327327-4a8c-45b2-b4ed-bd8380de4d38'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-23119594'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453']], 'subnet_ipam': [{'subnet_cidr': '113.10.182.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-20 07:04:25,741 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eeca7338-91a8-4d46-b15b-04012850f434', 'name': 'ctest-vn-26833205', 'tenant_id': '2aa5057678104abf9f2b00b02d5b07bc', 'project_id': '2aa5057678104abf9f2b00b02d5b07bc', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8277b393-f2ea-49a2-badd-048b0b7d07c2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-vn-26833205'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453']], 'subnet_ipam': [{'subnet_cidr': '91.207.196.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-20 07:04:25,919 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-20 07:04:26,316 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-20 07:04:26,351 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b
2026-08-20 07:04:26,367 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc
2026-08-20 07:04:26,450 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623
2026-08-20 07:04:26,466 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623
2026-08-20 07:04:26,478 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c
2026-08-20 07:04:26,490 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c
2026-08-20 07:04:26,499 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/131810e2-dd61-4931-9675-ff870d2c3017
2026-08-20 07:04:26,508 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-20 07:04:26,508 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623
2026-08-20 07:04:26,519 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c
2026-08-20 07:04:26,539 - INFO - Verified VN network id 11 for VN d8db3e2b-4811-4609-aed2-68705638a623
2026-08-20 07:04:26,539 - INFO - Verifications in API Server for VN ctest-vn-23119594 passed
2026-08-20 07:04:26,539 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623
2026-08-20 07:04:26,550 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c
2026-08-20 07:04:26,559 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/27e600bc-eba3-4126-94aa-ad27acb2198c
2026-08-20 07:04:26,568 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/131810e2-dd61-4931-9675-ff870d2c3017
2026-08-20 07:04:26,584 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41670429', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15626151687705675273', 'uuid-lslong': '12597245939400877603'}, 'enable': 'true', 'created': '2026-08-20T07:04:23', 'last-modified': '2026-08-20T07:04:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.170066'}
2026-08-20 07:04:26,593 - DEBUG - Route Targets: ['target:64512:8000004']
2026-08-20 07:04:26,593 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23119594 passed
2026-08-20 07:04:26,593 - DEBUG - ====Verifying policy data for ctest-vn-23119594 in API_Server ======
2026-08-20 07:04:26,593 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-20 07:04:26,600 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b
2026-08-20 07:04:26,615 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc
2026-08-20 07:04:26,701 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/d8db3e2b-4811-4609-aed2-68705638a623
2026-08-20 07:04:26,715 - DEBUG - ==>Verifying data for policy with id: f9526904-256c-4729-8568-b2b4922856d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453']
2026-08-20 07:04:26,715 - INFO - VN ctest-vn-23119594 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-20 07:04:26,715 - DEBUG - Verifying the vn in opserver
2026-08-20 07:04:26,715 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594 virtual network link through opserver 10.0.0.177
2026-08-20 07:04:26,715 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-08-20 07:04:27,101 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-08-20 07:04:27,169 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594?flat'}
2026-08-20 07:04:27,169 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-23119594 is found in opserver
2026-08-20 07:04:27,181 - DEBUG - Do not have enough data to verify VN in agent
2026-08-20 07:04:27,187 - DEBUG - VRF ids for VN ctest-vn-23119594: {}
2026-08-20 07:04:27,188 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-20 07:04:27,196 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b
2026-08-20 07:04:27,212 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc
2026-08-20 07:04:27,295 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434
2026-08-20 07:04:27,311 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434
2026-08-20 07:04:27,323 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d
2026-08-20 07:04:27,332 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d
2026-08-20 07:04:27,343 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d259b5a9-2f7e-4a66-b8af-3070e1d3b318
2026-08-20 07:04:27,352 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-20 07:04:27,352 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434
2026-08-20 07:04:27,364 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d
2026-08-20 07:04:27,384 - INFO - Verified VN network id 12 for VN eeca7338-91a8-4d46-b15b-04012850f434
2026-08-20 07:04:27,384 - INFO - Verifications in API Server for VN ctest-vn-26833205 passed
2026-08-20 07:04:27,385 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434
2026-08-20 07:04:27,397 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d
2026-08-20 07:04:27,405 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/6bef6eef-ec10-4ea8-b0d6-524b72b4ec2d
2026-08-20 07:04:27,413 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/d259b5a9-2f7e-4a66-b8af-3070e1d3b318
2026-08-20 07:04:27,428 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-41670429', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17206692013121490246', 'uuid-lslong': '12779812770611786804'}, 'enable': 'true', 'created': '2026-08-20T07:04:24', 'last-modified': '2026-08-20T07:04:25', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.732354'}
2026-08-20 07:04:27,436 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-20 07:04:27,436 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-26833205 passed
2026-08-20 07:04:27,437 - DEBUG - ====Verifying policy data for ctest-vn-26833205 in API_Server ======
2026-08-20 07:04:27,437 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-08-20 07:04:27,443 - DEBUG - Requesting: http://10.0.0.177:8082/domain/b3608949-028c-4961-ad09-88565b39909b
2026-08-20 07:04:27,459 - DEBUG - Requesting: http://10.0.0.177:8082/project/2aa50576-7810-4abf-9f2b-00b02d5b07bc
2026-08-20 07:04:27,542 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/eeca7338-91a8-4d46-b15b-04012850f434
2026-08-20 07:04:27,554 - DEBUG - ==>Verifying data for policy with id: f9526904-256c-4729-8568-b2b4922856d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-41670429', 'ctest-policy-allow-all-35083453']
2026-08-20 07:04:27,554 - INFO - VN ctest-vn-26833205 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-20 07:04:27,554 - DEBUG - Verifying the vn in opserver
2026-08-20 07:04:27,554 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205 virtual network link through opserver 10.0.0.177
2026-08-20 07:04:27,554 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-08-20 07:04:27,566 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205?flat'}
2026-08-20 07:04:27,566 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-41670429:ctest-vn-26833205 is found in opserver
2026-08-20 07:04:27,578 - DEBUG - Do not have enough data to verify VN in agent
2026-08-20 07:04:27,585 - DEBUG - VRF ids for VN ctest-vn-26833205: {}
2026-08-20 07:04:27,668 - DEBUG - Services list from nova: [