2026-02-20 02:36:19,667 - INFO - Domain Default found not creating
2026-02-20 02:36:19,849 - INFO - Project ctest-TestBasicPolicy-88332286 not found, creating it
2026-02-20 02:36:20,304 - INFO - Created Project:ctest-TestBasicPolicy-88332286, ID : a1ae06bf-3681-4a46-b377-be76f45ebbaa
2026-02-20 02:36:21,868 - INFO - ================================================================================
2026-02-20 02:36:21,868 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-20 02:36:21,868 - 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-20 02:36:22,127 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.254': '0'}} with
2026-02-20 02:36:22,127 - INFO - Initial checks done. Running the testcase now
2026-02-20 02:36:22,127 - INFO -
2026-02-20 02:36:22,694 - DEBUG - Response for create_network : {'network': {'id': '233eaa07-00ce-4d37-8843-8cbfdcad3c6c', 'name': 'ctest-vn-30121798', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-30121798'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:36:22,855 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f348f029-48e8-44f6-9207-e4c94f3f537a', 'name': '', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'network_id': '233eaa07-00ce-4d37-8843-8cbfdcad3c6c', 'ip_version': 4, 'cidr': '110.152.253.192/26', 'allocation_pools': [{'start': '110.152.253.194', 'end': '110.152.253.254'}], 'gateway_ip': '110.152.253.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '110.152.253.194', 'tags': [], 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa'}}
2026-02-20 02:36:22,876 - INFO - Created VN ctest-vn-30121798
2026-02-20 02:36:22,933 - DEBUG - VN ctest-vn-30121798 UUID is 233eaa07-00ce-4d37-8843-8cbfdcad3c6c
2026-02-20 02:36:23,227 - DEBUG - Response for create_network : {'network': {'id': '28abc231-bff6-4a41-871a-b1553d1f6dc4', 'name': 'ctest-vn-84467708', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-84467708'], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:36:23,375 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd1f24cb6-9966-4682-9291-9e2842402a99', 'name': '', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'network_id': '28abc231-bff6-4a41-871a-b1553d1f6dc4', 'ip_version': 4, 'cidr': '109.156.1.192/26', 'allocation_pools': [{'start': '109.156.1.194', 'end': '109.156.1.254'}], 'gateway_ip': '109.156.1.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '109.156.1.194', 'tags': [], 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa'}}
2026-02-20 02:36:23,392 - INFO - Created VN ctest-vn-84467708
2026-02-20 02:36:23,441 - DEBUG - VN ctest-vn-84467708 UUID is 28abc231-bff6-4a41-871a-b1553d1f6dc4
2026-02-20 02:36:23,558 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798, 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-88332286:ctest-vn-84467708, 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-20 02:36:23,861 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '233eaa07-00ce-4d37-8843-8cbfdcad3c6c', 'name': 'ctest-vn-30121798', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f348f029-48e8-44f6-9207-e4c94f3f537a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-30121798'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851']], 'subnet_ipam': [{'subnet_cidr': '110.152.253.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:36:24,105 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28abc231-bff6-4a41-871a-b1553d1f6dc4', 'name': 'ctest-vn-84467708', 'tenant_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'project_id': 'a1ae06bf36814a46b377be76f45ebbaa', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d1f24cb6-9966-4682-9291-9e2842402a99'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-vn-84467708'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851']], 'subnet_ipam': [{'subnet_cidr': '109.156.1.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-20 02:36:24,273 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-20 02:36:24,577 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-20 02:36:24,611 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970
2026-02-20 02:36:24,624 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa
2026-02-20 02:36:24,698 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c
2026-02-20 02:36:24,708 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c
2026-02-20 02:36:24,717 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49
2026-02-20 02:36:24,724 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49
2026-02-20 02:36:24,731 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8fbb2dd5-5fd9-4711-85d6-4159ee37e760
2026-02-20 02:36:24,739 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 02:36:24,739 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c
2026-02-20 02:36:24,748 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49
2026-02-20 02:36:24,763 - INFO - Verified VN network id 12 for VN 233eaa07-00ce-4d37-8843-8cbfdcad3c6c
2026-02-20 02:36:24,763 - INFO - Verifications in API Server for VN ctest-vn-30121798 passed
2026-02-20 02:36:24,763 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c
2026-02-20 02:36:24,772 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49
2026-02-20 02:36:24,779 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/2695e2c6-927c-453c-89f2-66901fabbf49
2026-02-20 02:36:24,785 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/8fbb2dd5-5fd9-4711-85d6-4159ee37e760
2026-02-20 02:36:24,797 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88332286', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2539654186938551607', 'uuid-lslong': '9818846368266796140'}, 'enable': 'true', 'created': '2026-02-20T02:36:22', 'last-modified': '2026-02-20T02:36:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.962144'}
2026-02-20 02:36:24,803 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-20 02:36:24,803 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-30121798 passed
2026-02-20 02:36:24,803 - DEBUG - ====Verifying policy data for ctest-vn-30121798 in API_Server ======
2026-02-20 02:36:24,803 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-20 02:36:24,808 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970
2026-02-20 02:36:24,819 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa
2026-02-20 02:36:24,891 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/233eaa07-00ce-4d37-8843-8cbfdcad3c6c
2026-02-20 02:36:24,902 - DEBUG - ==>Verifying data for policy with id: 7aa5ee6c-5474-49b9-bfa9-3e084c97c639, fqn: ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851']
2026-02-20 02:36:24,902 - INFO - VN ctest-vn-30121798 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 02:36:24,902 - DEBUG - Verifying the vn in opserver
2026-02-20 02:36:24,902 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798 virtual network link through opserver 10.0.0.141
2026-02-20 02:36:24,902 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-20 02:36:25,215 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-20 02:36:25,295 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798?flat'}
2026-02-20 02:36:25,295 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-30121798 is found in opserver
2026-02-20 02:36:25,306 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 02:36:25,310 - DEBUG - VRF ids for VN ctest-vn-30121798: {}
2026-02-20 02:36:25,310 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-20 02:36:25,316 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970
2026-02-20 02:36:25,325 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa
2026-02-20 02:36:25,396 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4
2026-02-20 02:36:25,408 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4
2026-02-20 02:36:25,417 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895
2026-02-20 02:36:25,425 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895
2026-02-20 02:36:25,431 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fe2d10b6-b34c-4632-8719-1580f1c5602c
2026-02-20 02:36:25,438 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 02:36:25,438 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4
2026-02-20 02:36:25,447 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895
2026-02-20 02:36:25,463 - INFO - Verified VN network id 13 for VN 28abc231-bff6-4a41-871a-b1553d1f6dc4
2026-02-20 02:36:25,463 - INFO - Verifications in API Server for VN ctest-vn-84467708 passed
2026-02-20 02:36:25,464 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4
2026-02-20 02:36:25,474 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895
2026-02-20 02:36:25,482 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/6f784ee3-bb57-4502-ab6b-6af732064895
2026-02-20 02:36:25,489 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/fe2d10b6-b34c-4632-8719-1580f1c5602c
2026-02-20 02:36:25,503 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88332286', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2930649501464414785', 'uuid-lslong': '9735288524170554820'}, 'enable': 'true', 'created': '2026-02-20T02:36:23', 'last-modified': '2026-02-20T02:36:24', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.440135'}
2026-02-20 02:36:25,512 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-20 02:36:25,512 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-84467708 passed
2026-02-20 02:36:25,512 - DEBUG - ====Verifying policy data for ctest-vn-84467708 in API_Server ======
2026-02-20 02:36:25,512 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2026-02-20 02:36:25,518 - DEBUG - Requesting: http://10.0.0.141:8082/domain/ca049275-da47-401c-96b2-d127b0814970
2026-02-20 02:36:25,529 - DEBUG - Requesting: http://10.0.0.141:8082/project/a1ae06bf-3681-4a46-b377-be76f45ebbaa
2026-02-20 02:36:25,603 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/28abc231-bff6-4a41-871a-b1553d1f6dc4
2026-02-20 02:36:25,612 - DEBUG - ==>Verifying data for policy with id: 7aa5ee6c-5474-49b9-bfa9-3e084c97c639, fqn: ['default-domain', 'ctest-TestBasicPolicy-88332286', 'ctest-policy-allow-all-70474851']
2026-02-20 02:36:25,612 - INFO - VN ctest-vn-84467708 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-20 02:36:25,612 - DEBUG - Verifying the vn in opserver
2026-02-20 02:36:25,612 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708 virtual network link through opserver 10.0.0.141
2026-02-20 02:36:25,612 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2026-02-20 02:36:25,620 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708?flat'}
2026-02-20 02:36:25,621 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88332286:ctest-vn-84467708 is found in opserver
2026-02-20 02:36:25,630 - DEBUG - Do not have enough data to verify VN in agent
2026-02-20 02:36:25,633 - DEBUG - VRF ids for VN ctest-vn-84467708: {}
2026-02-20 02:36:25,689 - DEBUG - Services list from nova: [