2026-06-19 14:22:18,706 - INFO - Domain Default found not creating
2026-06-19 14:22:18,858 - INFO - Project ctest-TestBasicPolicy-86989630 not found, creating it
2026-06-19 14:22:19,330 - INFO - Created Project:ctest-TestBasicPolicy-86989630, ID : d003d46c-8add-4220-ae62-c2186150ae62
2026-06-19 14:22:20,905 - INFO - ================================================================================
2026-06-19 14:22:20,905 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-06-19 14:22:20,905 - 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-06-19 14:22:21,177 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.192': '0'}} with
2026-06-19 14:22:21,177 - INFO - Initial checks done. Running the testcase now
2026-06-19 14:22:21,177 - INFO -
2026-06-19 14:22:21,797 - DEBUG - Response for create_network : {'network': {'id': 'e9cae701-9db0-4b30-b355-1bd54f0f0624', 'name': 'ctest-vn-04694674', 'tenant_id': 'd003d46c8add4220ae62c2186150ae62', 'project_id': 'd003d46c8add4220ae62c2186150ae62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-vn-04694674'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:22:21,975 - DEBUG - Response for create_subnet : {'subnet': {'id': 'fcad253b-5948-4578-ab18-23cb3d8167ee', 'name': '', 'tenant_id': 'd003d46c8add4220ae62c2186150ae62', 'network_id': 'e9cae701-9db0-4b30-b355-1bd54f0f0624', 'ip_version': 4, 'cidr': '177.185.47.64/26', 'allocation_pools': [{'start': '177.185.47.66', 'end': '177.185.47.126'}], 'gateway_ip': '177.185.47.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '177.185.47.66', 'tags': [], 'project_id': 'd003d46c8add4220ae62c2186150ae62'}}
2026-06-19 14:22:21,994 - INFO - Created VN ctest-vn-04694674
2026-06-19 14:22:22,047 - DEBUG - VN ctest-vn-04694674 UUID is e9cae701-9db0-4b30-b355-1bd54f0f0624
2026-06-19 14:22:22,369 - DEBUG - Response for create_network : {'network': {'id': '04f59428-9cfe-441f-946f-4d84b5753dc4', 'name': 'ctest-vn-34216704', 'tenant_id': 'd003d46c8add4220ae62c2186150ae62', 'project_id': 'd003d46c8add4220ae62c2186150ae62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-vn-34216704'], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:22:22,559 - DEBUG - Response for create_subnet : {'subnet': {'id': '56bc9a3d-8cde-40fb-9223-c9174e9c0ca6', 'name': '', 'tenant_id': 'd003d46c8add4220ae62c2186150ae62', 'network_id': '04f59428-9cfe-441f-946f-4d84b5753dc4', 'ip_version': 4, 'cidr': '86.56.221.192/26', 'allocation_pools': [{'start': '86.56.221.194', 'end': '86.56.221.254'}], 'gateway_ip': '86.56.221.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '86.56.221.194', 'tags': [], 'project_id': 'd003d46c8add4220ae62c2186150ae62'}}
2026-06-19 14:22:22,578 - INFO - Created VN ctest-vn-34216704
2026-06-19 14:22:22,631 - DEBUG - VN ctest-vn-34216704 UUID is 04f59428-9cfe-441f-946f-4d84b5753dc4
2026-06-19 14:22:22,749 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-04694674, 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-86989630:ctest-vn-34216704, 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-06-19 14:22:23,053 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e9cae701-9db0-4b30-b355-1bd54f0f0624', 'name': 'ctest-vn-04694674', 'tenant_id': 'd003d46c8add4220ae62c2186150ae62', 'project_id': 'd003d46c8add4220ae62c2186150ae62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['fcad253b-5948-4578-ab18-23cb3d8167ee'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-vn-04694674'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-policy-allow-all-81357309']], 'subnet_ipam': [{'subnet_cidr': '177.185.47.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:22:23,296 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '04f59428-9cfe-441f-946f-4d84b5753dc4', 'name': 'ctest-vn-34216704', 'tenant_id': 'd003d46c8add4220ae62c2186150ae62', 'project_id': 'd003d46c8add4220ae62c2186150ae62', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['56bc9a3d-8cde-40fb-9223-c9174e9c0ca6'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-vn-34216704'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-policy-allow-all-81357309']], 'subnet_ipam': [{'subnet_cidr': '86.56.221.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-06-19 14:22:23,459 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-19 14:22:23,787 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-19 14:22:23,814 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c744c3b0-69de-4f47-8572-1c2cfc0755d4
2026-06-19 14:22:23,828 - DEBUG - Requesting: http://10.0.0.249:8082/project/d003d46c-8add-4220-ae62-c2186150ae62
2026-06-19 14:22:23,902 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e9cae701-9db0-4b30-b355-1bd54f0f0624
2026-06-19 14:22:23,913 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e9cae701-9db0-4b30-b355-1bd54f0f0624
2026-06-19 14:22:23,921 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d53ca24c-a9e3-44b5-90cb-9f64ba655b8e
2026-06-19 14:22:23,928 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d53ca24c-a9e3-44b5-90cb-9f64ba655b8e
2026-06-19 14:22:23,935 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ad7a3bc3-bfa2-4977-92c9-ad1281911f41
2026-06-19 14:22:23,942 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 14:22:23,942 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e9cae701-9db0-4b30-b355-1bd54f0f0624
2026-06-19 14:22:23,951 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d53ca24c-a9e3-44b5-90cb-9f64ba655b8e
2026-06-19 14:22:23,964 - INFO - Verified VN network id 11 for VN e9cae701-9db0-4b30-b355-1bd54f0f0624
2026-06-19 14:22:23,964 - INFO - Verifications in API Server for VN ctest-vn-04694674 passed
2026-06-19 14:22:23,964 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e9cae701-9db0-4b30-b355-1bd54f0f0624
2026-06-19 14:22:23,972 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d53ca24c-a9e3-44b5-90cb-9f64ba655b8e
2026-06-19 14:22:23,979 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d53ca24c-a9e3-44b5-90cb-9f64ba655b8e
2026-06-19 14:22:23,986 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/ad7a3bc3-bfa2-4977-92c9-ad1281911f41
2026-06-19 14:22:23,997 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-04694674', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86989630', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16846531350259321648', 'uuid-lslong': '12922265308777874980'}, 'enable': 'true', 'created': '2026-06-19T14:22:21', 'last-modified': '2026-06-19T14:22:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.973451'}
2026-06-19 14:22:24,004 - DEBUG - Route Targets: ['target:64512:8000004']
2026-06-19 14:22:24,004 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-04694674 passed
2026-06-19 14:22:24,004 - DEBUG - ====Verifying policy data for ctest-vn-04694674 in API_Server ======
2026-06-19 14:22:24,004 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-19 14:22:24,010 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c744c3b0-69de-4f47-8572-1c2cfc0755d4
2026-06-19 14:22:24,021 - DEBUG - Requesting: http://10.0.0.249:8082/project/d003d46c-8add-4220-ae62-c2186150ae62
2026-06-19 14:22:24,096 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/e9cae701-9db0-4b30-b355-1bd54f0f0624
2026-06-19 14:22:24,105 - DEBUG - ==>Verifying data for policy with id: 35a92316-dcf9-4074-a1a4-e1b601e7b453, fqn: ['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-policy-allow-all-81357309']
2026-06-19 14:22:24,105 - INFO - VN ctest-vn-04694674 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 14:22:24,105 - DEBUG - Verifying the vn in opserver
2026-06-19 14:22:24,105 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-04694674 virtual network link through opserver 10.0.0.249
2026-06-19 14:22:24,106 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-19 14:22:24,438 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-19 14:22:24,503 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-04694674', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-04694674?flat'}
2026-06-19 14:22:24,503 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-04694674 is found in opserver
2026-06-19 14:22:24,515 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 14:22:24,520 - DEBUG - VRF ids for VN ctest-vn-04694674: {}
2026-06-19 14:22:24,521 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-19 14:22:24,527 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c744c3b0-69de-4f47-8572-1c2cfc0755d4
2026-06-19 14:22:24,539 - DEBUG - Requesting: http://10.0.0.249:8082/project/d003d46c-8add-4220-ae62-c2186150ae62
2026-06-19 14:22:24,609 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/04f59428-9cfe-441f-946f-4d84b5753dc4
2026-06-19 14:22:24,622 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/04f59428-9cfe-441f-946f-4d84b5753dc4
2026-06-19 14:22:24,632 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d846b43a-46e8-4275-b03c-507128bd4694
2026-06-19 14:22:24,641 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d846b43a-46e8-4275-b03c-507128bd4694
2026-06-19 14:22:24,649 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/31d4f975-03c4-4837-a44a-5435f150f8b1
2026-06-19 14:22:24,656 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 14:22:24,656 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/04f59428-9cfe-441f-946f-4d84b5753dc4
2026-06-19 14:22:24,665 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d846b43a-46e8-4275-b03c-507128bd4694
2026-06-19 14:22:24,680 - INFO - Verified VN network id 12 for VN 04f59428-9cfe-441f-946f-4d84b5753dc4
2026-06-19 14:22:24,680 - INFO - Verifications in API Server for VN ctest-vn-34216704 passed
2026-06-19 14:22:24,680 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/04f59428-9cfe-441f-946f-4d84b5753dc4
2026-06-19 14:22:24,690 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d846b43a-46e8-4275-b03c-507128bd4694
2026-06-19 14:22:24,697 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/d846b43a-46e8-4275-b03c-507128bd4694
2026-06-19 14:22:24,705 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/31d4f975-03c4-4837-a44a-5435f150f8b1
2026-06-19 14:22:24,717 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-34216704', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86989630', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '357354647599334431', 'uuid-lslong': '10695852872403598788'}, 'enable': 'true', 'created': '2026-06-19T14:22:22', 'last-modified': '2026-06-19T14:22:23', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.448833'}
2026-06-19 14:22:24,722 - DEBUG - Route Targets: ['target:64512:8000005']
2026-06-19 14:22:24,723 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-34216704 passed
2026-06-19 14:22:24,723 - DEBUG - ====Verifying policy data for ctest-vn-34216704 in API_Server ======
2026-06-19 14:22:24,723 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2026-06-19 14:22:24,729 - DEBUG - Requesting: http://10.0.0.249:8082/domain/c744c3b0-69de-4f47-8572-1c2cfc0755d4
2026-06-19 14:22:24,739 - DEBUG - Requesting: http://10.0.0.249:8082/project/d003d46c-8add-4220-ae62-c2186150ae62
2026-06-19 14:22:24,810 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/04f59428-9cfe-441f-946f-4d84b5753dc4
2026-06-19 14:22:24,818 - DEBUG - ==>Verifying data for policy with id: 35a92316-dcf9-4074-a1a4-e1b601e7b453, fqn: ['default-domain', 'ctest-TestBasicPolicy-86989630', 'ctest-policy-allow-all-81357309']
2026-06-19 14:22:24,818 - INFO - VN ctest-vn-34216704 Policy verification: verify_vn_policy_in_api_server, status: True
2026-06-19 14:22:24,818 - DEBUG - Verifying the vn in opserver
2026-06-19 14:22:24,818 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-34216704 virtual network link through opserver 10.0.0.249
2026-06-19 14:22:24,818 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2026-06-19 14:22:24,826 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-34216704', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-34216704?flat'}
2026-06-19 14:22:24,826 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86989630:ctest-vn-34216704 is found in opserver
2026-06-19 14:22:24,834 - DEBUG - Do not have enough data to verify VN in agent
2026-06-19 14:22:24,839 - DEBUG - VRF ids for VN ctest-vn-34216704: {}
2026-06-19 14:22:24,899 - DEBUG - Services list from nova: [