2025-10-20 16:02:34,679 - INFO - Domain Default found not creating
2025-10-20 16:02:34,823 - INFO - Project ctest-TestBasicPolicy-60564260 not found, creating it
2025-10-20 16:02:35,278 - INFO - Created Project:ctest-TestBasicPolicy-60564260, ID : 66343ea2-aba8-49df-8e5a-f2abdaae13fb
2025-10-20 16:02:36,736 - INFO - ================================================================================
2025-10-20 16:02:36,736 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-20 16:02:36,736 - 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
2025-10-20 16:02:36,990 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.18': '0'}} with
2025-10-20 16:02:36,990 - INFO - Initial checks done. Running the testcase now
2025-10-20 16:02:36,990 - INFO -
2025-10-20 16:02:37,522 - DEBUG - Response for create_network : {'network': {'id': '3406a337-1892-4a0a-91b6-d78595b74be3', 'name': 'ctest-vn-65787942', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-65787942'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 16:02:37,684 - DEBUG - Response for create_subnet : {'subnet': {'id': '339a7217-0955-4c36-96f7-72595c50299e', 'name': '', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'network_id': '3406a337-1892-4a0a-91b6-d78595b74be3', 'ip_version': 4, 'cidr': '56.59.188.0/26', 'allocation_pools': [{'start': '56.59.188.2', 'end': '56.59.188.62'}], 'gateway_ip': '56.59.188.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '56.59.188.2', 'tags': [], 'project_id': '66343ea2aba849df8e5af2abdaae13fb'}}
2025-10-20 16:02:37,702 - INFO - Created VN ctest-vn-65787942
2025-10-20 16:02:37,752 - DEBUG - VN ctest-vn-65787942 UUID is 3406a337-1892-4a0a-91b6-d78595b74be3
2025-10-20 16:02:38,064 - DEBUG - Response for create_network : {'network': {'id': 'c0f59243-dcb2-408d-a4a3-aefa6cf86150', 'name': 'ctest-vn-95033306', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-95033306'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 16:02:38,224 - DEBUG - Response for create_subnet : {'subnet': {'id': '015c8bf4-92d5-4913-8f37-2497060ecc1b', 'name': '', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'network_id': 'c0f59243-dcb2-408d-a4a3-aefa6cf86150', 'ip_version': 4, 'cidr': '141.115.94.0/26', 'allocation_pools': [{'start': '141.115.94.2', 'end': '141.115.94.62'}], 'gateway_ip': '141.115.94.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.115.94.2', 'tags': [], 'project_id': '66343ea2aba849df8e5af2abdaae13fb'}}
2025-10-20 16:02:38,243 - INFO - Created VN ctest-vn-95033306
2025-10-20 16:02:38,296 - DEBUG - VN ctest-vn-95033306 UUID is c0f59243-dcb2-408d-a4a3-aefa6cf86150
2025-10-20 16:02:38,444 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942, 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-60564260:ctest-vn-95033306, 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]
2025-10-20 16:02:38,742 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3406a337-1892-4a0a-91b6-d78595b74be3', 'name': 'ctest-vn-65787942', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['339a7217-0955-4c36-96f7-72595c50299e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-65787942'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533']], 'subnet_ipam': [{'subnet_cidr': '56.59.188.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-20 16:02:38,959 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'c0f59243-dcb2-408d-a4a3-aefa6cf86150', 'name': 'ctest-vn-95033306', 'tenant_id': '66343ea2aba849df8e5af2abdaae13fb', 'project_id': '66343ea2aba849df8e5af2abdaae13fb', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['015c8bf4-92d5-4913-8f37-2497060ecc1b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-vn-95033306'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533']], 'subnet_ipam': [{'subnet_cidr': '141.115.94.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-20 16:02:39,120 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-20 16:02:39,414 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-20 16:02:39,442 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef
2025-10-20 16:02:39,454 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb
2025-10-20 16:02:39,528 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3
2025-10-20 16:02:39,538 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3
2025-10-20 16:02:39,549 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca
2025-10-20 16:02:39,556 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca
2025-10-20 16:02:39,564 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/92d3cb10-5a56-40d8-9798-ec601a7c145f
2025-10-20 16:02:39,570 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 16:02:39,570 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3
2025-10-20 16:02:39,579 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca
2025-10-20 16:02:39,594 - INFO - Verified VN network id 10 for VN 3406a337-1892-4a0a-91b6-d78595b74be3
2025-10-20 16:02:39,594 - INFO - Verifications in API Server for VN ctest-vn-65787942 passed
2025-10-20 16:02:39,594 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3
2025-10-20 16:02:39,605 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca
2025-10-20 16:02:39,612 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/0c367e8d-35b7-47d8-9701-93b58cfa48ca
2025-10-20 16:02:39,618 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/92d3cb10-5a56-40d8-9798-ec601a7c145f
2025-10-20 16:02:39,630 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60564260', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3748863196863285770', 'uuid-lslong': '10499816550003330019'}, 'enable': 'true', 'created': '2025-10-20T16:02:37', 'last-modified': '2025-10-20T16:02:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.915070'}
2025-10-20 16:02:39,636 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 16:02:39,636 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-65787942 passed
2025-10-20 16:02:39,636 - DEBUG - ====Verifying policy data for ctest-vn-65787942 in API_Server ======
2025-10-20 16:02:39,636 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-20 16:02:39,641 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef
2025-10-20 16:02:39,652 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb
2025-10-20 16:02:39,720 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/3406a337-1892-4a0a-91b6-d78595b74be3
2025-10-20 16:02:39,729 - DEBUG - ==>Verifying data for policy with id: 173a68e2-ebd7-4c49-8315-bb420dcc9867, fqn: ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533']
2025-10-20 16:02:39,729 - INFO - VN ctest-vn-65787942 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-20 16:02:39,729 - DEBUG - Verifying the vn in opserver
2025-10-20 16:02:39,729 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942 virtual network link through opserver 10.0.0.19
2025-10-20 16:02:39,729 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-20 16:02:40,018 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-20 16:02:40,073 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942?flat'}
2025-10-20 16:02:40,073 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-65787942 is found in opserver
2025-10-20 16:02:40,082 - DEBUG - Do not have enough data to verify VN in agent
2025-10-20 16:02:40,086 - DEBUG - VRF ids for VN ctest-vn-65787942: {}
2025-10-20 16:02:40,086 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-20 16:02:40,091 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef
2025-10-20 16:02:40,102 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb
2025-10-20 16:02:40,170 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150
2025-10-20 16:02:40,182 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150
2025-10-20 16:02:40,192 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55
2025-10-20 16:02:40,199 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55
2025-10-20 16:02:40,205 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eadbedd9-7e4b-4c4b-966d-4db637ec1af4
2025-10-20 16:02:40,212 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-20 16:02:40,212 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150
2025-10-20 16:02:40,222 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55
2025-10-20 16:02:40,239 - INFO - Verified VN network id 11 for VN c0f59243-dcb2-408d-a4a3-aefa6cf86150
2025-10-20 16:02:40,239 - INFO - Verifications in API Server for VN ctest-vn-95033306 passed
2025-10-20 16:02:40,239 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150
2025-10-20 16:02:40,249 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55
2025-10-20 16:02:40,255 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/923d2e6d-590f-426e-80e9-e9e9dc143e55
2025-10-20 16:02:40,262 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/eadbedd9-7e4b-4c4b-966d-4db637ec1af4
2025-10-20 16:02:40,274 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60564260', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '13904180244739408013', 'uuid-lslong': '11863518234017292624'}, 'enable': 'true', 'created': '2025-10-20T16:02:38', 'last-modified': '2025-10-20T16:02:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.337628'}
2025-10-20 16:02:40,279 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-20 16:02:40,279 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-95033306 passed
2025-10-20 16:02:40,280 - DEBUG - ====Verifying policy data for ctest-vn-95033306 in API_Server ======
2025-10-20 16:02:40,280 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2025-10-20 16:02:40,285 - DEBUG - Requesting: http://10.0.0.19:8082/domain/77cd44c6-faac-4783-aa8b-343f83be2fef
2025-10-20 16:02:40,296 - DEBUG - Requesting: http://10.0.0.19:8082/project/66343ea2-aba8-49df-8e5a-f2abdaae13fb
2025-10-20 16:02:40,366 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/c0f59243-dcb2-408d-a4a3-aefa6cf86150
2025-10-20 16:02:40,375 - DEBUG - ==>Verifying data for policy with id: 173a68e2-ebd7-4c49-8315-bb420dcc9867, fqn: ['default-domain', 'ctest-TestBasicPolicy-60564260', 'ctest-policy-allow-all-07774533']
2025-10-20 16:02:40,375 - INFO - VN ctest-vn-95033306 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-20 16:02:40,375 - DEBUG - Verifying the vn in opserver
2025-10-20 16:02:40,375 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306 virtual network link through opserver 10.0.0.19
2025-10-20 16:02:40,375 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2025-10-20 16:02:40,383 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306?flat'}
2025-10-20 16:02:40,383 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60564260:ctest-vn-95033306 is found in opserver
2025-10-20 16:02:40,392 - DEBUG - Do not have enough data to verify VN in agent
2025-10-20 16:02:40,396 - DEBUG - VRF ids for VN ctest-vn-95033306: {}
2025-10-20 16:02:40,453 - DEBUG - Services list from nova: [