2026-08-14 09:24:30,514 - INFO - Domain Default found not creating
2026-08-14 09:24:30,734 - INFO - Project ctest-TestBasicPolicy-86208371 not found, creating it
2026-08-14 09:24:31,230 - INFO - Created Project:ctest-TestBasicPolicy-86208371, ID : 06c6e153-e50c-4332-9168-2a9931d09f66
2026-08-14 09:24:33,026 - INFO - ================================================================================
2026-08-14 09:24:33,027 - INFO - STARTING TEST : test_basic_policy_allow_deny
2026-08-14 09:24:33,027 - 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-08-14 09:24:33,302 - DEBUG - Nothing to compare xmpp stats {'10.0.0.251': {'10.20.0.17': '0'}} with
2026-08-14 09:24:33,302 - INFO - Initial checks done. Running the testcase now
2026-08-14 09:24:33,302 - INFO -
2026-08-14 09:24:33,989 - DEBUG - Response for create_network : {'network': {'id': '7617e577-5789-4536-a573-196587620465', 'name': 'ctest-vn-69199648', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-69199648'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 09:24:34,156 - DEBUG - Response for create_subnet : {'subnet': {'id': '264c3a1b-bb92-40d9-9758-cef6c8d3cead', 'name': '', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'network_id': '7617e577-5789-4536-a573-196587620465', 'ip_version': 4, 'cidr': '114.95.209.64/26', 'allocation_pools': [{'start': '114.95.209.66', 'end': '114.95.209.126'}], 'gateway_ip': '114.95.209.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '114.95.209.66', 'tags': [], 'project_id': '06c6e153e50c433291682a9931d09f66'}}
2026-08-14 09:24:34,174 - INFO - Created VN ctest-vn-69199648
2026-08-14 09:24:34,228 - DEBUG - VN ctest-vn-69199648 UUID is 7617e577-5789-4536-a573-196587620465
2026-08-14 09:24:34,543 - DEBUG - Response for create_network : {'network': {'id': '28d7d8dc-7eda-4b6e-8772-db22faf873be', 'name': 'ctest-vn-48880729', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-48880729'], 'port_security_enabled': True, 'description': ''}}
2026-08-14 09:24:34,769 - DEBUG - Response for create_subnet : {'subnet': {'id': '36a1cb04-7de1-43b3-bb62-3beec8240be3', 'name': '', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'network_id': '28d7d8dc-7eda-4b6e-8772-db22faf873be', 'ip_version': 4, 'cidr': '89.72.97.64/26', 'allocation_pools': [{'start': '89.72.97.66', 'end': '89.72.97.126'}], 'gateway_ip': '89.72.97.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '89.72.97.66', 'tags': [], 'project_id': '06c6e153e50c433291682a9931d09f66'}}
2026-08-14 09:24:34,796 - INFO - Created VN ctest-vn-48880729
2026-08-14 09:24:34,848 - DEBUG - VN ctest-vn-48880729 UUID is 28d7d8dc-7eda-4b6e-8772-db22faf873be
2026-08-14 09:24:34,969 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648, 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-86208371:ctest-vn-48880729, 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-08-14 09:24:35,296 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '7617e577-5789-4536-a573-196587620465', 'name': 'ctest-vn-69199648', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['264c3a1b-bb92-40d9-9758-cef6c8d3cead'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-69199648'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323']], 'subnet_ipam': [{'subnet_cidr': '114.95.209.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 09:24:35,553 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '28d7d8dc-7eda-4b6e-8772-db22faf873be', 'name': 'ctest-vn-48880729', 'tenant_id': '06c6e153e50c433291682a9931d09f66', 'project_id': '06c6e153e50c433291682a9931d09f66', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['36a1cb04-7de1-43b3-bb62-3beec8240be3'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-vn-48880729'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323']], 'subnet_ipam': [{'subnet_cidr': '89.72.97.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2026-08-14 09:24:35,732 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 09:24:36,101 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 09:24:36,133 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9
2026-08-14 09:24:36,147 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66
2026-08-14 09:24:36,227 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465
2026-08-14 09:24:36,241 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465
2026-08-14 09:24:36,253 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5
2026-08-14 09:24:36,262 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5
2026-08-14 09:24:36,269 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/4e91be2f-fe9e-4c27-a42c-5198a5266adb
2026-08-14 09:24:36,277 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 09:24:36,277 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465
2026-08-14 09:24:36,287 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5
2026-08-14 09:24:36,304 - INFO - Verified VN network id 12 for VN 7617e577-5789-4536-a573-196587620465
2026-08-14 09:24:36,304 - INFO - Verifications in API Server for VN ctest-vn-69199648 passed
2026-08-14 09:24:36,304 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465
2026-08-14 09:24:36,315 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5
2026-08-14 09:24:36,324 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/7990bc4e-20ca-4d12-b545-017071e524b5
2026-08-14 09:24:36,333 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/4e91be2f-fe9e-4c27-a42c-5198a5266adb
2026-08-14 09:24:36,349 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86208371', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8509522321672324406', 'uuid-lslong': '11921900562433573989'}, 'enable': 'true', 'created': '2026-08-14T09:24:33', 'last-modified': '2026-08-14T09:24:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.077146'}
2026-08-14 09:24:36,357 - DEBUG - Route Targets: ['target:64512:8000005']
2026-08-14 09:24:36,357 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-69199648 passed
2026-08-14 09:24:36,357 - DEBUG - ====Verifying policy data for ctest-vn-69199648 in API_Server ======
2026-08-14 09:24:36,358 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 09:24:36,364 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9
2026-08-14 09:24:36,377 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66
2026-08-14 09:24:36,454 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/7617e577-5789-4536-a573-196587620465
2026-08-14 09:24:36,466 - DEBUG - ==>Verifying data for policy with id: 0b4a1d58-69ce-4872-8a60-044ae1b792cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323']
2026-08-14 09:24:36,466 - INFO - VN ctest-vn-69199648 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 09:24:36,466 - DEBUG - Verifying the vn in opserver
2026-08-14 09:24:36,466 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648 virtual network link through opserver 10.0.0.251
2026-08-14 09:24:36,467 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-14 09:24:36,830 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-14 09:24:36,892 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648?flat'}
2026-08-14 09:24:36,892 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-69199648 is found in opserver
2026-08-14 09:24:36,904 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 09:24:36,910 - DEBUG - VRF ids for VN ctest-vn-69199648: {}
2026-08-14 09:24:36,910 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 09:24:36,917 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9
2026-08-14 09:24:36,931 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66
2026-08-14 09:24:37,013 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be
2026-08-14 09:24:37,027 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be
2026-08-14 09:24:37,039 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0
2026-08-14 09:24:37,047 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0
2026-08-14 09:24:37,055 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/33cf7132-c3a9-4308-914d-1fd5130459c4
2026-08-14 09:24:37,062 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-14 09:24:37,062 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be
2026-08-14 09:24:37,073 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0
2026-08-14 09:24:37,091 - INFO - Verified VN network id 13 for VN 28d7d8dc-7eda-4b6e-8772-db22faf873be
2026-08-14 09:24:37,091 - INFO - Verifications in API Server for VN ctest-vn-48880729 passed
2026-08-14 09:24:37,091 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be
2026-08-14 09:24:37,102 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0
2026-08-14 09:24:37,110 - DEBUG - Requesting: http://10.0.0.251:8082/routing-instance/3ce093ad-a567-4977-90a8-7a84325f0ca0
2026-08-14 09:24:37,117 - DEBUG - Requesting: http://10.0.0.251:8082/route-target/33cf7132-c3a9-4308-914d-1fd5130459c4
2026-08-14 09:24:37,134 - DEBUG - Control-node 10.0.0.251 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-86208371', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '2943059323042548590', 'uuid-lslong': '9760104285751243710'}, 'enable': 'true', 'created': '2026-08-14T09:24:34', 'last-modified': '2026-08-14T09:24:35', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.607280'}
2026-08-14 09:24:37,141 - DEBUG - Route Targets: ['target:64512:8000006']
2026-08-14 09:24:37,142 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-48880729 passed
2026-08-14 09:24:37,142 - DEBUG - ====Verifying policy data for ctest-vn-48880729 in API_Server ======
2026-08-14 09:24:37,142 - DEBUG - Requesting: http://10.0.0.251:8082/domains
2026-08-14 09:24:37,149 - DEBUG - Requesting: http://10.0.0.251:8082/domain/3796ba4a-a2e5-4c57-adc4-667865ee06e9
2026-08-14 09:24:37,161 - DEBUG - Requesting: http://10.0.0.251:8082/project/06c6e153-e50c-4332-9168-2a9931d09f66
2026-08-14 09:24:37,240 - DEBUG - Requesting: http://10.0.0.251:8082/virtual-network/28d7d8dc-7eda-4b6e-8772-db22faf873be
2026-08-14 09:24:37,250 - DEBUG - ==>Verifying data for policy with id: 0b4a1d58-69ce-4872-8a60-044ae1b792cd, fqn: ['default-domain', 'ctest-TestBasicPolicy-86208371', 'ctest-policy-allow-all-16346323']
2026-08-14 09:24:37,250 - INFO - VN ctest-vn-48880729 Policy verification: verify_vn_policy_in_api_server, status: True
2026-08-14 09:24:37,250 - DEBUG - Verifying the vn in opserver
2026-08-14 09:24:37,250 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729 virtual network link through opserver 10.0.0.251
2026-08-14 09:24:37,250 - DEBUG - Requesting: http://10.0.0.251:8081/analytics/uves/virtual-networks
2026-08-14 09:24:37,261 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729', 'href': 'http://10.0.0.251:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729?flat'}
2026-08-14 09:24:37,261 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-86208371:ctest-vn-48880729 is found in opserver
2026-08-14 09:24:37,274 - DEBUG - Do not have enough data to verify VN in agent
2026-08-14 09:24:37,280 - DEBUG - VRF ids for VN ctest-vn-48880729: {}
2026-08-14 09:24:37,343 - DEBUG - Services list from nova: [