2025-10-13 02:00:34,643 - INFO - Domain Default found not creating
2025-10-13 02:00:34,799 - INFO - Project ctest-TestBasicPolicy-85385285 not found, creating it
2025-10-13 02:00:35,264 - INFO - Created Project:ctest-TestBasicPolicy-85385285, ID : 44124fdb-9705-42ca-bf51-b7a8bf1188e7 
2025-10-13 02:00:36,664 - INFO - ================================================================================
2025-10-13 02:00:36,664 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-13 02:00:36,664 - 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-13 02:00:36,917 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.25': '0'}} with
2025-10-13 02:00:36,917 - INFO - Initial checks done. Running the testcase now
2025-10-13 02:00:36,917 - INFO - 
2025-10-13 02:00:37,451 - DEBUG - Response for create_network : {'network': {'id': '5d40bc32-a8de-406c-b896-ba0c87b7902b', 'name': 'ctest-vn-20513999', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-20513999'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 02:00:37,641 - DEBUG - Response for create_subnet : {'subnet': {'id': 'db3aa2d3-c678-4018-a87a-08df2b252977', 'name': '', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'network_id': '5d40bc32-a8de-406c-b896-ba0c87b7902b', 'ip_version': 4, 'cidr': '28.206.29.64/26', 'allocation_pools': [{'start': '28.206.29.66', 'end': '28.206.29.126'}], 'gateway_ip': '28.206.29.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '28.206.29.66', 'tags': [], 'project_id': '44124fdb970542cabf51b7a8bf1188e7'}}
2025-10-13 02:00:37,660 - INFO - Created VN ctest-vn-20513999
2025-10-13 02:00:37,712 - DEBUG - VN ctest-vn-20513999 UUID is 5d40bc32-a8de-406c-b896-ba0c87b7902b
2025-10-13 02:00:38,037 - DEBUG - Response for create_network : {'network': {'id': '0836695c-62a8-4be3-b8b4-4c5afd548408', 'name': 'ctest-vn-75951449', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-75951449'], 'port_security_enabled': True, 'description': ''}}
2025-10-13 02:00:38,239 - DEBUG - Response for create_subnet : {'subnet': {'id': 'a40f5fb0-0afe-4d0a-b3a7-cd32d1467c2c', 'name': '', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'network_id': '0836695c-62a8-4be3-b8b4-4c5afd548408', 'ip_version': 4, 'cidr': '30.215.188.64/26', 'allocation_pools': [{'start': '30.215.188.66', 'end': '30.215.188.126'}], 'gateway_ip': '30.215.188.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '30.215.188.66', 'tags': [], 'project_id': '44124fdb970542cabf51b7a8bf1188e7'}}
2025-10-13 02:00:38,260 - INFO - Created VN ctest-vn-75951449
2025-10-13 02:00:38,312 - DEBUG - VN ctest-vn-75951449 UUID is 0836695c-62a8-4be3-b8b4-4c5afd548408
2025-10-13 02:00:38,420 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999, 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-85385285:ctest-vn-75951449, 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-13 02:00:38,717 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '5d40bc32-a8de-406c-b896-ba0c87b7902b', 'name': 'ctest-vn-20513999', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['db3aa2d3-c678-4018-a87a-08df2b252977'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-20513999'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632']], 'subnet_ipam': [{'subnet_cidr': '28.206.29.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-13 02:00:38,949 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '0836695c-62a8-4be3-b8b4-4c5afd548408', 'name': 'ctest-vn-75951449', 'tenant_id': '44124fdb970542cabf51b7a8bf1188e7', 'project_id': '44124fdb970542cabf51b7a8bf1188e7', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['a40f5fb0-0afe-4d0a-b3a7-cd32d1467c2c'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-vn-75951449'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632']], 'subnet_ipam': [{'subnet_cidr': '30.215.188.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-13 02:00:39,108 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-13 02:00:39,414 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-13 02:00:39,443 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c
2025-10-13 02:00:39,454 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7
2025-10-13 02:00:39,527 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b
2025-10-13 02:00:39,536 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b
2025-10-13 02:00:39,544 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce
2025-10-13 02:00:39,551 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce
2025-10-13 02:00:39,557 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44f5aebb-2922-4c02-a12a-5a51b58ec942
2025-10-13 02:00:39,563 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 02:00:39,563 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b
2025-10-13 02:00:39,571 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce
2025-10-13 02:00:39,583 - INFO - Verified VN network id 11 for VN 5d40bc32-a8de-406c-b896-ba0c87b7902b
2025-10-13 02:00:39,583 - INFO - Verifications in API Server for VN ctest-vn-20513999 passed
2025-10-13 02:00:39,583 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b
2025-10-13 02:00:39,593 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce
2025-10-13 02:00:39,599 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/3bb93b59-419b-4803-95f0-af76a486e7ce
2025-10-13 02:00:39,605 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/44f5aebb-2922-4c02-a12a-5a51b58ec942
2025-10-13 02:00:39,615 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85385285', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6719577569804304492', 'uuid-lslong': '13301023112464666667'}, 'enable': 'true', 'created': '2025-10-13T02:00:37', 'last-modified': '2025-10-13T02:00:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.922862'}
2025-10-13 02:00:39,621 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-13 02:00:39,621 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20513999 passed
2025-10-13 02:00:39,621 - DEBUG - ====Verifying policy data for ctest-vn-20513999 in API_Server ======
2025-10-13 02:00:39,621 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-13 02:00:39,627 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c
2025-10-13 02:00:39,636 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7
2025-10-13 02:00:39,705 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/5d40bc32-a8de-406c-b896-ba0c87b7902b
2025-10-13 02:00:39,712 - DEBUG - ==>Verifying data for policy with id: 42172fab-bd8a-4951-a59a-4290cfa8bb0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632']
2025-10-13 02:00:39,712 - INFO - VN ctest-vn-20513999 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-13 02:00:39,713 - DEBUG - Verifying the vn in opserver
2025-10-13 02:00:39,713 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999 virtual network link  through opserver 10.0.0.38
2025-10-13 02:00:39,713 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-13 02:00:40,008 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-13 02:00:40,058 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999?flat'}
2025-10-13 02:00:40,058 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-20513999 is found in opserver
2025-10-13 02:00:40,068 - DEBUG - Do not have enough data to verify VN in agent
2025-10-13 02:00:40,073 - DEBUG - VRF ids for VN ctest-vn-20513999: {}
2025-10-13 02:00:40,073 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-13 02:00:40,077 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c
2025-10-13 02:00:40,086 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7
2025-10-13 02:00:40,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408
2025-10-13 02:00:40,162 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408
2025-10-13 02:00:40,170 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7
2025-10-13 02:00:40,175 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7
2025-10-13 02:00:40,180 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/42452b2a-de5e-424a-9e3e-8cd25986aae3
2025-10-13 02:00:40,186 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-13 02:00:40,186 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408
2025-10-13 02:00:40,192 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7
2025-10-13 02:00:40,203 - INFO - Verified VN network id 12 for VN 0836695c-62a8-4be3-b8b4-4c5afd548408
2025-10-13 02:00:40,203 - INFO - Verifications in API Server for VN ctest-vn-75951449 passed
2025-10-13 02:00:40,203 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408
2025-10-13 02:00:40,210 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7
2025-10-13 02:00:40,215 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/71f2f7c0-56d3-4e01-bb70-7222c338a8c7
2025-10-13 02:00:40,220 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/42452b2a-de5e-424a-9e3e-8cd25986aae3
2025-10-13 02:00:40,229 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-85385285', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '591776246558903267', 'uuid-lslong': '13309346752467600392'}, 'enable': 'true', 'created': '2025-10-13T02:00:38', 'last-modified': '2025-10-13T02:00:38', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.299577'}
2025-10-13 02:00:40,234 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-13 02:00:40,234 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-75951449 passed
2025-10-13 02:00:40,234 - DEBUG - ====Verifying policy data for ctest-vn-75951449 in API_Server ======
2025-10-13 02:00:40,234 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-13 02:00:40,239 - DEBUG - Requesting: http://10.0.0.38:8082/domain/7777afd9-8d02-4f80-9580-7e8d5440017c
2025-10-13 02:00:40,251 - DEBUG - Requesting: http://10.0.0.38:8082/project/44124fdb-9705-42ca-bf51-b7a8bf1188e7
2025-10-13 02:00:40,323 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/0836695c-62a8-4be3-b8b4-4c5afd548408
2025-10-13 02:00:40,331 - DEBUG - ==>Verifying data for policy with id: 42172fab-bd8a-4951-a59a-4290cfa8bb0b, fqn: ['default-domain', 'ctest-TestBasicPolicy-85385285', 'ctest-policy-allow-all-29285632']
2025-10-13 02:00:40,331 - INFO - VN ctest-vn-75951449 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-13 02:00:40,331 - DEBUG - Verifying the vn in opserver
2025-10-13 02:00:40,331 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449 virtual network link  through opserver 10.0.0.38
2025-10-13 02:00:40,331 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-13 02:00:40,340 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449?flat'}
2025-10-13 02:00:40,340 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-85385285:ctest-vn-75951449 is found in opserver
2025-10-13 02:00:40,349 - DEBUG - Do not have enough data to verify VN in agent
2025-10-13 02:00:40,352 - DEBUG - VRF ids for VN ctest-vn-75951449: {}
2025-10-13 02:00:40,412 - DEBUG - Services list from nova: [