2025-10-22 23:33:10,504 - INFO - Domain Default found not creating
2025-10-22 23:33:10,655 - INFO - Project ctest-TestBasicPolicy-82120025 not found, creating it
2025-10-22 23:33:11,091 - INFO - Created Project:ctest-TestBasicPolicy-82120025, ID : 285c21ea-7121-48ae-8698-e53c09da5b82 
2025-10-22 23:33:12,608 - INFO - ================================================================================
2025-10-22 23:33:12,608 - INFO - STARTING TEST    : test_basic_policy_allow_deny
2025-10-22 23:33:12,608 - 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-10-22 23:33:12,870 - DEBUG - Nothing to compare xmpp stats {'10.0.0.38': {'10.20.0.254': '0'}} with
2025-10-22 23:33:12,871 - INFO - Initial checks done. Running the testcase now
2025-10-22 23:33:12,871 - INFO - 
2025-10-22 23:33:13,445 - DEBUG - Response for create_network : {'network': {'id': 'fb466ed4-5953-4733-b984-71e906847e0f', 'name': 'ctest-vn-66634780', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-66634780'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:33:13,602 - DEBUG - Response for create_subnet : {'subnet': {'id': 'f56d8ed5-9daa-4773-93f0-aa37d6b80ca5', 'name': '', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'network_id': 'fb466ed4-5953-4733-b984-71e906847e0f', 'ip_version': 4, 'cidr': '11.162.112.192/26', 'allocation_pools': [{'start': '11.162.112.194', 'end': '11.162.112.254'}], 'gateway_ip': '11.162.112.193', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '11.162.112.194', 'tags': [], 'project_id': '285c21ea712148ae8698e53c09da5b82'}}
2025-10-22 23:33:13,620 - INFO - Created VN ctest-vn-66634780
2025-10-22 23:33:13,673 - DEBUG - VN ctest-vn-66634780 UUID is fb466ed4-5953-4733-b984-71e906847e0f
2025-10-22 23:33:13,976 - DEBUG - Response for create_network : {'network': {'id': '703b3a91-3d5d-4904-9013-149b49a2f076', 'name': 'ctest-vn-11692087', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': [], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-11692087'], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:33:14,203 - DEBUG - Response for create_subnet : {'subnet': {'id': '5966a2b5-6eab-4675-ba00-f6cf57208968', 'name': '', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'network_id': '703b3a91-3d5d-4904-9013-149b49a2f076', 'ip_version': 4, 'cidr': '215.225.63.128/26', 'allocation_pools': [{'start': '215.225.63.130', 'end': '215.225.63.190'}], 'gateway_ip': '215.225.63.129', 'enable_dhcp': True, 'ipv6_ra_mode': None, 'ipv6_address_mode': None, 'dns_nameservers': [], 'host_routes': [], 'dns_server_address': '215.225.63.130', 'tags': [], 'project_id': '285c21ea712148ae8698e53c09da5b82'}}
2025-10-22 23:33:14,223 - INFO - Created VN ctest-vn-11692087
2025-10-22 23:33:14,273 - DEBUG - VN ctest-vn-11692087 UUID is 703b3a91-3d5d-4904-9013-149b49a2f076
2025-10-22 23:33:14,392 - DEBUG - Policy np_rules : [rule_sequence = None, rule_uuid = None, direction = <>, protocol = icmp, src_addresses = [subnet = None, virtual_network = default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780, 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-82120025:ctest-vn-11692087, 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-10-22 23:33:14,694 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': 'fb466ed4-5953-4733-b984-71e906847e0f', 'name': 'ctest-vn-66634780', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['f56d8ed5-9daa-4773-93f0-aa37d6b80ca5'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-66634780'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107']], 'subnet_ipam': [{'subnet_cidr': '11.162.112.192/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:33:14,938 - DEBUG - Response for mapping policy(s) with vn {'network': {'id': '703b3a91-3d5d-4904-9013-149b49a2f076', 'name': 'ctest-vn-11692087', 'tenant_id': '285c21ea712148ae8698e53c09da5b82', 'project_id': '285c21ea712148ae8698e53c09da5b82', 'admin_state_up': True, 'shared': False, 'status': 'ACTIVE', 'router:external': False, 'mtu': 0, 'subnets': ['5966a2b5-6eab-4675-ba00-f6cf57208968'], 'fq_name': ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-vn-11692087'], 'policys': [['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107']], 'subnet_ipam': [{'subnet_cidr': '215.225.63.128/26', 'ipam_fq_name': ['default-domain', 'default-project', 'default-network-ipam']}], 'port_security_enabled': True, 'description': ''}}
2025-10-22 23:33:15,109 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-22 23:33:15,415 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-22 23:33:15,445 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0
2025-10-22 23:33:15,457 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82
2025-10-22 23:33:15,529 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f
2025-10-22 23:33:15,539 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f
2025-10-22 23:33:15,548 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc
2025-10-22 23:33:15,555 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc
2025-10-22 23:33:15,561 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5390269-2311-4bb0-80da-f4fc99aa0075
2025-10-22 23:33:15,568 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 23:33:15,568 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f
2025-10-22 23:33:15,579 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc
2025-10-22 23:33:15,594 - INFO - Verified VN network id 10 for VN fb466ed4-5953-4733-b984-71e906847e0f
2025-10-22 23:33:15,595 - INFO - Verifications in API Server for VN ctest-vn-66634780 passed
2025-10-22 23:33:15,595 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f
2025-10-22 23:33:15,604 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc
2025-10-22 23:33:15,612 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/db341837-20ad-4c63-84b0-4695c3ba40dc
2025-10-22 23:33:15,619 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b5390269-2311-4bb0-80da-f4fc99aa0075
2025-10-22 23:33:15,632 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82120025', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '18106281210200409907', 'uuid-lslong': '13367934839593139727'}, 'enable': 'true', 'created': '2025-10-22T23:33:13', 'last-modified': '2025-10-22T23:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:00.967114'}
2025-10-22 23:33:15,639 - DEBUG - Route Targets: ['target:64512:8000004']
2025-10-22 23:33:15,639 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-66634780 passed
2025-10-22 23:33:15,639 - DEBUG - ====Verifying policy data for ctest-vn-66634780 in API_Server ======
2025-10-22 23:33:15,639 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-22 23:33:15,645 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0
2025-10-22 23:33:15,657 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82
2025-10-22 23:33:15,727 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/fb466ed4-5953-4733-b984-71e906847e0f
2025-10-22 23:33:15,737 - DEBUG - ==>Verifying data for policy with id: 0646af8a-f887-46cb-a66b-c9ad543c12af, fqn: ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107']
2025-10-22 23:33:15,737 - INFO - VN ctest-vn-66634780 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 23:33:15,737 - DEBUG - Verifying the vn in opserver
2025-10-22 23:33:15,737 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780 virtual network link  through opserver 10.0.0.38
2025-10-22 23:33:15,737 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-22 23:33:16,045 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-22 23:33:16,110 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780?flat'}
2025-10-22 23:33:16,110 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-66634780 is found in opserver
2025-10-22 23:33:16,122 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 23:33:16,127 - DEBUG - VRF ids for VN ctest-vn-66634780: {}
2025-10-22 23:33:16,127 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-22 23:33:16,133 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0
2025-10-22 23:33:16,147 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82
2025-10-22 23:33:16,217 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076
2025-10-22 23:33:16,229 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076
2025-10-22 23:33:16,238 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb
2025-10-22 23:33:16,247 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb
2025-10-22 23:33:16,254 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0b45399-64d7-49aa-9068-42886463292e
2025-10-22 23:33:16,261 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 23:33:16,261 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076
2025-10-22 23:33:16,272 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb
2025-10-22 23:33:16,289 - INFO - Verified VN network id 11 for VN 703b3a91-3d5d-4904-9013-149b49a2f076
2025-10-22 23:33:16,289 - INFO - Verifications in API Server for VN ctest-vn-11692087 passed
2025-10-22 23:33:16,289 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076
2025-10-22 23:33:16,299 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb
2025-10-22 23:33:16,306 - DEBUG - Requesting: http://10.0.0.38:8082/routing-instance/8a2bad74-b4c9-4ea4-91b7-b0465eedf0fb
2025-10-22 23:33:16,314 - DEBUG - Requesting: http://10.0.0.38:8082/route-target/b0b45399-64d7-49aa-9068-42886463292e
2025-10-22 23:33:16,327 - DEBUG - Control-node 10.0.0.38 : VN object is : {'node_name': 'virtual-network:default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087', 'interests': '-', 'advertised': '-', 'dbentryflags': None, 'obj_info': {'sequence_number': '0', 'origin': 'Cassandra', 'data': {'id-perms': {'permissions': {'owner': 'ctest-TestBasicPolicy-82120025', 'owner-access': '7', 'group': 'admin', 'group-access': '7', 'other-access': '7'}, 'uuid': {'uuid-mslong': '8087121951348050180', 'uuid-lslong': '10381664223207026806'}, 'enable': 'true', 'created': '2025-10-22T23:33:13', 'last-modified': '2025-10-22T23:33:14', 'description': None, 'user-visible': 'true', 'creator': None}}}, 'neighbors': None, 'last_modified': '00:00:01.410017'}
2025-10-22 23:33:16,332 - DEBUG - Route Targets: ['target:64512:8000005']
2025-10-22 23:33:16,333 - INFO - On all control nodes, Config, RI and RT verification for VN ctest-vn-11692087 passed
2025-10-22 23:33:16,333 - DEBUG - ====Verifying policy data for ctest-vn-11692087 in API_Server ======
2025-10-22 23:33:16,333 - DEBUG - Requesting: http://10.0.0.38:8082/domains
2025-10-22 23:33:16,339 - DEBUG - Requesting: http://10.0.0.38:8082/domain/6a16559e-3284-48e7-a3c3-5047f618e4f0
2025-10-22 23:33:16,349 - DEBUG - Requesting: http://10.0.0.38:8082/project/285c21ea-7121-48ae-8698-e53c09da5b82
2025-10-22 23:33:16,419 - DEBUG - Requesting: http://10.0.0.38:8082/virtual-network/703b3a91-3d5d-4904-9013-149b49a2f076
2025-10-22 23:33:16,429 - DEBUG - ==>Verifying data for policy with id: 0646af8a-f887-46cb-a66b-c9ad543c12af, fqn: ['default-domain', 'ctest-TestBasicPolicy-82120025', 'ctest-policy-allow-all-67246107']
2025-10-22 23:33:16,429 - INFO - VN ctest-vn-11692087 Policy verification: verify_vn_policy_in_api_server, status: True
2025-10-22 23:33:16,429 - DEBUG - Verifying the vn in opserver
2025-10-22 23:33:16,429 - DEBUG - Verifying the default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087 virtual network link  through opserver 10.0.0.38
2025-10-22 23:33:16,429 - DEBUG - Requesting: http://10.0.0.38:8081/analytics/uves/virtual-networks
2025-10-22 23:33:16,439 - DEBUG - vn link and name as {'name': 'default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087', 'href': 'http://10.0.0.38:8081/analytics/uves/virtual-network/default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087?flat'}
2025-10-22 23:33:16,439 - INFO - Validated that VN default-domain:ctest-TestBasicPolicy-82120025:ctest-vn-11692087 is found in opserver
2025-10-22 23:33:16,449 - DEBUG - Do not have enough data to verify VN in agent
2025-10-22 23:33:16,453 - DEBUG - VRF ids for VN ctest-vn-11692087: {}
2025-10-22 23:33:16,509 - DEBUG - Services list from nova: [