2025-10-28 21:30:08,506 - INFO - Domain Default found not creating
2025-10-28 21:30:08,651 - INFO - Project ctest-TestBasicPolicy-31173266 not found, creating it
2025-10-28 21:30:09,084 - INFO - Created Project:ctest-TestBasicPolicy-31173266, ID : 801265e4-d177-4e8e-bfa6-ecfa70dc1cf8 
2025-10-28 21:30:10,467 - INFO - ================================================================================
2025-10-28 21:30:10,467 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-28 21:30:10,467 - 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-28 21:30:10,722 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.17': '0'}} with
2025-10-28 21:30:10,722 - INFO - Initial checks done. Running the testcase now
2025-10-28 21:30:10,722 - INFO - 
2025-10-28 21:30:11,250 - DEBUG - Response for create_network : {'network': {'id': '90665ad4-8400-436c-809b-3109349190fa', 'name': 'ctest-vn-44357318', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-44357318'], 'port_security_enabled': True, 'description': ''}}
2025-10-28 21:30:11,435 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c089277d-5864-4879-adc0-84427985de05', 'name': '', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'network_id': '90665ad4-8400-436c-809b-3109349190fa', 'ip_version': 4, 'cidr': '136.192.192.128/26', 'allocation_pools': [{'start': '136.192.192.130', 'end': '136.192.192.190'}], 'gateway_ip': '136.192.192.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '136.192.192.130', 'tags': [], 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8'}}
2025-10-28 21:30:11,452 - INFO - Created VN ctest-vn-44357318
2025-10-28 21:30:11,504 - DEBUG - VN ctest-vn-44357318 UUID is 90665ad4-8400-436c-809b-3109349190fa
2025-10-28 21:30:11,817 - DEBUG - Response for create_network : {'network': {'id': '7077ddcd-c236-473f-9da1-457f29fe3113', 'name': 'ctest-vn-40182584', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-40182584'], 'port_security_enabled': True, 'description': ''}}
2025-10-28 21:30:12,007 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e3c2b62d-fe46-496f-85b3-f22bc5a1f284', 'name': '', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'network_id': '7077ddcd-c236-473f-9da1-457f29fe3113', 'ip_version': 4, 'cidr': '58.0.118.192/26', 'allocation_pools': [{'start': '58.0.118.194', 'end': '58.0.118.254'}], 'gateway_ip': '58.0.118.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '58.0.118.194', 'tags': [], 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8'}}
2025-10-28 21:30:12,027 - INFO - Created VN ctest-vn-40182584
2025-10-28 21:30:12,080 - DEBUG - VN ctest-vn-40182584 UUID is 7077ddcd-c236-473f-9da1-457f29fe3113
2025-10-28 21:30:12,193 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318, 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-31173266:ctest-vn-40182584, 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-28 21:30:12,482 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '90665ad4-8400-436c-809b-3109349190fa', 'name': 'ctest-vn-44357318', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['c089277d-5864-4879-adc0-84427985de05'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-44357318'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372']], 'subnet_ipam': [{'subnet_cidr': '136.192.192.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-28 21:30:12,704 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7077ddcd-c236-473f-9da1-457f29fe3113', 'name': 'ctest-vn-40182584', 'tenant_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'project_id': '801265e4d1774e8ebfa6ecfa70dc1cf8', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e3c2b62d-fe46-496f-85b3-f22bc5a1f284'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-vn-40182584'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372']], 'subnet_ipam': [{'subnet_cidr': '58.0.118.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-28 21:30:12,868 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-28 21:30:13,159 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-28 21:30:13,196 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26
2025-10-28 21:30:13,206 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8
2025-10-28 21:30:13,275 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa
2025-10-28 21:30:13,285 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa
2025-10-28 21:30:13,294 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73
2025-10-28 21:30:13,301 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73
2025-10-28 21:30:13,309 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96c6d5f3-e78f-42ef-8fce-fcdb35cddd9a
2025-10-28 21:30:13,315 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-28 21:30:13,315 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa
2025-10-28 21:30:13,323 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73
2025-10-28 21:30:13,336 - INFO - Verified VN network id 11 for VN 90665ad4-8400-436c-809b-3109349190fa
2025-10-28 21:30:13,337 - INFO - Verifications in API Server for VN ctest-vn-44357318 passed
2025-10-28 21:30:13,337 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa
2025-10-28 21:30:13,344 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73
2025-10-28 21:30:13,351 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/de08a47a-d5d7-4747-b022-08d0bd062a73
2025-10-28 21:30:13,357 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/96c6d5f3-e78f-42ef-8fce-fcdb35cddd9a
2025-10-28 21:30:13,368 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31173266', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10405103857880286060', 'uuid-lslong': '9267054573851349242'}, 'enable': 'true', 'created': '2025-10-28T21:30:11', 'last-modified': '2025-10-28T21:30:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.905196'}
2025-10-28 21:30:13,374 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-28 21:30:13,374 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44357318 passed
2025-10-28 21:30:13,375 - DEBUG - ====Verifying policy data for ctest-vn-44357318 in API_Server ======
2025-10-28 21:30:13,375 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-28 21:30:13,380 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26
2025-10-28 21:30:13,390 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8
2025-10-28 21:30:13,459 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/90665ad4-8400-436c-809b-3109349190fa
2025-10-28 21:30:13,467 - DEBUG - ==>Verifying data for policy with id: d8a39bad-71bb-4776-a78d-eb0fcbb2e47f, fqn: ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372']
2025-10-28 21:30:13,467 - INFO - VN ctest-vn-44357318 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-28 21:30:13,468 - DEBUG - Verifying the vn in opserver
2025-10-28 21:30:13,468 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318 virtual network link  through opserver 10.0.0.249
2025-10-28 21:30:13,468 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-28 21:30:13,757 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-28 21:30:13,812 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318?flat'}
2025-10-28 21:30:13,812 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-44357318 is found in opserver
2025-10-28 21:30:13,821 - DEBUG - Do not have enough data to verify VN in agent
2025-10-28 21:30:13,825 - DEBUG - VRF ids for VN ctest-vn-44357318: {}
2025-10-28 21:30:13,825 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-28 21:30:13,830 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26
2025-10-28 21:30:13,840 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8
2025-10-28 21:30:13,908 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113
2025-10-28 21:30:13,919 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113
2025-10-28 21:30:13,927 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec
2025-10-28 21:30:13,934 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec
2025-10-28 21:30:13,940 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/033f275c-7f41-4f17-b4fa-0cef65302fe7
2025-10-28 21:30:13,946 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-28 21:30:13,946 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113
2025-10-28 21:30:13,966 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec
2025-10-28 21:30:13,982 - INFO - Verified VN network id 12 for VN 7077ddcd-c236-473f-9da1-457f29fe3113
2025-10-28 21:30:13,982 - INFO - Verifications in API Server for VN ctest-vn-40182584 passed
2025-10-28 21:30:13,982 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113
2025-10-28 21:30:13,991 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec
2025-10-28 21:30:13,997 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/f95cd8c2-5cf6-4530-b444-a5052aa9e1ec
2025-10-28 21:30:14,003 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/033f275c-7f41-4f17-b4fa-0cef65302fe7
2025-10-28 21:30:14,015 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-31173266', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8104189930272868159', 'uuid-lslong': '11358436147672789267'}, 'enable': 'true', 'created': '2025-10-28T21:30:11', 'last-modified': '2025-10-28T21:30:12', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.330705'}
2025-10-28 21:30:14,021 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-28 21:30:14,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40182584 passed
2025-10-28 21:30:14,022 - DEBUG - ====Verifying policy data for ctest-vn-40182584 in API_Server ======
2025-10-28 21:30:14,022 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-28 21:30:14,027 - DEBUG - Requesting: http://10.0.0.249:8082/domain/57b2b5fe-615b-47fc-ad35-334cf7ad4d26
2025-10-28 21:30:14,037 - DEBUG - Requesting: http://10.0.0.249:8082/project/801265e4-d177-4e8e-bfa6-ecfa70dc1cf8
2025-10-28 21:30:14,106 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/7077ddcd-c236-473f-9da1-457f29fe3113
2025-10-28 21:30:14,114 - DEBUG - ==>Verifying data for policy with id: d8a39bad-71bb-4776-a78d-eb0fcbb2e47f, fqn: ['default-domain', 'ctest-TestBasicPolicy-31173266', 'ctest-policy-allow-all-53448372']
2025-10-28 21:30:14,114 - INFO - VN ctest-vn-40182584 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-28 21:30:14,114 - DEBUG - Verifying the vn in opserver
2025-10-28 21:30:14,115 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584 virtual network link  through opserver 10.0.0.249
2025-10-28 21:30:14,115 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-28 21:30:14,124 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584?flat'}
2025-10-28 21:30:14,124 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-31173266:ctest-vn-40182584 is found in opserver
2025-10-28 21:30:14,132 - DEBUG - Do not have enough data to verify VN in agent
2025-10-28 21:30:14,137 - DEBUG - VRF ids for VN ctest-vn-40182584: {}
2025-10-28 21:30:14,192 - DEBUG - Services list from nova: [