2026-11-27 21:51:18,267 - INFO - Domain Default found not creating
2026-11-27 21:51:18,445 - INFO - Project ctest-TestBasicPolicy-18138887 not found, creating it
2026-11-27 21:51:18,920 - INFO - Created Project:ctest-TestBasicPolicy-18138887, ID : 174cc155-63d0-4f36-bc34-bd290de93367
2026-11-27 21:51:20,666 - INFO - ================================================================================
2026-11-27 21:51:20,666 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-27 21:51:20,666 - 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-11-27 21:51:20,932 - DEBUG - Nothing to compare xmpp stats {'10.0.0.177': {'10.20.0.30': '0'}} with
2026-11-27 21:51:20,932 - INFO - Initial checks done. Running the testcase now
2026-11-27 21:51:20,933 - INFO -
2026-11-27 21:51:21,579 - DEBUG - Response for create_network : {'network': {'id': '9b7d8701-7b9e-4a81-a08a-f50cfe522df3', 'name': 'ctest-vn-97885756', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-97885756'], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:51:21,750 - DEBUG - Response for create_subnet : {'subnet': {'id': '2bb3c12d-a21f-4bf0-94b5-c932c6dec796', 'name': '', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'network_id': '9b7d8701-7b9e-4a81-a08a-f50cfe522df3', 'ip_version': 4, 'cidr': '50.232.62.128/26', 'allocation_pools': [{'start': '50.232.62.130', 'end': '50.232.62.190'}], 'gateway_ip': '50.232.62.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '50.232.62.130', 'tags': [], 'project_id': '174cc15563d04f36bc34bd290de93367'}}
2026-11-27 21:51:21,769 - INFO - Created VN ctest-vn-97885756
2026-11-27 21:51:21,824 - DEBUG - VN ctest-vn-97885756 UUID is 9b7d8701-7b9e-4a81-a08a-f50cfe522df3
2026-11-27 21:51:22,144 - DEBUG - Response for create_network : {'network': {'id': 'e998683f-74a1-45e9-8b2a-acb7fe60d5f4', 'name': 'ctest-vn-96679925', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-96679925'], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:51:22,312 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f20e682b-4a97-4de3-882e-8cc1654ffa7e', 'name': '', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'network_id': 'e998683f-74a1-45e9-8b2a-acb7fe60d5f4', 'ip_version': 4, 'cidr': '173.146.119.128/26', 'allocation_pools': [{'start': '173.146.119.130', 'end': '173.146.119.190'}], 'gateway_ip': '173.146.119.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '173.146.119.130', 'tags': [], 'project_id': '174cc15563d04f36bc34bd290de93367'}}
2026-11-27 21:51:22,330 - INFO - Created VN ctest-vn-96679925
2026-11-27 21:51:22,383 - DEBUG - VN ctest-vn-96679925 UUID is e998683f-74a1-45e9-8b2a-acb7fe60d5f4
2026-11-27 21:51:22,510 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756, 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-18138887:ctest-vn-96679925, 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-11-27 21:51:22,831 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b7d8701-7b9e-4a81-a08a-f50cfe522df3', 'name': 'ctest-vn-97885756', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['2bb3c12d-a21f-4bf0-94b5-c932c6dec796'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-97885756'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810']], 'subnet_ipam': [{'subnet_cidr': '50.232.62.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:51:23,090 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e998683f-74a1-45e9-8b2a-acb7fe60d5f4', 'name': 'ctest-vn-96679925', 'tenant_id': '174cc15563d04f36bc34bd290de93367', 'project_id': '174cc15563d04f36bc34bd290de93367', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f20e682b-4a97-4de3-882e-8cc1654ffa7e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-vn-96679925'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810']], 'subnet_ipam': [{'subnet_cidr': '173.146.119.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:51:23,263 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-27 21:51:23,659 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-27 21:51:23,694 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43
2026-11-27 21:51:23,706 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367
2026-11-27 21:51:23,782 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3
2026-11-27 21:51:23,794 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3
2026-11-27 21:51:23,803 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608
2026-11-27 21:51:23,810 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608
2026-11-27 21:51:23,816 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/4d9ec05c-2a4a-48d6-ad01-eb2d614a3347
2026-11-27 21:51:23,821 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-27 21:51:23,821 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3
2026-11-27 21:51:23,829 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608
2026-11-27 21:51:23,842 - INFO - Verified VN network id 12 for VN 9b7d8701-7b9e-4a81-a08a-f50cfe522df3
2026-11-27 21:51:23,843 - INFO - Verifications in API Server for VN ctest-vn-97885756 passed
2026-11-27 21:51:23,843 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3
2026-11-27 21:51:23,851 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608
2026-11-27 21:51:23,858 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/b5de8ae0-06fc-4fe1-906a-16f77143b608
2026-11-27 21:51:23,864 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/4d9ec05c-2a4a-48d6-ad01-eb2d614a3347
2026-11-27 21:51:23,874 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18138887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11204259888406350465', 'uuid-lslong': '11568328029009751539'}, 'enable': 'true', 'created': '2026-11-27T21:51:21', 'last-modified': '2026-11-27T21:51:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.071284'}
2026-11-27 21:51:23,881 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-27 21:51:23,881 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97885756 passed
2026-11-27 21:51:23,881 - DEBUG - ====Verifying policy data for ctest-vn-97885756 in API_Server ======
2026-11-27 21:51:23,881 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-27 21:51:23,886 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43
2026-11-27 21:51:23,896 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367
2026-11-27 21:51:23,973 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/9b7d8701-7b9e-4a81-a08a-f50cfe522df3
2026-11-27 21:51:23,982 - DEBUG - ==>Verifying data for policy with id: 7e8e5cf0-1061-4785-8157-f5b9e25f35b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810']
2026-11-27 21:51:23,982 - INFO - VN ctest-vn-97885756 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-27 21:51:23,982 - DEBUG - Verifying the vn in opserver
2026-11-27 21:51:23,982 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756 virtual network link through opserver 10.0.0.177
2026-11-27 21:51:23,982 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-27 21:51:24,395 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-27 21:51:24,449 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756?flat'}
2026-11-27 21:51:24,449 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-97885756 is found in opserver
2026-11-27 21:51:24,462 - DEBUG - Do not have enough data to verify VN in agent
2026-11-27 21:51:24,470 - DEBUG - VRF ids for VN ctest-vn-97885756: {}
2026-11-27 21:51:24,470 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-27 21:51:24,475 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43
2026-11-27 21:51:24,485 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367
2026-11-27 21:51:24,557 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4
2026-11-27 21:51:24,570 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4
2026-11-27 21:51:24,579 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a
2026-11-27 21:51:24,586 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a
2026-11-27 21:51:24,593 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cb91c597-7cc6-4177-960e-8c2576f06266
2026-11-27 21:51:24,600 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-27 21:51:24,600 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4
2026-11-27 21:51:24,609 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a
2026-11-27 21:51:24,624 - INFO - Verified VN network id 13 for VN e998683f-74a1-45e9-8b2a-acb7fe60d5f4
2026-11-27 21:51:24,624 - INFO - Verifications in API Server for VN ctest-vn-96679925 passed
2026-11-27 21:51:24,624 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4
2026-11-27 21:51:24,634 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a
2026-11-27 21:51:24,640 - DEBUG - Requesting: http://10.0.0.177:8082/routing-instance/3780a236-48c3-4fd7-a181-376f8290953a
2026-11-27 21:51:24,647 - DEBUG - Requesting: http://10.0.0.177:8082/route-target/cb91c597-7cc6-4177-960e-8c2576f06266
2026-11-27 21:51:24,661 - DEBUG - Control-node 10.0.0.177 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-18138887', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16832318229046183401', 'uuid-lslong': '10028017426540582388'}, 'enable': 'true', 'created': '2026-11-27T21:51:22', 'last-modified': '2026-11-27T21:51:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.599483'}
2026-11-27 21:51:24,667 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-27 21:51:24,667 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96679925 passed
2026-11-27 21:51:24,668 - DEBUG - ====Verifying policy data for ctest-vn-96679925 in API_Server ======
2026-11-27 21:51:24,668 - DEBUG - Requesting: http://10.0.0.177:8082/domains
2026-11-27 21:51:24,674 - DEBUG - Requesting: http://10.0.0.177:8082/domain/0e2db5d9-8e9d-416d-923c-788061959b43
2026-11-27 21:51:24,685 - DEBUG - Requesting: http://10.0.0.177:8082/project/174cc155-63d0-4f36-bc34-bd290de93367
2026-11-27 21:51:24,757 - DEBUG - Requesting: http://10.0.0.177:8082/virtual-network/e998683f-74a1-45e9-8b2a-acb7fe60d5f4
2026-11-27 21:51:24,767 - DEBUG - ==>Verifying data for policy with id: 7e8e5cf0-1061-4785-8157-f5b9e25f35b7, fqn: ['default-domain', 'ctest-TestBasicPolicy-18138887', 'ctest-policy-allow-all-49478810']
2026-11-27 21:51:24,767 - INFO - VN ctest-vn-96679925 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-27 21:51:24,767 - DEBUG - Verifying the vn in opserver
2026-11-27 21:51:24,768 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925 virtual network link through opserver 10.0.0.177
2026-11-27 21:51:24,768 - DEBUG - Requesting: http://10.0.0.177:8081/analytics/uves/virtual-networks
2026-11-27 21:51:24,779 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925', 'href': 'http://10.0.0.177:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925?flat'}
2026-11-27 21:51:24,779 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-18138887:ctest-vn-96679925 is found in opserver
2026-11-27 21:51:24,790 - DEBUG - Do not have enough data to verify VN in agent
2026-11-27 21:51:24,794 - DEBUG - VRF ids for VN ctest-vn-96679925: {}
2026-11-27 21:51:24,853 - DEBUG - Services list from nova: [