2025-12-10 02:29:34,568 - INFO - Domain Default found not creating
2025-12-10 02:29:34,783 - INFO - Project ctest-TestBasicPolicy-38575230 not found, creating it
2025-12-10 02:29:35,284 - INFO - Created Project:ctest-TestBasicPolicy-38575230, ID : e91f065d-f079-4351-a58f-07774b352a51
2025-12-10 02:29:36,966 - INFO - ================================================================================
2025-12-10 02:29:36,966 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-10 02:29:36,966 - 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-12-10 02:29:37,229 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-10 02:29:37,229 - INFO - Initial checks done. Running the testcase now
2025-12-10 02:29:37,229 - INFO -
2025-12-10 02:29:37,866 - DEBUG - Response for create_network : {'network': {'id': '93c3f74a-979e-4084-bae6-be1e4cf920c8', 'name': 'ctest-vn-34861721', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-34861721'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 02:29:38,052 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b3acce3d-188f-405a-8886-d0069d5235eb', 'name': '', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'network_id': '93c3f74a-979e-4084-bae6-be1e4cf920c8', 'ip_version': 4, 'cidr': '27.38.15.64/26', 'allocation_pools': [{'start': '27.38.15.66', 'end': '27.38.15.126'}], 'gateway_ip': '27.38.15.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '27.38.15.66', 'tags': [], 'project_id': 'e91f065df0794351a58f07774b352a51'}}
2025-12-10 02:29:38,075 - INFO - Created VN ctest-vn-34861721
2025-12-10 02:29:38,128 - DEBUG - VN ctest-vn-34861721 UUID is 93c3f74a-979e-4084-bae6-be1e4cf920c8
2025-12-10 02:29:38,472 - DEBUG - Response for create_network : {'network': {'id': '821339c7-fab5-4c6d-8248-8523104f8282', 'name': 'ctest-vn-27015829', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-27015829'], 'port_security_enabled': True, 'description': ''}}
2025-12-10 02:29:38,656 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fbc43186-c137-4900-8a43-f64c2e9b9922', 'name': '', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'network_id': '821339c7-fab5-4c6d-8248-8523104f8282', 'ip_version': 4, 'cidr': '141.24.36.0/26', 'allocation_pools': [{'start': '141.24.36.2', 'end': '141.24.36.62'}], 'gateway_ip': '141.24.36.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '141.24.36.2', 'tags': [], 'project_id': 'e91f065df0794351a58f07774b352a51'}}
2025-12-10 02:29:38,677 - INFO - Created VN ctest-vn-27015829
2025-12-10 02:29:38,728 - DEBUG - VN ctest-vn-27015829 UUID is 821339c7-fab5-4c6d-8248-8523104f8282
2025-12-10 02:29:38,849 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721, 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-38575230:ctest-vn-27015829, 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-12-10 02:29:39,175 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93c3f74a-979e-4084-bae6-be1e4cf920c8', 'name': 'ctest-vn-34861721', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b3acce3d-188f-405a-8886-d0069d5235eb'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-34861721'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963']], 'subnet_ipam': [{'subnet_cidr': '27.38.15.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-10 02:29:39,484 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '821339c7-fab5-4c6d-8248-8523104f8282', 'name': 'ctest-vn-27015829', 'tenant_id': 'e91f065df0794351a58f07774b352a51', 'project_id': 'e91f065df0794351a58f07774b352a51', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fbc43186-c137-4900-8a43-f64c2e9b9922'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-vn-27015829'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963']], 'subnet_ipam': [{'subnet_cidr': '141.24.36.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-10 02:29:39,632 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-10 02:29:39,984 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-10 02:29:40,021 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32
2025-12-10 02:29:40,036 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51
2025-12-10 02:29:40,117 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8
2025-12-10 02:29:40,129 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8
2025-12-10 02:29:40,139 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7
2025-12-10 02:29:40,147 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7
2025-12-10 02:29:40,155 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0cc2d756-dc55-4bc1-994d-aa89613592d0
2025-12-10 02:29:40,162 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-10 02:29:40,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8
2025-12-10 02:29:40,173 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7
2025-12-10 02:29:40,190 - INFO - Verified VN network id 12 for VN 93c3f74a-979e-4084-bae6-be1e4cf920c8
2025-12-10 02:29:40,190 - INFO - Verifications in API Server for VN ctest-vn-34861721 passed
2025-12-10 02:29:40,190 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8
2025-12-10 02:29:40,201 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7
2025-12-10 02:29:40,207 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/575110e2-59ee-4629-973a-e63a5fc20ac7
2025-12-10 02:29:40,215 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/0cc2d756-dc55-4bc1-994d-aa89613592d0
2025-12-10 02:29:40,227 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38575230', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10647625843777355908', 'uuid-lslong': '13467660773047738568'}, 'enable': 'true', 'created': '2025-12-10T02:29:37', 'last-modified': '2025-12-10T02:29:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.081332'}
2025-12-10 02:29:40,233 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-10 02:29:40,233 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34861721 passed
2025-12-10 02:29:40,233 - DEBUG - ====Verifying policy data for ctest-vn-34861721 in API_Server ======
2025-12-10 02:29:40,234 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-10 02:29:40,240 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32
2025-12-10 02:29:40,257 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51
2025-12-10 02:29:40,332 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/93c3f74a-979e-4084-bae6-be1e4cf920c8
2025-12-10 02:29:40,343 - DEBUG - ==>Verifying data for policy with id: ea1fa2e4-450e-4a2b-a974-cc6a8844e2d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963']
2025-12-10 02:29:40,343 - INFO - VN ctest-vn-34861721 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-10 02:29:40,343 - DEBUG - Verifying the vn in opserver
2025-12-10 02:29:40,343 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721 virtual network link through opserver 10.0.0.38
2025-12-10 02:29:40,343 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-10 02:29:40,679 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-10 02:29:40,755 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721?flat'}
2025-12-10 02:29:40,756 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-34861721 is found in opserver
2025-12-10 02:29:40,767 - DEBUG - Do not have enough data to verify VN in agent
2025-12-10 02:29:40,772 - DEBUG - VRF ids for VN ctest-vn-34861721: {}
2025-12-10 02:29:40,772 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-10 02:29:40,779 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32
2025-12-10 02:29:40,791 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51
2025-12-10 02:29:40,866 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282
2025-12-10 02:29:40,881 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282
2025-12-10 02:29:40,894 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378
2025-12-10 02:29:40,905 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378
2025-12-10 02:29:40,914 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37699fd6-a9d1-4c89-a9e2-f63d29105af9
2025-12-10 02:29:40,922 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-10 02:29:40,923 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282
2025-12-10 02:29:40,934 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378
2025-12-10 02:29:40,951 - INFO - Verified VN network id 13 for VN 821339c7-fab5-4c6d-8248-8523104f8282
2025-12-10 02:29:40,951 - INFO - Verifications in API Server for VN ctest-vn-27015829 passed
2025-12-10 02:29:40,951 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282
2025-12-10 02:29:40,962 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378
2025-12-10 02:29:40,971 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/f0ad2c05-9f4b-4470-888d-ed2f284ba378
2025-12-10 02:29:40,979 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/37699fd6-a9d1-4c89-a9e2-f63d29105af9
2025-12-10 02:29:40,993 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-38575230', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '9372898780555594861', 'uuid-lslong': '9387899808897794690'}, 'enable': 'true', 'created': '2025-12-10T02:29:38', 'last-modified': '2025-12-10T02:29:39', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.584293'}
2025-12-10 02:29:40,999 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-10 02:29:40,999 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-27015829 passed
2025-12-10 02:29:41,000 - DEBUG - ====Verifying policy data for ctest-vn-27015829 in API_Server ======
2025-12-10 02:29:41,000 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-10 02:29:41,007 - DEBUG - Requesting: http://10.0.0.38:8082/domain/d5d15235-639a-4924-9336-4603fa5d0c32
2025-12-10 02:29:41,019 - DEBUG - Requesting: http://10.0.0.38:8082/project/e91f065d-f079-4351-a58f-07774b352a51
2025-12-10 02:29:41,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/821339c7-fab5-4c6d-8248-8523104f8282
2025-12-10 02:29:41,108 - DEBUG - ==>Verifying data for policy with id: ea1fa2e4-450e-4a2b-a974-cc6a8844e2d3, fqn: ['default-domain', 'ctest-TestBasicPolicy-38575230', 'ctest-policy-allow-all-19460963']
2025-12-10 02:29:41,108 - INFO - VN ctest-vn-27015829 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-10 02:29:41,108 - DEBUG - Verifying the vn in opserver
2025-12-10 02:29:41,108 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829 virtual network link through opserver 10.0.0.38
2025-12-10 02:29:41,108 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-10 02:29:41,120 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829?flat'}
2025-12-10 02:29:41,120 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-38575230:ctest-vn-27015829 is found in opserver
2025-12-10 02:29:41,132 - DEBUG - Do not have enough data to verify VN in agent
2025-12-10 02:29:41,138 - DEBUG - VRF ids for VN ctest-vn-27015829: {}
2025-12-10 02:29:41,209 - DEBUG - Services list from nova: [