2026-09-09 04:30:17,213 - INFO - Domain Default found not creating
2026-09-09 04:30:17,392 - INFO - Project ctest-TestBasicPolicy-32015493 not found, creating it
2026-09-09 04:30:17,907 - INFO - Created Project:ctest-TestBasicPolicy-32015493, ID : 06c298fb-9465-4d42-ba6f-cdea81e3642e
2026-09-09 04:30:19,668 - INFO - ================================================================================
2026-09-09 04:30:19,668 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-09-09 04:30:19,668 - 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-09 04:30:19,945 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2026-09-09 04:30:19,945 - INFO - Initial checks done. Running the testcase now
2026-09-09 04:30:19,945 - INFO -
2026-09-09 04:30:20,605 - DEBUG - Response for create_network : {'network': {'id': 'd43cf92e-8171-4d21-8e44-a291d794c078', 'name': 'ctest-vn-52294245', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-52294245'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 04:30:20,816 - DEBUG - Response for create_subnet : {'subnet': {'id': 'c7e51c79-9233-4774-ab96-a3fc6d3031cd', 'name': '', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'network_id': 'd43cf92e-8171-4d21-8e44-a291d794c078', 'ip_version': 4, 'cidr': '60.78.170.0/26', 'allocation_pools': [{'start': '60.78.170.2', 'end': '60.78.170.62'}], 'gateway_ip': '60.78.170.1', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '60.78.170.2', 'tags': [], 'project_id': '06c298fb94654d42ba6fcdea81e3642e'}}
2026-09-09 04:30:20,834 - INFO - Created VN ctest-vn-52294245
2026-09-09 04:30:20,894 - DEBUG - VN ctest-vn-52294245 UUID is d43cf92e-8171-4d21-8e44-a291d794c078
2026-09-09 04:30:21,203 - DEBUG - Response for create_network : {'network': {'id': '7b3a5de9-1057-432a-8cab-5fc69f5974c5', 'name': 'ctest-vn-80320059', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-80320059'], 'port_security_enabled': True, 'description': ''}}
2026-09-09 04:30:21,425 - DEBUG - Response for create_subnet : {'subnet': {'id': '75d52b59-0f6f-43fa-9e95-e59b782d384a', 'name': '', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'network_id': '7b3a5de9-1057-432a-8cab-5fc69f5974c5', 'ip_version': 4, 'cidr': '45.253.5.192/26', 'allocation_pools': [{'start': '45.253.5.194', 'end': '45.253.5.254'}], 'gateway_ip': '45.253.5.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '45.253.5.194', 'tags': [], 'project_id': '06c298fb94654d42ba6fcdea81e3642e'}}
2026-09-09 04:30:21,445 - INFO - Created VN ctest-vn-80320059
2026-09-09 04:30:21,502 - DEBUG - VN ctest-vn-80320059 UUID is 7b3a5de9-1057-432a-8cab-5fc69f5974c5
2026-09-09 04:30:21,627 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245, 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-32015493:ctest-vn-80320059, 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-09 04:30:21,965 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'd43cf92e-8171-4d21-8e44-a291d794c078', 'name': 'ctest-vn-52294245', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['c7e51c79-9233-4774-ab96-a3fc6d3031cd'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-52294245'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457']], 'subnet_ipam': [{'subnet_cidr': '60.78.170.0/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 04:30:22,227 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7b3a5de9-1057-432a-8cab-5fc69f5974c5', 'name': 'ctest-vn-80320059', 'tenant_id': '06c298fb94654d42ba6fcdea81e3642e', 'project_id': '06c298fb94654d42ba6fcdea81e3642e', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'tags': [], 'subnets': ['75d52b59-0f6f-43fa-9e95-e59b782d384a'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-vn-80320059'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457']], 'subnet_ipam': [{'subnet_cidr': '45.253.5.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-09-09 04:30:22,398 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 04:30:22,775 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 04:30:22,807 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549
2026-09-09 04:30:22,822 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e
2026-09-09 04:30:22,906 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078
2026-09-09 04:30:22,920 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078
2026-09-09 04:30:22,931 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b
2026-09-09 04:30:22,940 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b
2026-09-09 04:30:22,948 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/da818abc-bae4-4c17-a087-738b32e153a7
2026-09-09 04:30:22,956 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 04:30:22,956 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078
2026-09-09 04:30:22,969 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b
2026-09-09 04:30:22,988 - INFO - Verified VN network id 12 for VN d43cf92e-8171-4d21-8e44-a291d794c078
2026-09-09 04:30:22,988 - INFO - Verifications in API Server for VN ctest-vn-52294245 passed
2026-09-09 04:30:22,988 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078
2026-09-09 04:30:23,000 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b
2026-09-09 04:30:23,010 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/09d4fdda-91fd-4d70-b8d7-937e2573d41b
2026-09-09 04:30:23,019 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/da818abc-bae4-4c17-a087-738b32e153a7
2026-09-09 04:30:23,034 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32015493', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '15293372412778859809', 'uuid-lslong': '10251497399072899192'}, 'enable': 'true', 'created': '2026-09-09T04:30:20', 'last-modified': '2026-09-09T04:30:21', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.106265'}
2026-09-09 04:30:23,042 - DEBUG - Route Targets: ['target:64512:8000005']
2026-09-09 04:30:23,042 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-52294245 passed
2026-09-09 04:30:23,042 - DEBUG - ====Verifying policy data for ctest-vn-52294245 in API_Server ======
2026-09-09 04:30:23,042 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 04:30:23,049 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549
2026-09-09 04:30:23,062 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e
2026-09-09 04:30:23,150 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/d43cf92e-8171-4d21-8e44-a291d794c078
2026-09-09 04:30:23,163 - DEBUG - ==>Verifying data for policy with id: afa78d29-69b5-4f55-82cb-ba38bd02c8d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457']
2026-09-09 04:30:23,163 - INFO - VN ctest-vn-52294245 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 04:30:23,163 - DEBUG - Verifying the vn in opserver
2026-09-09 04:30:23,163 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245 virtual network link through opserver 10.0.0.38
2026-09-09 04:30:23,163 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-09 04:30:23,547 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-09 04:30:23,614 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245?flat'}
2026-09-09 04:30:23,614 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-52294245 is found in opserver
2026-09-09 04:30:23,627 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 04:30:23,633 - DEBUG - VRF ids for VN ctest-vn-52294245: {}
2026-09-09 04:30:23,633 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 04:30:23,639 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549
2026-09-09 04:30:23,651 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e
2026-09-09 04:30:23,738 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5
2026-09-09 04:30:23,754 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5
2026-09-09 04:30:23,766 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51
2026-09-09 04:30:23,776 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51
2026-09-09 04:30:23,785 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cb69b4cf-3b8b-4619-bdd6-7e726a45c1b1
2026-09-09 04:30:23,794 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 04:30:23,794 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5
2026-09-09 04:30:23,805 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51
2026-09-09 04:30:23,822 - INFO - Verified VN network id 13 for VN 7b3a5de9-1057-432a-8cab-5fc69f5974c5
2026-09-09 04:30:23,823 - INFO - Verifications in API Server for VN ctest-vn-80320059 passed
2026-09-09 04:30:23,823 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5
2026-09-09 04:30:23,835 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51
2026-09-09 04:30:23,844 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/500eb307-ff8b-4ccc-8270-2ac893e13e51
2026-09-09 04:30:23,851 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/cb69b4cf-3b8b-4619-bdd6-7e726a45c1b1
2026-09-09 04:30:23,866 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-32015493', 'owner-access': '7', 'group': 'manager', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8879512870897271594', 'uuid-lslong': '10136300693009036485'}, 'enable': 'true', 'created': '2026-09-09T04:30:21', 'last-modified': '2026-09-09T04:30:22', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.675452'}
2026-09-09 04:30:23,874 - DEBUG - Route Targets: ['target:64512:8000006']
2026-09-09 04:30:23,874 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-80320059 passed
2026-09-09 04:30:23,875 - DEBUG - ====Verifying policy data for ctest-vn-80320059 in API_Server ======
2026-09-09 04:30:23,875 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2026-09-09 04:30:23,882 - DEBUG - Requesting: http://10.0.0.38:8082/domain/5eeef5e2-079c-4bbc-b0b5-46d5a92e4549
2026-09-09 04:30:23,896 - DEBUG - Requesting: http://10.0.0.38:8082/project/06c298fb-9465-4d42-ba6f-cdea81e3642e
2026-09-09 04:30:23,977 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/7b3a5de9-1057-432a-8cab-5fc69f5974c5
2026-09-09 04:30:23,987 - DEBUG - ==>Verifying data for policy with id: afa78d29-69b5-4f55-82cb-ba38bd02c8d1, fqn: ['default-domain', 'ctest-TestBasicPolicy-32015493', 'ctest-policy-allow-all-84927457']
2026-09-09 04:30:23,987 - INFO - VN ctest-vn-80320059 Policy verification: verify_vn_policy_in_api_server, status: True
2026-09-09 04:30:23,988 - DEBUG - Verifying the vn in opserver
2026-09-09 04:30:23,988 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059 virtual network link through opserver 10.0.0.38
2026-09-09 04:30:23,988 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2026-09-09 04:30:23,999 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059?flat'}
2026-09-09 04:30:23,999 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-32015493:ctest-vn-80320059 is found in opserver
2026-09-09 04:30:24,011 - DEBUG - Do not have enough data to verify VN in agent
2026-09-09 04:30:24,018 - DEBUG - VRF ids for VN ctest-vn-80320059: {}
2026-09-09 04:30:24,091 - DEBUG - Services list from nova: [