2025-10-27 20:57:26,565 - INFO - Domain Default found not creating
2025-10-27 20:57:26,713 - INFO - Project ctest-TestBasicPolicy-83650171 not found, creating it
2025-10-27 20:57:27,171 - INFO - Created Project:ctest-TestBasicPolicy-83650171, ID : 8e5403f8-54e6-4299-bbb7-1b27e024de8c 
2025-10-27 20:57:28,738 - INFO - ================================================================================
2025-10-27 20:57:28,738 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-27 20:57:28,738 - 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-27 20:57:28,996 - DEBUG - Nothing to compare xmpp stats {'10.0.0.242': {'10.20.0.17': '0'}} with
2025-10-27 20:57:28,996 - INFO - Initial checks done. Running the testcase now
2025-10-27 20:57:28,996 - INFO - 
2025-10-27 20:57:29,607 - DEBUG - Response for create_network : {'network': {'id': 'eb70e703-4968-42df-9340-34afbbcb3138', 'name': 'ctest-vn-87483370', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-87483370'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:57:29,765 - DEBUG - Response for create_subnet : {'subnet': {'id': '5d4cee75-5bc1-40e1-ab92-89530c6649b5', 'name': '', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'network_id': 'eb70e703-4968-42df-9340-34afbbcb3138', 'ip_version': 4, 'cidr': '128.212.19.0/26', 'allocation_pools': [{'start': '128.212.19.2', 'end': '128.212.19.62'}], 'gateway_ip': '128.212.19.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '128.212.19.2', 'tags': [], 'project_id': '8e5403f854e64299bbb71b27e024de8c'}}
2025-10-27 20:57:29,783 - INFO - Created VN ctest-vn-87483370
2025-10-27 20:57:29,836 - DEBUG - VN ctest-vn-87483370 UUID is eb70e703-4968-42df-9340-34afbbcb3138
2025-10-27 20:57:30,132 - DEBUG - Response for create_network : {'network': {'id': '3440f324-95d2-4b64-8c8a-8dad4081b9a0', 'name': 'ctest-vn-59093163', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-59093163'], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:57:30,347 - DEBUG - Response for create_subnet : {'subnet': {'id': 'acad67a4-6b7d-4063-a0ea-9acc8995c764', 'name': '', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'network_id': '3440f324-95d2-4b64-8c8a-8dad4081b9a0', 'ip_version': 4, 'cidr': '221.178.99.192/26', 'allocation_pools': [{'start': '221.178.99.194', 'end': '221.178.99.254'}], 'gateway_ip': '221.178.99.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '221.178.99.194', 'tags': [], 'project_id': '8e5403f854e64299bbb71b27e024de8c'}}
2025-10-27 20:57:30,365 - INFO - Created VN ctest-vn-59093163
2025-10-27 20:57:30,420 - DEBUG - VN ctest-vn-59093163 UUID is 3440f324-95d2-4b64-8c8a-8dad4081b9a0
2025-10-27 20:57:30,572 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370, 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-83650171:ctest-vn-59093163, 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-27 20:57:30,866 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'eb70e703-4968-42df-9340-34afbbcb3138', 'name': 'ctest-vn-87483370', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5d4cee75-5bc1-40e1-ab92-89530c6649b5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-87483370'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729']], 'subnet_ipam': [{'subnet_cidr': '128.212.19.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:57:31,094 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3440f324-95d2-4b64-8c8a-8dad4081b9a0', 'name': 'ctest-vn-59093163', 'tenant_id': '8e5403f854e64299bbb71b27e024de8c', 'project_id': '8e5403f854e64299bbb71b27e024de8c', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['acad67a4-6b7d-4063-a0ea-9acc8995c764'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-vn-59093163'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729']], 'subnet_ipam': [{'subnet_cidr': '221.178.99.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-27 20:57:31,240 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:57:31,581 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:57:31,609 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c
2025-10-27 20:57:31,621 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c
2025-10-27 20:57:31,695 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138
2025-10-27 20:57:31,705 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138
2025-10-27 20:57:31,715 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a
2025-10-27 20:57:31,722 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a
2025-10-27 20:57:31,729 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5c832f8b-0cf7-4f8b-a064-0d9fdbcf9af7
2025-10-27 20:57:31,735 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 20:57:31,735 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138
2025-10-27 20:57:31,743 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a
2025-10-27 20:57:31,758 - INFO - Verified VN network id 11 for VN eb70e703-4968-42df-9340-34afbbcb3138
2025-10-27 20:57:31,758 - INFO - Verifications in API Server for VN ctest-vn-87483370 passed
2025-10-27 20:57:31,758 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138
2025-10-27 20:57:31,770 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a
2025-10-27 20:57:31,777 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/b21fcdba-c95b-467e-809a-aa1a04ee399a
2025-10-27 20:57:31,784 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/5c832f8b-0cf7-4f8b-a064-0d9fdbcf9af7
2025-10-27 20:57:31,797 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83650171', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16965313797607146207', 'uuid-lslong': '10610538651459465528'}, 'enable': 'true', 'created': '2025-10-27T20:57:29', 'last-modified': '2025-10-27T20:57:30', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.948256'}
2025-10-27 20:57:31,805 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-27 20:57:31,805 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-87483370 passed
2025-10-27 20:57:31,805 - DEBUG - ====Verifying policy data for ctest-vn-87483370 in API_Server ======
2025-10-27 20:57:31,806 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:57:31,811 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c
2025-10-27 20:57:31,823 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c
2025-10-27 20:57:31,893 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/eb70e703-4968-42df-9340-34afbbcb3138
2025-10-27 20:57:31,901 - DEBUG - ==>Verifying data for policy with id: 96e04f6d-3ae1-44bd-9928-0ef021aafb6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729']
2025-10-27 20:57:31,901 - INFO - VN ctest-vn-87483370 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 20:57:31,901 - DEBUG - Verifying the vn in opserver
2025-10-27 20:57:31,901 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370 virtual network link  through opserver 10.0.0.242
2025-10-27 20:57:31,901 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-27 20:57:32,233 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-27 20:57:32,286 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370?flat'}
2025-10-27 20:57:32,286 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-87483370 is found in opserver
2025-10-27 20:57:32,294 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 20:57:32,298 - DEBUG - VRF ids for VN ctest-vn-87483370: {}
2025-10-27 20:57:32,298 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:57:32,303 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c
2025-10-27 20:57:32,313 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c
2025-10-27 20:57:32,380 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0
2025-10-27 20:57:32,390 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0
2025-10-27 20:57:32,398 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57
2025-10-27 20:57:32,405 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57
2025-10-27 20:57:32,411 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/353c4991-2dfa-4b2c-b81c-ee5207d9a4b4
2025-10-27 20:57:32,417 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 20:57:32,417 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0
2025-10-27 20:57:32,425 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57
2025-10-27 20:57:32,436 - INFO - Verified VN network id 12 for VN 3440f324-95d2-4b64-8c8a-8dad4081b9a0
2025-10-27 20:57:32,436 - INFO - Verifications in API Server for VN ctest-vn-59093163 passed
2025-10-27 20:57:32,436 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0
2025-10-27 20:57:32,444 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57
2025-10-27 20:57:32,450 - DEBUG - Requesting: http://10.0.0.242:8082/routing-instance/51549dab-d578-41a2-9478-7bcc3094cd57
2025-10-27 20:57:32,456 - DEBUG - Requesting: http://10.0.0.242:8082/route-target/353c4991-2dfa-4b2c-b81c-ee5207d9a4b4
2025-10-27 20:57:32,467 - DEBUG - Control-node 10.0.0.242 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-83650171', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3765276626939693924', 'uuid-lslong': '10127062487347083680'}, 'enable': 'true', 'created': '2025-10-27T20:57:30', 'last-modified': '2025-10-27T20:57:31', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.396147'}
2025-10-27 20:57:32,474 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-27 20:57:32,474 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-59093163 passed
2025-10-27 20:57:32,474 - DEBUG - ====Verifying policy data for ctest-vn-59093163 in API_Server ======
2025-10-27 20:57:32,474 - DEBUG - Requesting: http://10.0.0.242:8082/domains
2025-10-27 20:57:32,479 - DEBUG - Requesting: http://10.0.0.242:8082/domain/8e06770b-6f40-410a-9492-db45fd454d4c
2025-10-27 20:57:32,488 - DEBUG - Requesting: http://10.0.0.242:8082/project/8e5403f8-54e6-4299-bbb7-1b27e024de8c
2025-10-27 20:57:32,557 - DEBUG - Requesting: http://10.0.0.242:8082/virtual-network/3440f324-95d2-4b64-8c8a-8dad4081b9a0
2025-10-27 20:57:32,566 - DEBUG - ==>Verifying data for policy with id: 96e04f6d-3ae1-44bd-9928-0ef021aafb6a, fqn: ['default-domain', 'ctest-TestBasicPolicy-83650171', 'ctest-policy-allow-all-44461729']
2025-10-27 20:57:32,566 - INFO - VN ctest-vn-59093163 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-27 20:57:32,566 - DEBUG - Verifying the vn in opserver
2025-10-27 20:57:32,566 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163 virtual network link  through opserver 10.0.0.242
2025-10-27 20:57:32,566 - DEBUG - Requesting: http://10.0.0.242:8081/analytics/uves/virtual-networks
2025-10-27 20:57:32,576 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163', 'href': 'http://10.0.0.242:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163?flat'}
2025-10-27 20:57:32,576 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-83650171:ctest-vn-59093163 is found in opserver
2025-10-27 20:57:32,585 - DEBUG - Do not have enough data to verify VN in agent
2025-10-27 20:57:32,590 - DEBUG - VRF ids for VN ctest-vn-59093163: {}
2025-10-27 20:57:32,648 - DEBUG - Services list from nova: [