2025-07-22 21:00:06,637 - INFO - Domain Default found not creating
2025-07-22 21:00:06,787 - INFO - Project ctest-TestBasicPolicy-96840378 not found, creating it
2025-07-22 21:00:07,245 - INFO - Created Project:ctest-TestBasicPolicy-96840378, ID : 287123df-36fb-4889-b81d-d0084eca05c4
2025-07-22 21:00:08,645 - INFO - ================================================================================
2025-07-22 21:00:08,645 - INFO - STARTING TEST : test_basic_policy_allow_deny
2025-07-22 21:00:08,645 - 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-07-22 21:00:08,900 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.17': '0'}} with
2025-07-22 21:00:08,900 - INFO - Initial checks done. Running the testcase now
2025-07-22 21:00:08,901 - INFO -
2025-07-22 21:00:09,474 - DEBUG - Response for create_network : {'network': {'id': '6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db', 'name': 'ctest-vn-89789881', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-89789881'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 21:00:09,643 - DEBUG - Response for create_subnet : {'subnet': {'id': 'ed45df3d-4222-40be-8a55-541cb8cc81af', 'name': '', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'network_id': '6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db', 'ip_version': 4, 'cidr': '15.79.176.64/26', 'allocation_pools': [{'start': '15.79.176.66', 'end': '15.79.176.126'}], 'gateway_ip': '15.79.176.65', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '15.79.176.66', 'tags': [], 'project_id': '287123df36fb4889b81dd0084eca05c4'}}
2025-07-22 21:00:09,662 - INFO - Created VN ctest-vn-89789881
2025-07-22 21:00:09,718 - DEBUG - VN ctest-vn-89789881 UUID is 6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db
2025-07-22 21:00:10,014 - DEBUG - Response for create_network : {'network': {'id': '99b9b7bf-d7e3-4199-bd61-e5a487fb949d', 'name': 'ctest-vn-20707930', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-20707930'], 'port_security_enabled': True, 'description': ''}}
2025-07-22 21:00:10,177 - DEBUG - Response for create_subnet : {'subnet': {'id': '042ccfcf-2961-4960-9137-d3a1d921e577', 'name': '', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'network_id': '99b9b7bf-d7e3-4199-bd61-e5a487fb949d', 'ip_version': 4, 'cidr': '26.152.57.128/26', 'allocation_pools': [{'start': '26.152.57.130', 'end': '26.152.57.190'}], 'gateway_ip': '26.152.57.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '26.152.57.130', 'tags': [], 'project_id': '287123df36fb4889b81dd0084eca05c4'}}
2025-07-22 21:00:10,195 - INFO - Created VN ctest-vn-20707930
2025-07-22 21:00:10,250 - DEBUG - VN ctest-vn-20707930 UUID is 99b9b7bf-d7e3-4199-bd61-e5a487fb949d
2025-07-22 21:00:10,366 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881, 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-96840378:ctest-vn-20707930, 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-07-22 21:00:10,667 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db', 'name': 'ctest-vn-89789881', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['ed45df3d-4222-40be-8a55-541cb8cc81af'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-89789881'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684']], 'subnet_ipam': [{'subnet_cidr': '15.79.176.64/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-07-22 21:00:10,884 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '99b9b7bf-d7e3-4199-bd61-e5a487fb949d', 'name': 'ctest-vn-20707930', 'tenant_id': '287123df36fb4889b81dd0084eca05c4', 'project_id': '287123df36fb4889b81dd0084eca05c4', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['042ccfcf-2961-4960-9137-d3a1d921e577'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-vn-20707930'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684']], 'subnet_ipam': [{'subnet_cidr': '26.152.57.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-07-22 21:00:11,054 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-07-22 21:00:11,351 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-07-22 21:00:11,378 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9
2025-07-22 21:00:11,392 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4
2025-07-22 21:00:11,466 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db
2025-07-22 21:00:11,477 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db
2025-07-22 21:00:11,487 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b
2025-07-22 21:00:11,495 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b
2025-07-22 21:00:11,502 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d6f9d82e-8b5e-4614-a279-2deb9f7e8995
2025-07-22 21:00:11,509 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 21:00:11,509 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db
2025-07-22 21:00:11,519 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b
2025-07-22 21:00:11,534 - INFO - Verified VN network id 12 for VN 6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db
2025-07-22 21:00:11,534 - INFO - Verifications in API Server for VN ctest-vn-89789881 passed
2025-07-22 21:00:11,534 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db
2025-07-22 21:00:11,547 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b
2025-07-22 21:00:11,554 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/1315c7e7-6ede-4d80-a0db-eccebbd8e40b
2025-07-22 21:00:11,561 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/d6f9d82e-8b5e-4614-a279-2deb9f7e8995
2025-07-22 21:00:11,574 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96840378', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '7929915190996059072', 'uuid-lslong': '11884898151998797787'}, 'enable': 'true', 'created': '2025-07-22T21:00:09', 'last-modified': '2025-07-22T21:00:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.928145'}
2025-07-22 21:00:11,581 - DEBUG - Route Targets: ['target:64512:8000005']
2025-07-22 21:00:11,581 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-89789881 passed
2025-07-22 21:00:11,581 - DEBUG - ====Verifying policy data for ctest-vn-89789881 in API_Server ======
2025-07-22 21:00:11,581 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-07-22 21:00:11,588 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9
2025-07-22 21:00:11,600 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4
2025-07-22 21:00:11,676 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/6e0cb7da-0a4b-43c0-a4ef-a3e67d95b7db
2025-07-22 21:00:11,688 - DEBUG - ==>Verifying data for policy with id: d9eba821-1db7-4b33-8d10-8700f2ccc486, fqn: ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684']
2025-07-22 21:00:11,688 - INFO - VN ctest-vn-89789881 Policy verification: verify_vn_policy_in_api_server, status: True
2025-07-22 21:00:11,689 - DEBUG - Verifying the vn in opserver
2025-07-22 21:00:11,689 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881 virtual network link through opserver 10.0.0.38
2025-07-22 21:00:11,689 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-07-22 21:00:11,983 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-07-22 21:00:12,043 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881?flat'}
2025-07-22 21:00:12,043 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-89789881 is found in opserver
2025-07-22 21:00:12,055 - DEBUG - Do not have enough data to verify VN in agent
2025-07-22 21:00:12,060 - DEBUG - VRF ids for VN ctest-vn-89789881: {}
2025-07-22 21:00:12,060 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-07-22 21:00:12,066 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9
2025-07-22 21:00:12,078 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4
2025-07-22 21:00:12,153 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d
2025-07-22 21:00:12,165 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d
2025-07-22 21:00:12,175 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f
2025-07-22 21:00:12,183 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f
2025-07-22 21:00:12,191 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0d0f187-e1d9-455a-936d-cecbdeb3ff4c
2025-07-22 21:00:12,198 - DEBUG - Route Targets: ['target:64512:8000006']
2025-07-22 21:00:12,198 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d
2025-07-22 21:00:12,208 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f
2025-07-22 21:00:12,223 - INFO - Verified VN network id 13 for VN 99b9b7bf-d7e3-4199-bd61-e5a487fb949d
2025-07-22 21:00:12,223 - INFO - Verifications in API Server for VN ctest-vn-20707930 passed
2025-07-22 21:00:12,223 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d
2025-07-22 21:00:12,234 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f
2025-07-22 21:00:12,241 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/57363748-fe4c-43d9-88a9-5e5d39121d5f
2025-07-22 21:00:12,249 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0d0f187-e1d9-455a-936d-cecbdeb3ff4c
2025-07-22 21:00:12,262 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-96840378', 'owner-access': '7', 'group': 'reader', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '11077086793083077017', 'uuid-lslong': '13646440840728122525'}, 'enable': 'true', 'created': '2025-07-22T21:00:09', 'last-modified': '2025-07-22T21:00:10', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.399538'}
2025-07-22 21:00:12,269 - DEBUG - Route Targets: ['target:64512:8000006']
2025-07-22 21:00:12,270 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-20707930 passed
2025-07-22 21:00:12,270 - DEBUG - ====Verifying policy data for ctest-vn-20707930 in API_Server ======
2025-07-22 21:00:12,270 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-07-22 21:00:12,275 - DEBUG - Requesting: http://10.0.0.38:8082/domain/c4259d16-1775-42ac-a72f-de4d258d82f9
2025-07-22 21:00:12,288 - DEBUG - Requesting: http://10.0.0.38:8082/project/287123df-36fb-4889-b81d-d0084eca05c4
2025-07-22 21:00:12,360 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/99b9b7bf-d7e3-4199-bd61-e5a487fb949d
2025-07-22 21:00:12,371 - DEBUG - ==>Verifying data for policy with id: d9eba821-1db7-4b33-8d10-8700f2ccc486, fqn: ['default-domain', 'ctest-TestBasicPolicy-96840378', 'ctest-policy-allow-all-08194684']
2025-07-22 21:00:12,371 - INFO - VN ctest-vn-20707930 Policy verification: verify_vn_policy_in_api_server, status: True
2025-07-22 21:00:12,371 - DEBUG - Verifying the vn in opserver
2025-07-22 21:00:12,371 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930 virtual network link through opserver 10.0.0.38
2025-07-22 21:00:12,371 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-07-22 21:00:12,382 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930?flat'}
2025-07-22 21:00:12,382 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-96840378:ctest-vn-20707930 is found in opserver
2025-07-22 21:00:12,393 - DEBUG - Do not have enough data to verify VN in agent
2025-07-22 21:00:12,398 - DEBUG - VRF ids for VN ctest-vn-20707930: {}
2025-07-22 21:00:12,451 - DEBUG - Services list from nova: [