2026-05-18 02:25:22,728 - INFO - Domain Default found not creating
2026-05-18 02:25:22,901 - INFO - Project ctest-TestBasicPolicy-08868903 not found, creating it
2026-05-18 02:25:23,388 - INFO - Created Project:ctest-TestBasicPolicy-08868903, ID : 57a60171-bc6b-4977-bfaa-632da836f244
2026-05-18 02:25:24,930 - INFO - ================================================================================
2026-05-18 02:25:24,931 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-05-18 02:25:24,931 - 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-05-18 02:25:25,191 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.201': '0'}} with
2026-05-18 02:25:25,191 - INFO - Initial checks done. Running the testcase now
2026-05-18 02:25:25,191 - INFO -
2026-05-18 02:25:25,781 - DEBUG - Response for create_network : {'network': {'id': '9b6f4fbc-22ff-4808-8c2d-8050edf25a8b', 'name': 'ctest-vn-88367155', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-88367155'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:25:25,975 - DEBUG - Response for create_subnet : {'subnet': {'id': 'bb7e0316-a7b4-4dc3-b611-326a0ec35267', 'name': '', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'network_id': '9b6f4fbc-22ff-4808-8c2d-8050edf25a8b', 'ip_version': 4, 'cidr': '107.87.173.64/26', 'allocation_pools': [{'start': '107.87.173.66', 'end': '107.87.173.126'}], 'gateway_ip': '107.87.173.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.87.173.66', 'tags': [], 'project_id': '57a60171bc6b4977bfaa632da836f244'}}
2026-05-18 02:25:25,994 - INFO - Created VN ctest-vn-88367155
2026-05-18 02:25:26,046 - DEBUG - VN ctest-vn-88367155 UUID is 9b6f4fbc-22ff-4808-8c2d-8050edf25a8b
2026-05-18 02:25:26,337 - DEBUG - Response for create_network : {'network': {'id': 'cf5e7c9f-80f5-4843-8aa1-661c26cf426d', 'name': 'ctest-vn-23434124', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-23434124'], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:25:26,523 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fb883dae-6f08-4915-b9cf-151d83b3f4d5', 'name': '', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'network_id': 'cf5e7c9f-80f5-4843-8aa1-661c26cf426d', 'ip_version': 4, 'cidr': '21.211.73.192/26', 'allocation_pools': [{'start': '21.211.73.194', 'end': '21.211.73.254'}], 'gateway_ip': '21.211.73.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '21.211.73.194', 'tags': [], 'project_id': '57a60171bc6b4977bfaa632da836f244'}}
2026-05-18 02:25:26,539 - INFO - Created VN ctest-vn-23434124
2026-05-18 02:25:26,590 - DEBUG - VN ctest-vn-23434124 UUID is cf5e7c9f-80f5-4843-8aa1-661c26cf426d
2026-05-18 02:25:26,738 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155, 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-08868903:ctest-vn-23434124, 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-05-18 02:25:27,023 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9b6f4fbc-22ff-4808-8c2d-8050edf25a8b', 'name': 'ctest-vn-88367155', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['bb7e0316-a7b4-4dc3-b611-326a0ec35267'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-88367155'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625']], 'subnet_ipam': [{'subnet_cidr': '107.87.173.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:25:27,246 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'cf5e7c9f-80f5-4843-8aa1-661c26cf426d', 'name': 'ctest-vn-23434124', 'tenant_id': '57a60171bc6b4977bfaa632da836f244', 'project_id': '57a60171bc6b4977bfaa632da836f244', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fb883dae-6f08-4915-b9cf-151d83b3f4d5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-vn-23434124'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625']], 'subnet_ipam': [{'subnet_cidr': '21.211.73.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-05-18 02:25:27,414 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-18 02:25:27,721 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-18 02:25:27,751 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a
2026-05-18 02:25:27,763 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244
2026-05-18 02:25:27,832 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b
2026-05-18 02:25:27,844 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b
2026-05-18 02:25:27,852 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701
2026-05-18 02:25:27,858 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701
2026-05-18 02:25:27,865 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bff24df2-2db4-4e98-9e5b-8820e45061bc
2026-05-18 02:25:27,873 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 02:25:27,873 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b
2026-05-18 02:25:27,884 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701
2026-05-18 02:25:27,898 - INFO - Verified VN network id 11 for VN 9b6f4fbc-22ff-4808-8c2d-8050edf25a8b
2026-05-18 02:25:27,898 - INFO - Verifications in API Server for VN ctest-vn-88367155 passed
2026-05-18 02:25:27,898 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b
2026-05-18 02:25:27,906 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701
2026-05-18 02:25:27,913 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/16babbea-21bf-46bc-8a2a-5c4931a1d701
2026-05-18 02:25:27,920 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/bff24df2-2db4-4e98-9e5b-8820e45061bc
2026-05-18 02:25:27,932 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08868903', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11200258467753314312', 'uuid-lslong': '10100870624339712651'}, 'enable': 'true', 'created': '2026-05-18T02:25:25', 'last-modified': '2026-05-18T02:25:26', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.930768'}
2026-05-18 02:25:27,939 - DEBUG - Route Targets: ['target:64512:8000004']
2026-05-18 02:25:27,940 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-88367155 passed
2026-05-18 02:25:27,940 - DEBUG - ====Verifying policy data for ctest-vn-88367155 in API_Server ======
2026-05-18 02:25:27,940 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-18 02:25:27,945 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a
2026-05-18 02:25:27,956 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244
2026-05-18 02:25:28,028 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9b6f4fbc-22ff-4808-8c2d-8050edf25a8b
2026-05-18 02:25:28,036 - DEBUG - ==>Verifying data for policy with id: d6c81856-1aa5-4933-9fe6-8f8899b66204, fqn: ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625']
2026-05-18 02:25:28,036 - INFO - VN ctest-vn-88367155 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 02:25:28,036 - DEBUG - Verifying the vn in opserver
2026-05-18 02:25:28,036 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155 virtual network link through opserver 10.0.0.249
2026-05-18 02:25:28,036 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-05-18 02:25:28,337 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-05-18 02:25:28,393 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155?flat'}
2026-05-18 02:25:28,393 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-88367155 is found in opserver
2026-05-18 02:25:28,402 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 02:25:28,405 - DEBUG - VRF ids for VN ctest-vn-88367155: {}
2026-05-18 02:25:28,406 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-18 02:25:28,411 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a
2026-05-18 02:25:28,420 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244
2026-05-18 02:25:28,491 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d
2026-05-18 02:25:28,502 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d
2026-05-18 02:25:28,510 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e
2026-05-18 02:25:28,516 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e
2026-05-18 02:25:28,523 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0a1c9545-cc2b-4d30-999b-3ccfbdc250f4
2026-05-18 02:25:28,529 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 02:25:28,529 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d
2026-05-18 02:25:28,537 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e
2026-05-18 02:25:28,550 - INFO - Verified VN network id 12 for VN cf5e7c9f-80f5-4843-8aa1-661c26cf426d
2026-05-18 02:25:28,550 - INFO - Verifications in API Server for VN ctest-vn-23434124 passed
2026-05-18 02:25:28,550 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d
2026-05-18 02:25:28,558 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e
2026-05-18 02:25:28,564 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/2292386e-d053-43da-a64f-cf886e43cc4e
2026-05-18 02:25:28,571 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/0a1c9545-cc2b-4d30-999b-3ccfbdc250f4
2026-05-18 02:25:28,580 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-08868903', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '14942517638167087171', 'uuid-lslong': '9989377719580705389'}, 'enable': 'true', 'created': '2026-05-18T02:25:26', 'last-modified': '2026-05-18T02:25:27', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.352368'}
2026-05-18 02:25:28,586 - DEBUG - Route Targets: ['target:64512:8000005']
2026-05-18 02:25:28,586 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-23434124 passed
2026-05-18 02:25:28,586 - DEBUG - ====Verifying policy data for ctest-vn-23434124 in API_Server ======
2026-05-18 02:25:28,586 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-05-18 02:25:28,591 - DEBUG - Requesting: http://10.0.0.249:8082/domain/fb18f509-312e-488c-a3b4-d50130bfdb3a
2026-05-18 02:25:28,601 - DEBUG - Requesting: http://10.0.0.249:8082/project/57a60171-bc6b-4977-bfaa-632da836f244
2026-05-18 02:25:28,674 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/cf5e7c9f-80f5-4843-8aa1-661c26cf426d
2026-05-18 02:25:28,683 - DEBUG - ==>Verifying data for policy with id: d6c81856-1aa5-4933-9fe6-8f8899b66204, fqn: ['default-domain', 'ctest-TestBasicPolicy-08868903', 'ctest-policy-allow-all-65337625']
2026-05-18 02:25:28,683 - INFO - VN ctest-vn-23434124 Policy verification: verify_vn_policy_in_api_server, status: True
2026-05-18 02:25:28,683 - DEBUG - Verifying the vn in opserver
2026-05-18 02:25:28,683 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124 virtual network link through opserver 10.0.0.249
2026-05-18 02:25:28,683 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-05-18 02:25:28,692 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124?flat'}
2026-05-18 02:25:28,692 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-08868903:ctest-vn-23434124 is found in opserver
2026-05-18 02:25:28,701 - DEBUG - Do not have enough data to verify VN in agent
2026-05-18 02:25:28,705 - DEBUG - VRF ids for VN ctest-vn-23434124: {}
2026-05-18 02:25:28,766 - DEBUG - Services list from nova: [