2025-12-29 02:10:00,697 - INFO - Domain Default found not creating
2025-12-29 02:10:00,920 - INFO - Project ctest-TestBasicPolicy-45644759 not found, creating it
2025-12-29 02:10:01,457 - INFO - Created Project:ctest-TestBasicPolicy-45644759, ID : 35b9b6ba-af4d-443d-a6ee-b1d17abf2acf
2025-12-29 02:10:03,182 - INFO - ================================================================================
2025-12-29 02:10:03,182 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-29 02:10:03,182 - 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-12-29 02:10:03,443 - DEBUG - Nothing to compare xmpp stats {'10.0.0.141': {'10.20.0.14': '0'}} with
2025-12-29 02:10:03,443 - INFO - Initial checks done. Running the testcase now
2025-12-29 02:10:03,443 - INFO -
2025-12-29 02:10:04,029 - DEBUG - Response for create_network : {'network': {'id': '93d30f4d-09c3-4220-a691-b76ef69c98c0', 'name': 'ctest-vn-66201928', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-66201928'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:10:04,220 - DEBUG - Response for create_subnet : {'subnet': {'id': 'e7084897-0427-4195-a00b-cc47ca569e41', 'name': '', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'network_id': '93d30f4d-09c3-4220-a691-b76ef69c98c0', 'ip_version': 4, 'cidr': '91.87.86.128/26', 'allocation_pools': [{'start': '91.87.86.130', 'end': '91.87.86.190'}], 'gateway_ip': '91.87.86.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '91.87.86.130', 'tags': [], 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf'}}
2025-12-29 02:10:04,241 - INFO - Created VN ctest-vn-66201928
2025-12-29 02:10:04,297 - DEBUG - VN ctest-vn-66201928 UUID is 93d30f4d-09c3-4220-a691-b76ef69c98c0
2025-12-29 02:10:04,603 - DEBUG - Response for create_network : {'network': {'id': 'e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a', 'name': 'ctest-vn-80147737', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-80147737'], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:10:04,798 - DEBUG - Response for create_subnet : {'subnet': {'id': '395e18b5-1f87-4032-a231-f361d54489f2', 'name': '', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'network_id': 'e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a', 'ip_version': 4, 'cidr': '107.123.55.64/26', 'allocation_pools': [{'start': '107.123.55.66', 'end': '107.123.55.126'}], 'gateway_ip': '107.123.55.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '107.123.55.66', 'tags': [], 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf'}}
2025-12-29 02:10:04,817 - INFO - Created VN ctest-vn-80147737
2025-12-29 02:10:04,873 - DEBUG - VN ctest-vn-80147737 UUID is e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a
2025-12-29 02:10:04,992 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928, 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-45644759:ctest-vn-80147737, 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-12-29 02:10:05,298 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '93d30f4d-09c3-4220-a691-b76ef69c98c0', 'name': 'ctest-vn-66201928', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['e7084897-0427-4195-a00b-cc47ca569e41'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-66201928'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468']], 'subnet_ipam': [{'subnet_cidr': '91.87.86.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:10:05,540 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a', 'name': 'ctest-vn-80147737', 'tenant_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'project_id': '35b9b6baaf4d443da6eeb1d17abf2acf', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['395e18b5-1f87-4032-a231-f361d54489f2'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-vn-80147737'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468']], 'subnet_ipam': [{'subnet_cidr': '107.123.55.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-29 02:10:05,721 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-29 02:10:06,030 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-29 02:10:06,068 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521
2025-12-29 02:10:06,081 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf
2025-12-29 02:10:06,172 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0
2025-12-29 02:10:06,185 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0
2025-12-29 02:10:06,195 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6
2025-12-29 02:10:06,202 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6
2025-12-29 02:10:06,210 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2bd996a1-683d-40ec-bbd7-539773053d94
2025-12-29 02:10:06,217 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 02:10:06,217 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0
2025-12-29 02:10:06,227 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6
2025-12-29 02:10:06,243 - INFO - Verified VN network id 11 for VN 93d30f4d-09c3-4220-a691-b76ef69c98c0
2025-12-29 02:10:06,243 - INFO - Verifications in API Server for VN ctest-vn-66201928 passed
2025-12-29 02:10:06,243 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0
2025-12-29 02:10:06,252 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6
2025-12-29 02:10:06,261 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/1139bd23-ba8c-4994-a916-d705f72b70f6
2025-12-29 02:10:06,270 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/2bd996a1-683d-40ec-bbd7-539773053d94
2025-12-29 02:10:06,286 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45644759', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '10651874367212044832', 'uuid-lslong': '12002576169130825920'}, 'enable': 'true', 'created': '2025-12-29T02:10:03', 'last-modified': '2025-12-29T02:10:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.011802'}
2025-12-29 02:10:06,294 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-29 02:10:06,294 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66201928 passed
2025-12-29 02:10:06,294 - DEBUG - ====Verifying policy data for ctest-vn-66201928 in API_Server ======
2025-12-29 02:10:06,294 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-29 02:10:06,301 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521
2025-12-29 02:10:06,326 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf
2025-12-29 02:10:06,403 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/93d30f4d-09c3-4220-a691-b76ef69c98c0
2025-12-29 02:10:06,418 - DEBUG - ==>Verifying data for policy with id: 4a1b6552-8ebe-4f8c-b122-d92436886d6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468']
2025-12-29 02:10:06,418 - INFO - VN ctest-vn-66201928 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 02:10:06,418 - DEBUG - Verifying the vn in opserver
2025-12-29 02:10:06,418 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928 virtual network link through opserver 10.0.0.141
2025-12-29 02:10:06,418 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-12-29 02:10:06,722 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-12-29 02:10:06,797 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928?flat'}
2025-12-29 02:10:06,797 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-66201928 is found in opserver
2025-12-29 02:10:06,808 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 02:10:06,815 - DEBUG - VRF ids for VN ctest-vn-66201928: {}
2025-12-29 02:10:06,815 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-29 02:10:06,821 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521
2025-12-29 02:10:06,835 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf
2025-12-29 02:10:06,918 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a
2025-12-29 02:10:06,931 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a
2025-12-29 02:10:06,944 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c
2025-12-29 02:10:06,953 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c
2025-12-29 02:10:06,960 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bb3aa545-461c-4622-8add-49ded211d5cf
2025-12-29 02:10:06,967 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 02:10:06,967 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a
2025-12-29 02:10:06,978 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c
2025-12-29 02:10:06,992 - INFO - Verified VN network id 12 for VN e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a
2025-12-29 02:10:06,993 - INFO - Verifications in API Server for VN ctest-vn-80147737 passed
2025-12-29 02:10:06,993 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a
2025-12-29 02:10:07,004 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c
2025-12-29 02:10:07,015 - DEBUG - Requesting: http://10.0.0.141:8082/routing-instance/67de0713-60b4-4c54-8d18-c95ddf8d515c
2025-12-29 02:10:07,022 - DEBUG - Requesting: http://10.0.0.141:8082/route-target/bb3aa545-461c-4622-8add-49ded211d5cf
2025-12-29 02:10:07,035 - DEBUG - Control-node 10.0.0.141 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-45644759', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16789308233957132963', 'uuid-lslong': '12307840080731321114'}, 'enable': 'true', 'created': '2025-12-29T02:10:04', 'last-modified': '2025-12-29T02:10:05', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.516618'}
2025-12-29 02:10:07,043 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-29 02:10:07,043 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80147737 passed
2025-12-29 02:10:07,043 - DEBUG - ====Verifying policy data for ctest-vn-80147737 in API_Server ======
2025-12-29 02:10:07,043 - DEBUG - Requesting: http://10.0.0.141:8082/domains
2025-12-29 02:10:07,049 - DEBUG - Requesting: http://10.0.0.141:8082/domain/45512d6d-640d-4445-9cd5-76be0ff0d521
2025-12-29 02:10:07,060 - DEBUG - Requesting: http://10.0.0.141:8082/project/35b9b6ba-af4d-443d-a6ee-b1d17abf2acf
2025-12-29 02:10:07,137 - DEBUG - Requesting: http://10.0.0.141:8082/virtual-network/e8ff9ae2-9d8e-4aa3-aace-3b57fc4e331a
2025-12-29 02:10:07,148 - DEBUG - ==>Verifying data for policy with id: 4a1b6552-8ebe-4f8c-b122-d92436886d6e, fqn: ['default-domain', 'ctest-TestBasicPolicy-45644759', 'ctest-policy-allow-all-00204468']
2025-12-29 02:10:07,148 - INFO - VN ctest-vn-80147737 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-29 02:10:07,148 - DEBUG - Verifying the vn in opserver
2025-12-29 02:10:07,148 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737 virtual network link through opserver 10.0.0.141
2025-12-29 02:10:07,148 - DEBUG - Requesting: http://10.0.0.141:8081/analytics/uves/virtual-networks
2025-12-29 02:10:07,158 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737', 'href': 'http://10.0.0.141:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737?flat'}
2025-12-29 02:10:07,158 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-45644759:ctest-vn-80147737 is found in opserver
2025-12-29 02:10:07,169 - DEBUG - Do not have enough data to verify VN in agent
2025-12-29 02:10:07,174 - DEBUG - VRF ids for VN ctest-vn-80147737: {}
2025-12-29 02:10:07,241 - DEBUG - Services list from nova: [