2025-12-11 16:54:05,250 - INFO - Domain Default found not creating
2025-12-11 16:54:05,430 - INFO - Project ctest-TestBasicPolicy-03611161 not found, creating it
2025-12-11 16:54:05,893 - INFO - Created Project:ctest-TestBasicPolicy-03611161, ID : bbb4c8fc-2cbf-4aac-adbc-9004326e28c0
2025-12-11 16:54:07,462 - INFO - ================================================================================
2025-12-11 16:54:07,463 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-12-11 16:54:07,464 - 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-12-11 16:54:07,720 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.14': '0'}} with
2025-12-11 16:54:07,720 - INFO - Initial checks done. Running the testcase now
2025-12-11 16:54:07,720 - INFO -
2025-12-11 16:54:08,307 - DEBUG - Response for create_network : {'network': {'id': '454bea1d-229f-47c3-b8fa-3d3290c57223', 'name': 'ctest-vn-60630110', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-60630110'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 16:54:08,499 - DEBUG - Response for create_subnet : {'subnet': {'id': 'd9046a7a-81bf-4ad2-921b-fb2cca0fc100', 'name': '', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'network_id': '454bea1d-229f-47c3-b8fa-3d3290c57223', 'ip_version': 4, 'cidr': '168.133.116.64/26', 'allocation_pools': [{'start': '168.133.116.66', 'end': '168.133.116.126'}], 'gateway_ip': '168.133.116.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '168.133.116.66', 'tags': [], 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0'}}
2025-12-11 16:54:08,518 - INFO - Created VN ctest-vn-60630110
2025-12-11 16:54:08,569 - DEBUG - VN ctest-vn-60630110 UUID is 454bea1d-229f-47c3-b8fa-3d3290c57223
2025-12-11 16:54:08,866 - DEBUG - Response for create_network : {'network': {'id': '543e44c9-3d11-438f-8c36-d493216392d3', 'name': 'ctest-vn-40481747', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-40481747'], 'port_security_enabled': True, 'description': ''}}
2025-12-11 16:54:09,034 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f41a837d-2292-48ee-a7ef-420b74fa3873', 'name': '', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'network_id': '543e44c9-3d11-438f-8c36-d493216392d3', 'ip_version': 4, 'cidr': '198.159.188.192/26', 'allocation_pools': [{'start': '198.159.188.194', 'end': '198.159.188.254'}], 'gateway_ip': '198.159.188.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '198.159.188.194', 'tags': [], 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0'}}
2025-12-11 16:54:09,053 - INFO - Created VN ctest-vn-40481747
2025-12-11 16:54:09,105 - DEBUG - VN ctest-vn-40481747 UUID is 543e44c9-3d11-438f-8c36-d493216392d3
2025-12-11 16:54:09,265 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110, 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-03611161:ctest-vn-40481747, 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-12-11 16:54:09,564 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '454bea1d-229f-47c3-b8fa-3d3290c57223', 'name': 'ctest-vn-60630110', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['d9046a7a-81bf-4ad2-921b-fb2cca0fc100'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-60630110'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768']], 'subnet_ipam': [{'subnet_cidr': '168.133.116.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-11 16:54:09,849 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '543e44c9-3d11-438f-8c36-d493216392d3', 'name': 'ctest-vn-40481747', 'tenant_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'project_id': 'bbb4c8fc2cbf4aacadbc9004326e28c0', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f41a837d-2292-48ee-a7ef-420b74fa3873'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-vn-40481747'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768']], 'subnet_ipam': [{'subnet_cidr': '198.159.188.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-12-11 16:54:09,997 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-11 16:54:10,335 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-11 16:54:10,376 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4
2025-12-11 16:54:10,389 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0
2025-12-11 16:54:10,463 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223
2025-12-11 16:54:10,476 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223
2025-12-11 16:54:10,488 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358
2025-12-11 16:54:10,496 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358
2025-12-11 16:54:10,503 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/67c24cf6-7664-4c18-8c26-4e09bb4799e9
2025-12-11 16:54:10,511 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-11 16:54:10,511 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223
2025-12-11 16:54:10,524 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358
2025-12-11 16:54:10,543 - INFO - Verified VN network id 11 for VN 454bea1d-229f-47c3-b8fa-3d3290c57223
2025-12-11 16:54:10,543 - INFO - Verifications in API Server for VN ctest-vn-60630110 passed
2025-12-11 16:54:10,543 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223
2025-12-11 16:54:10,554 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358
2025-12-11 16:54:10,562 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/92a229b4-5b58-4048-8c42-253bc9bff358
2025-12-11 16:54:10,571 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/67c24cf6-7664-4c18-8c26-4e09bb4799e9
2025-12-11 16:54:10,584 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03611161', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '4993342022726141891', 'uuid-lslong': '13329033334542922275'}, 'enable': 'true', 'created': '2025-12-11T16:54:08', 'last-modified': '2025-12-11T16:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.043559'}
2025-12-11 16:54:10,590 - DEBUG - Route Targets: ['target:64512:8000004']
2025-12-11 16:54:10,590 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-60630110 passed
2025-12-11 16:54:10,590 - DEBUG - ====Verifying policy data for ctest-vn-60630110 in API_Server ======
2025-12-11 16:54:10,590 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-11 16:54:10,596 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4
2025-12-11 16:54:10,609 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0
2025-12-11 16:54:10,681 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/454bea1d-229f-47c3-b8fa-3d3290c57223
2025-12-11 16:54:10,691 - DEBUG - ==>Verifying data for policy with id: 1ac646a0-0e2a-4878-a0c0-d0b51f2f7557, fqn: ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768']
2025-12-11 16:54:10,691 - INFO - VN ctest-vn-60630110 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-11 16:54:10,691 - DEBUG - Verifying the vn in opserver
2025-12-11 16:54:10,691 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110 virtual network link through opserver 10.0.0.38
2025-12-11 16:54:10,692 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-11 16:54:11,001 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-11 16:54:11,068 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110?flat'}
2025-12-11 16:54:11,068 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-60630110 is found in opserver
2025-12-11 16:54:11,078 - DEBUG - Do not have enough data to verify VN in agent
2025-12-11 16:54:11,082 - DEBUG - VRF ids for VN ctest-vn-60630110: {}
2025-12-11 16:54:11,082 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-11 16:54:11,088 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4
2025-12-11 16:54:11,100 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0
2025-12-11 16:54:11,173 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3
2025-12-11 16:54:11,185 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3
2025-12-11 16:54:11,194 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792
2025-12-11 16:54:11,202 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792
2025-12-11 16:54:11,209 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b40aff93-de7d-4726-8b72-f54b76997baf
2025-12-11 16:54:11,216 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-11 16:54:11,216 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3
2025-12-11 16:54:11,226 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792
2025-12-11 16:54:11,242 - INFO - Verified VN network id 12 for VN 543e44c9-3d11-438f-8c36-d493216392d3
2025-12-11 16:54:11,242 - INFO - Verifications in API Server for VN ctest-vn-40481747 passed
2025-12-11 16:54:11,242 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3
2025-12-11 16:54:11,251 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792
2025-12-11 16:54:11,258 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/35054400-db6b-4191-ad6e-66e56a960792
2025-12-11 16:54:11,265 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b40aff93-de7d-4726-8b72-f54b76997baf
2025-12-11 16:54:11,283 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-03611161', 'owner-access': '7', 'group': 'member', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '6070364978845664143', 'uuid-lslong': '10103496542437741267'}, 'enable': 'true', 'created': '2025-12-11T16:54:08', 'last-modified': '2025-12-11T16:54:09', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.511671'}
2025-12-11 16:54:11,290 - DEBUG - Route Targets: ['target:64512:8000005']
2025-12-11 16:54:11,290 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-40481747 passed
2025-12-11 16:54:11,291 - DEBUG - ====Verifying policy data for ctest-vn-40481747 in API_Server ======
2025-12-11 16:54:11,291 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-12-11 16:54:11,297 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c6d3a6f0-8fd6-4799-86ad-c859ce31cae4
2025-12-11 16:54:11,308 - DEBUG - Requesting: http://10.0.0.38:8082/project/bbb4c8fc-2cbf-4aac-adbc-9004326e28c0
2025-12-11 16:54:11,382 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/543e44c9-3d11-438f-8c36-d493216392d3
2025-12-11 16:54:11,393 - DEBUG - ==>Verifying data for policy with id: 1ac646a0-0e2a-4878-a0c0-d0b51f2f7557, fqn: ['default-domain', 'ctest-TestBasicPolicy-03611161', 'ctest-policy-allow-all-57691768']
2025-12-11 16:54:11,393 - INFO - VN ctest-vn-40481747 Policy verification: verify_vn_policy_in_api_server, status: True
2025-12-11 16:54:11,393 - DEBUG - Verifying the vn in opserver
2025-12-11 16:54:11,393 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747 virtual network link through opserver 10.0.0.38
2025-12-11 16:54:11,393 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-12-11 16:54:11,404 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747?flat'}
2025-12-11 16:54:11,404 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-03611161:ctest-vn-40481747 is found in opserver
2025-12-11 16:54:11,414 - DEBUG - Do not have enough data to verify VN in agent
2025-12-11 16:54:11,419 - DEBUG - VRF ids for VN ctest-vn-40481747: {}
2025-12-11 16:54:11,480 - DEBUG - Services list from nova: [