2026-11-27 21:41:08,728 - INFO - Domain Default found not creating
2026-11-27 21:41:08,902 - INFO - Project ctest-TestBasicPolicy-02972941 not found, creating it
2026-11-27 21:41:09,355 - INFO - Created Project:ctest-TestBasicPolicy-02972941, ID : ff8d67a4-4149-45fc-b5a3-3d44a516d2dd
2026-11-27 21:41:10,957 - INFO - ================================================================================
2026-11-27 21:41:10,958 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-11-27 21:41:10,958 - 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
2026-11-27 21:41:11,211 - DEBUG - Nothing to compare xmpp stats {'10.0.0.163': {'10.20.0.29': '0'}} with
2026-11-27 21:41:11,211 - INFO - Initial checks done. Running the testcase now
2026-11-27 21:41:11,211 - INFO -
2026-11-27 21:41:11,801 - DEBUG - Response for create_network : {'network': {'id': '2d8a86c0-3d62-4987-b726-60e147b3778f', 'name': 'ctest-vn-60250626', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-60250626'], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:12,012 - DEBUG - Response for create_subnet : {'subnet': {'id': '07cf0d60-8517-4557-a4d4-0a32d2536ef9', 'name': '', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'network_id': '2d8a86c0-3d62-4987-b726-60e147b3778f', 'ip_version': 4, 'cidr': '39.99.130.192/26', 'allocation_pools': [{'start': '39.99.130.194', 'end': '39.99.130.254'}], 'gateway_ip': '39.99.130.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '39.99.130.194', 'tags': [], 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd'}}
2026-11-27 21:41:12,027 - INFO - Created VN ctest-vn-60250626
2026-11-27 21:41:12,077 - DEBUG - VN ctest-vn-60250626 UUID is 2d8a86c0-3d62-4987-b726-60e147b3778f
2026-11-27 21:41:12,378 - DEBUG - Response for create_network : {'network': {'id': 'a21cfc23-8b1d-4fc5-acc9-4532522478bf', 'name': 'ctest-vn-47358888', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-47358888'], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:12,592 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f0dfda89-194a-4733-aa34-62a2a72233bf', 'name': '', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'network_id': 'a21cfc23-8b1d-4fc5-acc9-4532522478bf', 'ip_version': 4, 'cidr': '79.157.214.192/26', 'allocation_pools': [{'start': '79.157.214.194', 'end': '79.157.214.254'}], 'gateway_ip': '79.157.214.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '79.157.214.194', 'tags': [], 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd'}}
2026-11-27 21:41:12,609 - INFO - Created VN ctest-vn-47358888
2026-11-27 21:41:12,665 - DEBUG - VN ctest-vn-47358888 UUID is a21cfc23-8b1d-4fc5-acc9-4532522478bf
2026-11-27 21:41:12,809 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626, 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-02972941:ctest-vn-47358888, 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]
2026-11-27 21:41:13,109 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2d8a86c0-3d62-4987-b726-60e147b3778f', 'name': 'ctest-vn-60250626', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['07cf0d60-8517-4557-a4d4-0a32d2536ef9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-60250626'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836']], 'subnet_ipam': [{'subnet_cidr': '39.99.130.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:13,332 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'a21cfc23-8b1d-4fc5-acc9-4532522478bf', 'name': 'ctest-vn-47358888', 'tenant_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'project_id': 'ff8d67a4414945fcb5a33d44a516d2dd', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['f0dfda89-194a-4733-aa34-62a2a72233bf'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-vn-47358888'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836']], 'subnet_ipam': [{'subnet_cidr': '79.157.214.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-11-27 21:41:13,493 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-11-27 21:41:13,851 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-11-27 21:41:13,875 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1
2026-11-27 21:41:13,886 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd
2026-11-27 21:41:13,952 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f
2026-11-27 21:41:13,962 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f
2026-11-27 21:41:13,970 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb
2026-11-27 21:41:13,977 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb
2026-11-27 21:41:13,982 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e5be7fc1-2c80-41a8-a250-34bf5af2f584
2026-11-27 21:41:13,987 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-27 21:41:13,987 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f
2026-11-27 21:41:13,994 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb
2026-11-27 21:41:14,004 - INFO - Verified VN network id 12 for VN 2d8a86c0-3d62-4987-b726-60e147b3778f
2026-11-27 21:41:14,004 - INFO - Verifications in API Server for VN ctest-vn-60250626 passed
2026-11-27 21:41:14,004 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f
2026-11-27 21:41:14,012 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb
2026-11-27 21:41:14,017 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/c2b1a5d6-98c0-4117-a511-2fad36bd50fb
2026-11-27 21:41:14,023 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/e5be7fc1-2c80-41a8-a250-34bf5af2f584
2026-11-27 21:41:14,034 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02972941', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '3281583438714521991', 'uuid-lslong': '13197342278742669199'}, 'enable': 'true', 'created': '2026-11-27T21:41:11', 'last-modified': '2026-11-27T21:41:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.947099'}
2026-11-27 21:41:14,041 - DEBUG - Route Targets: ['target:64512:8000005']
2026-11-27 21:41:14,041 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60250626 passed
2026-11-27 21:41:14,041 - DEBUG - ====Verifying policy data for ctest-vn-60250626 in API_Server ======
2026-11-27 21:41:14,041 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-11-27 21:41:14,045 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1
2026-11-27 21:41:14,054 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd
2026-11-27 21:41:14,120 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/2d8a86c0-3d62-4987-b726-60e147b3778f
2026-11-27 21:41:14,128 - DEBUG - ==>Verifying data for policy with id: 3df1a952-9975-46a5-bf5b-75d918a150f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836']
2026-11-27 21:41:14,128 - INFO - VN ctest-vn-60250626 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-27 21:41:14,128 - DEBUG - Verifying the vn in opserver
2026-11-27 21:41:14,128 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626 virtual network link through opserver 10.0.0.163
2026-11-27 21:41:14,128 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-11-27 21:41:14,489 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-11-27 21:41:14,533 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626?flat'}
2026-11-27 21:41:14,533 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-60250626 is found in opserver
2026-11-27 21:41:14,543 - DEBUG - Do not have enough data to verify VN in agent
2026-11-27 21:41:14,546 - DEBUG - VRF ids for VN ctest-vn-60250626: {}
2026-11-27 21:41:14,547 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-11-27 21:41:14,551 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1
2026-11-27 21:41:14,560 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd
2026-11-27 21:41:14,630 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf
2026-11-27 21:41:14,640 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf
2026-11-27 21:41:14,648 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770
2026-11-27 21:41:14,653 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770
2026-11-27 21:41:14,660 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/6a28fcff-65f5-4ca7-be5c-3f515571ac1c
2026-11-27 21:41:14,666 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-27 21:41:14,666 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf
2026-11-27 21:41:14,674 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770
2026-11-27 21:41:14,686 - INFO - Verified VN network id 13 for VN a21cfc23-8b1d-4fc5-acc9-4532522478bf
2026-11-27 21:41:14,686 - INFO - Verifications in API Server for VN ctest-vn-47358888 passed
2026-11-27 21:41:14,686 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf
2026-11-27 21:41:14,694 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770
2026-11-27 21:41:14,700 - DEBUG - Requesting: http://10.0.0.163:8082/routing-instance/3fb1187a-325d-4a9c-bf92-7d291e7ae770
2026-11-27 21:41:14,705 - DEBUG - Requesting: http://10.0.0.163:8082/route-target/6a28fcff-65f5-4ca7-be5c-3f515571ac1c
2026-11-27 21:41:14,715 - DEBUG - Control-node 10.0.0.163 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-02972941', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11681488763080232901', 'uuid-lslong': '12450558727271250111'}, 'enable': 'true', 'created': '2026-11-27T21:41:12', 'last-modified': '2026-11-27T21:41:13', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.398817'}
2026-11-27 21:41:14,721 - DEBUG - Route Targets: ['target:64512:8000006']
2026-11-27 21:41:14,721 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-47358888 passed
2026-11-27 21:41:14,721 - DEBUG - ====Verifying policy data for ctest-vn-47358888 in API_Server ======
2026-11-27 21:41:14,721 - DEBUG - Requesting: http://10.0.0.163:8082/domains
2026-11-27 21:41:14,725 - DEBUG - Requesting: http://10.0.0.163:8082/domain/a967db48-c8a0-4914-bcc3-0f2db27aabf1
2026-11-27 21:41:14,734 - DEBUG - Requesting: http://10.0.0.163:8082/project/ff8d67a4-4149-45fc-b5a3-3d44a516d2dd
2026-11-27 21:41:14,809 - DEBUG - Requesting: http://10.0.0.163:8082/virtual-network/a21cfc23-8b1d-4fc5-acc9-4532522478bf
2026-11-27 21:41:14,818 - DEBUG - ==>Verifying data for policy with id: 3df1a952-9975-46a5-bf5b-75d918a150f6, fqn: ['default-domain', 'ctest-TestBasicPolicy-02972941', 'ctest-policy-allow-all-79713836']
2026-11-27 21:41:14,818 - INFO - VN ctest-vn-47358888 Policy verification: verify_vn_policy_in_api_server, status: True
2026-11-27 21:41:14,818 - DEBUG - Verifying the vn in opserver
2026-11-27 21:41:14,818 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888 virtual network link through opserver 10.0.0.163
2026-11-27 21:41:14,818 - DEBUG - Requesting: http://10.0.0.163:8081/analytics/uves/virtual-networks
2026-11-27 21:41:14,826 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888', 'href': 'http://10.0.0.163:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888?flat'}
2026-11-27 21:41:14,826 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-02972941:ctest-vn-47358888 is found in opserver
2026-11-27 21:41:14,835 - DEBUG - Do not have enough data to verify VN in agent
2026-11-27 21:41:14,839 - DEBUG - VRF ids for VN ctest-vn-47358888: {}
2026-11-27 21:41:14,893 - DEBUG - Services list from nova: [