2025-10-31 03:27:49,695 - INFO - Domain Default found not creating
2025-10-31 03:27:49,846 - INFO - Project ctest-TestBasicPolicy-42611291 not found, creating it
2025-10-31 03:27:50,287 - INFO - Created Project:ctest-TestBasicPolicy-42611291, ID : d149af1e-986f-4e7d-bf8c-51546c573ac2 
2025-10-31 03:27:51,707 - INFO - ================================================================================
2025-10-31 03:27:51,707 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-31 03:27:51,707 - 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-31 03:27:51,963 - DEBUG - Nothing to compare xmpp stats {'10.0.0.254': {'10.20.0.14': '0'}} with
2025-10-31 03:27:51,963 - INFO - Initial checks done. Running the testcase now
2025-10-31 03:27:51,963 - INFO - 
2025-10-31 03:27:52,485 - DEBUG - Response for create_network : {'network': {'id': '3ea70453-67e9-4305-a001-c565955b7605', 'name': 'ctest-vn-29565808', 'tenant_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'project_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-vn-29565808'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 03:27:52,688 - DEBUG - Response for create_subnet : {'subnet': {'id': '0dd86d65-cbe0-4e75-83b9-38fba54c6c4e', 'name': '', 'tenant_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'network_id': '3ea70453-67e9-4305-a001-c565955b7605', 'ip_version': 4, 'cidr': '196.11.176.192/26', 'allocation_pools': [{'start': '196.11.176.194', 'end': '196.11.176.254'}], 'gateway_ip': '196.11.176.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '196.11.176.194', 'tags': [], 'project_id': 'd149af1e986f4e7dbf8c51546c573ac2'}}
2025-10-31 03:27:52,703 - INFO - Created VN ctest-vn-29565808
2025-10-31 03:27:52,752 - DEBUG - VN ctest-vn-29565808 UUID is 3ea70453-67e9-4305-a001-c565955b7605
2025-10-31 03:27:53,062 - DEBUG - Response for create_network : {'network': {'id': 'e1a4238c-07f7-43a0-8eb0-ac7b195c0961', 'name': 'ctest-vn-55581505', 'tenant_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'project_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-vn-55581505'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 03:27:53,244 - DEBUG - Response for create_subnet : {'subnet': {'id': '531cc245-f0f5-45ab-bae8-045f9d4365b8', 'name': '', 'tenant_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'network_id': 'e1a4238c-07f7-43a0-8eb0-ac7b195c0961', 'ip_version': 4, 'cidr': '21.176.76.0/26', 'allocation_pools': [{'start': '21.176.76.2', 'end': '21.176.76.62'}], 'gateway_ip': '21.176.76.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.176.76.2', 'tags': [], 'project_id': 'd149af1e986f4e7dbf8c51546c573ac2'}}
2025-10-31 03:27:53,261 - INFO - Created VN ctest-vn-55581505
2025-10-31 03:27:53,312 - DEBUG - VN ctest-vn-55581505 UUID is e1a4238c-07f7-43a0-8eb0-ac7b195c0961
2025-10-31 03:27:53,460 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-29565808, 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-42611291:ctest-vn-55581505, 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-31 03:27:53,732 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '3ea70453-67e9-4305-a001-c565955b7605', 'name': 'ctest-vn-29565808', 'tenant_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'project_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['0dd86d65-cbe0-4e75-83b9-38fba54c6c4e'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-vn-29565808'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-policy-allow-all-57289284']], 'subnet_ipam': [{'subnet_cidr': '196.11.176.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 03:27:53,944 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e1a4238c-07f7-43a0-8eb0-ac7b195c0961', 'name': 'ctest-vn-55581505', 'tenant_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'project_id': 'd149af1e986f4e7dbf8c51546c573ac2', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['531cc245-f0f5-45ab-bae8-045f9d4365b8'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-vn-55581505'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-policy-allow-all-57289284']], 'subnet_ipam': [{'subnet_cidr': '21.176.76.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 03:27:54,108 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 03:27:54,405 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 03:27:54,432 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7e75470a-6a69-41bb-a8af-f2f0975c830f
2025-10-31 03:27:54,444 - DEBUG - Requesting: http://10.0.0.254:8082/project/d149af1e-986f-4e7d-bf8c-51546c573ac2
2025-10-31 03:27:54,526 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3ea70453-67e9-4305-a001-c565955b7605
2025-10-31 03:27:54,538 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3ea70453-67e9-4305-a001-c565955b7605
2025-10-31 03:27:54,546 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e75c6e6-e7d3-45bb-ae37-44d6cb7f51c7
2025-10-31 03:27:54,553 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e75c6e6-e7d3-45bb-ae37-44d6cb7f51c7
2025-10-31 03:27:54,559 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7c434118-d0b7-426e-b1ac-55b1d50104ae
2025-10-31 03:27:54,564 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 03:27:54,564 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3ea70453-67e9-4305-a001-c565955b7605
2025-10-31 03:27:54,572 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e75c6e6-e7d3-45bb-ae37-44d6cb7f51c7
2025-10-31 03:27:54,584 - INFO - Verified VN network id 11 for VN 3ea70453-67e9-4305-a001-c565955b7605
2025-10-31 03:27:54,584 - INFO - Verifications in API Server for VN ctest-vn-29565808 passed
2025-10-31 03:27:54,584 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3ea70453-67e9-4305-a001-c565955b7605
2025-10-31 03:27:54,592 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e75c6e6-e7d3-45bb-ae37-44d6cb7f51c7
2025-10-31 03:27:54,598 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/9e75c6e6-e7d3-45bb-ae37-44d6cb7f51c7
2025-10-31 03:27:54,603 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/7c434118-d0b7-426e-b1ac-55b1d50104ae
2025-10-31 03:27:54,613 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-29565808', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42611291', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4514581907734348549', 'uuid-lslong': '11529713561133348357'}, 'enable': 'true', 'created': '2025-10-31T03:27:52', 'last-modified': '2025-10-31T03:27:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.897515'}
2025-10-31 03:27:54,618 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 03:27:54,618 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-29565808 passed
2025-10-31 03:27:54,618 - DEBUG - ====Verifying policy data for ctest-vn-29565808 in API_Server ======
2025-10-31 03:27:54,618 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 03:27:54,623 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7e75470a-6a69-41bb-a8af-f2f0975c830f
2025-10-31 03:27:54,633 - DEBUG - Requesting: http://10.0.0.254:8082/project/d149af1e-986f-4e7d-bf8c-51546c573ac2
2025-10-31 03:27:54,705 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/3ea70453-67e9-4305-a001-c565955b7605
2025-10-31 03:27:54,712 - DEBUG - ==>Verifying data for policy with id: cdc976ae-a994-4980-8036-febcb4b186a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-policy-allow-all-57289284']
2025-10-31 03:27:54,712 - INFO - VN ctest-vn-29565808 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 03:27:54,713 - DEBUG - Verifying the vn in opserver
2025-10-31 03:27:54,713 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-29565808 virtual network link  through opserver 10.0.0.254
2025-10-31 03:27:54,713 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 03:27:55,003 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 03:27:55,053 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-29565808', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-29565808?flat'}
2025-10-31 03:27:55,053 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-29565808 is found in opserver
2025-10-31 03:27:55,061 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 03:27:55,065 - DEBUG - VRF ids for VN ctest-vn-29565808: {}
2025-10-31 03:27:55,065 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 03:27:55,070 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7e75470a-6a69-41bb-a8af-f2f0975c830f
2025-10-31 03:27:55,079 - DEBUG - Requesting: http://10.0.0.254:8082/project/d149af1e-986f-4e7d-bf8c-51546c573ac2
2025-10-31 03:27:55,150 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e1a4238c-07f7-43a0-8eb0-ac7b195c0961
2025-10-31 03:27:55,160 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e1a4238c-07f7-43a0-8eb0-ac7b195c0961
2025-10-31 03:27:55,169 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36ef592a-0d4f-4a9a-a36f-90a8f97dec81
2025-10-31 03:27:55,175 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36ef592a-0d4f-4a9a-a36f-90a8f97dec81
2025-10-31 03:27:55,181 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0e150544-1c99-4071-8cd2-ffafa27cdb58
2025-10-31 03:27:55,189 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 03:27:55,190 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e1a4238c-07f7-43a0-8eb0-ac7b195c0961
2025-10-31 03:27:55,198 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36ef592a-0d4f-4a9a-a36f-90a8f97dec81
2025-10-31 03:27:55,210 - INFO - Verified VN network id 12 for VN e1a4238c-07f7-43a0-8eb0-ac7b195c0961
2025-10-31 03:27:55,211 - INFO - Verifications in API Server for VN ctest-vn-55581505 passed
2025-10-31 03:27:55,211 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e1a4238c-07f7-43a0-8eb0-ac7b195c0961
2025-10-31 03:27:55,219 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36ef592a-0d4f-4a9a-a36f-90a8f97dec81
2025-10-31 03:27:55,226 - DEBUG - Requesting: http://10.0.0.254:8082/routing-instance/36ef592a-0d4f-4a9a-a36f-90a8f97dec81
2025-10-31 03:27:55,232 - DEBUG - Requesting: http://10.0.0.254:8082/route-target/0e150544-1c99-4071-8cd2-ffafa27cdb58
2025-10-31 03:27:55,244 - DEBUG - Control-node 10.0.0.254 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-55581505', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-42611291', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16259159639050372000', 'uuid-lslong': '10281907593993259361'}, 'enable': 'true', 'created': '2025-10-31T03:27:53', 'last-modified': '2025-10-31T03:27:53', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.322793'}
2025-10-31 03:27:55,249 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 03:27:55,249 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-55581505 passed
2025-10-31 03:27:55,249 - DEBUG - ====Verifying policy data for ctest-vn-55581505 in API_Server ======
2025-10-31 03:27:55,249 - DEBUG - Requesting: http://10.0.0.254:8082/domains
2025-10-31 03:27:55,254 - DEBUG - Requesting: http://10.0.0.254:8082/domain/7e75470a-6a69-41bb-a8af-f2f0975c830f
2025-10-31 03:27:55,264 - DEBUG - Requesting: http://10.0.0.254:8082/project/d149af1e-986f-4e7d-bf8c-51546c573ac2
2025-10-31 03:27:55,337 - DEBUG - Requesting: http://10.0.0.254:8082/virtual-network/e1a4238c-07f7-43a0-8eb0-ac7b195c0961
2025-10-31 03:27:55,345 - DEBUG - ==>Verifying data for policy with id: cdc976ae-a994-4980-8036-febcb4b186a1, fqn: ['default-domain', 'ctest-TestBasicPolicy-42611291', 'ctest-policy-allow-all-57289284']
2025-10-31 03:27:55,345 - INFO - VN ctest-vn-55581505 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 03:27:55,345 - DEBUG - Verifying the vn in opserver
2025-10-31 03:27:55,345 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-55581505 virtual network link  through opserver 10.0.0.254
2025-10-31 03:27:55,345 - DEBUG - Requesting: http://10.0.0.254:8081/analytics/uves/virtual-networks
2025-10-31 03:27:55,354 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-55581505', 'href': 'http://10.0.0.254:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-55581505?flat'}
2025-10-31 03:27:55,354 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-42611291:ctest-vn-55581505 is found in opserver
2025-10-31 03:27:55,362 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 03:27:55,367 - DEBUG - VRF ids for VN ctest-vn-55581505: {}
2025-10-31 03:27:55,423 - DEBUG - Services list from nova: [