2025-10-31 19:41:11,201 - INFO - Domain Default found not creating
2025-10-31 19:41:11,581 - INFO - Project ctest-TestBasicPolicy-62164630 not found, creating it
2025-10-31 19:41:12,224 - INFO - Created Project:ctest-TestBasicPolicy-62164630, ID : 97401f82-cdb2-492c-a174-46292ae79424
2025-10-31 19:41:14,324 - INFO - ================================================================================
2025-10-31 19:41:14,325 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-10-31 19:41:14,325 - 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-10-31 19:41:14,651 - DEBUG - Nothing to compare xmpp stats {'10.0.0.249': {'10.20.0.254': '0'}} with
2025-10-31 19:41:14,651 - INFO - Initial checks done. Running the testcase now
2025-10-31 19:41:14,652 - INFO -
2025-10-31 19:41:15,605 - DEBUG - Response for create_network : {'network': {'id': '9ef2ae0f-287d-42c4-8ac7-0e04db839bd3', 'name': 'ctest-vn-44565931', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-44565931'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 19:41:15,774 - DEBUG - Response for create_subnet : {'subnet': {'id': '2e9ed5b3-0f60-4e83-ab02-08ab4df6dafe', 'name': '', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'network_id': '9ef2ae0f-287d-42c4-8ac7-0e04db839bd3', 'ip_version': 4, 'cidr': '222.50.177.192/26', 'allocation_pools': [{'start': '222.50.177.194', 'end': '222.50.177.254'}], 'gateway_ip': '222.50.177.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '222.50.177.194', 'tags': [], 'project_id': '97401f82cdb2492ca17446292ae79424'}}
2025-10-31 19:41:15,794 - INFO - Created VN ctest-vn-44565931
2025-10-31 19:41:15,847 - DEBUG - VN ctest-vn-44565931 UUID is 9ef2ae0f-287d-42c4-8ac7-0e04db839bd3
2025-10-31 19:41:16,295 - DEBUG - Response for create_network : {'network': {'id': '73fabb05-761f-4f9f-afb6-1382aad61a4d', 'name': 'ctest-vn-46858688', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-46858688'], 'port_security_enabled': True, 'description': ''}}
2025-10-31 19:41:16,612 - DEBUG - Response for create_subnet : {'subnet': {'id': '93497db8-de1d-4c0d-8994-4c6c243a8a31', 'name': '', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'network_id': '73fabb05-761f-4f9f-afb6-1382aad61a4d', 'ip_version': 4, 'cidr': '36.166.122.64/26', 'allocation_pools': [{'start': '36.166.122.66', 'end': '36.166.122.126'}], 'gateway_ip': '36.166.122.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '36.166.122.66', 'tags': [], 'project_id': '97401f82cdb2492ca17446292ae79424'}}
2025-10-31 19:41:16,655 - INFO - Created VN ctest-vn-46858688
2025-10-31 19:41:16,719 - DEBUG - VN ctest-vn-46858688 UUID is 73fabb05-761f-4f9f-afb6-1382aad61a4d
2025-10-31 19:41:16,901 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931, 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-62164630:ctest-vn-46858688, 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-10-31 19:41:17,355 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '9ef2ae0f-287d-42c4-8ac7-0e04db839bd3', 'name': 'ctest-vn-44565931', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['2e9ed5b3-0f60-4e83-ab02-08ab4df6dafe'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-44565931'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737']], 'subnet_ipam': [{'subnet_cidr': '222.50.177.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 19:41:17,711 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '73fabb05-761f-4f9f-afb6-1382aad61a4d', 'name': 'ctest-vn-46858688', 'tenant_id': '97401f82cdb2492ca17446292ae79424', 'project_id': '97401f82cdb2492ca17446292ae79424', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['93497db8-de1d-4c0d-8994-4c6c243a8a31'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-vn-46858688'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737']], 'subnet_ipam': [{'subnet_cidr': '36.166.122.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-31 19:41:17,911 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-31 19:41:18,217 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-31 19:41:18,256 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390
2025-10-31 19:41:18,274 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424
2025-10-31 19:41:18,393 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3
2025-10-31 19:41:18,421 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3
2025-10-31 19:41:18,441 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1
2025-10-31 19:41:18,455 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1
2025-10-31 19:41:18,468 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8af48f1a-f9f5-41da-99f2-8599cb12a9da
2025-10-31 19:41:18,484 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 19:41:18,484 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3
2025-10-31 19:41:18,509 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1
2025-10-31 19:41:18,546 - INFO - Verified VN network id 11 for VN 9ef2ae0f-287d-42c4-8ac7-0e04db839bd3
2025-10-31 19:41:18,546 - INFO - Verifications in API Server for VN ctest-vn-44565931 passed
2025-10-31 19:41:18,546 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3
2025-10-31 19:41:18,567 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1
2025-10-31 19:41:18,583 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/7eb7c525-52c3-4dda-a35f-1ed6f438bcf1
2025-10-31 19:41:18,595 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/8af48f1a-f9f5-41da-99f2-8599cb12a9da
2025-10-31 19:41:18,629 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62164630', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11453408182483632836', 'uuid-lslong': '9999976911624969171'}, 'enable': 'true', 'created': '2025-10-31T19:41:15', 'last-modified': '2025-10-31T19:41:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.308328'}
2025-10-31 19:41:18,650 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-31 19:41:18,651 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-44565931 passed
2025-10-31 19:41:18,651 - DEBUG - ====Verifying policy data for ctest-vn-44565931 in API_Server ======
2025-10-31 19:41:18,652 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-31 19:41:18,665 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390
2025-10-31 19:41:18,696 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424
2025-10-31 19:41:18,819 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/9ef2ae0f-287d-42c4-8ac7-0e04db839bd3
2025-10-31 19:41:18,848 - DEBUG - ==>Verifying data for policy with id: 6e1dba81-614a-4991-9f73-fe6f3b5efcda, fqn: ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737']
2025-10-31 19:41:18,849 - INFO - VN ctest-vn-44565931 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 19:41:18,849 - DEBUG - Verifying the vn in opserver
2025-10-31 19:41:18,849 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931 virtual network link through opserver 10.0.0.249
2025-10-31 19:41:18,849 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-31 19:41:19,205 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-31 19:41:19,276 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931?flat'}
2025-10-31 19:41:19,277 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-44565931 is found in opserver
2025-10-31 19:41:19,296 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 19:41:19,305 - DEBUG - VRF ids for VN ctest-vn-44565931: {}
2025-10-31 19:41:19,305 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-31 19:41:19,311 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390
2025-10-31 19:41:19,335 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424
2025-10-31 19:41:19,436 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d
2025-10-31 19:41:19,467 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d
2025-10-31 19:41:19,496 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d
2025-10-31 19:41:19,516 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d
2025-10-31 19:41:19,535 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e2fd4d1b-77b2-4375-a04f-8580c71fa421
2025-10-31 19:41:19,553 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 19:41:19,553 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d
2025-10-31 19:41:19,579 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d
2025-10-31 19:41:19,614 - INFO - Verified VN network id 12 for VN 73fabb05-761f-4f9f-afb6-1382aad61a4d
2025-10-31 19:41:19,614 - INFO - Verifications in API Server for VN ctest-vn-46858688 passed
2025-10-31 19:41:19,614 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d
2025-10-31 19:41:19,640 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d
2025-10-31 19:41:19,660 - DEBUG - Requesting: http://10.0.0.249:8082/routing-instance/9f7dec08-89a6-4078-8805-70c7900da37d
2025-10-31 19:41:19,681 - DEBUG - Requesting: http://10.0.0.249:8082/route-target/e2fd4d1b-77b2-4375-a04f-8580c71fa421
2025-10-31 19:41:19,714 - DEBUG - Control-node 10.0.0.249 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-62164630', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8357197690670370719', 'uuid-lslong': '12661328854331562573'}, 'enable': 'true', 'created': '2025-10-31T19:41:16', 'last-modified': '2025-10-31T19:41:17', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.036915'}
2025-10-31 19:41:19,730 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-31 19:41:19,731 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-46858688 passed
2025-10-31 19:41:19,731 - DEBUG - ====Verifying policy data for ctest-vn-46858688 in API_Server ======
2025-10-31 19:41:19,731 - DEBUG - Requesting: http://10.0.0.249:8082/domains
2025-10-31 19:41:19,745 - DEBUG - Requesting: http://10.0.0.249:8082/domain/e0f21c43-19d6-4a96-94a3-3251ed820390
2025-10-31 19:41:19,774 - DEBUG - Requesting: http://10.0.0.249:8082/project/97401f82-cdb2-492c-a174-46292ae79424
2025-10-31 19:41:19,887 - DEBUG - Requesting: http://10.0.0.249:8082/virtual-network/73fabb05-761f-4f9f-afb6-1382aad61a4d
2025-10-31 19:41:19,907 - DEBUG - ==>Verifying data for policy with id: 6e1dba81-614a-4991-9f73-fe6f3b5efcda, fqn: ['default-domain', 'ctest-TestBasicPolicy-62164630', 'ctest-policy-allow-all-72245737']
2025-10-31 19:41:19,908 - INFO - VN ctest-vn-46858688 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-31 19:41:19,908 - DEBUG - Verifying the vn in opserver
2025-10-31 19:41:19,908 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688 virtual network link through opserver 10.0.0.249
2025-10-31 19:41:19,908 - DEBUG - Requesting: http://10.0.0.249:8081/analytics/uves/virtual-networks
2025-10-31 19:41:19,929 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688', 'href': 'http://10.0.0.249:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688?flat'}
2025-10-31 19:41:19,929 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-62164630:ctest-vn-46858688 is found in opserver
2025-10-31 19:41:19,957 - DEBUG - Do not have enough data to verify VN in agent
2025-10-31 19:41:19,973 - DEBUG - VRF ids for VN ctest-vn-46858688: {}
2025-10-31 19:41:20,080 - DEBUG - Services list from nova: [