2025-10-22 10:44:25,256 - INFO - Domain Default found not creating
2025-10-22 10:44:25,390 - INFO - Project ctest-TestBasicPolicy-53243509 not found, creating it
2025-10-22 10:44:25,820 - INFO - Created Project:ctest-TestBasicPolicy-53243509, ID : 4d76ce30-768b-4926-b727-4d8b91e0ac1b 
2025-10-22 10:44:27,155 - INFO - ================================================================================
2025-10-22 10:44:27,155 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-22 10:44:27,155 - 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-22 10:44:27,416 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-22 10:44:27,416 - INFO - Initial checks done. Running the testcase now
2025-10-22 10:44:27,416 - INFO - 
2025-10-22 10:44:27,928 - DEBUG - Response for create_network : {'network': {'id': '6c9fdbe7-d96b-4205-878d-012a8d14cc21', 'name': 'ctest-vn-66567698', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-66567698'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:44:28,154 - DEBUG - Response for create_subnet : {'subnet': {'id': '70bd93a0-8c75-4f8d-9b3f-e876f927cb14', 'name': '', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'network_id': '6c9fdbe7-d96b-4205-878d-012a8d14cc21', 'ip_version': 4, 'cidr': '78.81.93.64/26', 'allocation_pools': [{'start': '78.81.93.66', 'end': '78.81.93.126'}], 'gateway_ip': '78.81.93.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '78.81.93.66', 'tags': [], 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b'}}
2025-10-22 10:44:28,170 - INFO - Created VN ctest-vn-66567698
2025-10-22 10:44:28,220 - DEBUG - VN ctest-vn-66567698 UUID is 6c9fdbe7-d96b-4205-878d-012a8d14cc21
2025-10-22 10:44:28,532 - DEBUG - Response for create_network : {'network': {'id': '62a6c5fd-e751-4b4c-abcb-d0636c38e8a3', 'name': 'ctest-vn-96532546', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-96532546'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:44:28,696 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd8c7ab5e-5043-44b0-8989-c149ad0b6b62', 'name': '', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'network_id': '62a6c5fd-e751-4b4c-abcb-d0636c38e8a3', 'ip_version': 4, 'cidr': '216.109.222.192/26', 'allocation_pools': [{'start': '216.109.222.194', 'end': '216.109.222.254'}], 'gateway_ip': '216.109.222.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '216.109.222.194', 'tags': [], 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b'}}
2025-10-22 10:44:28,711 - INFO - Created VN ctest-vn-96532546
2025-10-22 10:44:28,760 - DEBUG - VN ctest-vn-96532546 UUID is 62a6c5fd-e751-4b4c-abcb-d0636c38e8a3
2025-10-22 10:44:28,900 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698, 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-53243509:ctest-vn-96532546, 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-22 10:44:29,183 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6c9fdbe7-d96b-4205-878d-012a8d14cc21', 'name': 'ctest-vn-66567698', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['70bd93a0-8c75-4f8d-9b3f-e876f927cb14'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-66567698'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769']], 'subnet_ipam': [{'subnet_cidr': '78.81.93.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:44:29,390 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '62a6c5fd-e751-4b4c-abcb-d0636c38e8a3', 'name': 'ctest-vn-96532546', 'tenant_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'project_id': '4d76ce30768b4926b7274d8b91e0ac1b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d8c7ab5e-5043-44b0-8989-c149ad0b6b62'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-vn-96532546'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769']], 'subnet_ipam': [{'subnet_cidr': '216.109.222.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 10:44:29,552 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-22 10:44:29,843 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-22 10:44:29,869 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda
2025-10-22 10:44:29,881 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b
2025-10-22 10:44:29,955 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21
2025-10-22 10:44:29,968 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21
2025-10-22 10:44:29,978 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528
2025-10-22 10:44:29,986 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528
2025-10-22 10:44:29,993 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70378d7d-2080-4059-9a8d-b1c44c72891b
2025-10-22 10:44:29,999 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 10:44:29,999 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21
2025-10-22 10:44:30,009 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528
2025-10-22 10:44:30,026 - INFO - Verified VN network id 12 for VN 6c9fdbe7-d96b-4205-878d-012a8d14cc21
2025-10-22 10:44:30,026 - INFO - Verifications in API Server for VN ctest-vn-66567698 passed
2025-10-22 10:44:30,026 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21
2025-10-22 10:44:30,035 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528
2025-10-22 10:44:30,042 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/ac8a03cd-0fba-40c5-8e90-f2c092d0c528
2025-10-22 10:44:30,049 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/70378d7d-2080-4059-9a8d-b1c44c72891b
2025-10-22 10:44:30,060 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53243509', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7827216466224824837', 'uuid-lslong': '9767464449103678497'}, 'enable': 'true', 'created': '2025-10-22T10:44:27', 'last-modified': '2025-10-22T10:44:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.899453'}
2025-10-22 10:44:30,066 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 10:44:30,066 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66567698 passed
2025-10-22 10:44:30,066 - DEBUG - ====Verifying policy data for ctest-vn-66567698 in API_Server ======
2025-10-22 10:44:30,066 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-22 10:44:30,071 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda
2025-10-22 10:44:30,081 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b
2025-10-22 10:44:30,146 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/6c9fdbe7-d96b-4205-878d-012a8d14cc21
2025-10-22 10:44:30,154 - DEBUG - ==>Verifying data for policy with id: 995ceacb-a118-4aad-8f8b-761c1b0fe414, fqn: ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769']
2025-10-22 10:44:30,154 - INFO - VN ctest-vn-66567698 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 10:44:30,154 - DEBUG - Verifying the vn in opserver
2025-10-22 10:44:30,154 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698 virtual network link  through opserver 10.0.0.242
2025-10-22 10:44:30,155 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-22 10:44:30,453 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-22 10:44:30,513 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698?flat'}
2025-10-22 10:44:30,513 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-66567698 is found in opserver
2025-10-22 10:44:30,523 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 10:44:30,527 - DEBUG - VRF ids for VN ctest-vn-66567698: {}
2025-10-22 10:44:30,527 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-22 10:44:30,531 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda
2025-10-22 10:44:30,540 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b
2025-10-22 10:44:30,605 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3
2025-10-22 10:44:30,614 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3
2025-10-22 10:44:30,621 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890
2025-10-22 10:44:30,626 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890
2025-10-22 10:44:30,631 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/13618d59-b311-4b4d-b6fb-2b7b3e79bec2
2025-10-22 10:44:30,636 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 10:44:30,636 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3
2025-10-22 10:44:30,643 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890
2025-10-22 10:44:30,653 - INFO - Verified VN network id 13 for VN 62a6c5fd-e751-4b4c-abcb-d0636c38e8a3
2025-10-22 10:44:30,653 - INFO - Verifications in API Server for VN ctest-vn-96532546 passed
2025-10-22 10:44:30,654 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3
2025-10-22 10:44:30,660 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890
2025-10-22 10:44:30,665 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/94802edf-7c63-43b6-a2bd-2e48c10cf890
2025-10-22 10:44:30,670 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/13618d59-b311-4b4d-b6fb-2b7b3e79bec2
2025-10-22 10:44:30,679 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-53243509', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7108586756149168972', 'uuid-lslong': '12379217126193948835'}, 'enable': 'true', 'created': '2025-10-22T10:44:28', 'last-modified': '2025-10-22T10:44:29', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.304487'}
2025-10-22 10:44:30,683 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 10:44:30,683 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-96532546 passed
2025-10-22 10:44:30,684 - DEBUG - ====Verifying policy data for ctest-vn-96532546 in API_Server ======
2025-10-22 10:44:30,684 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-22 10:44:30,688 - DEBUG - Requesting: http://10.0.0.242:8082/domain/4d53002f-df08-4be7-88b9-ca8518b9dbda
2025-10-22 10:44:30,697 - DEBUG - Requesting: http://10.0.0.242:8082/project/4d76ce30-768b-4926-b727-4d8b91e0ac1b
2025-10-22 10:44:30,763 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/62a6c5fd-e751-4b4c-abcb-d0636c38e8a3
2025-10-22 10:44:30,771 - DEBUG - ==>Verifying data for policy with id: 995ceacb-a118-4aad-8f8b-761c1b0fe414, fqn: ['default-domain', 'ctest-TestBasicPolicy-53243509', 'ctest-policy-allow-all-75135769']
2025-10-22 10:44:30,771 - INFO - VN ctest-vn-96532546 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 10:44:30,771 - DEBUG - Verifying the vn in opserver
2025-10-22 10:44:30,771 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546 virtual network link  through opserver 10.0.0.242
2025-10-22 10:44:30,771 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-22 10:44:30,778 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546?flat'}
2025-10-22 10:44:30,778 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-53243509:ctest-vn-96532546 is found in opserver
2025-10-22 10:44:30,785 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 10:44:30,789 - DEBUG - VRF ids for VN ctest-vn-96532546: {}
2025-10-22 10:44:30,836 - DEBUG - Services list from nova: [