2026-09-03 11:11:56,630 - INFO - Domain Default found not creating
2026-09-03 11:11:56,847 - INFO - Project ctest-TestBasicPolicy-82786507 not found, creating it
2026-09-03 11:11:57,391 - INFO - Created Project:ctest-TestBasicPolicy-82786507, ID : febb4c36-744f-4289-b8b2-661dfd5a0788
2026-09-03 11:11:59,302 - INFO - ================================================================================
2026-09-03 11:11:59,302 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-03 11:11:59,302 - 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-03 11:11:59,576 - DEBUG - Nothing to compare xmpp stats {'10.0.0.250': {'10.20.0.17': '0'}} with
2026-09-03 11:11:59,576 - INFO - Initial checks done. Running the testcase now
2026-09-03 11:11:59,576 - INFO -
2026-09-03 11:12:00,241 - DEBUG - Response for create_network : {'network': {'id': 'e63f7e2f-dd44-48b5-8e4a-4289da2dc899', 'name': 'ctest-vn-94428324', 'tenant_id': 'febb4c36744f4289b8b2661dfd5a0788', 'project_id': 'febb4c36744f4289b8b2661dfd5a0788', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-vn-94428324'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:12:00,447 - DEBUG - Response for create_subnet : {'subnet': {'id': 'cf829eaf-0d42-4003-90d8-6c3f49c9cc2b', 'name': '', 'tenant_id': 'febb4c36744f4289b8b2661dfd5a0788', 'network_id': 'e63f7e2f-dd44-48b5-8e4a-4289da2dc899', 'ip_version': 4, 'cidr': '156.51.142.128/26', 'allocation_pools': [{'start': '156.51.142.130', 'end': '156.51.142.190'}], 'gateway_ip': '156.51.142.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '156.51.142.130', 'tags': [], 'project_id': 'febb4c36744f4289b8b2661dfd5a0788'}}
2026-09-03 11:12:00,465 - INFO - Created VN ctest-vn-94428324
2026-09-03 11:12:00,519 - DEBUG - VN ctest-vn-94428324 UUID is e63f7e2f-dd44-48b5-8e4a-4289da2dc899
2026-09-03 11:12:00,908 - DEBUG - Response for create_network : {'network': {'id': '4529469d-47ed-4e03-bfb2-4342ddbd1c11', 'name': 'ctest-vn-16367899', 'tenant_id': 'febb4c36744f4289b8b2661dfd5a0788', 'project_id': 'febb4c36744f4289b8b2661dfd5a0788', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-vn-16367899'], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:12:01,118 - DEBUG - Response for create_subnet : {'subnet': {'id': '3990eea4-dde5-4ae7-b9ce-07ef96205555', 'name': '', 'tenant_id': 'febb4c36744f4289b8b2661dfd5a0788', 'network_id': '4529469d-47ed-4e03-bfb2-4342ddbd1c11', 'ip_version': 4, 'cidr': '176.40.118.0/26', 'allocation_pools': [{'start': '176.40.118.2', 'end': '176.40.118.62'}], 'gateway_ip': '176.40.118.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '176.40.118.2', 'tags': [], 'project_id': 'febb4c36744f4289b8b2661dfd5a0788'}}
2026-09-03 11:12:01,141 - INFO - Created VN ctest-vn-16367899
2026-09-03 11:12:01,195 - DEBUG - VN ctest-vn-16367899 UUID is 4529469d-47ed-4e03-bfb2-4342ddbd1c11
2026-09-03 11:12:01,328 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-94428324, 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-82786507:ctest-vn-16367899, 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-03 11:12:01,699 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'e63f7e2f-dd44-48b5-8e4a-4289da2dc899', 'name': 'ctest-vn-94428324', 'tenant_id': 'febb4c36744f4289b8b2661dfd5a0788', 'project_id': 'febb4c36744f4289b8b2661dfd5a0788', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['cf829eaf-0d42-4003-90d8-6c3f49c9cc2b'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-vn-94428324'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-policy-allow-all-77284555']], 'subnet_ipam': [{'subnet_cidr': '156.51.142.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:12:01,975 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '4529469d-47ed-4e03-bfb2-4342ddbd1c11', 'name': 'ctest-vn-16367899', 'tenant_id': 'febb4c36744f4289b8b2661dfd5a0788', 'project_id': 'febb4c36744f4289b8b2661dfd5a0788', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['3990eea4-dde5-4ae7-b9ce-07ef96205555'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-vn-16367899'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-policy-allow-all-77284555']], 'subnet_ipam': [{'subnet_cidr': '176.40.118.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-03 11:12:02,147 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-03 11:12:02,526 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-03 11:12:02,558 - DEBUG - Requesting: http://10.0.0.250:8082/domain/ee016a1a-ae57-4c5d-8053-890c4143f72b
2026-09-03 11:12:02,572 - DEBUG - Requesting: http://10.0.0.250:8082/project/febb4c36-744f-4289-b8b2-661dfd5a0788
2026-09-03 11:12:02,659 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e63f7e2f-dd44-48b5-8e4a-4289da2dc899
2026-09-03 11:12:02,676 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e63f7e2f-dd44-48b5-8e4a-4289da2dc899
2026-09-03 11:12:02,688 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/1531a3e4-0783-43ea-abf3-63cfe4db3943
2026-09-03 11:12:02,697 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/1531a3e4-0783-43ea-abf3-63cfe4db3943
2026-09-03 11:12:02,707 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/0d8f061d-0c07-4a3e-be1b-dd817e463279
2026-09-03 11:12:02,716 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 11:12:02,716 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e63f7e2f-dd44-48b5-8e4a-4289da2dc899
2026-09-03 11:12:02,728 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/1531a3e4-0783-43ea-abf3-63cfe4db3943
2026-09-03 11:12:02,745 - INFO - Verified VN network id 12 for VN e63f7e2f-dd44-48b5-8e4a-4289da2dc899
2026-09-03 11:12:02,745 - INFO - Verifications in API Server for VN ctest-vn-94428324 passed
2026-09-03 11:12:02,745 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e63f7e2f-dd44-48b5-8e4a-4289da2dc899
2026-09-03 11:12:02,761 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/1531a3e4-0783-43ea-abf3-63cfe4db3943
2026-09-03 11:12:02,773 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/1531a3e4-0783-43ea-abf3-63cfe4db3943
2026-09-03 11:12:02,783 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/0d8f061d-0c07-4a3e-be1b-dd817e463279
2026-09-03 11:12:02,799 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-94428324', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82786507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '16591118296296999093', 'uuid-lslong': '10253080661500741785'}, 'enable': 'true', 'created': '2026-09-03T11:12:00', 'last-modified': '2026-09-03T11:12:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.142755'}
2026-09-03 11:12:02,806 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-03 11:12:02,807 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-94428324 passed
2026-09-03 11:12:02,807 - DEBUG - ====Verifying policy data for ctest-vn-94428324 in API_Server ======
2026-09-03 11:12:02,807 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-03 11:12:02,814 - DEBUG - Requesting: http://10.0.0.250:8082/domain/ee016a1a-ae57-4c5d-8053-890c4143f72b
2026-09-03 11:12:02,829 - DEBUG - Requesting: http://10.0.0.250:8082/project/febb4c36-744f-4289-b8b2-661dfd5a0788
2026-09-03 11:12:02,910 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/e63f7e2f-dd44-48b5-8e4a-4289da2dc899
2026-09-03 11:12:02,921 - DEBUG - ==>Verifying data for policy with id: 1f695fa3-0743-4b68-8666-32bdcd686987, fqn: ['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-policy-allow-all-77284555']
2026-09-03 11:12:02,922 - INFO - VN ctest-vn-94428324 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 11:12:02,922 - DEBUG - Verifying the vn in opserver
2026-09-03 11:12:02,922 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-94428324 virtual network link through opserver 10.0.0.250
2026-09-03 11:12:02,922 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-03 11:12:03,290 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-03 11:12:03,354 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-94428324', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-94428324?flat'}
2026-09-03 11:12:03,354 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-94428324 is found in opserver
2026-09-03 11:12:03,369 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 11:12:03,376 - DEBUG - VRF ids for VN ctest-vn-94428324: {}
2026-09-03 11:12:03,376 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-03 11:12:03,382 - DEBUG - Requesting: http://10.0.0.250:8082/domain/ee016a1a-ae57-4c5d-8053-890c4143f72b
2026-09-03 11:12:03,397 - DEBUG - Requesting: http://10.0.0.250:8082/project/febb4c36-744f-4289-b8b2-661dfd5a0788
2026-09-03 11:12:03,487 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4529469d-47ed-4e03-bfb2-4342ddbd1c11
2026-09-03 11:12:03,505 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4529469d-47ed-4e03-bfb2-4342ddbd1c11
2026-09-03 11:12:03,517 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/9ba82b64-9063-45b3-ad05-133de99a115d
2026-09-03 11:12:03,528 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/9ba82b64-9063-45b3-ad05-133de99a115d
2026-09-03 11:12:03,538 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/85d245b9-468a-47db-9446-b5f2f1391c61
2026-09-03 11:12:03,546 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 11:12:03,546 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4529469d-47ed-4e03-bfb2-4342ddbd1c11
2026-09-03 11:12:03,557 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/9ba82b64-9063-45b3-ad05-133de99a115d
2026-09-03 11:12:03,578 - INFO - Verified VN network id 13 for VN 4529469d-47ed-4e03-bfb2-4342ddbd1c11
2026-09-03 11:12:03,579 - INFO - Verifications in API Server for VN ctest-vn-16367899 passed
2026-09-03 11:12:03,579 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4529469d-47ed-4e03-bfb2-4342ddbd1c11
2026-09-03 11:12:03,594 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/9ba82b64-9063-45b3-ad05-133de99a115d
2026-09-03 11:12:03,605 - DEBUG - Requesting: http://10.0.0.250:8082/routing-instance/9ba82b64-9063-45b3-ad05-133de99a115d
2026-09-03 11:12:03,617 - DEBUG - Requesting: http://10.0.0.250:8082/route-target/85d245b9-468a-47db-9446-b5f2f1391c61
2026-09-03 11:12:03,635 - DEBUG - Control-node 10.0.0.250 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-16367899', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82786507', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4983592103992708611', 'uuid-lslong': '13813176961565793297'}, 'enable': 'true', 'created': '2026-09-03T11:12:00', 'last-modified': '2026-09-03T11:12:01', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.694349'}
2026-09-03 11:12:03,643 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-03 11:12:03,643 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-16367899 passed
2026-09-03 11:12:03,643 - DEBUG - ====Verifying policy data for ctest-vn-16367899 in API_Server ======
2026-09-03 11:12:03,643 - DEBUG - Requesting: http://10.0.0.250:8082/domains
2026-09-03 11:12:03,650 - DEBUG - Requesting: http://10.0.0.250:8082/domain/ee016a1a-ae57-4c5d-8053-890c4143f72b
2026-09-03 11:12:03,665 - DEBUG - Requesting: http://10.0.0.250:8082/project/febb4c36-744f-4289-b8b2-661dfd5a0788
2026-09-03 11:12:03,756 - DEBUG - Requesting: http://10.0.0.250:8082/virtual-network/4529469d-47ed-4e03-bfb2-4342ddbd1c11
2026-09-03 11:12:03,772 - DEBUG - ==>Verifying data for policy with id: 1f695fa3-0743-4b68-8666-32bdcd686987, fqn: ['default-domain', 'ctest-TestBasicPolicy-82786507', 'ctest-policy-allow-all-77284555']
2026-09-03 11:12:03,772 - INFO - VN ctest-vn-16367899 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-03 11:12:03,772 - DEBUG - Verifying the vn in opserver
2026-09-03 11:12:03,773 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-16367899 virtual network link through opserver 10.0.0.250
2026-09-03 11:12:03,773 - DEBUG - Requesting: http://10.0.0.250:8081/analytics/uves/virtual-networks
2026-09-03 11:12:03,789 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-16367899', 'href': 'http://10.0.0.250:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-16367899?flat'}
2026-09-03 11:12:03,789 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82786507:ctest-vn-16367899 is found in opserver
2026-09-03 11:12:03,807 - DEBUG - Do not have enough data to verify VN in agent
2026-09-03 11:12:03,814 - DEBUG - VRF ids for VN ctest-vn-16367899: {}
2026-09-03 11:12:03,909 - DEBUG - Services list from nova: [