2025-10-17 10:19:56,840 - INFO - Domain Default found not creating
2025-10-17 10:19:57,014 - INFO - Project ctest-TestBasicPolicy-09315804 not found, creating it
2025-10-17 10:19:57,685 - INFO - Created Project:ctest-TestBasicPolicy-09315804, ID : 88f0df83-097c-47a2-82ee-e84c4ea1bbb2 
2025-10-17 10:19:59,060 - INFO - ================================================================================
2025-10-17 10:19:59,060 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-17 10:19:59,060 - 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-17 10:19:59,316 - DEBUG - Nothing to compare xmpp stats {'10.0.0.131': {'10.20.0.17': '0'}} with
2025-10-17 10:19:59,316 - INFO - Initial checks done. Running the testcase now
2025-10-17 10:19:59,316 - INFO - 
2025-10-17 10:19:59,839 - DEBUG - Response for create_network : {'network': {'id': 'dba42d7e-e30a-4184-b8f6-7688d6d7d383', 'name': 'ctest-vn-38902364', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-38902364'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 10:20:00,041 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fc3a12e9-cc69-4c6b-8a72-b2b4c7c3a58c', 'name': '', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'network_id': 'dba42d7e-e30a-4184-b8f6-7688d6d7d383', 'ip_version': 4, 'cidr': '143.95.255.192/26', 'allocation_pools': [{'start': '143.95.255.194', 'end': '143.95.255.254'}], 'gateway_ip': '143.95.255.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '143.95.255.194', 'tags': [], 'project_id': '88f0df83097c47a282eee84c4ea1bbb2'}}
2025-10-17 10:20:00,056 - INFO - Created VN ctest-vn-38902364
2025-10-17 10:20:00,106 - DEBUG - VN ctest-vn-38902364 UUID is dba42d7e-e30a-4184-b8f6-7688d6d7d383
2025-10-17 10:20:00,413 - DEBUG - Response for create_network : {'network': {'id': '6df5b916-873f-4c04-895b-c2b3f5a3952a', 'name': 'ctest-vn-06049887', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-06049887'], 'port_security_enabled': True, 'description': ''}}
2025-10-17 10:20:00,563 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b91ab0b6-8f4a-452e-add5-d7520f51fa0c', 'name': '', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'network_id': '6df5b916-873f-4c04-895b-c2b3f5a3952a', 'ip_version': 4, 'cidr': '14.119.221.64/26', 'allocation_pools': [{'start': '14.119.221.66', 'end': '14.119.221.126'}], 'gateway_ip': '14.119.221.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '14.119.221.66', 'tags': [], 'project_id': '88f0df83097c47a282eee84c4ea1bbb2'}}
2025-10-17 10:20:00,577 - INFO - Created VN ctest-vn-06049887
2025-10-17 10:20:00,630 - DEBUG - VN ctest-vn-06049887 UUID is 6df5b916-873f-4c04-895b-c2b3f5a3952a
2025-10-17 10:20:00,774 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364, 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-09315804:ctest-vn-06049887, 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-17 10:20:01,069 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'dba42d7e-e30a-4184-b8f6-7688d6d7d383', 'name': 'ctest-vn-38902364', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fc3a12e9-cc69-4c6b-8a72-b2b4c7c3a58c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-38902364'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006']], 'subnet_ipam': [{'subnet_cidr': '143.95.255.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-17 10:20:01,317 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6df5b916-873f-4c04-895b-c2b3f5a3952a', 'name': 'ctest-vn-06049887', 'tenant_id': '88f0df83097c47a282eee84c4ea1bbb2', 'project_id': '88f0df83097c47a282eee84c4ea1bbb2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b91ab0b6-8f4a-452e-add5-d7520f51fa0c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-vn-06049887'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006']], 'subnet_ipam': [{'subnet_cidr': '14.119.221.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-17 10:20:01,483 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-17 10:20:01,779 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-17 10:20:01,814 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855
2025-10-17 10:20:01,825 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2
2025-10-17 10:20:01,901 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383
2025-10-17 10:20:01,911 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383
2025-10-17 10:20:01,920 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292
2025-10-17 10:20:01,927 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292
2025-10-17 10:20:01,934 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cdbb8ac6-3ae0-428d-85a3-7e80141a53e9
2025-10-17 10:20:01,940 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-17 10:20:01,940 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383
2025-10-17 10:20:01,951 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292
2025-10-17 10:20:01,966 - INFO - Verified VN network id 9 for VN dba42d7e-e30a-4184-b8f6-7688d6d7d383
2025-10-17 10:20:01,967 - INFO - Verifications in API Server for VN ctest-vn-38902364 passed
2025-10-17 10:20:01,967 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383
2025-10-17 10:20:01,977 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292
2025-10-17 10:20:01,985 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/7b020041-d3b8-4204-aa57-5070bf35c292
2025-10-17 10:20:01,992 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/cdbb8ac6-3ae0-428d-85a3-7e80141a53e9
2025-10-17 10:20:02,003 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09315804', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15826825013484994948', 'uuid-lslong': '13327970477341660035'}, 'enable': 'true', 'created': '2025-10-17T10:19:59', 'last-modified': '2025-10-17T10:20:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.953168'}
2025-10-17 10:20:02,009 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-17 10:20:02,009 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-38902364 passed
2025-10-17 10:20:02,009 - DEBUG - ====Verifying policy data for ctest-vn-38902364 in API_Server ======
2025-10-17 10:20:02,009 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-17 10:20:02,014 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855
2025-10-17 10:20:02,027 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2
2025-10-17 10:20:02,095 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/dba42d7e-e30a-4184-b8f6-7688d6d7d383
2025-10-17 10:20:02,105 - DEBUG - ==>Verifying data for policy with id: 1ecaf4dc-b84b-41b8-854a-e17026dcc492, fqn: ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006']
2025-10-17 10:20:02,105 - INFO - VN ctest-vn-38902364 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-17 10:20:02,105 - DEBUG - Verifying the vn in opserver
2025-10-17 10:20:02,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364 virtual network link  through opserver 10.0.0.131
2025-10-17 10:20:02,106 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-17 10:20:02,411 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-17 10:20:02,466 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364?flat'}
2025-10-17 10:20:02,466 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-38902364 is found in opserver
2025-10-17 10:20:02,475 - DEBUG - Do not have enough data to verify VN in agent
2025-10-17 10:20:02,479 - DEBUG - VRF ids for VN ctest-vn-38902364: {}
2025-10-17 10:20:02,479 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-17 10:20:02,485 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855
2025-10-17 10:20:02,498 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2
2025-10-17 10:20:02,568 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a
2025-10-17 10:20:02,579 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a
2025-10-17 10:20:02,588 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331
2025-10-17 10:20:02,595 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331
2025-10-17 10:20:02,602 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/5ac2894c-f283-47ba-b4c6-8e8dd7b6d2a7
2025-10-17 10:20:02,608 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-17 10:20:02,608 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a
2025-10-17 10:20:02,617 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331
2025-10-17 10:20:02,631 - INFO - Verified VN network id 10 for VN 6df5b916-873f-4c04-895b-c2b3f5a3952a
2025-10-17 10:20:02,631 - INFO - Verifications in API Server for VN ctest-vn-06049887 passed
2025-10-17 10:20:02,631 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a
2025-10-17 10:20:02,640 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331
2025-10-17 10:20:02,648 - DEBUG - Requesting: http://10.0.0.131:8082/routing-instance/5e753523-dc09-4dd1-a9d2-1875d9a16331
2025-10-17 10:20:02,655 - DEBUG - Requesting: http://10.0.0.131:8082/route-target/5ac2894c-f283-47ba-b4c6-8e8dd7b6d2a7
2025-10-17 10:20:02,668 - DEBUG - Control-node 10.0.0.131 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-09315804', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7923442625837747204', 'uuid-lslong': '9897718684252869930'}, 'enable': 'true', 'created': '2025-10-17T10:20:00', 'last-modified': '2025-10-17T10:20:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.390886'}
2025-10-17 10:20:02,675 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-17 10:20:02,675 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-06049887 passed
2025-10-17 10:20:02,675 - DEBUG - ====Verifying policy data for ctest-vn-06049887 in API_Server ======
2025-10-17 10:20:02,675 - DEBUG - Requesting: http://10.0.0.131:8082/domains
2025-10-17 10:20:02,682 - DEBUG - Requesting: http://10.0.0.131:8082/domain/83eb82ac-987f-4bee-bba3-1761b9cd7855
2025-10-17 10:20:02,694 - DEBUG - Requesting: http://10.0.0.131:8082/project/88f0df83-097c-47a2-82ee-e84c4ea1bbb2
2025-10-17 10:20:02,766 - DEBUG - Requesting: http://10.0.0.131:8082/virtual-network/6df5b916-873f-4c04-895b-c2b3f5a3952a
2025-10-17 10:20:02,777 - DEBUG - ==>Verifying data for policy with id: 1ecaf4dc-b84b-41b8-854a-e17026dcc492, fqn: ['default-domain', 'ctest-TestBasicPolicy-09315804', 'ctest-policy-allow-all-18490006']
2025-10-17 10:20:02,777 - INFO - VN ctest-vn-06049887 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-17 10:20:02,777 - DEBUG - Verifying the vn in opserver
2025-10-17 10:20:02,777 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887 virtual network link  through opserver 10.0.0.131
2025-10-17 10:20:02,777 - DEBUG - Requesting: http://10.0.0.131:8081/analytics/uves/virtual-networks
2025-10-17 10:20:02,787 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887', 'href': 'http://10.0.0.131:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887?flat'}
2025-10-17 10:20:02,787 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-09315804:ctest-vn-06049887 is found in opserver
2025-10-17 10:20:02,796 - DEBUG - Do not have enough data to verify VN in agent
2025-10-17 10:20:02,801 - DEBUG - VRF ids for VN ctest-vn-06049887: {}
2025-10-17 10:20:02,858 - DEBUG - Services list from nova: [