2026-02-02 02:08:01,412 - INFO - Domain Default found not creating
2026-02-02 02:08:01,624 - INFO - Project ctest-TestBasicPolicy-88897312 not found, creating it
2026-02-02 02:08:02,128 - INFO - Created Project:ctest-TestBasicPolicy-88897312, ID : 73cac90a-d973-4fe7-9d7c-54699ae5beae
2026-02-02 02:08:03,856 - INFO - ================================================================================
2026-02-02 02:08:03,856 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-02-02 02:08:03,856 - 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-02-02 02:08:04,113 - DEBUG - Nothing to compare xmpp stats {'10.0.0.19': {'10.20.0.14': '0'}} with
2026-02-02 02:08:04,113 - INFO - Initial checks done. Running the testcase now
2026-02-02 02:08:04,114 - INFO -
2026-02-02 02:08:04,749 - DEBUG - Response for create_network : {'network': {'id': 'ef471929-2b22-4ded-89c8-c5c7bec96d80', 'name': 'ctest-vn-83935046', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-83935046'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:08:04,942 - DEBUG - Response for create_subnet : {'subnet': {'id': 'b789871d-a94b-4a0b-8ede-83c53e22c2e3', 'name': '', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'network_id': 'ef471929-2b22-4ded-89c8-c5c7bec96d80', 'ip_version': 4, 'cidr': '199.141.79.64/26', 'allocation_pools': [{'start': '199.141.79.66', 'end': '199.141.79.126'}], 'gateway_ip': '199.141.79.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '199.141.79.66', 'tags': [], 'project_id': '73cac90ad9734fe79d7c54699ae5beae'}}
2026-02-02 02:08:04,962 - INFO - Created VN ctest-vn-83935046
2026-02-02 02:08:05,015 - DEBUG - VN ctest-vn-83935046 UUID is ef471929-2b22-4ded-89c8-c5c7bec96d80
2026-02-02 02:08:05,314 - DEBUG - Response for create_network : {'network': {'id': '2975fa1e-75ad-4405-bc9e-d02bfe921ec2', 'name': 'ctest-vn-34283213', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-34283213'], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:08:05,483 - DEBUG - Response for create_subnet : {'subnet': {'id': '8ba81a23-2526-472b-835d-d9ee798a40c9', 'name': '', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'network_id': '2975fa1e-75ad-4405-bc9e-d02bfe921ec2', 'ip_version': 4, 'cidr': '150.215.181.64/26', 'allocation_pools': [{'start': '150.215.181.66', 'end': '150.215.181.126'}], 'gateway_ip': '150.215.181.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '150.215.181.66', 'tags': [], 'project_id': '73cac90ad9734fe79d7c54699ae5beae'}}
2026-02-02 02:08:05,503 - INFO - Created VN ctest-vn-34283213
2026-02-02 02:08:05,555 - DEBUG - VN ctest-vn-34283213 UUID is 2975fa1e-75ad-4405-bc9e-d02bfe921ec2
2026-02-02 02:08:05,683 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046, 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-88897312:ctest-vn-34283213, 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-02-02 02:08:05,996 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'ef471929-2b22-4ded-89c8-c5c7bec96d80', 'name': 'ctest-vn-83935046', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['b789871d-a94b-4a0b-8ede-83c53e22c2e3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-83935046'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876']], 'subnet_ipam': [{'subnet_cidr': '199.141.79.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:08:06,257 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '2975fa1e-75ad-4405-bc9e-d02bfe921ec2', 'name': 'ctest-vn-34283213', 'tenant_id': '73cac90ad9734fe79d7c54699ae5beae', 'project_id': '73cac90ad9734fe79d7c54699ae5beae', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['8ba81a23-2526-472b-835d-d9ee798a40c9'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-vn-34283213'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876']], 'subnet_ipam': [{'subnet_cidr': '150.215.181.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-02-02 02:08:06,433 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 02:08:06,782 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 02:08:06,818 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540
2026-02-02 02:08:06,832 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae
2026-02-02 02:08:06,908 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80
2026-02-02 02:08:06,919 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80
2026-02-02 02:08:06,930 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab
2026-02-02 02:08:06,937 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab
2026-02-02 02:08:06,944 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3901f484-b3d8-449e-903d-6aa1e3426266
2026-02-02 02:08:06,951 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 02:08:06,951 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80
2026-02-02 02:08:06,961 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab
2026-02-02 02:08:06,976 - INFO - Verified VN network id 11 for VN ef471929-2b22-4ded-89c8-c5c7bec96d80
2026-02-02 02:08:06,977 - INFO - Verifications in API Server for VN ctest-vn-83935046 passed
2026-02-02 02:08:06,977 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80
2026-02-02 02:08:06,987 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab
2026-02-02 02:08:06,994 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/c82b4d03-4ab1-4c42-bc6c-794824ac7aab
2026-02-02 02:08:07,001 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/3901f484-b3d8-449e-903d-6aa1e3426266
2026-02-02 02:08:07,014 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88897312', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '17241777363019255277', 'uuid-lslong': '9928402840228294016'}, 'enable': 'true', 'created': '2026-02-02T02:08:04', 'last-modified': '2026-02-02T02:08:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.040917'}
2026-02-02 02:08:07,020 - DEBUG - Route Targets: ['target:64512:8000004']
2026-02-02 02:08:07,021 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-83935046 passed
2026-02-02 02:08:07,021 - DEBUG - ====Verifying policy data for ctest-vn-83935046 in API_Server ======
2026-02-02 02:08:07,021 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 02:08:07,028 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540
2026-02-02 02:08:07,040 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae
2026-02-02 02:08:07,117 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/ef471929-2b22-4ded-89c8-c5c7bec96d80
2026-02-02 02:08:07,127 - DEBUG - ==>Verifying data for policy with id: 80c47b4c-5699-41d2-9ef2-611c90e61c2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876']
2026-02-02 02:08:07,127 - INFO - VN ctest-vn-83935046 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 02:08:07,127 - DEBUG - Verifying the vn in opserver
2026-02-02 02:08:07,127 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046 virtual network link through opserver 10.0.0.19
2026-02-02 02:08:07,127 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-02 02:08:07,473 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-02 02:08:07,542 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046?flat'}
2026-02-02 02:08:07,542 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-83935046 is found in opserver
2026-02-02 02:08:07,553 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 02:08:07,559 - DEBUG - VRF ids for VN ctest-vn-83935046: {}
2026-02-02 02:08:07,559 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 02:08:07,566 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540
2026-02-02 02:08:07,579 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae
2026-02-02 02:08:07,663 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2
2026-02-02 02:08:07,678 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2
2026-02-02 02:08:07,690 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5
2026-02-02 02:08:07,698 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5
2026-02-02 02:08:07,705 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e9c400da-3531-4300-88bc-275ee5acacc5
2026-02-02 02:08:07,716 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 02:08:07,716 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2
2026-02-02 02:08:07,725 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5
2026-02-02 02:08:07,743 - INFO - Verified VN network id 12 for VN 2975fa1e-75ad-4405-bc9e-d02bfe921ec2
2026-02-02 02:08:07,743 - INFO - Verifications in API Server for VN ctest-vn-34283213 passed
2026-02-02 02:08:07,744 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2
2026-02-02 02:08:07,753 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5
2026-02-02 02:08:07,760 - DEBUG - Requesting: http://10.0.0.19:8082/routing-instance/5a6e7eec-e688-48b4-b3a8-c7deda3a9ed5
2026-02-02 02:08:07,767 - DEBUG - Requesting: http://10.0.0.19:8082/route-target/e9c400da-3531-4300-88bc-275ee5acacc5
2026-02-02 02:08:07,780 - DEBUG - Control-node 10.0.0.19 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-88897312', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2987568936560444421', 'uuid-lslong': '13591529612823895746'}, 'enable': 'true', 'created': '2026-02-02T02:08:05', 'last-modified': '2026-02-02T02:08:06', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.553850'}
2026-02-02 02:08:07,786 - DEBUG - Route Targets: ['target:64512:8000005']
2026-02-02 02:08:07,786 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34283213 passed
2026-02-02 02:08:07,787 - DEBUG - ====Verifying policy data for ctest-vn-34283213 in API_Server ======
2026-02-02 02:08:07,787 - DEBUG - Requesting: http://10.0.0.19:8082/domains
2026-02-02 02:08:07,792 - DEBUG - Requesting: http://10.0.0.19:8082/domain/2979d74a-67d6-41b8-91cd-9a21b0ad1540
2026-02-02 02:08:07,805 - DEBUG - Requesting: http://10.0.0.19:8082/project/73cac90a-d973-4fe7-9d7c-54699ae5beae
2026-02-02 02:08:07,878 - DEBUG - Requesting: http://10.0.0.19:8082/virtual-network/2975fa1e-75ad-4405-bc9e-d02bfe921ec2
2026-02-02 02:08:07,887 - DEBUG - ==>Verifying data for policy with id: 80c47b4c-5699-41d2-9ef2-611c90e61c2e, fqn: ['default-domain', 'ctest-TestBasicPolicy-88897312', 'ctest-policy-allow-all-77987876']
2026-02-02 02:08:07,887 - INFO - VN ctest-vn-34283213 Policy verification: verify_vn_policy_in_api_server, status: True
2026-02-02 02:08:07,888 - DEBUG - Verifying the vn in opserver
2026-02-02 02:08:07,888 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213 virtual network link through opserver 10.0.0.19
2026-02-02 02:08:07,888 - DEBUG - Requesting: http://10.0.0.19:8081/analytics/uves/virtual-networks
2026-02-02 02:08:07,898 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213', 'href': 'http://10.0.0.19:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213?flat'}
2026-02-02 02:08:07,898 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-88897312:ctest-vn-34283213 is found in opserver
2026-02-02 02:08:07,907 - DEBUG - Do not have enough data to verify VN in agent
2026-02-02 02:08:07,911 - DEBUG - VRF ids for VN ctest-vn-34283213: {}
2026-02-02 02:08:07,972 - DEBUG - Services list from nova: [