2025-10-20 12:12:22,632 - INFO - Domain Default found not creating
2025-10-20 12:12:22,782 - INFO - Project ctest-TestBasicPolicy-66694501 not found, creating it
2025-10-20 12:12:23,217 - INFO - Created Project:ctest-TestBasicPolicy-66694501, ID : e72238c7-cfe0-4fe1-a273-35c118bf415b 
2025-10-20 12:12:24,630 - INFO - ================================================================================
2025-10-20 12:12:24,630 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-20 12:12:24,630 - 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-20 12:12:24,883 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.18': '0'}} with
2025-10-20 12:12:24,884 - INFO - Initial checks done. Running the testcase now
2025-10-20 12:12:24,884 - INFO - 
2025-10-20 12:12:25,403 - DEBUG - Response for create_network : {'network': {'id': 'fc725756-f98e-42f5-803e-cb85ce74917b', 'name': 'ctest-vn-17509137', 'tenant_id': 'e72238c7cfe04fe1a27335c118bf415b', 'project_id': 'e72238c7cfe04fe1a27335c118bf415b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-vn-17509137'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 12:12:25,579 - DEBUG - Response for create_subnet : {'subnet': {'id': '11c9e37c-0753-4964-97de-d4084fbf1974', 'name': '', 'tenant_id': 'e72238c7cfe04fe1a27335c118bf415b', 'network_id': 'fc725756-f98e-42f5-803e-cb85ce74917b', 'ip_version': 4, 'cidr': '160.70.210.192/26', 'allocation_pools': [{'start': '160.70.210.194', 'end': '160.70.210.254'}], 'gateway_ip': '160.70.210.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '160.70.210.194', 'tags': [], 'project_id': 'e72238c7cfe04fe1a27335c118bf415b'}}
2025-10-20 12:12:25,596 - INFO - Created VN ctest-vn-17509137
2025-10-20 12:12:25,646 - DEBUG - VN ctest-vn-17509137 UUID is fc725756-f98e-42f5-803e-cb85ce74917b
2025-10-20 12:12:25,929 - DEBUG - Response for create_network : {'network': {'id': 'df43b093-0d19-438b-a746-422102d3b29a', 'name': 'ctest-vn-41322958', 'tenant_id': 'e72238c7cfe04fe1a27335c118bf415b', 'project_id': 'e72238c7cfe04fe1a27335c118bf415b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-vn-41322958'], 'port_security_enabled': True, 'description': ''}}
2025-10-20 12:12:26,091 - DEBUG - Response for create_subnet : {'subnet': {'id': '9e70752a-5d54-4b57-bc7e-25e27ca90a0a', 'name': '', 'tenant_id': 'e72238c7cfe04fe1a27335c118bf415b', 'network_id': 'df43b093-0d19-438b-a746-422102d3b29a', 'ip_version': 4, 'cidr': '115.197.31.0/26', 'allocation_pools': [{'start': '115.197.31.2', 'end': '115.197.31.62'}], 'gateway_ip': '115.197.31.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '115.197.31.2', 'tags': [], 'project_id': 'e72238c7cfe04fe1a27335c118bf415b'}}
2025-10-20 12:12:26,107 - INFO - Created VN ctest-vn-41322958
2025-10-20 12:12:26,157 - DEBUG - VN ctest-vn-41322958 UUID is df43b093-0d19-438b-a746-422102d3b29a
2025-10-20 12:12:26,309 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-17509137, 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-66694501:ctest-vn-41322958, 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-20 12:12:26,624 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fc725756-f98e-42f5-803e-cb85ce74917b', 'name': 'ctest-vn-17509137', 'tenant_id': 'e72238c7cfe04fe1a27335c118bf415b', 'project_id': 'e72238c7cfe04fe1a27335c118bf415b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['11c9e37c-0753-4964-97de-d4084fbf1974'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-vn-17509137'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-policy-allow-all-78948528']], 'subnet_ipam': [{'subnet_cidr': '160.70.210.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-20 12:12:26,895 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'df43b093-0d19-438b-a746-422102d3b29a', 'name': 'ctest-vn-41322958', 'tenant_id': 'e72238c7cfe04fe1a27335c118bf415b', 'project_id': 'e72238c7cfe04fe1a27335c118bf415b', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['9e70752a-5d54-4b57-bc7e-25e27ca90a0a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-vn-41322958'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-policy-allow-all-78948528']], 'subnet_ipam': [{'subnet_cidr': '115.197.31.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-20 12:12:27,049 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-20 12:12:27,348 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-20 12:12:27,374 - DEBUG - Requesting: http://10.0.0.38:8082/domain/09fd2001-091b-48c4-92fe-34bca3db707d
2025-10-20 12:12:27,384 - DEBUG - Requesting: http://10.0.0.38:8082/project/e72238c7-cfe0-4fe1-a273-35c118bf415b
2025-10-20 12:12:27,457 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc725756-f98e-42f5-803e-cb85ce74917b
2025-10-20 12:12:27,467 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc725756-f98e-42f5-803e-cb85ce74917b
2025-10-20 12:12:27,476 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f05c9c1-972f-4b0f-b4a3-c90ee6d908ac
2025-10-20 12:12:27,482 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f05c9c1-972f-4b0f-b4a3-c90ee6d908ac
2025-10-20 12:12:27,489 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a6de4fb-b9c5-49e7-b5d9-fbaf85c7181d
2025-10-20 12:12:27,495 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 12:12:27,495 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc725756-f98e-42f5-803e-cb85ce74917b
2025-10-20 12:12:27,503 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f05c9c1-972f-4b0f-b4a3-c90ee6d908ac
2025-10-20 12:12:27,516 - INFO - Verified VN network id 11 for VN fc725756-f98e-42f5-803e-cb85ce74917b
2025-10-20 12:12:27,516 - INFO - Verifications in API Server for VN ctest-vn-17509137 passed
2025-10-20 12:12:27,517 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc725756-f98e-42f5-803e-cb85ce74917b
2025-10-20 12:12:27,525 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f05c9c1-972f-4b0f-b4a3-c90ee6d908ac
2025-10-20 12:12:27,531 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/6f05c9c1-972f-4b0f-b4a3-c90ee6d908ac
2025-10-20 12:12:27,539 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/6a6de4fb-b9c5-49e7-b5d9-fbaf85c7181d
2025-10-20 12:12:27,552 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-17509137', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66694501', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18190697875968508661', 'uuid-lslong': '9241047260965671291'}, 'enable': 'true', 'created': '2025-10-20T12:12:25', 'last-modified': '2025-10-20T12:12:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.954407'}
2025-10-20 12:12:27,557 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-20 12:12:27,557 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-17509137 passed
2025-10-20 12:12:27,558 - DEBUG - ====Verifying policy data for ctest-vn-17509137 in API_Server ======
2025-10-20 12:12:27,560 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-20 12:12:27,565 - DEBUG - Requesting: http://10.0.0.38:8082/domain/09fd2001-091b-48c4-92fe-34bca3db707d
2025-10-20 12:12:27,575 - DEBUG - Requesting: http://10.0.0.38:8082/project/e72238c7-cfe0-4fe1-a273-35c118bf415b
2025-10-20 12:12:27,644 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fc725756-f98e-42f5-803e-cb85ce74917b
2025-10-20 12:12:27,652 - DEBUG - ==>Verifying data for policy with id: 5d5d1ffe-c26c-4a38-bfcd-e8e80f3909f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-policy-allow-all-78948528']
2025-10-20 12:12:27,653 - INFO - VN ctest-vn-17509137 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-20 12:12:27,653 - DEBUG - Verifying the vn in opserver
2025-10-20 12:12:27,653 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-17509137 virtual network link  through opserver 10.0.0.38
2025-10-20 12:12:27,653 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-20 12:12:27,944 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-20 12:12:27,998 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-17509137', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-17509137?flat'}
2025-10-20 12:12:27,998 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-17509137 is found in opserver
2025-10-20 12:12:28,007 - DEBUG - Do not have enough data to verify VN in agent
2025-10-20 12:12:28,012 - DEBUG - VRF ids for VN ctest-vn-17509137: {}
2025-10-20 12:12:28,012 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-20 12:12:28,018 - DEBUG - Requesting: http://10.0.0.38:8082/domain/09fd2001-091b-48c4-92fe-34bca3db707d
2025-10-20 12:12:28,028 - DEBUG - Requesting: http://10.0.0.38:8082/project/e72238c7-cfe0-4fe1-a273-35c118bf415b
2025-10-20 12:12:28,096 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df43b093-0d19-438b-a746-422102d3b29a
2025-10-20 12:12:28,108 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df43b093-0d19-438b-a746-422102d3b29a
2025-10-20 12:12:28,117 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4793e5d8-ed1e-4c79-a9d4-c12904fd698f
2025-10-20 12:12:28,123 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4793e5d8-ed1e-4c79-a9d4-c12904fd698f
2025-10-20 12:12:28,129 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5689672d-07af-4770-9711-aec0be9eaa1a
2025-10-20 12:12:28,136 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-20 12:12:28,136 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df43b093-0d19-438b-a746-422102d3b29a
2025-10-20 12:12:28,146 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4793e5d8-ed1e-4c79-a9d4-c12904fd698f
2025-10-20 12:12:28,160 - INFO - Verified VN network id 12 for VN df43b093-0d19-438b-a746-422102d3b29a
2025-10-20 12:12:28,160 - INFO - Verifications in API Server for VN ctest-vn-41322958 passed
2025-10-20 12:12:28,160 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df43b093-0d19-438b-a746-422102d3b29a
2025-10-20 12:12:28,169 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4793e5d8-ed1e-4c79-a9d4-c12904fd698f
2025-10-20 12:12:28,176 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/4793e5d8-ed1e-4c79-a9d4-c12904fd698f
2025-10-20 12:12:28,184 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/5689672d-07af-4770-9711-aec0be9eaa1a
2025-10-20 12:12:28,195 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-41322958', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-66694501', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16087896439523984267', 'uuid-lslong': '12053394162252493466'}, 'enable': 'true', 'created': '2025-10-20T12:12:25', 'last-modified': '2025-10-20T12:12:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.366389'}
2025-10-20 12:12:28,201 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-20 12:12:28,201 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-41322958 passed
2025-10-20 12:12:28,201 - DEBUG - ====Verifying policy data for ctest-vn-41322958 in API_Server ======
2025-10-20 12:12:28,201 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-20 12:12:28,207 - DEBUG - Requesting: http://10.0.0.38:8082/domain/09fd2001-091b-48c4-92fe-34bca3db707d
2025-10-20 12:12:28,216 - DEBUG - Requesting: http://10.0.0.38:8082/project/e72238c7-cfe0-4fe1-a273-35c118bf415b
2025-10-20 12:12:28,288 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/df43b093-0d19-438b-a746-422102d3b29a
2025-10-20 12:12:28,296 - DEBUG - ==>Verifying data for policy with id: 5d5d1ffe-c26c-4a38-bfcd-e8e80f3909f7, fqn: ['default-domain', 'ctest-TestBasicPolicy-66694501', 'ctest-policy-allow-all-78948528']
2025-10-20 12:12:28,296 - INFO - VN ctest-vn-41322958 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-20 12:12:28,297 - DEBUG - Verifying the vn in opserver
2025-10-20 12:12:28,297 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-41322958 virtual network link  through opserver 10.0.0.38
2025-10-20 12:12:28,297 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-20 12:12:28,306 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-41322958', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-41322958?flat'}
2025-10-20 12:12:28,306 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-66694501:ctest-vn-41322958 is found in opserver
2025-10-20 12:12:28,314 - DEBUG - Do not have enough data to verify VN in agent
2025-10-20 12:12:28,318 - DEBUG - VRF ids for VN ctest-vn-41322958: {}
2025-10-20 12:12:28,380 - DEBUG - Services list from nova: [