2026-09-16 13:08:52,899 - INFO - Domain Default found not creating
2026-09-16 13:08:53,157 - INFO - Project ctest-TestBasicPolicy-60636128 not found, creating it
2026-09-16 13:08:53,740 - INFO - Created Project:ctest-TestBasicPolicy-60636128, ID : f993ddea-433b-42aa-80cd-3d93c75335a5
2026-09-16 13:08:55,777 - INFO - ================================================================================
2026-09-16 13:08:55,777 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-16 13:08:55,777 - 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-09-16 13:08:56,070 - DEBUG - Nothing to compare xmpp stats {'10.0.0.190': {'10.20.0.25': '0'}} with
2026-09-16 13:08:56,071 - INFO - Initial checks done. Running the testcase now
2026-09-16 13:08:56,071 - INFO -
2026-09-16 13:08:56,864 - DEBUG - Response for create_network : {'network': {'id': '14a2e895-91b3-4341-8a19-c94942b4487a', 'name': 'ctest-vn-97570752', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-97570752'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:57,124 - DEBUG - Response for create_subnet : {'subnet': {'id': '7dc10371-cd4e-4b5e-87d9-cdbc240c5b89', 'name': '', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'network_id': '14a2e895-91b3-4341-8a19-c94942b4487a', 'ip_version': 4, 'cidr': '114.96.127.128/26', 'allocation_pools': [{'start': '114.96.127.130', 'end': '114.96.127.190'}], 'gateway_ip': '114.96.127.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.96.127.130', 'tags': [], 'project_id': 'f993ddea433b42aa80cd3d93c75335a5'}}
2026-09-16 13:08:57,156 - INFO - Created VN ctest-vn-97570752
2026-09-16 13:08:57,213 - DEBUG - VN ctest-vn-97570752 UUID is 14a2e895-91b3-4341-8a19-c94942b4487a
2026-09-16 13:08:57,637 - DEBUG - Response for create_network : {'network': {'id': 'fcf091da-f440-4815-aebe-1808c7501eee', 'name': 'ctest-vn-62793485', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-62793485'], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:57,861 - DEBUG - Response for create_subnet : {'subnet': {'id': '1400c95b-bd01-434d-a4d9-fee9161c34ae', 'name': '', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'network_id': 'fcf091da-f440-4815-aebe-1808c7501eee', 'ip_version': 4, 'cidr': '203.185.94.192/26', 'allocation_pools': [{'start': '203.185.94.194', 'end': '203.185.94.254'}], 'gateway_ip': '203.185.94.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '203.185.94.194', 'tags': [], 'project_id': 'f993ddea433b42aa80cd3d93c75335a5'}}
2026-09-16 13:08:57,887 - INFO - Created VN ctest-vn-62793485
2026-09-16 13:08:57,945 - DEBUG - VN ctest-vn-62793485 UUID is fcf091da-f440-4815-aebe-1808c7501eee
2026-09-16 13:08:58,088 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752, 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-60636128:ctest-vn-62793485, 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-09-16 13:08:58,525 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '14a2e895-91b3-4341-8a19-c94942b4487a', 'name': 'ctest-vn-97570752', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['7dc10371-cd4e-4b5e-87d9-cdbc240c5b89'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-97570752'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007']], 'subnet_ipam': [{'subnet_cidr': '114.96.127.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:58,842 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fcf091da-f440-4815-aebe-1808c7501eee', 'name': 'ctest-vn-62793485', 'tenant_id': 'f993ddea433b42aa80cd3d93c75335a5', 'project_id': 'f993ddea433b42aa80cd3d93c75335a5', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['1400c95b-bd01-434d-a4d9-fee9161c34ae'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-vn-62793485'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007']], 'subnet_ipam': [{'subnet_cidr': '203.185.94.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-16 13:08:59,029 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-16 13:08:59,445 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-16 13:08:59,490 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e
2026-09-16 13:08:59,510 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5
2026-09-16 13:08:59,607 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a
2026-09-16 13:08:59,630 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a
2026-09-16 13:08:59,653 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2
2026-09-16 13:08:59,682 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2
2026-09-16 13:08:59,701 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/eb3ad7ce-fa1a-4c23-b070-d4684e16cb27
2026-09-16 13:08:59,715 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:08:59,715 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a
2026-09-16 13:08:59,732 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2
2026-09-16 13:08:59,757 - INFO - Verified VN network id 12 for VN 14a2e895-91b3-4341-8a19-c94942b4487a
2026-09-16 13:08:59,758 - INFO - Verifications in API Server for VN ctest-vn-97570752 passed
2026-09-16 13:08:59,758 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a
2026-09-16 13:08:59,775 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2
2026-09-16 13:08:59,792 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/7848ea89-f1d6-46ee-be0d-c0fabdfdcec2
2026-09-16 13:08:59,806 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/eb3ad7ce-fa1a-4c23-b070-d4684e16cb27
2026-09-16 13:08:59,826 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60636128', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '1487006556077900609', 'uuid-lslong': '9951206168140728442'}, 'enable': 'true', 'created': '2026-09-16T13:08:56', 'last-modified': '2026-09-16T13:08:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.350292'}
2026-09-16 13:08:59,838 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-16 13:08:59,838 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-97570752 passed
2026-09-16 13:08:59,838 - DEBUG - ====Verifying policy data for ctest-vn-97570752 in API_Server ======
2026-09-16 13:08:59,838 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-16 13:08:59,848 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e
2026-09-16 13:08:59,869 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5
2026-09-16 13:08:59,983 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/14a2e895-91b3-4341-8a19-c94942b4487a
2026-09-16 13:09:00,007 - DEBUG - ==>Verifying data for policy with id: 24e86c03-e9e5-4cc6-8f84-d25f5772d057, fqn: ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007']
2026-09-16 13:09:00,007 - INFO - VN ctest-vn-97570752 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:09:00,008 - DEBUG - Verifying the vn in opserver
2026-09-16 13:09:00,008 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752 virtual network link through opserver 10.0.0.190
2026-09-16 13:09:00,008 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-16 13:09:00,404 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-16 13:09:00,485 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752?flat'}
2026-09-16 13:09:00,485 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-97570752 is found in opserver
2026-09-16 13:09:00,501 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:09:00,508 - DEBUG - VRF ids for VN ctest-vn-97570752: {}
2026-09-16 13:09:00,508 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-16 13:09:00,516 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e
2026-09-16 13:09:00,532 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5
2026-09-16 13:09:00,629 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee
2026-09-16 13:09:00,650 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee
2026-09-16 13:09:00,666 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff
2026-09-16 13:09:00,677 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff
2026-09-16 13:09:00,688 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/69536d17-bf9c-4a19-a03f-5d17457cb2ce
2026-09-16 13:09:00,699 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:09:00,699 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee
2026-09-16 13:09:00,716 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff
2026-09-16 13:09:00,743 - INFO - Verified VN network id 13 for VN fcf091da-f440-4815-aebe-1808c7501eee
2026-09-16 13:09:00,743 - INFO - Verifications in API Server for VN ctest-vn-62793485 passed
2026-09-16 13:09:00,743 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee
2026-09-16 13:09:00,805 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff
2026-09-16 13:09:00,831 - DEBUG - Requesting: http://10.0.0.190:8082/routing-instance/5aa48357-1729-4d75-97a1-070c72b368ff
2026-09-16 13:09:00,843 - DEBUG - Requesting: http://10.0.0.190:8082/route-target/69536d17-bf9c-4a19-a03f-5d17457cb2ce
2026-09-16 13:09:00,864 - DEBUG - Control-node 10.0.0.190 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-60636128', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18226228061555148821', 'uuid-lslong': '12591528034157207278'}, 'enable': 'true', 'created': '2026-09-16T13:08:57', 'last-modified': '2026-09-16T13:08:58', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:02.055650'}
2026-09-16 13:09:00,874 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-16 13:09:00,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-62793485 passed
2026-09-16 13:09:00,875 - DEBUG - ====Verifying policy data for ctest-vn-62793485 in API_Server ======
2026-09-16 13:09:00,875 - DEBUG - Requesting: http://10.0.0.190:8082/domains
2026-09-16 13:09:00,884 - DEBUG - Requesting: http://10.0.0.190:8082/domain/94f8371a-4366-4cb0-9580-6eeef52ea88e
2026-09-16 13:09:00,900 - DEBUG - Requesting: http://10.0.0.190:8082/project/f993ddea-433b-42aa-80cd-3d93c75335a5
2026-09-16 13:09:01,001 - DEBUG - Requesting: http://10.0.0.190:8082/virtual-network/fcf091da-f440-4815-aebe-1808c7501eee
2026-09-16 13:09:01,016 - DEBUG - ==>Verifying data for policy with id: 24e86c03-e9e5-4cc6-8f84-d25f5772d057, fqn: ['default-domain', 'ctest-TestBasicPolicy-60636128', 'ctest-policy-allow-all-37050007']
2026-09-16 13:09:01,016 - INFO - VN ctest-vn-62793485 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-16 13:09:01,017 - DEBUG - Verifying the vn in opserver
2026-09-16 13:09:01,017 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485 virtual network link through opserver 10.0.0.190
2026-09-16 13:09:01,017 - DEBUG - Requesting: http://10.0.0.190:8081/analytics/uves/virtual-networks
2026-09-16 13:09:01,033 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485', 'href': 'http://10.0.0.190:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485?flat'}
2026-09-16 13:09:01,033 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-60636128:ctest-vn-62793485 is found in opserver
2026-09-16 13:09:01,050 - DEBUG - Do not have enough data to verify VN in agent
2026-09-16 13:09:01,057 - DEBUG - VRF ids for VN ctest-vn-62793485: {}
2026-09-16 13:09:01,144 - DEBUG - Services list from nova: [